Difference between revisions of "Template:Wob ref"

From The Coppermind
Jump to navigation Jump to search
m (add back {{{text}}} for now)
m (old style no longer used)
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#tag:ref<!--
+
<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
 
 
-->[[wob: {{{1}}}|{{cite: Arcanum-{{{1}}}|}}]]<!--
-->|<!--
 
   
  +
show "-- Arcanum - Month YYYY" small
-->{{{pre|}}}<!--
 
 
--><br><small> &mdash; <!--
  +
-->[[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
-->[[wob:{{{1}}}|{{{text|{{{2|{{cite: Arcanum-{{{1}}}|}}|}}}|}}}]]<!--
 
  +
-->|<!--
 
-->{{{post|}}}<!--
+
-->{{#tag:ref-once<!--
  +
-->|[[wob: {{{1}}}|Arcanum entry {{{1}}}]]<br><!--
 
  +
--><small>Error: [[Cite: Arcanum-{{{1}}}|missing reference description, click to import]].</small><!--
--><br><small> &mdash; <!--
 
 
-->|name=Arcanum-{{{1}}}|group={{{group|}}}<!--
 
  +
-->}}<!--
-->[[coppermind: Arcanum|Arcanum]] - {{{date|<cite-date page="Arcanum-{{{1}}}" />|}}}</small><!--
 
 
NAME
 
-->|name={{{name|Arcanum-{{{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|entry|description}}
+
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: 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}}