Difference between revisions of "Template:Saga"
Jump to navigation
Jump to search
Little Owl (talk | contribs) |
Little Owl (talk | contribs) |
||
Line 3: | Line 3: | ||
| i = [[File:{{saga/core|icon|{{{2}}}}}|20x20px|link={{saga/core|link|{{{2}}}}}]] | | i = [[File:{{saga/core|icon|{{{2}}}}}|20x20px|link={{saga/core|link|{{{2}}}}}]] | ||
| in = [[File:{{saga/core|icon|{{{2}}}}}|20x20px|link=Template:{{saga/core|nav|{{{2}}}}}]] | | in = [[File:{{saga/core|icon|{{{2}}}}}|20x20px|link=Template:{{saga/core|nav|{{{2}}}}}]] | ||
| it = [[File:{{saga/core|icon|{{{2}}}}}|20x20px|link={{saga/core|link|{{{2}}}}}]] [[{{saga/core|link|{{{2}}}}}|{{saga/core|text|{{{2}}}}}]] | | it = [[File:{{saga/core|icon|{{{2}}}}}|20x20px|link={{saga/core|link|{{{2}}}}}]] {{{3|[[{{saga/core|link|{{{2}}}}}|{{saga/core|text|{{{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>]] | ||
}}{{#switch:{{{2}}}|childhood|greene|bearstein|highschool|pvcc|megan|stackhouse|ed|blanca|gameplace|hill|clyde|panda|miyamoto|julie|ps3|emily|ivy|vanessa|cwcipedia|liquid|asperchu|tito|firstexile|jackie|callingout|secondexile|catherine|sonicboom|lady|pmurt|trump|doopie|quinn|ideaguy|prequel|guarddog|tts|gopony|jacob|softexile|tf2|shipfic|watchmen|praetor|warhol|incest|jail=|#default=[[Category:Articles with invalid saga indicators]]}}</includeonly><noinclude>{{documentation}}</noinclude> | }}{{#switch:{{{2}}}|childhood|greene|bearstein|highschool|pvcc|megan|stackhouse|ed|blanca|gameplace|hill|clyde|panda|miyamoto|julie|ps3|emily|ivy|vanessa|cwcipedia|liquid|asperchu|tito|firstexile|jackie|callingout|secondexile|catherine|sonicboom|lady|pmurt|trump|doopie|quinn|ideaguy|prequel|guarddog|tts|gopony|jacob|softexile|tf2|shipfic|watchmen|praetor|warhol|incest|jail=|#default=[[Category:Articles with invalid saga indicators]]}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 09:40, 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}} | Jimmy Hill | Icon link to a saga's article |
{{saga|saga name|in}} | Jimmy Hill | 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 | Custom text link |
Meta
Syntax | …
|
i
|
---|---|---|
{{saga|lovequest}} | Love Quest | Love Quest |
{{saga|transgender}} | Transgender | Transgender |
{{saga|business}} | Business | Business |
{{saga|financhu}} | Financhu Crisis | Financhu Crisis |
{{saga|roleplay}} | Roleplay | Roleplay |
{{saga|merge}} | Dimensional 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?)