Difference between revisions of "Template:Saga"
Jump to navigation
Jump to search
Little Owl (talk | contribs) |
Little Owl (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1}}} | <includeonly>{{#switch:{{{1}}} | ||
| i = [[File:{{saga/core|icon|{{{2}}}}}| | | i = [[File:{{saga/core|icon|{{{2}}}}}|20x20px|link={{saga/core|link|{{{2}}}}}]] | ||
| in = [[File:{{saga/core|icon|{{{2}}}}}| | | in = [[File:{{saga/core|icon|{{{2}}}}}|20x20px|link=Template:{{saga/core|nav|{{{2}}}}}]] | ||
| n = [[Template:{{saga/core|nav|{{{2}}}}}|<span style="color:#{{saga/core|color|{{{2}}}}}">'''{{saga/core|text|{{{2}}}}}'''</span>]] | | n = [[Template:{{saga/core|nav|{{{2}}}}}|<span style="color:#{{saga/core|color|{{{2}}}}}">'''{{saga/core|text|{{{2}}}}}'''</span>]] | ||
| #default = [[{{saga/core|link|{{{1}}}}}|<span style="color:#{{saga/core|color|{{{1}}}}}">'''{{saga/core|text|{{{1}}}}}'''</span>]] | | #default = [[{{saga/core|link|{{{1}}}}}|<span style="color:#{{saga/core|color|{{{1}}}}}">'''{{saga/core|text|{{{1}}}}}'''</span>]] |
Revision as of 05:21, 22 May 2022
This is a work in progress template where all the saga indicators and links are merged into a single template.
Proof of concept
Overview
Syntax | Example | Description |
---|---|---|
{{saga|saga name}} | Jimmy Hill | Colored link to the main saga page |
{{saga|n|saga name}} | Jimmy Hill | Colored link to the navbox page |
{{saga|i|saga name}} | Icon link to the main saga page | |
{{saga|in|saga name}} | Icon link to the navbox page |