Difference between revisions of "Template:17s ref"

From The Coppermind
Jump to navigation Jump to search
(new way of doing 17s references. gonna break everything)
m (try that)
Line 12: Line 12:
   
 
-->{{{pre|}}}<!--
 
-->{{{pre|}}}<!--
  +
 
-->[[17s-{{{1}}}:{{{2}}}|{{{text|{{{3}}}|}}}]]<!--
+
-->{{#switch:{{{1}}}<!--
  +
NEED TO KEEP THIS UP TO DATE with Special:Interwiki
  +
-->|news|post|topic|user=[[17s-{{{1}}}:{{{2}}}|{{{text|{{{3}}}|}}}]]<!--
  +
-->|{{ref/broken|ref/17s-{{{2}}}|}}<!--
  +
-->}}<!--
   
 
-->{{{post|}}}<!--
 
-->{{{post|}}}<!--

Revision as of 12:15, 14 January 2015

This template is used to refer to pages on 17th Shard, and uses the 17s-{{{1}}} interwiki links to create links.

To use, include {{17s ref|type|id|description}}, where type is post, topic, user, etc. based on which are implemented on Special: Interwiki. The id field should contain the last unique number in the link.

  • {{{text}}} replaces the description
  • {{{date}}} is the facts publication date
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces the generated reference name
  • {{{group}}} sets the reference group