Template:Infobox subsystem: Difference between revisions

From SlyMods
Jump to navigation Jump to search
Content added Content deleted
(Added more category helpers)
(Added description param)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| name= Template:Infobox subsystem
| title= {{{name|{{FULLPAGENAME}}}}}
| bodystyle= width: {{{width|360px}}}
| title= {{{name|{{PAGENAME}}}}}
| above= Subsystem
| above= Subsystem
| image= {{#if: {{{image}}}
| image= {{No image|file={{{image|}}}|width={{{width|360px}}}}}
| {{#ifexist: {{{image}}}
| [[{{{image}}}|{{{width|360px}}}]]
| {{No image|{{{width|360px}}}|link={{{image|}}}}}
}}
| {{No image|{{{width|360px}}}}}
}}
| caption= {{{caption|}}}
| caption= {{{caption|}}}
| label1= {{#if: {{{description|}}} | Description | }}
| label1= Game(s)
| data1= {{{description|}}}
| data1= {{#ifeq: {{{sly1}}} | y | {{ns0|[[Sly 1]][[Category:Subsystems in Sly 1]]}} | }}
| label2= Game
{{#ifeq: {{{sly2}}} | y | {{ns0|[[Sly 2]][[Category:Subsystems in Sly 2]]}} | }}
| data2= {{Sly other
{{#ifeq: {{{sly3}}} | y | {{ns0|[[Sly 3]][[Category:Subsystems in Sly 3]]}} | }}
| sly1= [[Sly 1|{{Sly 1}}]][[Category:Subsystems in Sly 1]]
| label2= {{#if: {{{startup}}} | Startup Function | }}
| sly2= [[Sly 2|{{Sly 2}}]][[Category:Subsystems in Sly 2]]
| data2= {{{ {{{startup}}} | }}}
| sly3= [[Sly 3|{{Sly 3}}]][[Category:Subsystems in Sly 3]]
}}
{{ns0|[[Category:Subsystems]]}}</includeonly><noinclude>
| sly4= [[Sly 4|{{Sly 4}}]][[Category:Subsystems in Sly 4]]
}}
{{Infobox subsystem
| label3= {{#if: {{{startup|}}} | Startup Function | }}
| name= name
| data3= {{{startup|}}}
| sly1= y
| label4= {{#if: {{{startup|}}} | Update Function | }}
| sly2= y
| data4= {{{update|}}}
| sly3= y
}}{{Article only|[[Category:Subsystems]]}}
| startup= startup
{{WikiSEO helper
}}
| title={{Main other | {{PAGENAME}} in {{NAMESPACE}} | {{FULLPAGENAME}} }}
| description={{Main other | {{PAGENAME}} is a subsystem of the game engine in {{Sly other|sly1={{Sly 1}}|sly2={{Sly 2}}|sly3={{Sly 3}}|sly4={{Sly 4}}|other=the Sly Cooper series}} |}}.
| image={{#if: {{{image|}}} | {{{image|}}} |}}
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:SlyMods templates]]
</noinclude>
</noinclude>

Latest revision as of 22:24, 23 November 2022