Difference between revisions of "Template:Ref"
Jump to navigation
Jump to search
m |
m (try dat (everything will break)) |
||
Line 13: | Line 13: | ||
-- >|sb|stormblessed={{sb|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- NOT IN USE |
-- >|sb|stormblessed={{sb|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- NOT IN USE |
||
-- >|sawiki|sa|w={{SAwiki|{{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- NOT IN USE |
-- >|sawiki|sa|w={{SAwiki|{{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- NOT IN USE |
||
− | -->|wp= |
+ | -->|wp=[[wikipedia:{{{2}}}|{{{3|Wikipedia}}}]]<!-- |
− | -->|bws= |
+ | -->|bws=[[bws:{{{2}}}|{{{3}}}]]<!-- |
− | -- >|bws=[[bws:{{{2}}}|{{{3}}}<!-- NOT IN USE: replace {{{2}}} with some form of {{bws}} detail? |
||
-->|t|twitter={{twitter|{{{2}}}|{{{3|Tweet}}}|{{#if:{{{user|}}}|user={{{user}}}|}}}}<!-- |
-->|t|twitter={{twitter|{{{2}}}|{{{3|Tweet}}}|{{#if:{{{user|}}}|user={{{user}}}|}}}}<!-- |
||
-->|{{{1}}}<!-- |
-->|{{{1}}}<!-- |
Revision as of 06:41, 17 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 | 3 arguments passed to {{wotdb}} , 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 | two arguments to the {{wp}} template
|
bws | Reference a page on Brandons site | first argument is link, second is text to display |
t | Reference one of Brandons Tweets | arguments are tweet ID 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