The wiki is lacking in content. You can help by creating a new article. See the to do list for more ways you can help.

New user registration has been restored. Thank you for your patience.

Difference between revisions of "Template:Game-id/doc"

From Final Fantasy Wiki
Jump to navigationJump to search
(added documentation)
 
(updat)
Line 1: Line 1:
==Syntax==
==Syntax==
<nowiki>{{game-id|1=|2=|3=}}</nowiki>
<nowiki>{{game-id|1=|2=}}</nowiki>


*'''1:''' Is for the base article link
*'''1:''' The first parameter is for the base article link.
*'''2:''' Is for typing an abbreviation of a game's identifier (examples: ''FFI'', ''FFII'', etc.)
*'''2:''' The second parameter is for typing an abbreviation of a game's identifier (examples: ''FFI'', ''FFII'', etc.)
*'''3:''' If equal to yes, the displayed text shows the link but without the identifier. '''''(optional)''''' 


== Usage ==
== Usage ==
This template is for conveniently inputting links with an identifier of a game name. This template was inspired from the game link templates on [[zeldawiki:Category:Game Links|Zelda Wiki]].
This template is for conveniently inputting links with an identifier of a game name. This template was inspired from the game link templates on [[zeldawiki:Category:Game Links|Zelda Wiki]].


Inputting <code><nowiki>{{game-id|Black Mage|2=ffi}}</nowiki></code> results in:
Inputting <code><nowiki>{{game-id|Black Mage|ffi}}</nowiki></code> results in:


{{game-id|Black Mage|2=ffi}}
{{game-id|Black Mage|ffi}}


Inputting <code><nowiki>{{game-id|Black Mage|2=ffi|3=yes}}</nowiki></code> results in:
{{game-id|Black Mage|2=ffi|3=yes}}
<noinclude>[[Category:Documentation]]</noinclude>
<noinclude>[[Category:Documentation]]</noinclude>

Revision as of 23:11, February 27, 2020

Syntax

{{game-id|1=|2=}}

  • 1: The first parameter is for the base article link.
  • 2: The second parameter is for typing an abbreviation of a game's identifier (examples: FFI, FFII, etc.)

Usage

This template is for conveniently inputting links with an identifier of a game name. This template was inspired from the game link templates on Zelda Wiki.

Inputting {{game-id|Black Mage|ffi}} results in:

Black Mage