Difference between revisions of "Template:Coin"

From 118Wiki
Jump to navigation Jump to search
(Removed unnecessary /divs)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[File:{{{1}}} Commemorative Coin.png|{{{2|110}}}px|link={{{1}}} Commemorative Coin]]</div></div>
+
<includeonly>[[File:{{{1}}} Commemorative Coin.png|{{{2|150}}}px|link={{{1}}} Commemorative Coin]]</includeonly><noinclude>
</includeonly><noinclude>
 
 
This template lets you call up any [[commemorative coin]] just using the name of the coin itself.
 
This template lets you call up any [[commemorative coin]] just using the name of the coin itself.
  
Line 13: Line 12:
  
 
==How to use this template:==
 
==How to use this template:==
<nowiki>{{</nowiki>Coin|'''''name of coin'''''|'''''width''' in pixels (optional; default is 110)''<nowiki>}}</nowiki>
+
<nowiki>{{</nowiki>Coin|'''''name of coin'''''|'''''width''' in pixels (optional; default is 150)''<nowiki>}}</nowiki>
  
 
So for instance, just type in
 
So for instance, just type in
<pre>{{Coin|Per Aspera Ad Astra|80}}</pre>
+
<pre>{{Coin|Per Aspera Ad Astra}}</pre>
  
and you will get the Graphic Contest Winner badge returned at a width of 80 pixels:
+
and you will get the Per Aspera Ad Astra Commemorative Coin at a width of 150 pixels:
  
{{Coin|Per Aspera Ad Astra|80}}
+
{{Coin|Per Aspera Ad Astra}}
 +
 
 +
You can specify a different size by adding the width in pixels after:
 +
 
 +
<pre>{{Coin|Per Aspera Ad Astra|100}}</pre>
 +
 
 +
{{Coin|Per Aspera Ad Astra|100}}
  
 
==Link Options==
 
==Link Options==
The badge will automatically link to the corresponding page for the coin.
+
The coin will automatically link to its corresponding page in the [[Hall of Honor]].
  
==Displaying Badges in a Coin Rack==
+
==Displaying Coins in a Coin Rack==
And here's how it looks in a badge rack you can put in your sidebar, using '''[[Template:Coin Rack]]'''.
+
And here's how it looks in a coin rack you can put in your sidebar, using '''[[Template:Coin Rack]]'''.
  
 
{{Coin Rack
 
{{Coin Rack

Latest revision as of 19:38, 6 August 2021

This template lets you call up any commemorative coin just using the name of the coin itself.

For Staff: Adding newly created coins

Make sure the file name of the badge is in the format

File:NAME OF COIN (including the words Commemorative Coin at the end).png

Such as File:Per Aspera Ad Astra Commemorative Coin.png

How to use this template:

{{Coin|name of coin|width in pixels (optional; default is 150)}}

So for instance, just type in

{{Coin|Per Aspera Ad Astra}}

and you will get the Per Aspera Ad Astra Commemorative Coin at a width of 150 pixels:

Per Aspera Ad Astra Commemorative Coin.png

You can specify a different size by adding the width in pixels after:

{{Coin|Per Aspera Ad Astra|100}}

Per Aspera Ad Astra Commemorative Coin.png

Link Options

The coin will automatically link to its corresponding page in the Hall of Honor.

Displaying Coins in a Coin Rack

And here's how it looks in a coin rack you can put in your sidebar, using Template:Coin Rack.

Commemorative Coins
Per Aspera Ad Astra Commemorative Coin.png

Problems or Questions?

Let Rich know!