Jump to content

Template:Infobox: Difference between revisions

From p1gwars
No edit summary
No edit summary
Line 1: Line 1:
{{#switch: {{{title|}}}
{{#if: {{{title|}}}  
| War = {{Infobox
  | {{#ifeq: {{{title}}} | War  
    | title = {{{title|}}}
    | {{Infobox
    | image = {{{image|}}}
        | title = {{{title|}}}
    | caption = {{{caption|}}}
        | image = {{{image|}}}
    | description = {{{description|}}}
        | caption = {{{caption|}}}
        | description = {{{description|}}}
      }}
    | <!-- Add other cases as needed -->
   }}
   }}
| <!-- Add other cases as needed -->
}}
}}

Revision as of 14:06, 12 February 2024

{{#if:

 | {{#ifeq: {{{title}}} | War 
   | {{#if:  
 | {{#ifeq:  | War 
   | Template loop detected: Template:Infobox
   | 
 }}

}}

   | 
 }}

}}