Difference between revisions of "Template:17s ref"

From The Coppermind
Jump to navigation Jump to search
(try)
(new way of doing 17s references. gonna break everything)
Line 6: Line 6:
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--


-->{{#if:{{{text|{{{4|}}}|}}}<!--
-->{{#if:{{{text|{{{3|}}}|}}}<!--
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
-->|<!--
-->|<!--
Line 13: Line 13:
-->{{{pre|}}}<!--
-->{{{pre|}}}<!--


-->{{17s|{{{1}}}|{{{2}}}={{{3}}}|text={{{text|{{{4|}}}|}}}}}<!--
-->[[17s-{{{1}}}:{{{2}}}|{{{text|{{{3}}}|}}}]]<!--


-->{{{post|}}}<!--
-->{{{post|}}}<!--
Line 20: Line 20:


NAME
NAME
-->|name={{{name|17s-{{{1}}}-{{{2|type}}}-{{{3|value}}}|}}}<!--
-->|name={{{name|17s-{{{1|type}}}-{{{2|value}}}|}}}<!--


GROUP
GROUP
Line 28: Line 28:


--></includeonly><noinclude>
--></includeonly><noinclude>
This template is used to refer to pages on [http://17thshard.com/ 17th Shard], and uses {{t|17s}} to create links.
This template is used to refer to pages on [http://17thshard.com/ 17th Shard], and uses the 17s-{{{1}}} [[Special: Interwiki|interwiki links]] to create links.


To use, include {{t|17s ref|topic|type|id|description}}
To use, include {{t|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
* {{{text}}} replaces the description
* {{{date}}} is the facts publication date
* {{{date}}} is the facts publication date

Revision as of 11:31, 13 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