Template:ItemIcowon
adds a c'''owo'''nvenient way to add icons next to redirects
Parameter | Description | Type | Status | |
---|---|---|---|---|
Link | 1 | The page that the user will go when the text is clicked
| URL | required |
Link Label | 2 | The text that will appear instead of the URL
| Page name | suggested |
Image Name | 3 | The name of the image
| File | optional |
Image Height | 4 | The height of the image
| Number | optional |
Light mode reverse | 5 | if the icon colors should be reversed on light mode, you type whatever you want,generally you would want to activate this if the icon is completely white
| Boolean | suggested |
{{ItemIcowon|Link|Link Label|Image Name|Image Height}}
EXAMPLE USAGE
Basic
writing only {{ItemIcowon|Prophet}} the template will make some assumptions
- An PNG named "Prophet (Item).png" exists
- The link label is not needed
and it will result in
Prophet
Link Labels
however, writing {{ItemIcowon|Prophet|Spinner}} will make the template assume the image you want is "Spinner (Item).png", and will result in Spinner
Complete usage
writing {{ItemIcowon|Furr63|Cool Template Creator|Lumi face.png|24}} will result in Cool Template Creator
Image name needed, link label not
a very common thing is when a link label is not needed but a image name is, in that case, we will use {{ItemIcowon|Prophet|3=Lighter.png}}. By placing 3=imagename on where the link label should be, the template will understand that the second parameter is actually the third parameter (caused by the 3=), so you can use whatever image we want without an link label oh yeah and writing {{ItemIcowon|Prophet|3=Lighter.png}} it will result in Prophet
No outline (Light Mode)
To remove the outline that appears in the icons if the user is using light mode, you will want the 5th parameter empty, or type "5=" {{ItemIcowon|Prophet|5=}} it will result in Prophet (Turn on light mode to see the effect)