Difference between revisions of "Template:Bought-in"

From wikiscot
Jump to navigation Jump to search
(remove sentence with date if no longer locked)
m
Line 9: Line 9:
  
 
<!-- the following code allows you to display a different result if protextion expires in infinity:
 
<!-- the following code allows you to display a different result if protextion expires in infinity:
{{#ifeq: {{PROTECTIONEXPIRY:edit}} | infinity || The text is locked until {{#sub:{{PROTECTIONEXPIRY:edit}}|6|2}}/{{#sub:{{PROTECTIONEXPIRY:edit}}|4|2}}/{{#sub:{{PROTECTIONEXPIRY:edit}}|2|2}}}}
+
{{#ifeq: {{PROTECTIONEXPIRY:edit}} | infinity || The text is locked until {{#sub:{{PROTECTIONEXPIRY:edit}}|6|2}}/{{#sub:{{PROTECTIONEXPIRY:edit}}|4|2}}/{{#sub:{{PROTECTIONEXPIRY:edit}}|2|2}}}}
  
 
The code that was there to produce formatted date string:
 
The code that was there to produce formatted date string:
Line 19: Line 19:
  
 
<blockquote style="width: 60%; color: mediumblue; background: yellow; border: 1px solid black; margin-left: auto; margin-right: auto; padding: 1em">
 
<blockquote style="width: 60%; color: mediumblue; background: yellow; border: 1px solid black; margin-left: auto; margin-right: auto; padding: 1em">
This article has been commissioned by <strong>Wikiscot</strong> from <strong>{{{Author}}}</strong> at <strong>{{{Accounts}}}</strong>.{{#ifeq: {{PROTECTIONEXPIRY:edit}} | infinity || The text is locked until {{#sub:{{PROTECTIONEXPIRY:edit}}|6|2}}/{{#sub:{{PROTECTIONEXPIRY:edit}}|4|2}}/{{#sub:{{PROTECTIONEXPIRY:edit}}|2|2}}}}  {{{Cost}}} was paid.
+
This article has been commissioned by <strong>Wikiscot</strong> from <strong>{{{Author}}}</strong> at <strong>{{{Accounts}}}</strong>.{{#ifeq: {{PROTECTIONEXPIRY:edit}} | infinity || The text is locked until {{#sub:{{PROTECTIONEXPIRY:edit}}|6|2}}/{{#sub:{{PROTECTIONEXPIRY:edit}}|4|2}}/{{#sub:{{PROTECTIONEXPIRY:edit}}|2|2}}.}}  {{{Cost}}} was paid.
 
</blockquote>
 
</blockquote>

Revision as of 17:40, 19 November 2019


When using this template the following parameters must be defined:

  • Author: the author of the article.
  • Accounts: the social media accounts associated with the author.
  • Cost: A fee or No fee




This article has been commissioned by Wikiscot from {{{Author}}} at {{{Accounts}}}. {{{Cost}}} was paid.