Difference between revisions of "Template:Final Fantasy series/doc"

From blackwiki
Jump to navigation Jump to search
imported>Axem Titanium
(Reverted 3 edits by 86.184.195.190 (talk): Unexplained removal of documentation. using TW)
imported>Iritscen
(Updating documentation for new template which does not use this conditional behavior.)
Line 2: Line 2:
  
 
==Usage==
 
==Usage==
This template, {{tlx|Final Fantasy series}}, is to be placed on articles related to the ''Final Fantasy'' franchise. A parameter, <code>FF</code>, can be used to expand the content of the template. The parameter accepts the following input to add links related to specific games or metaseries within the ''Final Fantasy'' franchise:
+
This template, {{tlx|Final Fantasy series}}, is to be placed on articles related to the ''Final Fantasy'' franchise.
* {{tlx|Final Fantasy series|FF<nowiki>=</nowiki>FFIV}} produces:
 
{{Final Fantasy series|FF=FFIV|state=expanded}}
 
* {{tlx|Final Fantasy series|FF<nowiki>=</nowiki>FFV}} produces:
 
{{Final Fantasy series|FF=FFV|state=expanded}}
 
* {{tlx|Final Fantasy series|FF<nowiki>=</nowiki>FFVI}} produces:
 
{{Final Fantasy series|FF=FFVI|state=expanded}}
 
* {{tlx|Final Fantasy series|FF<nowiki>=</nowiki>FFVIII}} produces:
 
{{Final Fantasy series|FF=FFVIII|state=expanded}}
 
* {{tlx|Final Fantasy series|FF<nowiki>=</nowiki>FFIX}} produces:
 
{{Final Fantasy series|FF=FFIX|state=expanded}}
 
* {{tlx|Final Fantasy series|FF<nowiki>=</nowiki>FFXIV}} produces:
 
{{Final Fantasy series|FF=FFXIV|state=expanded}}
 
* {{tlx|Final Fantasy series|FF<nowiki>=</nowiki>FFCC}} produces:
 
{{Final Fantasy series|FF=FFCC|state=expanded}}
 
* {{tlx|Final Fantasy series|FF<nowiki>=</nowiki>Chocobo}} produces:
 
{{Final Fantasy series|FF=Chocobo|state=expanded}}
 
* {{tlx|Final Fantasy series|FF<nowiki>=</nowiki>DIS}} produces:
 
{{Final Fantasy series|FF=DIS|state=expanded}}
 
 
 
The parameters will not accept any links related for the following games because stand alone templates already exist:
 
* ''Final Fantasy VII'' and ''Compilation of Final Fantasy VII''– {{tl|FFVII}}
 
* ''Final Fantasy X'' and ''Final Fantasy X-2'' – {{tl|Final Fantasy X and X-2}}
 
* ''Final Fantasy XII'' and ''Final Fantasy Tactics'' series– {{tl|Ivalice}}
 
* ''Final Fantasy XIII'', ''Final Fantasy Type-0'' and ''Final Fantasy XV'' series - {{tl|Fabula Nova Crystallis Final Fantasy}}
 
  
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 23:03, 7 February 2018

Usage

This template, {{Final Fantasy series}}, is to be placed on articles related to the Final Fantasy franchise.

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Final Fantasy series|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Final Fantasy series|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Final Fantasy series|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.