Difference between revisions of "Template:Info"

From RimWorld Wiki
Jump to navigation Jump to search
(Added documentation.)
m (Reverted edits by Ceddin Deden (talk) to last revision by Harakoni)
Tag: Rollback
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{Text|note|{{{1|}}}}}</includeonly>
+
<includeonly>{{Text|note|{{{1|}}}}}</includeonly><noinclude>
 
 
<noinclude>
 
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 18:58, 27 January 2023

Documentation icon Template documentation[view] [edit] [history] [purge]

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]