Template:About/doc

来自Terraria Wiki
跳到导航 跳到搜索

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}}
此页面是关于About/doc的。对于其他用法,参考About/doc(消歧义)。
{{about|the template}}
此页面是关于the template的。对于其他用法,参考About/doc(消歧义)。
{{about|the template|the module}}
此页面是关于the template的。对于the module,参考About/doc(消歧义)。
{{about|the template| |the {{nslink|template|helps}}}}
此页面是关于the template的。对于其他用法,参考the 帮助。
{{about|the template|the module|Template:Helps}}
此页面是关于the template的。对于the module,参考Template:Helps。
{{about|the template|town NPCs|NPCs#Town NPCs}}
此页面是关于the template的。对于town NPCs,参考NPCs§Town NPCs
{{about|the template|the gold coin|File:Gold Coin.png}}
此页面是关于the template的。对于the gold coin,参考File:Gold Coin.png
{{about|the template|the gold coin|[[:File:Gold Coin.png|File:Gold Coin.png]]}}
此页面是关于the template的。对于the gold coin,参考File:Gold Coin.png
{{about|examples |block|blocks |enemy|enemies |npc|NPCs}}
此页面是关于examples的。对于block,参考blocks。对于enemy,参考enemies。对于npc,参考NPCs
{{about|examples |block|blocks |NPC|enemies|and|NPCs}}
此页面是关于examples的。对于block,参考blocks。对于NPC,参考enemiesNPCs
{{about|examples |block|blocks |NPC|enemies|or|NPCs}}
此页面是关于examples的。对于block,参考blocks。对于NPC,参考enemiesNPCs
{{about|examples <!--for:-->|items <!--see:-->|blocks|and|NPCs|and|enemies}}
此页面是关于examples的。对于items,参考blocksNPCs、和enemies
{{about|examples <!--for:-->|items <!--see:-->|blocks|or|NPCs|or|enemies}}
此页面是关于examples的。对于items,参考blocksNPCs、或enemies
{{about|examples <!--for:-->|item|and|blocks <!--see:-->|NPCs|and|enemies|and|critter}}
此页面是关于examples的。对于item和blocks,参考NPCsenemies、和critter
{{about|examples <!--for:-->|item|and|blocks <!--see:-->|NPCs|or|enemies|and|critter}}<!-- any "or" in a group will force "or"-->
此页面是关于examples的。对于item和blocks,参考NPCsenemies、或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}}
此页面是关于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、y、或z。

See also