Difference between revisions of "Template:Docs/universe"

From The Coppermind
Jump to navigation Jump to search
m (tweaks)
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)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Helper template to insert the standard <code>universe</code> row in an infobox template documentation page.
+
Helper template to insert the standard <code>{{SUBPAGENAME}}</code> row in an infobox template documentation page.
   
  +
[[category: documentation templates|{{SUBPAGENAME}}]]
{{docs|title=Documentation for the <code><nowiki>|universe=</nowiki></code> parameter}}
 
  +
 
{{docs|title=Documentation for the <code><nowiki>|</nowiki>{{SUBPAGENAME}}=</code> parameter}}
 
</noinclude>
 
</noinclude>
  +
{{docs/row/required
<!-- ROW STYLE -->
 
  +
|param=universe
|- style="background:#FFDEAD;"
 
  +
|desc=
<!-- Parameter cell -->
 
 
{{#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.
| style="text-align: center;" | <code>universe</code>
 
 
<small>See [[Help: Infoboxes]] for further details.</small>}}
<!-- Description cell -->
 
  +
|eg=
| Use this to indicate the (connected) universe where the <noinclude><code></noinclude>{{{subject<includeonly>|{{lc: {{PAGENAME}} }}</includeonly>}}}<noinclude></code></noinclude> can be found. <br>
 
 
<code><nowiki>|universe=[[Cosmere]]</nowiki></code><br />
<small>See [[Help:Infoboxes]] for further details.</small>
 
 
<code><nowiki>|universe=[[Cytoverse]]</nowiki></code><br />
<!-- Examples cell -->
 
  +
<code><nowiki>|universe=[[Wode]] [[State]]s</nowiki></code><br />
| 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>
 
<code><nowiki>|universe=''Standalone''</nowiki></code>
  +
}}
<!-- END OF ROW -->
 
|-
 
 
<noinclude>
 
<noinclude>
 
|}
 
|}
   
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>{{SUBPAGENAME}}</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 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]