Difference between revisions of "User:Rasarr/Infobox Test"

From The Coppermind
Jump to navigation Jump to search
(Undo revision 112749 by Rasarr (talk))
Tag: Undo
m
Line 1: Line 1:
  +
{{#switch:{{{1}}}
'''To [[Template:Tag]]'''
 
  +
|stub={{meta/stub}}
  +
|partial={{meta/partial}}
  +
|done={{meta/done|{{{date|}}}|}}
 
}}
  +
{{navbox
  +
|title=[[:category: Out of Universe|Out of Universe]]|id=Real_world|
   
  +
{{row/kv
The '''tag''' template links to a page, and adds the page it's on to a category. It's best to use it on the page's [[Help:Infoboxes|infobox]] rather than in the text proper.
 
  +
| [[Dragonsteel Entertainment]]
  +
| [[Brandon Sanderson]] · [[Peter Ahlstrom]] · [[Isaac Stewart]] · [[Kara Stewart]] · [[Ben McSweeney]] · [[Karen Ahlstrom]] · [[Adam Horne]]
  +
}}
   
  +
{{row/kv
=== Template ===
 
  +
| Publishing Industry
<pre class=mw-code>
 
  +
| [[Joshua Bilmes]] · [[Moshe Feder]] · [[Irene Gallo]]
{{tag |{{1}} |cat= |text= }}
 
  +
}}
</pre>
 
   
  +
{{row/kv
=== Parameters ===
 
  +
| US Cover Artists
Highlighted lines indicate '''mandatory''' parameters.
 
  +
| [[Jon Foster]] · [[Chris McGrath]] · {{a|Michael Whelan}} · [[Scott Brundage]] · [[Craig Shields]] · [[Miranda Meeks]] · {{a|Sam Weber}} · [[Charlie Bowater]] · {{a|Jahbulani Ori}} · {{a|Alex Allen}} · [[Marc Tauss]] <br>
 
  +
<small>
Positional parameters are indicated with <nowiki>{{N}}</nowiki> in their name. For example, <nowiki>{{1}}</nowiki> means "the first template parameter".
 
  +
[[Dan dos Santos]] · [[Stephan Martinière]] · [[Alexander Nanitchkov]] · [[Christopher Gibbs]] · [[David Palumbo]] · [[Donato Giancola]] · [[Dragos Jieanu]] · [[Jorge Jacinto]] · [[Mike Bryan]]
  +
</small>
  +
}}
   
  +
{{row/kv
{{docs|title={{t|Tag}} Parameters}}
 
  +
| International Cover Artists
 
  +
| {{a|Sam Green}} · {{a|Dominik Broniek}} · {{a|Alain Brion}} · {{a|Federico Musetti}} · {{a|Jian Guo}} · {{a|Marc Simonetti}} · {{a|Sergey Shikin}}
<!-- ------------- -->
 
<!-- ROW: {{1}} -->
 
<!-- ------------- -->
 
{{docs/row/required
 
|param=<nowiki>{{1}}</nowiki>
 
|desc= Use the first parameter to create a link and add the page to a category with the same name.
 
|eg=
 
<code><nowiki>|Diagram</nowiki></code>
 
 
}}
 
}}
   
  +
{{row/kv
<!-- -------- -->
 
  +
| Interior Artists
<!-- ROW: cat -->
 
  +
| {{a|Dan dos Santos}} · [[Shawn Boyles]] · [[Greg Call]] · [[Hayley Lazo]] · {{a|Steve Argyle}}
<!-- -------- -->
 
{{docs/row/optional
 
|param=cat
 
|desc=Use this to add this page to a category named differently than the first parameter; if <code>cat</code> is used, the first parameter serves only as a page link.<br>
 
<small>'''Note:''' This is useful in cases such as when the first parameter links to a disambiguation page; for example, <code><nowiki>{{tag|Diagram}}</nowiki></code> would add the page to [[:Category:Diagram]] and link to [[Diagram]], while <code><nowiki>{{tag|Diagram (group)|cat=Diagram}}</nowiki></code> adds the page to [[:Category:Diagram]] and links to [[Diagram (group)]].</small>
 
|eg=
 
<code><nowiki>|cat=Diagram</nowiki></code>
 
 
}}
 
}}
   
  +
{{row/kv
<!-- -------- -->
 
  +
| Other
<!-- ROW: text -->
 
  +
| [[17thshard.com|17th Shard]] · [[coppermind: Arcanum|Arcanum]] · [[Theoryland Interview Database]] · [[RAFO]] · [[Sanderson's Laws of Magic]]
<!-- -------- -->
 
{{docs/row/optional
 
|param=text
 
|desc=Use this to change how the tag is displayed on the page.<br>
 
<small>'''Note:''' To follow from the above example, <code><nowiki>{{tag|Diagram (group)|cat=Diagram|text=Patriots}}</nowiki></code> adds the page to [[:Category:Diagram]], links to [[Diagram (group)]] and displays the tag as [[Diagram (group)|Patriots]].</small>
 
|eg=
 
<code><nowiki>|text=Patriots</nowiki></code>
 
 
}}
 
}}
   
  +
}}<includeonly><!--
|}
 
  +
  +
-->{{{cats|<!--
  +
-->[[category: Out of Universe]]<!--
  +
-->[[category: meta]]<!--
  +
-->}}}<!--
  +
  +
--></includeonly><noinclude>
  +
  +
This template should be used on all articles not directly relating to the contents of Brandon's works.
  +
  +
== Usage ==
  +
To use add {{t|{{PAGENAME}}}} at the bottom of the page.
  +
  +
[[Category: navbars]]

Revision as of 22:40, 17 August 2020