Difference between revisions of "Template:Ref"

Jump to navigation Jump to search
395 bytes removed ,  9 years ago
m
no edit summary
m
m
-->{{#switch:{{lc:{{{1}}}|}}<!--
-->|a=[[{{{2}}}|{{{text|{{{2}}}|}}}]]<!--
-->|annotation={{annotation|book={{{book|{{{2}}}|}}}|chapter{{{3|}}}={{{chapter|}}}|1{{{chapter|}}}={{{3|}}}|text{{#if:{{{text|}}}||5}}={{{text|}}}|pre=Annotation for&nbsp;}}<!--
-->|b={{bref|{{{2}}}|{{{3}}}|{{{4}}}|{{#if:{{{text|}}}|text={{{text}}}|}}|{{#if:{{{fragment|}}}|fragment={{{fragment}}}|}}|}}<!--
-->|?=[[wotdb:{{{2}}}#{{{3}}}|{{{text|{{{4}}}|}}}]]<!--
 
-->{{#switch:{{lc:{{{1}}}|}}<!--
-->|annotation=annotation:{{{2}}}/{{{chapter|{{{3|}}}|}}}<!--
-->|b={{bref|{{{2}}}|{{{3}}}|{{{4}}}|}}<!--
-->|?=?{{{2}}}#{{{3}}}<!--
|-
| a || Reference another wiki article || argument 3 acts as an alternative link title
|-
| annotation || Reference one of Brandon's chapter annotations || {{t|annotation|book|3=chapter=2}} or {{t|annotation|book|prologue}} for example
|-
| b || Reference a book or chapter || 3 arguments passed to {{t|b}}, reusable
* 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.
* see {{t|url[[:Category: ref}},Reference {{t|map ref}}, {{t|bws ref}}templates]] for other templates to be using instead
 
== Common Usage ==
40,275

edits

Navigation menu