Template:Character portal cell: Difference between revisions
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
-->{{#ifeq: {{#expr: {{Character count| type = {{{type|g}}} | series = {{{series|1}}} | season = {{{season|1}}} }} > {{trim|{{#expr: {{{page|1}}} * 15 - 15}} }} }} | 1 | | -->{{#ifeq: {{#expr: {{Character count| type = {{{type|g}}} | series = {{{series|1}}} | season = {{{season|1}}} }} > {{trim|{{#expr: {{{page|1}}} * 15 - 15}} }} }} | 1 | | ||
* '''Page {{{page|1}}}:''' {{#var:text}} {{#ifeq: {{{page|1}}} | 1 | ([[template:One shot {{#switch: {{{series|1}}} | film | movie | Stargate = Stargate | aot | AOT = Stargate: The Ark of Truth | sc | SC = Stargate: Continuum | 1 | sg1 | SG1 | SG-1 | sg-1 = Stargate SG-1 | a | A | atl | ATL | Atlantis | atlantis = Stargate Atlantis | u | U | sgu | SGU | universe | Universe = Stargate Universe }}{{#if: {{{season|1}}} |  Season {{{season|1}}} }} characters portals navbar|Link to template]]) | }} | * '''Page {{{page|1}}}:''' {{#var:text}} {{#ifeq: {{{page|1}}} | 1 | ([[template:{{#switch: {{{type|g}}} | os | Os | one shot | One shot | g | G | gc | GC = One shot | mi | Mi | minor | Minor | #default = Minor }} {{#switch: {{{series|1}}} | film | movie | Stargate = Stargate | aot | AOT = Stargate: The Ark of Truth | sc | SC = Stargate: Continuum | 1 | sg1 | SG1 | SG-1 | sg-1 = Stargate SG-1 | a | A | atl | ATL | Atlantis | atlantis = Stargate Atlantis | u | U | sgu | SGU | universe | Universe = Stargate Universe }}{{#if: {{{season|1}}} |  Season {{{season|1}}} }} characters portals navbar|Link to template]]) | }} | ||
** Image: {{#var:image}} | ** Image: {{#var:image}} | ||
** Link: {{#ifexist: {{#var:link}} | [[{{#var:link}}]] | {{red|{{#var:link}}}} page needs to be created}} | ** Link: {{#ifexist: {{#var:link}} | [[{{#var:link}}]] | {{red|{{#var:link}}}} page needs to be created}} |
Revision as of 07:26, 8 March 2016
- Page 1: From to (Link to template)
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |