Difference between revisions of "Template:Bws ref"

From The Coppermind
Jump to navigation Jump to search
m
(fix)
Line 5: Line 5:
   
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
  +
  +
-->{{#if:{{{text|{{{3|}}}|}}}<!--
  +
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
  +
-->|<!--
  +
-->}}<!--
   
 
-->{{{pre|}}}<!--
 
-->{{{pre|}}}<!--
Line 12: Line 17:
 
-->{{{post|}}}<!--
 
-->{{{post|}}}<!--
   
--><br><small> &mdash; {{{site|[[Brandon]]'s blog}}} - {{#if:{{{date|}}}|{{{date}}}|{{ref/date}}|}}</small><!--
+
--><br><small> &mdash; {{{site|[[Brandon]]'s blog}}} - {{{date}}}</small><!--
   
 
NAME
 
NAME

Revision as of 13:18, 16 December 2014

This template is used to refer to pages on Brandon's site.

To use, include {{bws ref|page-on-site|link text|post|pre}}

  • {{{page}}} replaces the page url
  • {{{text}}} replaces the text
  • {{{date}}} is the post's publication date (yyyy-mm-dd)
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces {{{page}}} or {{{1}}} as the reference name
  • {{{group}}} sets the reference group