Difference between revisions of "Template:Bws ref"

From The Coppermind
Jump to navigation Jump to search
(fix)
m (+track +list)
(5 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
 
-->{{#if:{{{broken|}}}|{{ref/broken}}|<!-- -->}}<!--
   
-->{{#if:{{{text|{{{3|}}}|}}}<!--
+
-->{{#if:{{{text|{{{2|}}}|}}}<!--
 
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
 
-->|{{#if:{{{date|}}}|<!-- -->|{{ref/broken|ref/date}}|<!-- -->}}<!--
 
-->|<!--
 
-->|<!--
 
-->}}<!--
 
-->}}<!--
   
-->{{{pre|}}}<!--
+
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
   
 
-->[[bws:{{{page|{{{1}}}|}}}|{{{text|{{{2}}}|}}}]]<!--
 
-->[[bws:{{{page|{{{1}}}|}}}|{{{text|{{{2}}}|}}}]]<!--
   
-->{{{post|}}}<!--
+
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
   
--><br><small> &mdash; {{{site|[[Brandon]]'s blog}}} - {{{date}}}</small><!--
+
--><br><small> &mdash; {{{site|[[Brandon]]'s website}}} - {{{date}}}<sup>{{tracking link|Cite: BrandonSanderson.com/{{{page|{{{1}}}|}}}|}}</sup></small><!--
   
 
NAME
 
NAME
Line 37: Line 37:
 
* {{{name}}} replaces {{{page}}} or {{{1}}} as the reference name
 
* {{{name}}} replaces {{{page}}} or {{{1}}} as the reference name
 
* {{{group}}} sets the reference group
 
* {{{group}}} sets the reference group
  +
[[Category: Sources]]
 
  +
[[category: sources]]
[[Category: Reference templates]]
+
[[category: reference templates]]
  +
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Revision as of 10:50, 19 April 2020

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

Articles using Template