Template:Game list links: Difference between revisions
From Medapedia
Jump to navigationJump to search
(Screw it, made it adjust to browser width instead.) |
(Added links for part lists) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="width:80%; text-align:center; font-size:11px; margin:0 auto; background:#EEEEEE;"> | <div style="width:80%; text-align:center; font-size:11px; margin:0 auto; background:#EEEEEE;"> | ||
[[{{{1}}}]] links: [[Medarots in {{{1}}}|Medarots]] - [[Parts in {{{1}}}|Parts]] - [[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}}}]] }} {{#if: {{{7|}}} | - [[{{{7}}} in {{{1}}}|{{{7}}}]] }} {{#if: {{{8|}}} | - [[{{{8}}} in {{{1}}}|{{{8}}}]] }} {{#if: {{{9|}}} | - [[{{{9}}} in {{{1}}}|{{{9}}}]] }} - [[Characters in {{{1}}}|Characters]] - [[Locations in {{{1}}}|Locations]]</div><noinclude> | |||
== Instructions == | == Instructions == | ||
Line 6: | Line 6: | ||
This template should be placed at the top of list pages to provide links to the other lists for that game. | 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 <nowiki>{{Game list links|Medarot 1}}</nowiki>. By default, it links to the game's page | To use it for Medarot 1, you would type <nowiki>{{Game list links|Medarot 1}}</nowiki>. By default, it links to the game's page and Medarot, part, Medal, action, stat, character, and location list pages. For Medaforce lists and other additional links, you'll need to add them specifically: | ||
<pre><nowiki> | <pre><nowiki> | ||
Line 12: | Line 12: | ||
</nowiki></pre> | </nowiki></pre> | ||
This will | This will produce additional links for <nowiki>[[Medaforces in Medarot 3|Medaforces]] and [[Medalias in Medarot 3|Medalias]].</nowiki> 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 8 additional links. | ||
[[Category:Navbox templates]] | [[Category:Navbox templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:43, 3 March 2020
[[{{{1}}}]] links: [[Medarots in {{{1}}}|Medarots]] - [[Parts in {{{1}}}|Parts]] - [[Medals in {{{1}}}|Medals]] - [[Actions in {{{1}}}|Actions]] - [[Stats in {{{1}}}|Stats]] - [[Characters in {{{1}}}|Characters]] - [[Locations in {{{1}}}|Locations]]
Instructions[edit]
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, part, Medal, action, stat, character, and location list pages. For Medaforce lists and other additional links, you'll need to add them specifically:
{{Game list links|Medarot 3|Medaforces|Medalias}}
This will 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 8 additional links.