Difference between revisions of "Template:Saga"

From CWCki
Jump to navigation Jump to search
(Work in progress for Saga super template.)
 
Line 1: Line 1:
<includeonly>{{#switch:{{{1|}}}
<includeonly>{{#switch:{{{1}}}
| i        = [[File:Hill saga.png|link=Jimmy Hill]]
| i        = [[File:{{saga/core|icon|{{{2}}}}}|link={{saga/core|link|{{{2}}}}}]]
| in      = [[File:Hill saga.png|link=Template:JimmyHillSaga]]
| in      = [[File:{{saga/core|icon|{{{2}}}}}|link=Template:{{saga/core|nav|{{{2}}}}}]]
| n        = [[Template:JimmyHillSaga|<span style="color:#cc9966">'''Jimmy Hill'''</span>]]
| n        = [[Template:{{saga/core|nav|{{{2}}}}}|<span style="color:#{{saga/core|color|{{{2}}}}}">'''{{saga/core|text|{{{2}}}}}'''</span>]]
| #default = [[Jimmy Hill|<span style="color:#cc9966">'''Jimmy Hill'''</span>]]
| #default = [[{{saga/core|link|{{{1}}}}}|<span style="color:#{{saga/core|color|{{{1}}}}}">'''{{saga/core|text|{{{1}}}}}'''</span>]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
This is a work in progress template where all the saga indicators and links are merged into a single template.
This is a work in progress template where all the saga indicators and links are merged into a single template.
Line 40: Line 40:
! Syntax
! Syntax
! {{tlx|saga|…}}
! {{tlx|saga|…}}
! {{tlx|saga|n|…}}
! {{tlx|saga|i|…}}
! {{tlx|saga|i|…}}
! {{tlx|saga|n|…}}
! {{tlx|saga|in|…}}
! {{tlx|saga|in|…}}
|-
|-
<!--| {{tlx|saga|childhood}}
| {{tlx|saga|childhood}}
| {{saga|childhood}}
| {{saga|childhood}}
| {{saga|i|childhood}}
| {{saga|n |childhood}}
| {{saga|n|childhood}}
| {{saga|i |childhood}}
| {{saga|in|childhood}}
|-
|-
| {{tlx|saga|greene}}
| {{tlx|saga|greene}}
| {{saga|greene}}
| {{saga|greene}}
| {{saga|i|greene}}
| {{saga|n |greene}}
| {{saga|n|greene}}
| {{saga|i |greene}}
| {{saga|in|greene}}
|-
|-
| {{tlx|saga|bearstein}}
| {{tlx|saga|bearstein}}
| {{saga|bearstein}}
| {{saga|bearstein}}
| {{saga|n |bearstein}}
| {{saga|i |bearstein}}
| {{saga|in|bearstein}}
|-
|-
| {{tlx|saga|highschool}}
| {{tlx|saga|highschool}}
| {{saga|highschool}}
| {{saga|highschool}}
| {{saga|n |highschool}}
| {{saga|i |highschool}}
| {{saga|in|highschool}}
|-
|-
| {{tlx|saga|pvcc}}
| {{tlx|saga|pvcc}}
| {{saga|pvcc}}
| {{saga|pvcc}}
| {{saga|n |pvcc}}
| {{saga|i |pvcc}}
| {{saga|in|pvcc}}
|-
|-
| {{tlx|saga|megan}}
| {{tlx|saga|megan}}
| {{saga|megan}}
| {{saga|megan}}
| {{saga|n |megan}}
| {{saga|i |megan}}
| {{saga|in|megan}}
|-
|-
| {{tlx|saga|stackhouse}}
| {{tlx|saga|stackhouse}}
| {{saga|stackhouse}}
| {{saga|stackhouse}}
| {{saga|n |stackhouse}}
| {{saga|i |stackhouse}}
| {{saga|in|stackhouse}}
|-
|-
| {{tlx|saga|ed}}
| {{tlx|saga|ed}}
| {{saga|ed}}
| {{saga|ed}}
| {{saga|n |ed}}
| {{saga|i |ed}}
| {{saga|in|ed}}
|-
|-
| {{tlx|saga|blanca}}
| {{tlx|saga|blanca}}
| {{saga|blanca}}
| {{saga|blanca}}
| {{saga|n |blanca}}
| {{saga|i |blanca}}
| {{saga|in|blanca}}
|-
|-
| {{tlx|saga|gameplace}}
| {{tlx|saga|gameplace}}
| {{saga|gameplace}}
| {{saga|gameplace}}
|--->
| {{saga|n |gameplace}}
| {{saga|i |gameplace}}
| {{saga|in|gameplace}}
|-
| {{tlx|saga|hill}}
| {{tlx|saga|hill}}
| {{saga|hill}}
| {{saga|hill}}
| {{saga|n|hill}}
| {{saga|n |hill}}
| {{saga|i|hill}}
| {{saga|i |hill}}
| {{saga|in|hill}}
| {{saga|in|hill}}
<!--|-
<!--|-
Line 192: Line 218:
=== Subtemplates ===
=== Subtemplates ===


* {{tl|saga/config}}: Saga definitions</noinclude>
* {{tl|saga/core}}: Saga definitions</noinclude>

Revision as of 17:03, 21 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}} Hill saga.png Icon link to the main saga page
{{saga|in|saga name}} Hill saga.png Icon link to the navbox page

Sagas

Syntax {{saga|…}} {{saga|n|…}} {{saga|i|…}} {{saga|in|…}}
{{saga|childhood}} Early Childhood Early Childhood Early Childhood saga icon.png Early Childhood saga icon.png
{{saga|greene}} Nathaniel Greene Nathaniel Greene Saga icon PVCC.png Saga icon PVCC.png
{{saga|bearstein}} Leonard Bearstein Leonard Bearstein Saga icon PVCC.png Saga icon PVCC.png
{{saga|highschool}} High School High School Saga icon PVCC.png Saga icon PVCC.png
{{saga|pvcc}} PVCC PVCC MLWIcon.png MLWIcon.png
{{saga|megan}} Megan Megan MeganNoBG.png MeganNoBG.png
{{saga|stackhouse}} Stackhouse Stackhouse Stackhouse saga.png Stackhouse saga.png
{{saga|ed}} ED ED Ed saga.png Ed saga.png
{{saga|blanca}} Blanca Blanca Blanca saga.png Blanca saga.png
{{saga|gameplace}} GAMePLACe GAMePLACe Game place saga.png Game place saga.png
{{saga|hill}} Jimmy Hill Jimmy Hill Hill saga.png Hill saga.png

Subtemplates