Difference between revisions of "Template:Info/doc"
(Created page.) |
(Recoded line in sample output.) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 18: | Line 18: | ||
To use the ''#show'' command on any other page, typing | To use the ''#show'' command on any other page, typing | ||
− | <code>{{ | + | <code><nowiki>{{#show: Wood| ?note}}</nowiki></code> |
Gives: | Gives: | ||
Line 25: | Line 25: | ||
==See Also== | ==See Also== | ||
− | [[Property:Note]] | + | * [[Property:Note]] |
+ | * [[Template:List]] | ||
− | + | <includeonly>[[Category:SMW templates]]</includeonly> | |
− | + | <noinclude>[[Category:Template documentation]]</noinclude> | |
− | |||
− | <includeonly> | ||
− | [[Category: | ||
− | </includeonly> | ||
− | |||
− | <noinclude> | ||
− | [[Category:Template | ||
− | </noinclude> |
Latest revision as of 03:04, 14 January 2021
Description[edit]
This template is used to store text into a WikiMedia property called 'note', while still displaying the text on the page.
Syntax[edit]
{{info|<text>}}
Usage[edit]
This template should be used on a page which is for a single game object. For most cases, the tag should be applied only to the lead paragraph. Use this template only once per page.
Samples[edit]
Type:
{{info|Wood logs are vital to early game construction. You are given a number of wood logs at the start of the game and can gather more from trees using the [[Orders|Chop Wood]] command. Bulk goods traders will also buy and sell wood.}}
The note can be recalled using the #ask or #show query commands.
To use the #show command on any other page, typing
{{#show: Wood| ?note}}
Gives:
Wood is a construction and crafting material vital in the early game.