Editing Template:Navbox-Type
From Medapedia
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
{| border="1" cellpadding="2" style="border-collapse:collapse; font-size: 11px; text-align: center;" | {| border="1" cellpadding="2" style="border-collapse:collapse; font-size: 11px; text-align: center;" | ||
|- | |- | ||
| colspan=2 style="background:#4499EE; font-size: 12px; color:#000;" | <big> {{# | | colspan=2 style="background:#4499EE; font-size: 12px; color:#000;" | <big> {{#ifeq: {{{full-title}}} | {{{full-title}}} | {{{type}}}-type Medarots }} </big> | ||
|- | |- | ||
| width=80 style="background:#E4EEFF;" | {{{code-1}}} | | width=80 style="background:#E4EEFF;" | {{{code-1}}} | ||
Line 26: | Line 26: | ||
{{#if: {{{code-8|}}} | {{!}}- | {{#if: {{{code-8|}}} | {{!}}- | ||
{{!}} style="background:#E4EEFF;" {{!}} {{{code-8}}} | {{!}} style="background:#E4EEFF;" {{!}} {{{code-8}}} | ||
{{!}} [[{{{name-8}}}]] | {{!}} [[{{{name-8}}}]] }}}}}}}}}}}}}} | ||
|- | |- | ||
|}</div><noinclude> | |}</div><noinclude> | ||
Line 40: | Line 34: | ||
If you want to add a short comment next to each Medarot, use [[Template:Navbox-Type-N]] instead. | If you want to add a short comment next to each Medarot, use [[Template:Navbox-Type-N]] instead. | ||
When using it, make sure to only include as many codes/names as there are Medarots you want to list, and erase any numbers higher than that. There is room on this template for up to | When using it, make sure to only include as many codes/names as there are Medarots you want to list, and erase any numbers higher than that. There is room on this template for up to 8 Medarots, which is probably more than necessary. If you need more than 8 spaces you should consider making a separate Navbox! | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Navbox-Type | {{Navbox-Type | ||
| type | | type = | ||
| code-1 | | code-1 = | ||
| name-1 | | name-1 = | ||
| code-2 | | code-2 = | ||
| name-2 | | name-2 = | ||
| code-3 | | code-3 = | ||
| name-3 | | name-3 = | ||
| code-4 | | code-4 = | ||
| name-4 | | name-4 = | ||
| code-5 | | code-5 = | ||
| name-5 | | name-5 = | ||
| code-6 | | code-6 = | ||
| name-6 | | name-6 = | ||
| code-7 | | code-7 = | ||
| name-7 | | name-7 = | ||
| code-8 | | code-8 = | ||
| name-8 | | name-8 = | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> |