Difference between revisions of "Template:Wob ref"
Jump to navigation
Jump to search
m (maybe improve bad ref import link (by making it link to the WoB generically as the main line) |
m (old style no longer used) |
||
(5 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 |
||
+ | -->|<!-- |
||
− | -->|{{#ifexist: Cite: Arcanum-{{{1}}}<!-- |
||
− | + | -->{{#tag:ref-once<!-- |
|
− | + | -->|[[wob: {{{1}}}|Arcanum entry {{{1}}}]]<br><!-- |
|
⚫ | |||
⚫ | |||
− | + | -->|name=Arcanum-{{{1}}}|group={{{group|}}}<!-- |
|
⚫ | |||
-->}}<!-- |
-->}}<!-- |
||
+ | END |
||
− | 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]] |
||
⚫ |