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 (tweaks)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Helper template to insert the standard <code>world</code> / <code>earth</code> row in an infobox template documentation page.
+
Helper template to insert the standard <code>{{SUBPAGENAME}}</code> / <code>earth</code> row in an infobox template documentation page.
  +
  +
[[category: documentation templates|{{SUBPAGENAME}}]]
   
 
{{docs|title=Documentation for the <code><nowiki>|world= / |earth=</nowiki></code> parameter}}
 
{{docs|title=Documentation for the <code><nowiki>|world= / |earth=</nowiki></code> parameter}}
Line 6: Line 8:
 
{{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>
Line 20: Line 22:
 
This template can optionally take a <code>|subject=</code> which defaults to the template name <code><nowiki>{{lc: {{PAGENAME}} }}</nowiki></code>.
 
This template can optionally take a <code>|subject=</code> which defaults to the template name <code><nowiki>{{lc: {{PAGENAME}} }}</nowiki></code>.
   
  +
== Templates with <code>world</code> or <code>earth</code> Parameter ==
== Usage ==
 
{{special: whatlinkshere/{{FULLPAGENAME}} }}
+
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full list of uses|here}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=10}}

Latest revision as of 20:18, 19 April 2020

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}} }}.

Templates with world or earth Parameter[edit]