Difference between revisions of "Template:Saga"

From CWCki
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1}}}
<includeonly>{{#switch:{{{2}}}
| i       = [[File:{{saga/core|icon|{{{2}}}}}|link={{saga/core|link|{{{2}}}}}]]
| c       = [[{{saga/core|link|{{{1}}}}}|{{color|#{{saga/core|color|{{{1}}}}}|'''{{{name|{{saga/core|text|{{{1}}}}}}}}}}''']]
| in      = [[File:{{saga/core|icon|{{{2}}}}}|link=Template:{{saga/core|nav|{{{2}}}}}]]
| cn      = [[Template:{{saga/core|nav |{{{1}}}}}|{{color|#{{saga/core|color|{{{1}}}}}|'''{{{name|{{saga/core|text|{{{1}}}}}}}}}}''']]
| n        = [[Template:{{saga/core|nav|{{{2}}}}}|<span style="color:#{{saga/core|color|{{{2}}}}}">'''{{saga/core|text|{{{2}}}}}'''</span>]]
| i       = [[File:{{saga/core|icon|{{{1}}}}}|20x20px|link={{saga/core|link|{{{1}}}}}]]
| #default = [[{{saga/core|link|{{{1}}}}}|<span style="color:#{{saga/core|color|{{{1}}}}}">'''{{saga/core|text|{{{1}}}}}'''</span>]]
| in       = [[File:{{saga/core|icon|{{{1}}}}}|20x20px|link=Template:{{saga/core|nav |{{{1}}}}}]]
}}</includeonly><noinclude>
| n       = [[File:{{saga/core|icon|{{{1}}}}}|20x20px|link=Template:{{saga/core|nav |{{{1}}}}}]]&nbsp;[[Template:{{saga/core|nav |{{{1}}}}}|{{{name|{{saga/core|text|{{{1}}}}}}}}]]
This is a work in progress template where all the saga indicators and links are merged into a single template.
| #default = [[File:{{saga/core|icon|{{{1}}}}}|20x20px|link={{saga/core|link|{{{1}}}}}]]&nbsp;[[{{saga/core|link|{{{1}}}}}|{{{name|{{saga/core|text|{{{1}}}}}}}}]]
 
}}{{saga/core|test|{{{1}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
== Proof of concept ==
 
=== Overview ===
 
{| class="wikitable sortable"
|-
! Syntax
! Example
! Description
|-
| {{tlx|saga|''saga name''}}
| {{saga|hill}}
| Colored link to the main saga page
|-
| {{tlx|saga|n|''saga name''}}
| {{saga|n|hill}}
| Colored link to the navbox page
|-
| {{tlx|saga|i|''saga name''}}
| {{saga|i|hill}}
| Icon link to the main saga page
|-
| {{tlx|saga|in|''saga name''}}
| {{saga|in|hill}}
| Icon link to the navbox page
|}
 
=== Sagas ===
 
{| class="wikitable sortable"
|-
! Syntax
! {{tlx|saga|…}}
! {{tlx|saga|n|…}}
! {{tlx|saga|i|…}}
! {{tlx|saga|in|…}}
|-
| {{tlx|saga|childhood}}
| {{saga|childhood}}
| {{saga|n |childhood}}
| {{saga|i |childhood}}
| {{saga|in|childhood}}
|-
| {{tlx|saga|greene}}
| {{saga|greene}}
| {{saga|n |greene}}
| {{saga|i |greene}}
| {{saga|in|greene}}
|-
| {{tlx|saga|bearstein}}
| {{saga|bearstein}}
| {{saga|n |bearstein}}
| {{saga|i |bearstein}}
| {{saga|in|bearstein}}
|-
| {{tlx|saga|highschool}}
| {{saga|highschool}}
| {{saga|n |highschool}}
| {{saga|i |highschool}}
| {{saga|in|highschool}}
|-
| {{tlx|saga|pvcc}}
| {{saga|pvcc}}
| {{saga|n |pvcc}}
| {{saga|i |pvcc}}
| {{saga|in|pvcc}}
|-
| {{tlx|saga|megan}}
| {{saga|megan}}
| {{saga|n |megan}}
| {{saga|i |megan}}
| {{saga|in|megan}}
|-
| {{tlx|saga|stackhouse}}
| {{saga|stackhouse}}
| {{saga|n |stackhouse}}
| {{saga|i |stackhouse}}
| {{saga|in|stackhouse}}
|-
| {{tlx|saga|ed}}
| {{saga|ed}}
| {{saga|n |ed}}
| {{saga|i |ed}}
| {{saga|in|ed}}
|-
| {{tlx|saga|blanca}}
| {{saga|blanca}}
| {{saga|n |blanca}}
| {{saga|i |blanca}}
| {{saga|in|blanca}}
|-
| {{tlx|saga|gameplace}}
| {{saga|gameplace}}
| {{saga|n |gameplace}}
| {{saga|i |gameplace}}
| {{saga|in|gameplace}}
|-
| {{tlx|saga|hill}}
| {{saga|hill}}
| {{saga|n |hill}}
| {{saga|i |hill}}
| {{saga|in|hill}}
<!--|-
| {{tlx|saga|clyde}}
| {{saga|clyde}}
|-
| {{tlx|saga|panda}}
| {{saga|panda}}
|-
| {{tlx|saga|miyamoto}}
| {{saga|miyamoto}}
|-
| {{tlx|saga|julie}}
| {{saga|julie}}
|-
| {{tlx|saga|ps3}}
| {{saga|ps3}}
|-
| {{tlx|saga|emily}}
| {{saga|emily}}
|-
| {{tlx|saga|ivy}}
| {{saga|ivy}}
|-
| {{tlx|saga|vanessa}}
| {{saga|vanessa}}
|-
| {{tlx|saga|cwcipedia}}
| {{saga|cwcipedia}}
|-
| {{tlx|saga|liquid}}
| {{saga|liquid}}
|-
| {{tlx|saga|asperchu}}
| {{saga|asperchu}}
|-
| {{tlx|saga|tito}}
| {{saga|tito}}
|-
| {{tlx|saga|firstexile}}
| {{saga|firstexile}}
|-
| {{tlx|saga|jackie}}
| {{saga|jackie}}
|-
| {{tlx|saga|callingout}}
| {{saga|callingout}}
|-
| {{tlx|saga|secondexile}}
| {{saga|secondexile}}
|-
| {{tlx|saga|catherine}}
| {{saga|catherine}}
|-
| {{tlx|saga|sonicboom}}
| {{saga|sonicboom}}
|-
| {{tlx|saga|lady}}
| {{saga|lady}}
|-
| {{tlx|saga|pmurt}} or {{tlx|saga|trump}}
| {{saga|pmurt}}
|-
| {{tlx|saga|doopie}}
| {{saga|doopie}}
|-
| {{tlx|saga|quinn}}
| {{saga|quinn}}
|-
| {{tlx|saga|ideaguy}}
| {{saga|ideaguy}}
|-
| {{tlx|saga|prequel}}
| {{saga|prequel}}
|-
| {{tlx|saga|guarddog}}
| {{saga|guarddog}}
|-
| {{tlx|saga|tts}}
| {{saga|tts}}
|-
| {{tlx|saga|gopony}}
| {{saga|gopony}}
|-
| {{tlx|saga|jacob}}
| {{saga|jacob}}
|-
| {{tlx|saga|softexile}} or {{tlx|saga|tf2}}
| {{saga|softexile}}
|-
| {{tlx|saga|shipfic}}
| {{saga|shipfic}}
|-
| {{tlx|saga|watchmen}}
| {{saga|watchmen}}
|-
| {{tlx|saga|praetor}}
| {{saga|praetor}}
|-
| {{tlx|saga|warhol}}
| {{saga|warhol}}
|-
| {{tlx|saga|incest}}
| {{saga|incest}}
|-
| {{tlx|saga|jail}}
| {{saga|jail}}-->
|}
 
=== Subtemplates ===
 
* {{tl|saga/core}}: Saga definitions</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}} Hill saga.png Jimmy Hill Icon and text link to a saga's article
{{saga|saga name|n}} Hill saga.png Jimmy Hill Icon and text link to a saga's navbox
{{saga|saga name|i}} Hill saga.png Icon link to a saga's article
{{saga|saga name|in}} Hill saga.png 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}} Hill saga.png Jimmy Hill Saga Custom text link

Meta

Syntax i
{{saga|lovequest}} Galpals.png Love Quest Galpals.png
{{saga|transgender}} Tomgirl saga.png Transgender Tomgirl saga.png
{{saga|business}} Businessicon1.png Business Businessicon1.png
{{saga|financhu}} Financhu2.png Financhu Crisis Financhu2.png
{{saga|roleplay}} Comics.png Roleplay Comics.png
{{saga|merge}} Merge Saga.png Dimensional Merge Merge Saga.png

Sagas

Syntax n i in c cn
{{saga|childhood}} Early Childhood saga icon.png Early Childhood Early Childhood saga icon.png Early Childhood Early Childhood saga icon.png Early Childhood saga icon.png Early Childhood Early Childhood
{{saga|greene}} Saga icon PVCC.png Nathaniel Greene Saga icon PVCC.png Nathaniel Greene Saga icon PVCC.png Saga icon PVCC.png Nathaniel Greene Nathaniel Greene
{{saga|bearstein}} Saga icon PVCC.png Leonard Bearstein Saga icon PVCC.png Leonard Bearstein Saga icon PVCC.png Saga icon PVCC.png Leonard Bearstein Leonard Bearstein
{{saga|highschool}} Saga icon PVCC.png High School Saga icon PVCC.png High School Saga icon PVCC.png Saga icon PVCC.png High School High School
{{saga|pvcc}} MLWIcon.png PVCC MLWIcon.png PVCC MLWIcon.png MLWIcon.png PVCC PVCC
{{saga|megan}} MeganNoBG.png Megan MeganNoBG.png Megan MeganNoBG.png MeganNoBG.png Megan Megan
{{saga|stackhouse}} Stackhouse saga.png Stackhouse Stackhouse saga.png Stackhouse Stackhouse saga.png Stackhouse saga.png Stackhouse Stackhouse
{{saga|ed}} Ed saga.png ED Ed saga.png ED Ed saga.png Ed saga.png ED ED
{{saga|blanca}} Blanca saga.png Blanca Blanca saga.png Blanca Blanca saga.png Blanca saga.png Blanca Blanca
{{saga|gameplace}} Game place saga.png GAMePLACe Game place saga.png GAMePLACe Game place saga.png Game place saga.png GAMePLACe GAMePLACe
{{saga|hill}} Hill saga.png Jimmy Hill Hill saga.png Jimmy Hill Hill saga.png Hill saga.png Jimmy Hill Jimmy Hill
{{saga|clyde}} Clyde saga.png Clyde Cash Clyde saga.png Clyde Cash Clyde saga.png Clyde saga.png Clyde Cash Clyde Cash
{{saga|panda}} Panda saga.png PandaHalo Panda saga.png PandaHalo Panda saga.png Panda saga.png PandaHalo PandaHalo
{{saga|miyamoto}} Miyamoto saga.png Miyamoto Miyamoto saga.png Miyamoto Miyamoto saga.png Miyamoto saga.png Miyamoto Miyamoto
{{saga|julie}} Julie saga.png Julie Julie saga.png Julie Julie saga.png Julie saga.png Julie Julie
{{saga|ps3}} PS3Test.png PSN Hacking PS3Test.png PSN Hacking PS3Test.png PS3Test.png PSN Hacking PSN Hacking
{{saga|emily}} MITPS.png Emily MITPS.png Emily MITPS.png MITPS.png Emily Emily
{{saga|ivy}} Ivy saga.png Ivy Ivy saga.png Ivy Ivy saga.png Ivy saga.png Ivy Ivy
{{saga|vanessa}} JoshMart.png Vanessa JoshMart.png Vanessa JoshMart.png JoshMart.png Vanessa Vanessa
{{saga|cwcipedia}} CWCipedia logo.png CWCipedia CWCipedia logo.png CWCipedia CWCipedia logo.png CWCipedia logo.png CWCipedia CWCipedia
{{saga|liquid}} Liquid saga.png Liquid Liquid saga.png Liquid Liquid saga.png Liquid saga.png Liquid Liquid
{{saga|asperchu}} Asperchu saga2.png Asperchu Asperchu saga2.png Asperchu Asperchu saga2.png Asperchu saga2.png Asperchu Asperchu
{{saga|tito}} Surfshacktito saga.png Tito Surfshacktito saga.png Tito Surfshacktito saga.png Surfshacktito saga.png Tito Tito
{{saga|firstexile}} Ed saga.png First Exile Ed saga.png First Exile Ed saga.png Ed saga.png First Exile First Exile
{{saga|jackie}} Jackie saga.png Jackie Jackie saga.png Jackie Jackie saga.png Jackie saga.png Jackie Jackie
{{saga|callingout}} Calling out.png Calling Out Calling out.png Calling Out Calling out.png Calling out.png Calling Out Calling Out
{{saga|secondexile}} SecondExileIcon.png Second Exile SecondExileIcon.png Second Exile SecondExileIcon.png SecondExileIcon.png Second Exile Second Exile
{{saga|catherine}} Catherine Saga.png Catherine Catherine Saga.png Catherine Catherine Saga.png Catherine Saga.png Catherine Catherine
{{saga|sonicboom}} Boomsaga.png Sonic Boom Boomsaga.png Sonic Boom Boomsaga.png Boomsaga.png Sonic Boom Sonic Boom
{{saga|lady}} Lady Managers icon.png Lady Managers Lady Managers icon.png Lady Managers Lady Managers icon.png Lady Managers icon.png Lady Managers Lady Managers
{{saga|pmurt}} or {{saga|trump}} Pmurt Saga Icon.png Pmurt Pmurt Saga Icon.png Pmurt Pmurt Saga Icon.png Pmurt Saga Icon.png Pmurt Pmurt
{{saga|doopie}} DoopieIcon.png Doopie DoopieIcon.png Doopie DoopieIcon.png DoopieIcon.png Doopie Doopie
{{saga|quinn}} QuinnSaga.png Quinn QuinnSaga.png Quinn QuinnSaga.png QuinnSaga.png Quinn Quinn
{{saga|ideaguy}} Idea guy saga.png Idea Guy Idea guy saga.png Idea Guy Idea guy saga.png Idea guy saga.png Idea Guy Idea Guy
{{saga|prequel}} Bryanfrogboy.jpg Prequel Comic Bryanfrogboy.jpg Prequel Comic Bryanfrogboy.jpg Bryanfrogboy.jpg Prequel Comic Prequel Comic
{{saga|guarddog}} Guard Dog.png Guard Dog Guard Dog.png Guard Dog Guard Dog.png Guard Dog.png Guard Dog Guard Dog
{{saga|tts}} Teen Troon Squad Saga.png TTS Teen Troon Squad Saga.png TTS Teen Troon Squad Saga.png Teen Troon Squad Saga.png TTS TTS
{{saga|gopony}} G5placeholder.png GOPony G5placeholder.png GOPony G5placeholder.png G5placeholder.png GOPony GOPony
{{saga|jacob}} JacobSaga.png Jacob JacobSaga.png Jacob JacobSaga.png JacobSaga.png Jacob Jacob
{{saga|softexile}} or {{saga|tf2}} Softexile.png TF2 Analysis Softexile.png TF2 Analysis Softexile.png Softexile.png TF2 Analysis TF2 Analysis
{{saga|shipfic}} BenSaintIcon.png Secret Shipfic BenSaintIcon.png Secret Shipfic BenSaintIcon.png BenSaintIcon.png Secret Shipfic Secret Shipfic
{{saga|watchmen}} Watchmens.png Watchmen Watchmens.png Watchmen Watchmens.png Watchmens.png Watchmen Watchmen
{{saga|praetor}} BellaNB.png Praetor BellaNB.png Praetor BellaNB.png BellaNB.png Praetor Praetor
{{saga|warhol}} Warhol Chris Chan book cover.jpg Warhol Warhol Chris Chan book cover.jpg Warhol Warhol Chris Chan book cover.jpg Warhol Chris Chan book cover.jpg Warhol Warhol
{{saga|incest}} IncestSagaIcon.png Incest IncestSagaIcon.png Incest IncestSagaIcon.png IncestSagaIcon.png Incest Incest
{{saga|jail}} Incest saga icon.png Jail Incest saga icon.png Jail Incest saga icon.png Incest saga icon.png Jail Jail

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?)