Difference between revisions of "Template:Docs/world"

From The Coppermind
Jump to navigation Jump to search
(Created page with "<noinclude> Helper template to insert the standard <code>world</code> / <code>earth</code> row in an infobox template documentation page. {{docs|title=Documentation for the <...")
 
m
Line 6: Line 6:
 
{{docs/row/required
 
{{docs/row/required
 
|'param= <code>world</code> <br><small>or</small><br> <code>earth</code>
 
|'param= <code>world</code> <br><small>or</small><br> <code>earth</code>
|desc=
+
|desc=
Use this to specify the planet where the <noinclude><code></noinclude>{{{subject<includeonly>|{{lc: {{PAGENAME}} }}</includeonly>}}}<noinclude></code></noinclude> can be found.<br>
+
{{#if:{{{'desc|}}} | {{{'desc}}} | Use this to specify the planet where the <noinclude><code></noinclude>{{{subject<includeonly>|{{lc: {{PAGENAME}} }}</includeonly>}}}<noinclude></code></noinclude> can be found.<br>
 
<small>'''Note:''' Automatically generates a link. To bypass this, use <code>'world</code>.</small><br>
 
<small>'''Note:''' Automatically generates a link. To bypass this, use <code>'world</code>.</small><br>
<small>See [[Help:Infoboxes]] for further details.</small>
+
<small>See [[Help:Infoboxes]] for further details.</small>}}
 
|eg=
 
|eg=
 
<code><nowiki>|world=Roshar</nowiki></code><br>
 
<code><nowiki>|world=Roshar</nowiki></code><br>

Revision as of 04:30, 21 April 2019

Helper template to insert the standard world / earth row in an infobox template documentation page.

Documentation for the |world= / |earth= parameter
Parameter Description Examples
world
or
earth
Use this to specify the planet where the {{{subject}}} can be found.

Note: Automatically generates a link. To bypass this, use 'world.
See Help:Infoboxes for further details.

|world=Roshar
|earth=Reckoners
|'world=Mars

This template can optionally take a |subject= which defaults to the template name {{lc: {{PAGENAME}} }}.

Usage