Difference between revisions of "Template:Saga"
Jump to navigation
Jump to search
Little Owl (talk | contribs) |
Little Owl (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{2}}} | <includeonly>{{#switch:{{{2}}} | ||
| c = [[{{saga/core|link|{{{1}}}}}|{{color|{{saga/core|color|{{{1}}}}}|'''{{{name|{{saga/core|text|{{{1}}}}}}}}}}''']] | | c = [[{{saga/core|link|{{{1}}}}}|{{color|#{{saga/core|color|{{{1}}}}}|'''{{{name|{{saga/core|text|{{{1}}}}}}}}}}''']] | ||
| cn = [[{{saga/core|nav |{{{1}}}}}|{{color|{{saga/core|color|{{{1}}}}}|'''{{{name|{{saga/core|text|{{{1}}}}}}}}}}''']] | | cn = [[Template:{{saga/core|nav |{{{1}}}}}|{{color|#{{saga/core|color|{{{1}}}}}|'''{{{name|{{saga/core|text|{{{1}}}}}}}}}}''']] | ||
| i = [[File:{{saga/core|icon|{{{1}}}}}|20x20px|link={{saga/core|link|{{{1}}}}}]] | | i = [[File:{{saga/core|icon|{{{1}}}}}|20x20px|link={{saga/core|link|{{{1}}}}}]] | ||
| in = [[File:{{saga/core|icon|{{{1}}}}}|20x20px|link={{saga/core|nav |{{{1}}}}}]] | | in = [[File:{{saga/core|icon|{{{1}}}}}|20x20px|link=Template:{{saga/core|nav |{{{1}}}}}]] | ||
| n = [[File:{{saga/core|icon|{{{1}}}}}|20x20px|link={{saga/core|nav |{{{1}}}}}]] [[{{saga/core|nav |{{{1}}}}}|{{{name|{{saga/core|text|{{{1}}}}}}}}]] | | n = [[File:{{saga/core|icon|{{{1}}}}}|20x20px|link=Template:{{saga/core|nav |{{{1}}}}}]] [[Template:{{saga/core|nav |{{{1}}}}}|{{{name|{{saga/core|text|{{{1}}}}}}}}]] | ||
| #default = [[File:{{saga/core|icon|{{{1}}}}}|20x20px|link={{saga/core|link|{{{1}}}}}]] [[{{saga/core|link|{{{1}}}}}|{{{name|{{saga/core|text|{{{1}}}}}}}}]] | | #default = [[File:{{saga/core|icon|{{{1}}}}}|20x20px|link={{saga/core|link|{{{1}}}}}]] [[{{saga/core|link|{{{1}}}}}|{{{name|{{saga/core|text|{{{1}}}}}}}}]] | ||
}}{{saga/core|test|{{{1}}}}}</includeonly><noinclude>{{documentation}}</noinclude> | }}{{saga/core|test|{{{1}}}}}</includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 11:46, 22 May 2022
Template documentation (for the template shown above, sometimes hidden or invisible)
{{saga}} is a universal template for saga indicators. It requires {{saga/core}} (Usage) for colour values, icons and text labels, as well as the article and navbox names.
Usage
Overview
Syntax | Example | Description |
---|---|---|
{{saga|saga name}} | Jimmy Hill | Icon and text link to a saga's article |
{{saga|saga name|n}} | Jimmy Hill | Icon and text link to a saga's navbox |
{{saga|saga name|i}} | Icon link to a saga's article | |
{{saga|saga name|in}} | Icon link to a saga's navbox | |
{{saga|saga name|c}} | Jimmy Hill | Colored link to a saga's article |
{{saga|saga name|cn}} | Jimmy Hill | Colored link to a saga's navbox |
{{saga|saga name|name=name}} | Jimmy Hill Saga | Custom text link |
Meta
Syntax | …
|
i
|
---|---|---|
{{saga|lovequest}} | Love Quest | |
{{saga|transgender}} | Transgender | |
{{saga|business}} | Business | |
{{saga|financhu}} | Financhu Crisis | |
{{saga|roleplay}} | Roleplay | |
{{saga|merge}} | Dimensional Merge |
Sagas
Debugging
Articles that use this template with an invalid value will appear in the "Articles with invalid saga indicators" category.
Visit Template:Saga/doc to edit this text! (How does this work?)