Difference between revisions of "Template:17s ref"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 2: Line 2:
   
 
TEXT
 
TEXT
-->|{{{pre|{{{6|}}}|}}}<!--
+
-->|<!--
  +
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
  +
 
-->{{{pre|}}}<!--
   
 
-->{{17s|{{{1}}}|{{{2}}}={{{3}}}|text={{{text|{{{4|}}}|}}}}}<!--
 
-->{{17s|{{{1}}}|{{{2}}}={{{3}}}|text={{{text|{{{4|}}}|}}}}}<!--
   
 
-->{{{post|}}}<!--
--><br> &mdash; <small>[[17th Shard]] forums - {{{date}}}</small><!--
 
   
-->{{{post|{{{5|}}}|}}}<!--
+
--><br> &mdash; <small>[[17th Shard]] forums - {{{date|{{ref/date}}|}}}</small><!--
   
 
NAME
 
NAME
-->|name={{{name|17s-{{{1}}}-{{{2}}}-{{{3}}}|}}}<!--
+
-->|name={{{name|17s-{{{1}}}-{{{2|type}}}-{{{3|value}}}|}}}<!--
   
 
GROUP
 
GROUP
 
-->|group={{{group|}}}<!--
 
-->|group={{{group|}}}<!--
   
-->}}<!--
 
 
-->{{#if:{{{text|}}}{{{4|}}}<!--
 
only applied when text has been entered
 
-->|{{#if:{{{date|}}}|<!-- -->|[[Category: References missing date]]}}<!--
 
only applied when no text is entered
 
-->|<!--
 
 
-->}}<!--
 
-->}}<!--
   
Line 28: Line 25:
 
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 {{t|17s}} to create links.
   
To use, include {{t|17s ref|topic|type|id|description|post|pre}}
+
To use, include {{t|17s ref|topic|type|id|description}}
 
* {{{url}}} replaces the topic/post bit
 
* {{{url}}} replaces the topic/post bit
 
* {{{text}}} replaces the description
 
* {{{text}}} replaces the description
* {{{date}}} is the facts publication date (yyyy-mm-dd)
+
* {{{date}}} is the facts publication date
 
* {{{pre}}} is included before the link
 
* {{{pre}}} is included before the link
 
* {{{post}}} is included after the link
 
* {{{post}}} is included after the link

Revision as of 13:13, 14 December 2014

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

To use, include {{17s ref|topic|type|id|description}}

  • {{{url}}} replaces the topic/post bit
  • {{{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