Difference between revisions of "Template:Ref"

From The Coppermind
Jump to navigation Jump to search
m (- ref|b|book|a|chapter links)
Line 64: Line 64:
   
 
-->}}<!--
 
-->}}<!--
 
REMOVE THESE
 
-->{{#ifeq:{{lc:{{{1|}}}{{{3|}}}|}}|ba|[[Category:Articles with incorrect book links]]|}}<!---
 
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>

Revision as of 12:47, 27 November 2012

This template is meant to standardize and simplify, the referencing process for most common sources to Brandon Sanderson information. References added with template will show at the bottom of the article in the footnotes section, as usual. The template encapsulate the functionality of several in order to simplify reference reuse, by automatically giving names to references with particular characteristics.

Detailed Usage

Generally the format to use the template is: Template:Tlx

The First parameter determines which arguments should be passed after. See list of available parameters:

First parameter 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 {{b}}, 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
  • For detailed instructions see the individual template pages.
  • 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.

Common Usage

Commonly you'll be referencing books, thus the format will look similar to this: Template:Tlx where:

  • 'b' stands for book. See list of available shorthand here.
  • 'c' stands for chapter, See list of variants here.

Practical Examples for referencing The Way of Kings:

{{Ref|b|twok|c|9}} - will create a reference to "The Way of Kings, Chapter 9",  
{{Ref|b|twok|i|9}} - will create a reference to "The Way of Kings, Interlude 9"

Template:Cat