Difference between revisions of "Template:Info/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Recoded line in sample output.)
 
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>{{(}}{{(}}#show: Wood| ?note{{)}}{{)}}</code>
+
<code><nowiki>{{#show: Wood| ?note}}</nowiki></code>
  
 
Gives:
 
Gives:

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.

See Also[edit]