Difference between revisions of "Template:Coin"

From 118Wiki
Jump to navigation Jump to search
(new default)
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]]</div></div>
 
</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 13:
  
 
==How to use this template:==
 
==How to use this template:==
<nowiki>{{</nowiki>Coin|'''''name of coin'''''|'''''width''' in pixels (optional; default is 65)''<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}}</pre>
 
<pre>{{Coin|Per Aspera Ad Astra}}</pre>
  
and you will get the Per Aspera Ad Astra Commemorative Coin at a width of 65 pixels:
+
and you will get the Per Aspera Ad Astra Commemorative Coin at a width of 150 pixels:
  
 
{{Coin|Per Aspera Ad Astra}}
 
{{Coin|Per Aspera Ad Astra}}

Revision as of 19:20, 5 July 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!