Template:Character portal cell: Difference between revisions

From Semantic Stargate Wiki
No edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 8: Line 8:
  -->{{#vardefine:image|<!--  
  -->{{#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>]] }}<!--  
  -->{{#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 }<!--  
  -->| {{#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<!--  
  -->| link = none<!--  
  -->| format = list<!--  
  -->| format = list<!--  
  -->| template = No link<!--  
  -->| template = No link<!--  
Line 15: Line 15:
  -->| limit = 1<!--  
  -->| limit = 1<!--  
  -->| searchlabel =<!--  
  -->| searchlabel =<!--  
  -->| mainlabel=- }} }}<!--
  -->}}<!--
-->}}<!--


   FIRST CHARACTER NAME
   FIRST CHARACTER NAME


  -->{{#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 = | 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: {{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 = | 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

Latest revision as of 13:26, 22 March 2022

Documentation icon Template documentation[create]