Difference between revisions of "Template:Wob ref"

Jump to navigation Jump to search
m
old style no longer used
m (remove the event handling and merge in functions from {{wob ref2}})
m (old style no longer used)
(16 intermediate revisions by the same user not shown)
<includeonly>{{#tagifexist:ref 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}}}|{{{2|{{cite: Arcanum-{{{1}}}|text}}|}}}]]<!--
-->|<!--
 
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={{{name|Arcanum-{{{1}}}|group={{{group|}}}<!--
-->{{{pre|}}}<!--
 
ELSE
-->[[wob:{{{1}}}|{{{2|{{cite: Arcanum-{{{1}}}|text}}|}}}]]<!--
-->|<!--
 
-->{{{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: Arcanum-{{{1}}}|date}}|}}}</small><!--
 
NAME
-->|name={{{name|Arcanum-{{{1}}}|}}}<!--
 
GROUP
-->|group={{{group|}}}<!--
 
-->}}<!--
 
END
-->}}</includeonly><noinclude>
This template is used to refer to answers in [[coppermind: Arcanum|Arcanum]].
 
To use, include {{t|wob ref|entry|description}}
* {{{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
 
[[Categorycategory: Sourcessources]]
[[Categorycategory: Referencereference templates]]
40,275

edits

Navigation menu