Editing Template:Ref

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:
   
 
TEXT
 
TEXT
-->|{{{text|}}}<!--
+
-->|{{#if:{{{empty|{{{E|}}}|}}}||<!--
   
 
-->{{{pre|}}}<!--
NAME
 
-->|name={{{name|{{{text|}}}|}}}<!--
+
-->{{#switch:{{lc:{{{1}}}|}}<!--
  +
-->|a=[[{{{2}}}|{{{3|{{{2}}}|}}}]]<!--
  +
-->|b={{bref|{{{2}}}|{{{3}}}|{{{4}}}|{{#if:{{{text|}}}|text={{{text}}}|}}|}}<!--
  +
-->|?=[[wotdb:{{{2}}}#{{{3}}}|{{{4}}}]]<!--
  +
-->|wp=[[wikipedia:{{{2}}}|{{{3|Wikipedia}}}]]<!--
  +
-->|bws=[[bws:{{{2}}}|{{{3}}}]]<!--
  +
-->|17s={{17s|{{{2}}}|{{{3|}}}={{{4}}}|text={{{5| }}}}}<!--
  +
-->|map=[[:file:{{#switch:{{lc:{{{2}}}|}}<!--
  +
-->|alethkelar=Alethkelar.jpg<!--
  +
-->|elendel=Elendel.jpg<!--
  +
-->|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}}}|}}}]]<!--
  +
-->|img=[[:file:{{{2}}}|{{{3|{{{2}}}|}}}]]<!--
   
  +
NOT IN USE
GROUP
 
  +
-- >|17s|twg|sb={{{{lc:{{{1}}}|}}|{{{2}}}|{{{3|}}}={{{4}}}|text={{{5| }}}}}<!-- UNTESTED
-->|group={{{group|}}}<!--
 
   
  +
-- >|twg={{twg|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- OLD
  +
-- >|sb|stormblessed={{sb|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- OLD
  +
-- >|sawiki|sa|w={{SAwiki|{{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- OLD
  +
  +
DEFAULT
  +
-->|{{{1}}}<!--
 
-->}}<!--
 
-->}}<!--
  +
-->{{{post|}}}<!--
   
  +
-->}}<!-- end $empty OR $E
-->{{#if:{{{name|}}}{{{text|}}}||[[category: empty references]]|}}<!--
 
   
 
NAME
--></includeonly><noinclude>[[category: reference templates| ]]
 
  +
-->|name={{uc:{{{name|{{{N|<!--
   
  +
-->{{#switch:{{lc:{{{1}}}|}}<!--
This template is mainly used to in definitions of the individual [[:Category: Reference templates|reference templates]], though there are a few cases where it is used directly.
 
  +
-->|b={{{2}}}_{{{3}}}{{{4}}}<!--
* Sometimes it is also useful to just annotate something with a reference, which this template can also be used for with the {{{text}}} parameter.
 
  +
-->|?=?{{{2}}}#{{{3}}}<!--
* It is also used when another [[:Category: Reference templates|reference templates]] has been used with <code>name=X</code>, in which case that reference can be cited again with <code><nowiki>{{ref|name=X}}</nowiki></code>.
 
  +
-->|17s=17S:{{{2}}}/{{{3}}}/{{{4}}}<!--
  +
-->|twg=twg:{{{2}}}/{{{3}}}/{{{4}}}<!--
  +
-->|bws=bws:{{{2}}}<!--
  +
-->|wp=wp:{{{2}}}<!--
  +
-->|img|map=file:{{{2}}}<!--
  +
-->|}}<!--
  +
  +
-->|}}}|}}}|}}<!--
  +
 
GROUP
  +
-->|group={{{group|{{{G|}}}|}}}<!--
   
  +
-->}}</includeonly><noinclude>This template helps in the creation of references by providing an interface to many of the [[Category:Link macros|link macro]] templates. It also simplifies reference reuse, by automatically giving names to references with particular characteristics.
For most situations, however, the other reference templates should be used as they offer more structure. See [[Help:Cite]] for more details on using references.
 
   
  +
{| class=infobox width=100%
== Articles using Template ==
 
  +
|-
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
 
  +
! class=title | First argument
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
 
  +
! class=title | Meaning
  +
! class=title | Notes
  +
|-
  +
| a || Reference another wiki article || argument 3 acts as an alternative link title
  +
|-
  +
| b || Reference a book or chapter || 3 arguments passed to {{T|bref}}, reusable
  +
|-
  +
| ? || Reference a question in Theoryland's Q&A database || 2 arguments become interwiki to the [http://www.theoryland.com/listintv.php 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
  +
<!-- disabled for the moment
  +
|-
  +
| twg || Reference a Timewasters Guide forum topic/post ||
  +
|-
  +
| sb || Reference a Stormblessed forum topic/post ||
  +
|-
  +
| sa || Reference a Stormlight Archive wikia article ||
  +
-->
  +
|-
  +
| wp || Reference a Wikipedia article || 2 arguments, interwiki to [[wikipedia:|Wikipedia]]
  +
|-
  +
| bws || Reference a page on [[Brandon]]s site || 2 arguments, interwiki to [[bws:|Brandon's site]]
  +
<!-- disabled for the moment
  +
|-
  +
| t || Reference one of [[Brandon]]s Tweets || arguments are tweet ID and text to display
  +
-->
  +
|-
  +
| 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.
  +
{{cat|templates}}

Please note that all contributions to The Coppermind are considered to be released under the CC4 by-nc-nd (see Coppermind:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Template used on this page: