Difference between revisions of "Template:HonorRequirement"

From Pathfinder Wiki
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{#template_params:sectionID (label=ID of the Section)|groupID (label=ID of the Group)|level1_ID (label=ID of level 1)|level2_ID (label=ID of level 2)|level3_ID (label=ID of level 3)|level4_ID (label=ID of level 4)|level5_ID (label=ID of level 5)|level6_ID (label=ID of level 6)|minReqNeeded (label=Sub-Reqs. needed)|text (label=Text)|reqType (label=Type)|additinalDataType (label=Type of additional Data)|additionalData (label=Additional Data)}}
+
{{#template_params:sectionID (label=ID of the Section)
{{#cargo_declare:_table=Honors_Requirements
+
|groupID (label=ID of the Group)
 +
|level1_ID (label=ID of level 1)
 +
|level2_ID (label=ID of level 2)
 +
|level3_ID (label=ID of level 3)
 +
|level4_ID (label=ID of level 4)
 +
|level5_ID (label=ID of level 5)
 +
|level6_ID (label=ID of level 6)
 +
|isChallenging (label=Is a challenging Req.)
 +
|minReqNeeded (label=Sub-Reqs. needed)
 +
|text (label=Text)
 +
|reqType (label=Type)
 +
|additinalDataType (label=Type of additional Data)
 +
|additionalData (label=Additional Data)}}{{#cargo_declare:_table=Honors_Requirements
 
|reqID=String (unique)
 
|reqID=String (unique)
 
|landingID=Page
 
|landingID=Page
Line 14: Line 26:
 
|level5_ID=Integer
 
|level5_ID=Integer
 
|level6_ID=Integer
 
|level6_ID=Integer
 +
|isChallenging=Boolean
 
|minReqNeeded=Integer
 
|minReqNeeded=Integer
 
|text=Wikitext (mandatory)
 
|text=Wikitext (mandatory)
Line 21: Line 34:
 
}}
 
}}
 
</noinclude><includeonly>{{#cargo_store:_table=Honors_Requirements
 
</noinclude><includeonly>{{#cargo_store:_table=Honors_Requirements
|reqID={{#var:landingID}}|{{#var:reqPageID}}|{{#var:reqVariantNo}}|{{{sectionID|}}}|{{{groupID|}}}|{{{level1_ID|}}}|{{{level2_ID|}}}|{{{level3_ID|}}}|{{{level4_ID|}}}|{{{level5_ID|}}}|{{{level6_ID|}}}|{{#var:language}}
+
|reqID={{#var:landingID}}
 +
|{{#var:reqPageID}}
 +
|{{#var:reqVariantNo}}
 +
|{{{sectionID|}}}
 +
|{{{groupID|}}}
 +
|{{{level1_ID|}}}
 +
|{{{level2_ID|}}}
 +
|{{{level3_ID|}}}
 +
|{{{level4_ID|}}}
 +
|{{{level5_ID|}}}
 +
|{{{level6_ID|}}}
 +
|{{{isChallenging|}}}
 +
|{{#var:language}}
 
|landingID={{#var:landingID}}
 
|landingID={{#var:landingID}}
 
|reqPageID={{#var:reqPageID}}
 
|reqPageID={{#var:reqPageID}}
 
|reqVariantNo={{#var:reqVariantNo}}
 
|reqVariantNo={{#var:reqVariantNo}}
 
}}{{#invoke:HonorUtils|printHonorRequirement}}</includeonly>
 
}}{{#invoke:HonorUtils|printHonorRequirement}}</includeonly>

Revision as of 22:36, 2 April 2022

This is the "HonorRequirement" template.

It should be called in the following format:

{{HonorRequirement
|sectionID=
|groupID=
|level1_ID=
|level2_ID=
|level3_ID=
|level4_ID=
|level5_ID=
|level6_ID=
|isChallenging=
|minReqNeeded=
|text=
|reqType=
|additinalDataType=
|additionalData=
}}

Edit the page to see the template text.

This template defines the table "Honors_Requirements". View table.