Template:About/doc

From Terraria Wiki
Jump to navigation Jump to search

To be used on top of pages to alert readers of similar pages.

Usage

{{ about | <description of this page> | <description of other wiki page 1> | <other wiki page 1> | <description of other wiki page 2> | <other wiki page 2> | ... | section = y/yes (optional) }}

First unnamed parameter

Brief description of this page. This should always be provided.

Second, fourth, sixth, etc. unnamed parameters

Brief descriptions of the respective other wiki page which the reader may confuse this page with. Defaults to "other uses" if omitted.

Third, fifth, seventh, etc. unnamed parameters

Names of the other wiki pages. Defaults to "<page name> (disambiguation)" if omitted. The [[Link|Display text]] syntax is supported to change the display text of the links.

The words and and or as parameter values have special meaning; they connect the two surrounding parameters and allow more complex constructions than described above. See below for examples.

section

Changes the page/namespace text to "section".

Examples

Code Result
{{about}}
This page is about About/doc. For other uses, see About/doc (disambiguation).
{{about|the template}}
This page is about the template. For other uses, see About/doc (disambiguation).
{{about|the template|the module}}
This page is about the template. For the module, see About/doc (disambiguation).
{{about|the template| |the {{nslink|template|helps}}}}
This page is about the template. For other uses, see the helps.
{{about|the template|the module|Template:Helps}}
This page is about the template. For the module, see Template:Helps.
{{about|the template|town NPCs|NPCs#Town NPCs}}
This page is about the template. For town NPCs, see NPCs § Town NPCs.
{{about|the template|the gold coin|File:Gold Coin.png}}
This page is about the template. For the gold coin, see File:Gold Coin.png.
{{about|the template|the gold coin|[[:File:Gold Coin.png|File:Gold Coin.png]]}}
This page is about the template. For the gold coin, see File:Gold Coin.png.
{{about|examples |block|blocks |enemy|enemies |npc|NPCs}}
This page is about examples. For block, see blocks. For enemy, see enemies. For npc, see NPCs.
{{about|examples |block|blocks |NPC|enemies|and|NPCs}}
This page is about examples. For block, see blocks. For NPC, see enemies and NPCs.
{{about|examples |block|blocks |NPC|enemies|or|NPCs}}
This page is about examples. For block, see blocks. For NPC, see enemies or NPCs.
{{about|examples <!--for:-->|items <!--see:-->|blocks|and|NPCs|and|enemies}}
This page is about examples. For items, see blocks, NPCs, and enemies.
{{about|examples <!--for:-->|items <!--see:-->|blocks|or|NPCs|or|enemies}}
This page is about examples. For items, see blocks, NPCs, or enemies.
{{about|examples <!--for:-->|item|and|blocks <!--see:-->|NPCs|and|enemies|and|critter}}
This page is about examples. For item and blocks, see NPCs, enemies, and critter.
{{about|examples <!--for:-->|item|and|blocks <!--see:-->|NPCs|or|enemies|and|critter}}<!-- any "or" in a group will force "or"-->
This page is about examples. For item and blocks, see NPCs, enemies, or critter.
{{about|examples |a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|or|y|or|z}}
This page is about examples. For a, see b. For c, see d. For e, see f. For g, see h. For i, see j. For k, see l. For m, see n. For o, see p. For q, see r. For s, see t. For u, see v. For w, see x, y, or z.

See also