Difference between revisions of "Template:Wob ref"

From The Coppermind
Jump to navigation Jump to search
m (oops)
m (old style no longer used)
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#tag:ref<!--
+
<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}}|<!-- -->}}<!--
 
 
-->[[wob: {{{1}}}|{{cite: Arcanum-{{{1}}}|}}]]<!--
   
  +
show "-- Arcanum - Month YYYY" small
-->{{#if:{{{text|{{{2|}}}|}}}<!--
 
  +
--><br><small> &mdash; <!--
-->|{{#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><!--
 
-->|name=Arcanum-{{{1}}}|group={{{group|}}}<!--
 
-->}}<!--
   
  +
ELSE
-->{{{pre|}}}<!--
 
  +
-->|<!--
 
  +
-->{{#tag:ref-once<!--
asker, answerer, etc?
 
  +
-->|[[wob: {{{1}}}|Arcanum entry {{{1}}}]]<br><!--
 
-->[[wob:{{{1}}}|{{{text|{{{2}}}|}}}]]<!--
+
--><small>Error: [[Cite: Arcanum-{{{1}}}|missing reference description, click to import]].</small><!--
  +
-->|name=Arcanum-{{{1}}}|group={{{group|}}}<!--
 
-->{{{post|}}}<!--
+
-->}}<!--
 
--><br><small> &mdash; [[Coppermind: Arcanum|Acranum]] - {{{date}}}</small><!--
 
 
NAME
 
-->|name={{{name|wob-{{{1}}}|}}}<!--
 
 
GROUP
 
-->|group={{{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|question|description}}
+
To use, include {{t|wob ref|entry}}
* {{{text}}} replaces the description
 
* {{{date}}} is the facts publication date (yyyy-mm-dd)
 
* {{{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: sources]]
[[Category: Reference templates]]
+
[[category: reference templates]]

Revision as of 09:44, 8 September 2019

This template is used to refer to answers in Arcanum.

To use, include {{wob ref|entry}}