Difference between revisions of "Template:Wob ref"
Jump to navigation
Jump to search
m (Reverted edits by BeskarKomrk (talk) to last revision by Fbstj) |
m (remove the event handling and merge in functions from {{wob ref2}}) |
||
Line 1: | Line 1: | ||
<includeonly>{{#tag:ref<!-- |
<includeonly>{{#tag:ref<!-- |
||
TODO: depreciate using {{{2}}} and {{{text}}} once they're all done |
|||
TEXT |
TEXT |
||
-->|<!-- |
-->|<!-- |
||
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!-- |
|||
-->{{#if:{{{text|{{{2|}}}|}}}<!-- |
|||
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!-- |
|||
-->|<!-- |
|||
-->}}<!-- |
|||
-->{{{pre|}}}<!-- |
-->{{{pre|}}}<!-- |
||
⚫ | |||
asker, answerer, etc? |
|||
⚫ | |||
-->{{{post|}}}<!-- |
-->{{{post|}}}<!-- |
||
Line 21: | Line 14: | ||
--><br><small> — <!-- |
--><br><small> — <!-- |
||
-->{{ |
-->[[coppermind: Arcanum|Arcanum]] - {{{date|{{cite: Arcanum-{{{1}}}|date}}|}}}</small><!-- |
||
-->[[coppermind: Arcanum|Arcanum]] - {{{date}}}</small><!-- |
|||
NAME |
NAME |
||
-->|name={{{name| |
-->|name={{{name|Arcanum-{{{1}}}|}}}<!-- |
||
GROUP |
GROUP |
||
Line 38: | Line 29: | ||
To use, include {{t|wob ref|entry|description}} |
To use, include {{t|wob ref|entry|description}} |
||
* {{{text}}} replaces the description |
* {{{text}}} replaces the description |
||
* {{{date}}} is the facts publication date (YYYY-MM-DD) |
|||
* {{{event}}} is the name of the event (optional) |
|||
* {{{pre}}} is included before the link |
* {{{pre}}} is included before the link |
||
* {{{post}}} is included after the link |
* {{{post}}} is included after the link |