Template:Navbox-Type-N: Difference between revisions
m (moved Template:Navbox-Type to Template:Navbox-Type-N: Splitting this up) |
(Added a full title option.) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style=" | <div style="margin: 15px 20px"> | ||
{| 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=3 style="background:#4499EE; font-size: 12px; color:#000;" | <big> {{{type}}}-type Medarots </big> | | colspan=3 style="background:#4499EE; font-size: 12px; color:#000;" | <big> {{#if: {{{full-title|}}} | {{{full-title}}} | {{{type}}}-type Medarots }} </big> | ||
|- | |- | ||
| width=80 style="background:#E4EEFF;" | {{{code-1}}} | | width=80 style="background:#E4EEFF;" | {{{code-1}}} | ||
| width=110 | [[{{{name-1}}}]] | | width=110 | [[{{{name-1}}}]] | ||
| {{{note-1|}}} | | style="padding:2px 10px; text-align:left;" | {{{note-1|}}} | ||
{{#if: {{{code-2|}}} | {{!}}- | {{#if: {{{code-2|}}} | {{!}}- | ||
{{!}} style="background:#E4EEFF;" {{!}} {{{code-2}}} | {{!}} style="background:#E4EEFF;" {{!}} {{{code-2}}} | ||
{{!}} [[{{{name-2}}}]] | {{!}} [[{{{name-2}}}]] | ||
{{!}} {{{note-2|}}} | {{!}} style="padding:2px 10px; text-align:left;" {{!}} {{{note-2|}}} | ||
{{#if: {{{code-3|}}} | {{!}}- | {{#if: {{{code-3|}}} | {{!}}- | ||
{{!}} style="background:#E4EEFF;" {{!}} {{{code-3}}} | {{!}} style="background:#E4EEFF;" {{!}} {{{code-3}}} | ||
{{!}} [[{{{name-3}}}]] | {{!}} [[{{{name-3}}}]] | ||
{{!}} {{{note-3|}}} | {{!}} style="padding:2px 10px; text-align:left;" {{!}} {{{note-3|}}} | ||
{{#if: {{{code-4|}}} | {{!}}- | {{#if: {{{code-4|}}} | {{!}}- | ||
{{!}} style="background:#E4EEFF;" {{!}} {{{code-4}}} | {{!}} style="background:#E4EEFF;" {{!}} {{{code-4}}} | ||
{{!}} [[{{{name-4}}}]] | {{!}} [[{{{name-4}}}]] | ||
{{!}} {{{note-4|}}} | {{!}} style="padding:2px 10px; text-align:left;" {{!}} {{{note-4|}}} | ||
{{#if: {{{code-5|}}} | {{!}}- | {{#if: {{{code-5|}}} | {{!}}- | ||
{{!}} style="background:#E4EEFF;" {{!}} {{{code-5}}} | {{!}} style="background:#E4EEFF;" {{!}} {{{code-5}}} | ||
{{!}} [[{{{name-5}}}]] | {{!}} [[{{{name-5}}}]] | ||
{{!}} {{{note-5|}}} | {{!}} style="padding:2px 10px; text-align:left;" {{!}} {{{note-5|}}} | ||
{{#if: {{{code-6|}}} | {{!}}- | {{#if: {{{code-6|}}} | {{!}}- | ||
{{!}} style="background:#E4EEFF;" {{!}} {{{code-6}}} | {{!}} style="background:#E4EEFF;" {{!}} {{{code-6}}} | ||
{{!}} [[{{{name-6}}}]] | {{!}} [[{{{name-6}}}]] | ||
{{!}} {{{note-6|}}} | {{!}} style="padding:2px 10px; text-align:left;" {{!}} {{{note-6|}}} | ||
{{#if: {{{code-7|}}} | {{!}}- | {{#if: {{{code-7|}}} | {{!}}- | ||
{{!}} style="background:#E4EEFF;" {{!}} {{{code-7}}} | {{!}} style="background:#E4EEFF;" {{!}} {{{code-7}}} | ||
{{!}} [[{{{name-7}}}]] | {{!}} [[{{{name-7}}}]] | ||
{{!}} {{{note-7|}}} | {{!}} style="padding:2px 10px; text-align:left;" {{!}} {{{note-7|}}} | ||
{{#if: {{{code-8|}}} | {{!}}- | {{#if: {{{code-8|}}} | {{!}}- | ||
{{!}} style="background:#E4EEFF;" {{!}} {{{code-8}}} | {{!}} style="background:#E4EEFF;" {{!}} {{{code-8}}} | ||
{{!}} [[{{{name-8}}}]] | {{!}} [[{{{name-8}}}]] | ||
{{!}} {{{note-8|}}} }}}}}}}}}}}}}} | {{!}} style="padding:2px 10px; text-align:left;" {{!}} {{{note-8|}}} }}}}}}}}}}}}}} | ||
|- | |- | ||
|}</div><noinclude> | |}</div><noinclude> | ||
Line 40: | Line 40: | ||
This template is for the box at the bottom of each Medarot page that links to other Medarots with a similar motif, also listing their model numbers (codes). It takes the model number, name, and a short 1-line comment for each Medarot. | This template is for the box at the bottom of each Medarot page that links to other Medarots with a similar motif, also listing their model numbers (codes). It takes the model number, name, and a short 1-line comment for each Medarot. | ||
When using it, make sure to only include as many codes/names/notes 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 | The main difference between this and [[Template:Navbox-Type]] is the space for a comment. If you don't intend to add a comment for each Medarot, just use Navbox-Type instead. | ||
When using it, make sure to only include as many codes/names/notes 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. | |||
<pre><nowiki> | <pre><nowiki> | ||
Line 71: | Line 73: | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
==Advanced== | |||
Replace "type" with "full-title" if you want to change the whole title bar and have it not follow the "-type Medarots" format. | |||
Multiple Navbox-Type templates may be added to a page, but they need to be placed inside a table to show up side-by-side. See the related Medarots section on the [[Flame Tisala]] page for an example of how to do this. | |||
[[Category:Medarot page templates]] [[Category:Navbox templates]] | [[Category:Medarot page templates]] [[Category:Navbox templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 08:48, 8 June 2015
{{{type}}}-type Medarots | ||
{{{code-1}}} | [[{{{name-1}}}]] |
Description[edit]
This template is for the box at the bottom of each Medarot page that links to other Medarots with a similar motif, also listing their model numbers (codes). It takes the model number, name, and a short 1-line comment for each Medarot.
The main difference between this and Template:Navbox-Type is the space for a comment. If you don't intend to add a comment for each Medarot, just use Navbox-Type instead.
When using it, make sure to only include as many codes/names/notes 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.
{{Navbox-Type | type = | code-1 = | name-1 = | note-1 = | code-2 = | name-2 = | note-2 = | code-3 = | name-3 = | note-3 = | code-4 = | name-4 = | note-4 = | code-5 = | name-5 = | note-5 = | code-6 = | name-6 = | note-6 = | code-7 = | name-7 = | note-7 = | code-8 = | name-8 = | note-8 = }}
Advanced[edit]
Replace "type" with "full-title" if you want to change the whole title bar and have it not follow the "-type Medarots" format.
Multiple Navbox-Type templates may be added to a page, but they need to be placed inside a table to show up side-by-side. See the related Medarots section on the Flame Tisala page for an example of how to do this.