Difference between revisions of "Template:Docs/universe"

From The Coppermind
Jump to navigation Jump to search
m
m (Update with Cytoverse and Wode States... when I have a bunch of time, maybe I should see about making infoboxes autolink and enforce defined values for universe parameters)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
<noinclude>
<includeonly>|- style="background:#FFDEAD;"
 
 
Helper template to insert the standard <code>{{SUBPAGENAME}}</code> row in an infobox template documentation page.
| style="text-align: center;" | <code>universe</code>
 
| Use this to indicate the (connected) universe where the subject can be found. <br>
 
<small>See [[Help:Infoboxes]] for further details.</small>
 
| style="white-space: nowrap;" |
 
<code><nowiki>|universe=[[Cosmere]]</nowiki></code><br>
 
<code><nowiki>|universe=Skyward universe</nowiki></code><br>
 
<code><nowiki>|universe=''Standalone''</nowiki></code></includeonly><noinclude>
 
   
  +
[[category: documentation templates|{{SUBPAGENAME}}]]
Helper template to insert the standard <code>universe</code> row in an infobox template documentation page.
 
  +
  +
{{docs|title=Documentation for the <code><nowiki>|</nowiki>{{SUBPAGENAME}}=</code> parameter}}
  +
</noinclude>
  +
{{docs/row/required
  +
|param=universe
  +
|desc=
  +
{{#if:{{{'desc|}}} | {{{'desc}}} | Use this to indicate the (connected) universe where the <noinclude><code></noinclude>{{{subject<includeonly>|{{lc: {{PAGENAME}} }}</includeonly>}}}<noinclude></code></noinclude> can be found.
 
<small>See [[Help: Infoboxes]] for further details.</small>}}
  +
|eg=
 
<code><nowiki>|universe=[[Cosmere]]</nowiki></code><br />
 
<code><nowiki>|universe=[[Cytoverse]]</nowiki></code><br />
  +
<code><nowiki>|universe=[[Wode]] [[State]]s</nowiki></code><br />
 
<code><nowiki>|universe=''Standalone''</nowiki></code>
  +
}}
  +
<noinclude>
  +
|}
  +
  +
This template can optionally take a <code>|subject=</code> which defaults to the template name <code><nowiki>{{lc: {{PAGENAME}} }}</nowiki></code>.
  +
  +
== Templates with <code>{{SUBPAGENAME}}</code> Parameter ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full list of uses|here}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=10}}

Latest revision as of 03:57, 15 May 2020

Helper template to insert the standard universe row in an infobox template documentation page.

Documentation for the |universe= parameter
Parameter Description Examples
universe Use this to indicate the (connected) universe where the {{{subject}}} can be found.

See Help: Infoboxes for further details.

|universe=[[Cosmere]]
|universe=[[Cytoverse]]
|universe=[[Wode]] [[State]]s
|universe=''Standalone''

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

Templates with universe Parameter[edit]