Difference between revisions of "Template:Bws ref"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 2: Line 2:
   
 
TEXT
 
TEXT
-->|{{{pre|{{{4|}}}|}}}<!--
+
-->|<!--
  +
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
  +
 
-->{{{pre|}}}<!--
   
 
-->[[bws:{{{page|{{{1}}}|}}}|{{{text|{{{2}}}|}}}]]<!--
 
-->[[bws:{{{page|{{{1}}}|}}}|{{{text|{{{2}}}|}}}]]<!--
   
 
-->{{{post|}}}<!--
--><br><small> &mdash; {{{site|[[Brandon]]'s blog}}} - {{{date}}}</small><!--
 
  +
-->{{{post|{{{3|}}}|}}}<!--
 
 
--><br><small> &mdash; {{{site|[[Brandon]]'s blog}}} - {{{date|{{ref/date}}|}}}</small><!--
   
 
NAME
 
NAME
Line 15: Line 20:
 
-->|group={{{group|}}}<!--
 
-->|group={{{group|}}}<!--
   
-->}}<!--
 
 
-->{{#if:{{{text|}}}{{{2|}}}<!--
 
only applied when text has been entered
 
-->|{{#if:{{{date|}}}|<!-- -->|[[Category: References missing date]]}}<!--
 
only applied when no text is entered
 
-->|<!--
 
 
-->}}<!--
 
-->}}<!--
   

Revision as of 13:21, 14 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