Template:AreaNavTable: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#vardefine:navcell|#{{{{{Type}}}_color_light}}}}{{#vardefine:navbackground|#{{{{{Type}}}_color}}}}{{#vardefine:navborder|#{{{{{Type}}}_color_dark}}}}<table cellspacing="5" style="margin-left: auto; text-align: center; margin-right: auto; margin-bottom: 15px; height: 60px; border: 4px {{#var:navborder}} solid; font-weight: bold; width: 90%; color: {{#var:navborder}}; border-radius: 20px 20px 20px 20px; padding: 3px; background: {{#var:navbackground}};"> | ||
{{#vardefine:navcell|#{{{{{Type}}}_color_light}}}} | |||
{{#vardefine:navbackground|#{{{{{Type}}}_color}}}} | |||
{{#vardefine:navborder|#{{{{{Type}}}_color_dark}}}} | |||
<table cellspacing="5" style="margin-left: auto; text-align: center; margin-right: auto; margin-bottom: 15px; height: 60px; border: 4px {{#var:navborder}} solid; font-weight: bold; width: | |||
<tr> | <tr> | ||
<td style="width: 38%; background: {{#var:navcell}}; border-radius: 15px 1px 1px 15px;">{{#if:{{{Prev|}}} | ← [[{{{Prev}}}|<span style="color:{{#var:navborder}}; font-weight: bold;">{{{Prev}}}</span>]]}}</td> | <td style="width: 38%; background: {{#var:navcell}}; border-radius: 15px 1px 1px 15px; border: 1px solid {{#var:navborder}};">{{#if:{{{Prev|}}} | ← [[{{{Prev}}}|<span style="color:{{#var:navborder}}; font-weight: bold;">{{{Prev}}}</span>]]}}</td> | ||
<td style="width: 30%; background: {{#var:navcell}}; border-radius: 1px 1px 1px 1px;">Pokémon Revolution Online {{{Category}}} | <td style="width: 30%; background: {{#var:navcell}}; border-radius: 1px 1px 1px 1px; border: 1px solid {{#var:navborder}};">Pokémon Revolution Online {{{Category}}} </td> | ||
<td style="width: 38%; padding-right: 10px; background: {{#var:navcell}}; border-radius: 1px 15px 15px 1px;">{{#if: {{{Post|}}} | [[{{{Post}}}|<span style="color:{{#var:navborder}}; font-weight: bold;">{{{Post}}}</span>]] →}}</td></tr> | <td style="width: 38%; padding-right: 10px; background: {{#var:navcell}}; border-radius: 1px 15px 15px 1px; border: 1px solid {{#var:navborder}};">{{#if: {{{Post|}}} | [[{{{Post}}}|<span style="color:{{#var:navborder}}; font-weight: bold;">{{{Post}}}</span>]] →}}</td></tr> | ||
</table> | </table> | ||
[[Category:{{{Category}}}s]] | [[Category:{{{Category}}}s]] | ||
</includeonly> | </includeonly> |