Difference between revisions of "Template:Ref"

From The Coppermind
Jump to navigation Jump to search
m (+img +map)
m (maps++)
Line 13: Line 13:
 
-->|17s={{17s|{{{2}}}|{{{3|}}}={{{4}}}|text={{{5| }}}}}<!--
 
-->|17s={{17s|{{{2}}}|{{{3|}}}={{{4}}}|text={{{5| }}}}}<!--
 
-->|map=[[:file:{{#switch:{{lc:{{{2}}}|}}<!--
 
-->|map=[[:file:{{#switch:{{lc:{{{2}}}|}}<!--
-->|final empire=Final Empire.jpg<!--
+
-->|alethkelar=Alethkelar.jpg<!--
  +
-->|elendel=Elendel.jpg<!--
 
-->|elendel basin=Elendel Basin.png<!--
 
-->|elendel basin=Elendel Basin.png<!--
  +
-->|fadrex|fadrex city=Fadrex City.jpg<!--
  +
-->|final empire=Final Empire.png<!--
  +
-->|kharbranth=Kharbranth.jpg<!--
  +
-->|luthadel=Luthadel.png<!--
  +
-->|roshar=Roshar.jpg<!--
  +
-->|shadesmar=Shadesmar (twok).jpg<!--
  +
-->|shattered plains=Shattered Plains.jpg<!--
  +
-->|silver kingdoms=Silver Kingdoms.jpg<!--
  +
-->|urteau=Urteau.jpg<!--
 
-->}}|{{{3|Map of {{{2}}}|}}}]]<!--
 
-->}}|{{{3|Map of {{{2}}}|}}}]]<!--
 
-->|img=[[:file:{{{2}}}|{{{3|{{{2}}}|}}}]]<!--
 
-->|img=[[:file:{{{2}}}|{{{3|{{{2}}}|}}}]]<!--

Revision as of 09:24, 28 October 2012

This template helps in the creation of references by providing an interface to many of the templates. It also simplifies reference reuse, by automatically giving names to references with particular characteristics.

First argument Meaning Notes
a Reference another wiki article argument 3 acts as an alternative link title
b Reference a book or chapter 3 arguments passed to {{bref}}, reusable
? Reference a question in Theoryland's Q&A database 2 arguments become interwiki to the Theoryland interview database, the third becomes the text, reusable by first 2
17s Reference a 17th Shard forum topic/post Second argument is name of third, fourth is text to display, reusable by 1 and 4
wp Reference a Wikipedia article 2 arguments, interwiki to Wikipedia
bws Reference a page on Brandons site 2 arguments, interwiki to Brandon's site
img Reference an image on the wiki arguments are file name and text to display
map Reference one of the map images argument is place name and text to display

If the first argument does not match one of the arguments in the table, the contents of the first argument are directly wrapped in ref tags. Template:Cat