Template:Disamb

From TenchiWiki: The Tenchi Muyo! Wiki
Revision as of 08:57, 25 April 2022 by Dagon123 (talk | contribs) (Created page with "<includeonly>*'''{{#ifeq: {{{y|{{{2|}}}}}}|none|       |{{{y|{{{2|????}}}}}}}}''' — {{{1|}}}</includeonly><noinclude> <pre>{{Disamb |Description (String) |YEAR #### (if not set '????') |y=YEAR #### (same as previous) }} </pre> '''<tt><nowiki>{{</nowiki>disamb}}</tt>''' is a simple template used in disambiguation pages. It creates a listing preceded by the ''year this character first appeared'', making extremel...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{Disamb
|Description (String)
|YEAR #### (if not set '????')
|y=YEAR #### (same as previous)
}}

{{disamb}} is a simple template used in disambiguation pages. It creates a listing preceded by the year this character first appeared, making extremely long disambig pages easier to navigate.

{{disamb |y=1996 |Character A from Series B}}
  • 1996 — Character A from Series B

The year can be set using either through the named term "y=", or by making the year the second term.

{{disamb |y=YEAR |Character Description }}
{{disamb |Character Description |YEAR }}
{{disamb |Character Description |y=YEAR }}

The 3 above formats are functionally equivalent. This allows for the easy conversion of un-templated disambig pages (without tracking down years) while also permitting the use of a 'logical' layout with the year in front. (Mimicking layout order.)

If no year is provided, the template displays ???? in place of a year. {{disamb |Character Description }}

  • ???? — Character Description