Template:Infobox/Character/Gameplay: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" style="width:260px; background:{{{BG|#AA0000}}}; color:{{{color1|#000}}}" cellspacing="0"
<includeonly>{{Infobox|start|bg=#A00}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{image|}}}|
 
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|section|title={{{section1-title|Gameplay role}}}|bg=#E55|color=#000|entries=
{{Infobox|entry|title={{{faction-title|Faction}}}|content={{{faction|}}}}}
{{Infobox|entry|title={{{scoring-title|Unit type}}}|content={{{scoring|}}}}}
{{Infobox|entry|title={{{minor-title|Parent character}}}|content={{{minor|}}}}}
{{Infobox|entry|title={{{major-title|Promotion rank}}}|content={{{major|}}}}}
}}
}}
|-
 
<!-- GAMEPLAY ROLE -->
{{Infobox|section|title={{{section2-title|Player stats}}}|bg=#E55|color=#000|entries=
{{#if:{{{hidea|}}}||
{{Infobox|entry|title={{{speed-title|Run speed}}}|content={{{speed|}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#EE5555}}}" {{!}} {{{section1-title|Gameplay role}}}
{{Infobox|entry|title={{{sprint-title|Sprint speed}}}|content={{{sprint|}}}}}
}}
}}
|-
 
<!-- Faction -->
{{Infobox|section|title={{{section3-title|Character stats}}}|bg=#E55|color=#000|entries=
{{#if:{{{faction|}}}|
{{Infobox|entry|title={{{health-title|Body vitality}}}|content={{{health|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{Infobox|entry|title={{{healthtype-title|[[Damage types|Body material {{C|?}}]]}}}|content={{{healthtype|}}}}}
{{{faction-title|Faction}}}:
{{Infobox|entry|title={{{shields-title|Shield vitality}}}|content={{{shields|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{shieldtype-title|[[Damage types|Shield material {{C|?}}]]}}}|content={{{shieldtype|}}}}}
{{{faction}}}
{{Infobox|entry|title={{{jump-title|Jump velocity}}}|content={{{jump|}}}}}
{{Infobox|entry|title={{{gravity-title|Gravity scale}}}|content={{{gravity|}}}}}
{{Infobox|entry|title={{{weapons-title|Weapons}}}|content={{{weapons|}}}}}
{{Infobox|entry|title={{{actions-title|Actions}}}|content={{{actions|}}}}}
{{Infobox|entry|title={{{tagname-title|[[Tag|Tag name(s) {{C|?}}]]}}}|content={{{tagname|}}}}}
}}
}}
|-
 
<!-- Scoring -->
{{Infobox|end}}{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Character}}}}}</includeonly><noinclude>{{Doc/Template}} [[Category:Infobox templates]]</noinclude>
{{#if:{{{scoring|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{scoring-title|Unit type}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{scoring}}}
}}
|-
<!-- Minor -->
{{#if:{{{minor|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{minor-title|Preceding rank}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{minor}}}
}}
|-
<!-- Major -->
{{#if:{{{major|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{major-title|Promotion rank}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{major}}}
}}
|-
<!-- PLAYER STATISTICS -->
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#EE5555}}}" {{!}} {{{section2-title|Player stats}}}
}}
|-
<!-- Run Speed -->
{{#if:{{{speed|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{speed-title|Run speed}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{speed}}}
}}
|-
<!-- Sprint Speed -->
{{#if:{{{sprint|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{sprint-title|Sprint speed}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{sprint}}}
}}
|-
<!-- CHARACTER STATISTICS -->
{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#EE5555}}}" {{!}} {{{section2-title|Character stats}}}
}}
|-
<!-- Health -->
{{#if:{{{health|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{health-title|Body vitality}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{health}}}
}}
|-
<!-- Health Type-->
{{#if:{{{healthtype|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{healthtype-title|Body material}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{healthtype}}}
}}
|-
<!-- Shields -->
{{#if:{{{shields|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{shields-title|Shield vitality}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{shields}}}
}}
|-
<!-- Shield Type-->
{{#if:{{{shieldtype|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{shieldtype-title|Shield material}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{shieldtype}}}
}}
|-
<!-- Weapons -->
{{#if:{{{weapons|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{weapons-title|Weapons}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{weapons}}}
}}
|-
<!-- Actions -->
{{#if:{{{actions|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{actions-title|Actions}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{actions}}}
}}
|-
<!-- Tag Name -->
{{#if:{{{tagname|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{tagname-title|Tag name}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{tagname}}}
}}
|-
| class="infoboxfooter" colspan="2" | &nbsp;
|}{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>{{Doc/Template}} [[Category:Infobox templates]]</noinclude>

Latest revision as of 10:10, June 14, 2024

vde
Template Documentation
{{Infobox/Character/Gameplay
|name=
|image=
|faction=
|scoring=
|minor=
|major=
|speed=
|sprint=
|health=
|healthtype=
|shields=
|shieldtype=
|jump=
|gravity=
|weapons=
|actions=
|tagname=
}}