Template:Nav-G2: Difference between revisions
From MediaWiki
Jump to navigationJump to search
Tigerpaw28 (talk | contribs) Adding Japanese Toyline to the template |
Tigerpaw28 (talk | contribs) Added functionality to switch to Japanese logo for relevant pages. Not the most eloquent programming solution but possibly the only one for this environment. |
||
| Line 1: | Line 1: | ||
{|width="100%;" border="0" cellspacing="0" cellpadding="0" style="margin-top:.5em;" | {|width="100%;" border="0" cellspacing="0" cellpadding="0" style="margin-top:.5em;" | ||
|-valign="middle | |-valign="middle | ||
|<span class="tt1_banner_img2"><imagemap> | |<span class="tt1_banner_img2"> | ||
{{#switch: {{FULLPAGENAME}}|G-2 (toyline)=<imagemap> | |||
Image:G2_Japanese_Logo.jpg|center|250px | |||
default [[Generation 2 (franchise)]] | |||
desc none | |||
</imagemap>|G-2 (story page)=<imagemap> | |||
Image:G2_Japanese_Logo.jpg|center|250px | |||
default [[Generation 2 (franchise)]] | |||
desc none | |||
</imagemap>|G-2 (pack-in comic)=<imagemap> | |||
Image:G2_Japanese_Logo.jpg|center|250px | |||
default [[Generation 2 (franchise)]] | |||
desc none | |||
</imagemap>|The New Battle!!=<imagemap> | |||
Image:G2_Japanese_Logo.jpg|center|250px | |||
default [[Generation 2 (franchise)]] | |||
desc none | |||
</imagemap>|<imagemap> | |||
Image:G2Logo.jpg|center|350px | Image:G2Logo.jpg|center|350px | ||
default [[Generation 2 (franchise)]] | default [[Generation 2 (franchise)]] | ||
desc none | desc none | ||
</imagemap></span> | </imagemap>}} | ||
</span> | |||
|valign="top" align="right" width="350"| | |valign="top" align="right" width="350"| | ||
{| | {| | ||
Revision as of 01:20, 24 September 2010
| ||||||||||
This franchise navigation template can be placed at the top of any Generation 2 article to allow readers to quickly jump to any aspect of the franchise.


