Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Class infobox: Difference between revisions

Template page
Template documented a bit better
No edit summary
Line 15: Line 15:
|data1    = {{{HP|}}}
|data1    = {{{HP|}}}


|label2  = Team
|label2  = Faction
|data2    = {{{team|}}}
|data2    = {{{faction|}}}


|label3  = Spawn Gear
|label3  = Spawn Gear
Line 35: Line 35:
<noinclude>
<noinclude>
{{Class infobox
{{Class infobox
|name   = Example class
|name = Example class
|image   = SCP Foundation (emblem).svg
|image = SCP Foundation (emblem).svg
|caption = Some example image
|caption = Some example image
|HP     = 100
|HP = 100
|team    = MTF
|faction = MTF
|gear = [[Project-90|P90]], [[Epsilon-11 SR]]
|gear = [[Project-90|P90]], [[Epsilon-11 SR]]
|zone   = [[Entrance Zone]]
|zone = [[Entrance Zone]]
|speed   = 10
|speed = 10
|allies = [[Scientist]]s, [[Facility Guard]]s
|allies = [[Scientist]]s, [[Facility Guard]]s
|enemies = [[Class-D]]s, [[Chaos Insurgent]]s, [[:Category:SCP|SCPs]]
|enemies = [[Class-D]]s, [[Chaos Insurgent]]s, [[:Category:SCP|SCPs]]
}}
}}
An infobox for [[:Category:Classes|Classes]].
__NOTOC__
An infobox for [[Category:Classes|Classes]]




==Syntax:==
==Example:==


<code><nowiki>{{Class infobox</nowiki></code><br>
<code><nowiki>{{Class infobox</nowiki></code><br>
Line 55: Line 56:
<code><nowiki>|image  = SCP Foundation (emblem).svg</nowiki></code><br>
<code><nowiki>|image  = SCP Foundation (emblem).svg</nowiki></code><br>
<code><nowiki>|caption = Some example image</nowiki></code><br>
<code><nowiki>|caption = Some example image</nowiki></code><br>
<code><nowiki>|HP     = 100</nowiki></code><br>
<code><nowiki>|HP = 100</nowiki></code><br>
<code><nowiki>|team    = MTF</nowiki></code><br>
<code><nowiki>|faction = MTF</nowiki></code><br>
<code><nowiki>|gear = [[Project-90|P90]], [[Epsilon-11 SR]]</nowiki></code><br>
<code><nowiki>|gear = [[Project-90|P90]], [[Epsilon-11 SR]]</nowiki></code><br>
<code><nowiki>|zone   = [[Entrance Zone]]</nowiki></code><br>
<code><nowiki>|zone = [[Entrance Zone]]</nowiki></code><br>
<code><nowiki>|speed  = 10</nowiki></code><br>
<code><nowiki>|speed  = 10</nowiki></code><br>
<code><nowiki>|allies  = [[Scientist]]s, [[Facility Guard]]s</nowiki></code><br>
<code><nowiki>|allies  = [[Scientist]]s, [[Facility Guard]]s</nowiki></code><br>
<code><nowiki>|enemies = [[Class-D]]s, [[Chaos Insurgent]]s, [[:Category:SCP|SCPs]]</nowiki></code><br>
<code><nowiki>|enemies = [[Class-D]]s, [[Chaos Insurgent]]s, [[:Category:SCP|SCPs]]</nowiki></code><br>
<code><nowiki>}}</nowiki></code>
==Syntax:==
<code><nowiki>{{Class infobox</nowiki></code><br>
<code><nowiki>|name = Name override</nowiki></code><br>
<code><nowiki>|image = Image (preferably png)</nowiki></code><br>
<code><nowiki>|caption = Caption that goes under the infobox image</nowiki></code><br>
<code><nowiki>|HP = Health value of class (use the global values)</nowiki></code><br>
<code><nowiki>|faction = Class faction (MTF/Chaos/Facility Staff)</nowiki></code><br>
<code><nowiki>|gear = Spawn gear</nowiki></code><br>
<code><nowiki>|zone = Spawn zone</nowiki></code><br>
<code><nowiki>|speed = Speed values</nowiki></code><br>
<code><nowiki>|allies = Classes which this class can win with</nowiki></code><br>
<code><nowiki>|enemies = Classes which must be dead to win</nowiki></code><br>
<code><nowiki>}}</nowiki></code>
<code><nowiki>}}</nowiki></code>
[[Category:Templates]][[Category:Infoboxes]]
[[Category:Templates]][[Category:Infoboxes]]
</noinclude>
</noinclude>

Revision as of 01:42, 6 October 2018

Example class
Some example image
Health 100
Faction MTF
Spawn Gear P90, Epsilon-11 SR
Spawn Zone Entrance Zone
Walk speed 10
Allies Scientists, Facility Guards
Enemies Class-Ds, Chaos Insurgents, SCPs


An infobox for


Example:

{{Class infobox
|name = Example class
|image = SCP Foundation (emblem).svg
|caption = Some example image
|HP = 100
|faction = MTF
|gear = [[Project-90|P90]], [[Epsilon-11 SR]]
|zone = [[Entrance Zone]]
|speed = 10
|allies = [[Scientist]]s, [[Facility Guard]]s
|enemies = [[Class-D]]s, [[Chaos Insurgent]]s, [[:Category:SCP|SCPs]]
}}


Syntax:

{{Class infobox
|name = Name override
|image = Image (preferably png)
|caption = Caption that goes under the infobox image
|HP = Health value of class (use the global values)
|faction = Class faction (MTF/Chaos/Facility Staff)
|gear = Spawn gear
|zone = Spawn zone
|speed = Speed values
|allies = Classes which this class can win with
|enemies = Classes which must be dead to win
}}

Cookies help us deliver our services. By using our services, you agree to our use of cookies.