Difference between revisions of "Template:Ea crownie"
(Created page with "|{{#if: {{{Number}}} | {{{Number}}} | ???}} |{{#if: {{{Crownie}}} | [[{{{Crownie}}}]] | ???}} |{{#if: {{{Crownie}}} | [[File:{{{Crownie}}} sprite.png]] | File:Questionmark s...") |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
This section of code goes at the top of the list, its what makes the table and all its rows.: | This section of code goes at the top of the list, its what makes the table and all its rows.: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | {| class="wikitable sortable" style="text-align:center;" | + | {| role="presentation" class="wikitable mw-collapsible mw-collapsed wikitable sortable" style="text-align:center;" |
!colspan="1"|Num | !colspan="1"|Num | ||
!colspan="1"|Name | !colspan="1"|Name | ||
Line 26: | Line 26: | ||
This is the actual template where you will put in the crownie information. | This is the actual template where you will put in the crownie information. | ||
<pre><nowiki> | <pre><nowiki> | ||
− | {{ | + | {{Ea crownie |
| Number = | | Number = | ||
| Crownie = | | Crownie = | ||
Line 32: | Line 32: | ||
| Color 1 = | | Color 1 = | ||
| Color 2 = | | Color 2 = | ||
− | | Htg = | + | | Htg = |
}} | }} | ||
</nowiki></pre> | </nowiki></pre> |
Latest revision as of 16:49, 30 April 2021
|{{{Number}}} |[[{{{Crownie}}}]] |[[File:{{{Crownie}}} sprite.png]] |{{{Type}}}
| style="background:#{{{Color 1}}}; color:#{{{Color 2}}}; font-family:monospace;" || {{{Htg}}} |-
Contents
Description
Template for the Obtainable Crownies page. I know at the top it looks a bit... broken. But I promise it works perfectly when put into place! This is to declutter all the table coding that's already there and make it much easier on the eyes and head to edit.
To use this template, make sure you at least have part 1 pasted into the page already, and then use part 2 to put as many monsters you need, and part 3 to close the table.
Part 1:[edit]
This section of code goes at the top of the list, its what makes the table and all its rows.:
{| role="presentation" class="wikitable mw-collapsible mw-collapsed wikitable sortable" style="text-align:center;" !colspan="1"|Num !colspan="1"|Name !colspan="1"|Sprite !colspan="1"|Type !colspan="1"|Color 1 !colspan="1"|Color 2 !colspan="1"|How to get |-
Part 2:[edit]
This is the actual template where you will put in the crownie information.
{{Ea crownie | Number = | Crownie = | Type = | Color 1 = | Color 2 = | Htg = }}
Part 3:[edit]
The end of the table, you need this at the end or otherwise if you try to put something after the table it may screw up the page.
|- |}