Template:Game list links: Difference between revisions

From Medapedia
Jump to navigationJump to search
(Width changes depending on the number of links.)
(Specified widths for all options.)
Line 1: Line 1:
<div style="width:{{#if: {{{6|}}} | 700px | {{#if: {{{5|}}} | 600px | {{#if: {{{4|}}} | 500px | 400px }} }} }}; text-align:center; font-size:11px; margin:0 auto; background:#EEEEEE;">
<div style="width:{{#if: {{{6|}}} | 700px | {{#if: {{{5|}}} | 600px | {{#if: {{{4|}}} | 500px | {{#if: {{{3|}}} | 420px | {{#if: {{{2|}}} | 400px | 350px }} }} }} }} }}; text-align:center; font-size:11px; margin:0 auto; background:#EEEEEE;">
'''[[{{{1}}}]]''' links:&nbsp; [[Medarots in {{{1}}}|Medarots]] - [[Medals in {{{1}}}|Medals]] - [[Actions in {{{1}}}|Actions]] - [[Stats in {{{1}}}|Stats]] {{#if: {{{2|}}} | - [[{{{2}}} in {{{1}}}|{{{2}}}]] }} {{#if: {{{3|}}} | - [[{{{3}}} in {{{1}}}|{{{3}}}]] }} {{#if: {{{4|}}} | - [[{{{4}}} in {{{1}}}|{{{4}}}]] }} {{#if: {{{5|}}} | - [[{{{5}}} in {{{1}}}|{{{5}}}]] }} {{#if: {{{6|}}} | - [[{{{6}}} in {{{1}}}|{{{6}}}]] }} </div><noinclude>
'''[[{{{1}}}]]''' links:&nbsp; [[Medarots in {{{1}}}|Medarots]] - [[Medals in {{{1}}}|Medals]] - [[Actions in {{{1}}}|Actions]] - [[Stats in {{{1}}}|Stats]] {{#if: {{{2|}}} | - [[{{{2}}} in {{{1}}}|{{{2}}}]] }} {{#if: {{{3|}}} | - [[{{{3}}} in {{{1}}}|{{{3}}}]] }} {{#if: {{{4|}}} | - [[{{{4}}} in {{{1}}}|{{{4}}}]] }} {{#if: {{{5|}}} | - [[{{{5}}} in {{{1}}}|{{{5}}}]] }} {{#if: {{{6|}}} | - [[{{{6}}} in {{{1}}}|{{{6}}}]] }} </div><noinclude>



Revision as of 10:09, 25 May 2015

[[{{{1}}}]] links:  [[Medarots in {{{1}}}|Medarots]] - [[Medals in {{{1}}}|Medals]] - [[Actions in {{{1}}}|Actions]] - [[Stats in {{{1}}}|Stats]]

Instructions

This template should be placed at the top of list pages to provide links to the other lists for that game.

To use it for Medarot 1, you would type {{Game list links|Medarot 1}}. By default, it links to the game's page, and Medarot, Medal, action, and stat lists. For Medaforce lists and other additional links, you'll need to add them specifically:

{{Game list links|Medarot 3|Medaforces|Medalias}}

This will produce produce additional links for [[Medaforces in Medarot 3|Medaforces]] and [[Medalias in Medarot 3|Medalias]]. Note that you need to use the plural, and that the link text will match the link and vice versa. Currently, you can add up to 5 additional links.