Template:Character portal cell: Difference between revisions

From Semantic Stargate Wiki
No edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 6: Line 6:
}}<!--
}}<!--


  -->{{#vardefine:image|{{#ask: [[Category:Characters]] [[Character from the main reality::true]] {{#switch: {{{series|1}}} | film | movie | Stargate = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | Su | su | supporting | Supporting = Supporting | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::Stargate (film)]] | aot | AOT = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | Su | su | supporting | Supporting = Supporting | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::Stargate: The Ark of Truth]] | sc | SC = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | Su | su | supporting | Supporting = Supporting | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::Stargate: Continuum]] | 1 | sg1 | SG1 | SG-1 | sg-1 = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | re | Re | recurring | Recurring = Recurring | os | Os | one shot | One shot | g | G | gc | GC = Guest | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::<q>[[Season::Stargate SG-1{{#if: {{{season|1}}} | &#32;Season {{{season|1}}} }}]]</q>]] | a | A | atl | ATL | sga | SGA | Atlantis | atlantis = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | re | Re | recurring | Recurring = Recurring | os | Os | one shot | One shot | g | G | gc | GC = Guest | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::<q>[[Season::Stargate Atlantis{{#if: {{{season|1}}} | &#32;Season {{{season|1}}} }}]]</q>]] | u | U | sgu | SGU | universe | Universe = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | re | Re | recurring | Recurring = Recurring | os | Os | one shot | One shot | g | G | gc | GC = Guest | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::<q>[[Season::Stargate Universe{{#if: {{{season|1}}} | &#32;Season {{{season|1}}} }}]]</q>]] }} | {{#switch: {{{series|1}}} | #default = ?Infobox image | film | movie | Stargate = ?Stargate infobox image | aot | AOT = ?Stargate: The Ark of Truth infobox image | sc | SC = ?Stargate: Continuum infobox image | 1 | sg1 | SG1 | SG-1 | sg-1 = ?Stargate SG-1 Season {{{season|1}}} infobox image | a | A | atl | ATL | sga | SGA | Atlantis | atlantis = ?Stargate Atlantis Season {{{season|1}}} infobox image | u | U | sgu | SGU | universe | Universe = ?Stargate Universe Season {{{season|1}}} infobox image }} | link = none | format = template | template = No link | offset = {{#var:offsetimage}} | limit = 1 | searchlabel = | mainlabel=- }} }}<!--
  -->{{#vardefine:image|<!--
-->{{#ask: [[Category:Characters]] [[Character from the main reality::true]] {{#switch: {{lc: {{{series|1}}} }} | film | movie | stargate = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::Stargate (film)]] | aot | ark of truth | stargate: the ark of truth = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::Stargate: The Ark of Truth]] | sc | continuum | stargate: continuum = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::Stargate: Continuum]] | 1 | sg1 | sg-1 | stargate sg-1 = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::<q>[[Season::Stargate SG-1{{#if: {{{season|}}} | &#32;Season {{{season|}}} }}]]</q>]] | a | atl | sga | atlantis | stargate atlantis = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::<q>[[Season::Stargate Atlantis{{#if: {{{season|}}} | &#32;Season {{{season|}}} }}]]</q>]] | u | sgu | universe | stargate universe = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::<q>[[Season::Stargate Universe{{#if: {{{season|}}} | &#32;Season {{{season|}}} }}]]</q>]] }}<!--
-->| {{#switch: {{lc: {{{series|1}}} }} | #default = ?Infobox image | film | movie | stargate = ?Stargate infobox image | aot | ark of truth | stargate: the ark of truth = ?Stargate: The Ark of Truth infobox image | sc | continuum | stargate: continuum = ?Stargate: Continuum infobox image | 1 | sg1 | sg-1 | stargate sg-1 = ?Stargate SG-1 Season {{{season|1}}} infobox image | a | atl | sga | atlantis | stargate atlantis = ?Stargate Atlantis Season {{{season|1}}} infobox image | u | sgu | universe | stargate universe = ?Stargate Universe Season {{{season|1}}} infobox image }} # -<!--
-->| link = none<!--
-->| format = list<!--
-->| template = No link<!--
-->| offset = {{#var:offsetimage}}<!--
-->| limit = 1<!--
-->| searchlabel =<!--
-->}}<!--
-->}}<!--


   FIRST CHARACTER NAME
   FIRST CHARACTER NAME


  -->{{#vardefine:firstcharacter|{{trim|{{#ask: [[Category:Characters]] [[Character from the main reality::true]] {{#switch: {{{series|1}}} | film | movie | Stargate = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | Su | su | supporting | Supporting = Supporting | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::Stargate (film)]] | aot | AOT = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | Su | su | supporting | Supporting = Supporting | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::Stargate: The Ark of Truth]] | sc | SC = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | Su | su | supporting | Supporting = Supporting | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::Stargate: Continuum]] | 1 | sg1 | SG1 | SG-1 | sg-1 = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | re | Re | recurring | Recurring = Recurring | os | Os | one shot | One shot | g | G | gc | GC = Guest | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::<q>[[Season::Stargate SG-1{{#if: {{{season|1}}} | &#32;Season {{{season|1}}} }}]]</q>]] | a | A | atl | ATL | sga | SGA | Atlantis | atlantis = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | re | Re | recurring | Recurring = Recurring | os | Os | one shot | One shot | g | G | gc | GC = Guest | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::<q>[[Season::Stargate Atlantis{{#if: {{{season|1}}} | &#32;Season {{{season|1}}} }}]]</q>]] | u | U | sgu | SGU | universe | Universe = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | re | Re | recurring | Recurring = Recurring | os | Os | one shot | One shot | g | G | gc | GC = Guest | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::<q>[[Season::Stargate Universe{{#if: {{{season|1}}} | &#32;Season {{{season|1}}} }}]]</q>]] }} | ?Name# - | link = none | format = template | template = No link | offset = {{#var:offsetimage}} | limit = 1 | searchlabel = | mainlabel=- }} }} }}<!--
  -->{{#vardefine:firstcharacter|{{trim|{{#ask: [[Category:Characters]] [[Character from the main reality::true]] {{#switch: {{lc: {{{series|1}}} }} | film | movie | stargate = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::Stargate (film)]] | aot | ark of truth | stargate: the ark of truth = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::Stargate: The Ark of Truth]] | sc | continuum | stargate: continuum = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::Stargate: Continuum]] | 1 | sg1 | sg-1 | stargate sg-1 = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::<q>[[Season::Stargate SG-1{{#if: {{{season|}}} | &#32;Season {{{season|}}} }}]]</q>]] | a | atl | sga | atlantis | stargate atlantis = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::<q>[[Season::Stargate Atlantis{{#if: {{{season|}}} | &#32;Season {{{season|}}} }}]]</q>]] | u | sgu | universe | stargate universe = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::<q>[[Season::Stargate Universe{{#if: {{{season|}}} | &#32;Season {{{season|}}} }}]]</q>]] }} | ?Name # - | link = none | format = template | template = No link | offset = {{#var:offsetimage}} | limit = 1 | searchlabel = }} }} }}<!--


   LAST CHARACTER NAME
   LAST CHARACTER NAME


  -->{{#vardefine:offsetlastcharacter| {{#ifeq: {{#expr: {{Character count| type = {{{type|g}}} | series = {{{series|1}}} | season = {{{season|1}}} }} > {{#expr: {{{page|1}}} * 15 - 1 }} }} | 1 | {{#expr: {{{page|1}}} * 15 - 1 }} | {{#expr: {{Character count| type = {{{type|g}}} | series = {{{series|1}}} | season = {{{season|1}}} }} - 1 }} }} }}{{#vardefine:lastcharacter|{{trim|{{#ask: [[Category:Characters]] [[Character from the main reality::true]] {{#switch: {{{series|1}}} | film | movie | Stargate = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | Su | su | supporting | Supporting = Supporting | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::Stargate (film)]] | aot | AOT = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | Su | su | supporting | Supporting = Supporting | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::Stargate: The Ark of Truth]] | sc | SC = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | Su | su | supporting | Supporting = Supporting | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::Stargate: Continuum]] | 1 | sg1 | SG1 | SG-1 | sg-1 = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | re | Re | recurring | Recurring = Recurring | os | Os | one shot | One shot | g | G | gc | GC = Guest | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::<q>[[Season::Stargate SG-1{{#if: {{{season|1}}} | &#32;Season {{{season|1}}} }}]]</q>]] | a | A | atl | ATL | sga | SGA | Atlantis | atlantis = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | re | Re | recurring | Recurring = Recurring | os | Os | one shot | One shot | g | G | gc | GC = Guest | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::<q>[[Season::Stargate Atlantis{{#if: {{{season|1}}} | &#32;Season {{{season|1}}} }}]]</q>]] | u | U | sgu | SGU | universe | Universe = [[{{#switch: {{{type|g}}} | Ma | ma | main | Main = Main | re | Re | recurring | Recurring = Recurring | os | Os | one shot | One shot | g | G | gc | GC = Guest | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::<q>[[Season::Stargate Universe{{#if: {{{season|1}}} | &#32;Season {{{season|1}}} }}]]</q>]] }} | ?Name# - | link = none | format = template | template = No link | offset = {{#var:offsetlastcharacter}} | limit = 1 | searchlabel = | mainlabel=- }} }} }}<!--  
  -->{{#vardefine:offsetlastcharacter| {{#ifeq: {{#expr: {{Character count| type = {{{type|g}}} | series = {{{series|1}}} | season = {{{season|1}}} }} > {{#expr: {{{page|1}}} * 15 - 1 }} }} | 1 | {{#expr: {{{page|1}}} * 15 - 1 }} | {{#expr: {{Character count| type = {{{type|g}}} | series = {{{series|1}}} | season = {{{season|1}}} }} - 1 }} }} }}{{#vardefine:lastcharacter|{{trim|{{#ask: [[Category:Characters]] [[Character from the main reality::true]] {{#switch: {{lc: {{{series|1}}} }} | film | movie | stargate = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::Stargate (film)]] | aot | ark of truth | stargate: the ark of truth = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::Stargate: The Ark of Truth]] | sc | continuum | stargate: continuum = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::Stargate: Continuum]] | 1 | sg1 | sg-1 | stargate sg-1 = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::<q>[[Season::Stargate SG-1{{#if: {{{season|}}} | &#32;Season {{{season|}}} }}]]</q>]] | a | atl | sga | atlantis | stargate atlantis = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::<q>[[Season::Stargate Atlantis{{#if: {{{season|}}} | &#32;Season {{{season|}}} }}]]</q>]] | u | sgu | universe | stargate universe = [[{{Appearance type|{{{type|mi}}}<!-- appearance type -->}}::<q>[[Season::Stargate Universe{{#if: {{{season|}}} | &#32;Season {{{season|}}} }}]]</q>]] }} | ?Name # - | link = none | format = template | template = No link | offset = {{#var:offsetlastcharacter}} | limit = 1 | searchlabel = }} }} }}<!--  


  TEXT
  TEXT
Line 27: Line 37:


  -->{{#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:{{#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}}} | &#32;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}}} | &#32;Season {{{season|1}}} }} characters portals navbar|Link to subpages 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}}

Latest revision as of 13:26, 22 March 2022

Documentation icon Template documentation[create]