Difference between revisions of "Template:Wob ref"
Jump to navigation
Jump to search
m (fix brackets) |
m (old style no longer used) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{# |
+ | <includeonly>{{#ifexist: Cite: Arcanum-{{{1}}}<!-- |
+ | CITE: PAGE EXISTS |
||
− | -->{{wob ref/manual|{{{1}}}|{{{text}}}{{{2}}}|date={{{date}}}|}}<!-- |
||
⚫ | |||
⚫ | |||
+ | interwiki link to {{{1}}} and show text from [[Cite: Arcanum-{{{1}}}]] |
||
⚫ | |||
⚫ | |||
+ | 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 |
||
− | TEXT |
||
-->|<!-- |
-->|<!-- |
||
+ | -->{{#tag:ref-once<!-- |
||
+ | -->|[[wob: {{{1}}}|Arcanum entry {{{1}}}]]<br><!-- |
||
+ | --><small>Error: [[Cite: Arcanum-{{{1}}}|missing reference description, click to import]].</small><!-- |
||
⚫ | |||
+ | -->}}<!-- |
||
+ | END |
||
⚫ | |||
− | |||
⚫ | |||
− | |||
− | -->[[coppermind: Arcanum|Arcanum]] - <cite-date page="Arcanum-{{{1}}}" /><sup>[[Cite: Arcanum-{{{1}}}|#]]</sup></small><!-- |
||
− | |||
− | NAME |
||
⚫ | |||
− | |||
− | GROUP |
||
⚫ | |||
− | |||
⚫ | |||
− | |||
-->}}</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]]. |
||
Line 29: | Line 32: | ||
To use, include {{t|wob ref|entry}} |
To use, include {{t|wob ref|entry}} |
||
+ | [[category: sources]] |
||
− | It utilises the Cite namespace by default, but if used in old mode will call {{t|wob ref/manual}} and uses either <code>{{{2}}}</code> or <code>{{{text}}}</code> and the <code>{{{date}}}</code> parameter |
||
⚫ | |||
− | |||
− | [[Category: Sources]] |
||
⚫ |