Difference between revisions of "Template:Ref"
Jump to navigation
Jump to search
m (woops) |
m |
||
Line 10: | Line 10: | ||
-->|?|wotdb|qa={{wotdb|{{{2}}}|{{{3}}}|{{{4}}}|}}<!-- |
-->|?|wotdb|qa={{wotdb|{{{2}}}|{{{3}}}|{{{4}}}|}}<!-- |
||
-->|17s|f={{17s|{{{2}}}|{{{3|}}}={{{4}}}|text={{{5| }}}}}<!-- |
-->|17s|f={{17s|{{{2}}}|{{{3|}}}={{{4}}}|text={{{5| }}}}}<!-- |
||
− | -->|twg={{twg|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- |
+ | -- >|twg={{twg|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- NOT IN USE |
− | -->|sb|stormblessed={{sb|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- |
+ | -- >|sb|stormblessed={{sb|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- NOT IN USE |
− | -->|sawiki|sa|w={{SAwiki|{{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- |
+ | -- >|sawiki|sa|w={{SAwiki|{{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- NOT IN USE |
-->|wp={{wp|{{{2}}}|{{{3|Wikipedia}}}|}}<!-- |
-->|wp={{wp|{{{2}}}|{{{3|Wikipedia}}}|}}<!-- |
||
-->|bws={{bws|link={{{2}}}|2={{{3}}}|}}<!-- |
-->|bws={{bws|link={{{2}}}|2={{{3}}}|}}<!-- |
||
Line 28: | Line 28: | ||
-->|b|book={{{2}}}_{{{3}}}{{{4}}}<!-- |
-->|b|book={{{2}}}_{{{3}}}{{{4}}}<!-- |
||
-->|?|wotdb|qa=?{{{2}}}.{{{3}}}<!-- |
-->|?|wotdb|qa=?{{{2}}}.{{{3}}}<!-- |
||
− | -->|17s= |
+ | -->|17s=17S/{{{5}}}<!-- |
-->|}}<!-- |
-->|}}<!-- |
||
Line 36: | Line 36: | ||
-->|group={{{group|{{{G|}}}|}}}<!-- |
-->|group={{{group|{{{G|}}}|}}}<!-- |
||
− | -->}}</includeonly><noinclude>This |
+ | -->}}</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. |
+ | {| class=infobox width=100% |
||
− | To access the <code>link=</code> or <code>page=</code> parameters for {{t|17s}} and its ilk, include the <code>type=</code> parameter with the name of the parameter to pass the <code>1=<519-nightblood-and-breath/page__pid__9820#entry9820</code> parameter to. |
||
+ | |- |
||
− | |||
+ | ! class=title | First argument |
||
− | For example to refer to a specific post on the forums: |
||
+ | ! class=title | Meaning |
||
− | |||
+ | ! class=title | Notes |
||
− | <code><nowiki>{{ref|17s|519|post|9780|About The Allmighty}}</nowiki></code> |
||
+ | |- |
||
+ | | 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 || 3 arguments passed to {{T|wotdb}}, reusable by first 2 |
||
+ | |- |
||
+ | | 17s, f || 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 || two arguments to the {{t|wp}} template |
||
+ | |- |
||
+ | | bws || Reference a page on [[Brandon]]s site || first argument is link, second is text to display |
||
+ | |- |
||
+ | | t || Reference one of [[Brandon]]s Tweets || arguments are tweet ID and text to display |
||
+ | |} |
||
{{cat|templates}} |
{{cat|templates}} |
Revision as of 11:45, 12 September 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, f | 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 |