Difference between revisions of "Template:Wob ref"
Jump to navigation
Jump to search
m (oops) |
m (old style no longer used) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{# |
+ | <includeonly>{{#ifexist: Cite: Arcanum-{{{1}}}<!-- |
+ | CITE: PAGE EXISTS |
||
− | TODO: depreciate using {{{2}}} and {{{text}}} once they're all done |
||
+ | -->|{{#tag:ref-once<!-- |
||
⚫ | |||
+ | interwiki link to {{{1}}} and show text from [[Cite: Arcanum-{{{1}}}]] |
||
− | TEXT |
||
⚫ | |||
⚫ | |||
+ | show "-- Arcanum - Month YYYY" small |
||
⚫ | |||
⚫ | |||
+ | -->[[coppermind: Arcanum|Arcanum]]<!-- |
||
⚫ | |||
+ | --><span class="cite-date"><page-property key="cite-date" page="Cite: Arcanum-{{{1}}}" /></span><!-- |
||
+ | --><sup>[[Cite: Arcanum-{{{1}}}|#]]</sup><!-- direct link to Cite namespace page |
||
+ | --></small><!-- |
||
⚫ | |||
⚫ | |||
+ | ELSE |
||
⚫ | |||
+ | -->|<!-- |
||
− | |||
− | -->{{ |
+ | -->{{#tag:ref-once<!-- |
+ | -->|[[wob: {{{1}}}|Arcanum entry {{{1}}}]]<br><!-- |
||
− | |||
+ | --><small>Error: [[Cite: Arcanum-{{{1}}}|missing reference description, click to import]].</small><!-- |
||
⚫ | |||
⚫ | |||
− | |||
+ | -->}}<!-- |
||
− | -->[[coppermind: Arcanum|Arcanum]] - {{{date|<cite-date page="Arcanum-{{{1}}}" />|}}}<sup>[[Cite: Arcanum-{{{1}}}|#]]</sup></small><!-- |
||
− | |||
− | NAME |
||
⚫ | |||
− | |||
− | GROUP |
||
⚫ | |||
− | |||
⚫ | |||
+ | END |
||
− | --></includeonly><noinclude> |
+ | -->}}</includeonly><noinclude> |
This template is used to refer to answers in [[coppermind: Arcanum|Arcanum]]. |
This template is used to refer to answers in [[coppermind: Arcanum|Arcanum]]. |
||
− | To use, include {{t|wob ref|entry |
+ | To use, include {{t|wob ref|entry}} |
− | * {{{text}}} replaces the description |
||
− | * {{{pre}}} is included before the link |
||
− | * {{{post}}} is included after the link |
||
− | * {{{name}}} replaces the generated reference name |
||
− | * {{{group}}} sets the reference group |
||
− | [[ |
+ | [[category: sources]] |
− | [[ |
+ | [[category: reference templates]] |