Difference between revisions of "Template:Docs/universe"

From The Coppermind
Jump to navigation Jump to search
m (+cat)
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)
 
(2 intermediate revisions by one other user 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]]
+
[[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
 
{{docs/row/required
Line 12: Line 12:
 
<small>See [[Help: Infoboxes]] for further details.</small>}}
 
<small>See [[Help: Infoboxes]] for further details.</small>}}
 
|eg=
 
|eg=
<code><nowiki>|universe=[[Cosmere]]</nowiki></code><br>
+
<code><nowiki>|universe=[[Cosmere]]</nowiki></code><br />
<code><nowiki>|universe=Skyward universe</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>
 
<code><nowiki>|universe=''Standalone''</nowiki></code>
 
}}
 
}}
Line 21: 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>{{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]