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 (old style no longer used) |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{# |
+ | <includeonly>{{#ifexist: Cite: Arcanum-{{{1}}}<!-- |
+ | CITE: PAGE EXISTS |
||
− | TEXT |
||
− | -->|<!-- |
+ | -->|{{#tag:ref-once<!-- |
⚫ | |||
+ | interwiki link to {{{1}}} and show text from [[Cite: Arcanum-{{{1}}}]] |
||
− | -->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!-- |
||
⚫ | |||
+ | show "-- Arcanum - Month YYYY" small |
||
− | -->{{#if:{{{text|{{{2|}}}|}}}<!-- |
||
⚫ | |||
− | -->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!-- |
||
− | -->|<!-- |
+ | -->[[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<!-- |
||
− | asker, answerer, etc? |
||
⚫ | |||
− | |||
− | -->[[ |
+ | --><small>Error: [[Cite: Arcanum-{{{1}}}|missing reference description, click to import]].</small><!-- |
+ | -->|name=Arcanum-{{{1}}}|group={{{group|}}}<!-- |
||
− | |||
− | --> |
+ | -->}}<!-- |
− | |||
⚫ | |||
− | |||
− | -->{{#if:{{{event|}}}|{{{event}}} - |}}<!-- |
||
− | |||
⚫ | |||
− | |||
− | 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 |
||
− | * {{{date}}} is the facts publication date (YYYY-MM-DD) |
||
− | * {{{event}}} is the name of the event (optional) |
||
− | * {{{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]] |