Template:Coin: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
m (Protected "Template:Coin" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
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 110)''<nowiki>}}</nowiki>
<nowiki>{{</nowiki>Coin|'''''name of coin'''''|'''''width''' in pixels (optional; default is 65)''<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 65 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

Revision as of 19:18, 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 65)}}

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 65 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!