|
|
| (10 intermediate revisions by one other user not shown) |
| Line 1: |
Line 1: |
| <includeonly>{{#clear_external_data:}}{| class="wikitable" style="width: 100%;text-align:center;" | | <includeonly><tabber> |
| | |-|General Info= |
| | {{#clear_external_data:}}{| class="wikitable" style="width: 100%;text-align:center;" |
| |- | | |- |
| ! colspan=4| <big><big>{{{1}}}</big></big><br>{{icon|{{lc: {{{1}}} }}|size=120px}} | | ! colspan=4| <big><big>{{{1}}}</big></big><br>{{icon|{{lc: {{{1}}} }}|size=120px}} |
| Line 5: |
Line 7: |
| | colspan=4| {{{description| }}} | | | colspan=4| {{{description| }}} |
| |- | | |- |
| ! colspan=4| Missions that use {{{1}}} {{icon|{{lc: {{{1}}} }} }} | | ! colspan=4| [[Missions]] that use {{{1}}} {{icon|{{lc: {{{1}}} }} }} |
| |- | | |- |
| ! As an Attack Attribute: | | ! As an Attack Attribute: |
| Line 15: |
Line 17: |
| }}{{#iferror: {{#external_value: missionDataName}} | | {{#for_external_table:| [[{{missionDisplayName|{{{missionDataName}}} }}]] • }} }} | | }}{{#iferror: {{#external_value: missionDataName}} | | {{#for_external_table:| [[{{missionDisplayName|{{{missionDataName}}} }}]] • }} }} |
| |- | | |- |
| ! As a Defense Attribute: | | ! As a Defense Attribute:<ref>A mission can appear multiple times if the attribute is used as a defense in multiple ways. For example, the Security of the Target Councilor and the Security of anyone using Protect Target on the Target Councilor could both defend against an Attack mission.</ref> |
| | colspan=3| {{#clear_external_data:}}{{#get_web_data: | | | colspan=3| {{#clear_external_data:}}{{#get_web_data: |
| |url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIMissionTemplate_CSV?resolutionMethod/defendingModifiers/0/defenderAttribute={{{1}}} | | |url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIMissionTemplate_CSV?resolutionMethod/defendingModifiers/0/defenderAttribute={{{1}}} |
| Line 21: |
Line 23: |
| missionDataName=dataName | | missionDataName=dataName |
| |format=CSV with Header | | |format=CSV with Header |
| }}{{#iferror: {{#external_value: missionDataName}} | | {{#for_external_table:| [[{{missionDisplayName|{{{missionDataName}}} }}]] • }} }}{{#clear_external_data:}}{{#get_web_data: | | }}{{#iferror: {{#external_value: missionDataName}} | | {{#for_external_table:| [[{{missionDisplayName|{{{missionDataName}}} }}]] • }} }}{{#clear_external_data:}} {{#get_web_data: |
| |url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIMissionTemplate_CSV?resolutionMethod/defendingModifiers/1/defenderAttribute={{{1}}} | | |url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIMissionTemplate_CSV?resolutionMethod/defendingModifiers/1/defenderAttribute={{{1}}} |
| |data= | | |data= |
| missionDataName=dataName | | missionDataName=dataName |
| |format=CSV with Header | | |format=CSV with Header |
| }}{{#iferror: {{#external_value: missionDataName}} | | {{#for_external_table:| [[{{missionDisplayName|{{{missionDataName}}} }}]] • }} }}{{#clear_external_data:}}{{#get_web_data: | | }}{{#iferror: {{#external_value: missionDataName}} | | {{#for_external_table:| [[{{missionDisplayName|{{{missionDataName}}} }}]] • }} }}{{#clear_external_data:}} {{#get_web_data: |
| |url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIMissionTemplate_CSV?resolutionMethod/defendingModifiers/2/defenderAttribute={{{1}}} | | |url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIMissionTemplate_CSV?resolutionMethod/defendingModifiers/2/defenderAttribute={{{1}}} |
| |data= | | |data= |
| Line 33: |
Line 35: |
| }}{{#iferror: {{#external_value: missionDataName}} | | {{#for_external_table:| [[{{missionDisplayName|{{{missionDataName}}} }}]] • }} }}{{#clear_external_data:}} | | }}{{#iferror: {{#external_value: missionDataName}} | | {{#for_external_table:| [[{{missionDisplayName|{{{missionDataName}}} }}]] • }} }}{{#clear_external_data:}} |
| |- | | |- |
| ! colspan=4 | Councilor Professions that have {{{1}}} {{icon|{{lc: {{{1}}} }} }} | | ! colspan=4 | [[Councilors#Profession|Councilor Professions]] that have {{{1}}} {{icon|{{lc: {{{1}}} }} }} |
| |- | | |- |
| ! As their Primary Stat: | | ! As their Primary Stat: |
| Line 51: |
Line 53: |
| }}{{#iferror: {{#external_value: professionName}} | | {{#for_external_table:| {{{professionName}}} • }} }}{{#clear_external_data:}} | | }}{{#iferror: {{#external_value: professionName}} | | {{#for_external_table:| {{{professionName}}} • }} }}{{#clear_external_data:}} |
| |- | | |- |
| | colspan=4 |
| | ! colspan=4 | [[Councilors#Traits|Traits]] that affect {{{1}}} {{icon|{{lc: {{{1}}} }} }} |
| {| class="wikitable sortable mw-collapsible mw-collapsed" style="width: 100%;text-align: center;"
| |
| ! Profession !! Minimum {{icon|{{lc: {{{1}}} }} }} !! Average {{icon|{{lc: {{{1}}} }} }} !! Maximum {{icon|{{lc: {{{1}}} }} }}
| |
| |-
| |
| {{#get_web_data:
| |
| |url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TICouncilorTypeTemplate_CSV
| |
| |data=
| |
| professionName=dataName,
| |
| bStat=base{{{1}}},
| |
| rStat=rand{{{1}}},
| |
| |format=CSV with Header
| |
| }}{{#iferror: {{#external_value: professionName}} | | {{#for_external_table:|
| |
| {{!}}-
| |
| {{!}} {{{professionName}}}
| |
| {{!}} {{{bStat}}}
| |
| {{!}} {{#expr: {{{bStat}}} + {{{rStat}}} / 2}}
| |
| {{!}} {{#expr: {{{bStat}}} + {{{rStat}}} }}
| |
| {{!}}-
| |
| }} }}{{#clear_external_data:}}
| |
| |-
| |
| |}
| |
| |-
| |
| ! colspan=4 | Traits that affect {{{1}}} {{icon|{{lc: {{{1}}} }} }}
| |
| |- | | |- |
| | colspan=4 | | | | colspan=4 | |
| Line 95: |
Line 75: |
| {{!}} {{{traitName}}} | | {{!}} {{{traitName}}} |
| {{!}} {{#ifeq: {{{condType}}} | | None | {{#switch: {{{condType}}} | | {{!}} {{#ifeq: {{{condType}}} | | None | {{#switch: {{{condType}}} |
| | TINationCondition_fInequality = Location [[Nations#Inequality|Inequality]] | | | TINationCondition_fInequality = Location {{icon|inequality|bgcolor=DarkSlateGray}}[[Inequality]] |
| | TINationCondition_fEducation = Location [[Nations#Education|Education]] | | | TINationCondition_fEducation = Location {{icon|education}}[[Education]] |
| | TINationCondition_fDemocracy = Location [[Nations#Government|Government]] | | | TINationCondition_fDemocracy = Location {{icon|democracy|bgcolor=DarkSlateGray}}[[Government]] |
| | TINationCondition_fCohesion = Location [[Nations#Cohesion|Cohesion]] | | | TINationCondition_fCohesion = Location {{icon|cohesion|bgcolor=DarkSlateGray}}[[Cohesion]] |
| | TINationCondition_fUnrest = Location [[Nations#Unrest|Unrest]] | | | TINationCondition_fUnrest = Location {{icon|unrest|bgcolor=DarkSlateGray}}[[Unrest]] |
| | TICouncilorCondition_bInHomeNation = Location is councilor's home nation? | | | TICouncilorCondition_bInHomeNation = Location is councilor's home nation? |
| | TIGlobalCondition_bNuclearWeaponsUsed = At least one nuke fired this campaign? | | | TIGlobalCondition_bNuclearWeaponsUsed = At least one nuke fired this campaign? |
| Line 136: |
Line 116: |
| {{!}} {{{traitName}}} | | {{!}} {{{traitName}}} |
| {{!}} {{#ifeq: {{{condType}}} | | None | {{#switch: {{{condType}}} | | {{!}} {{#ifeq: {{{condType}}} | | None | {{#switch: {{{condType}}} |
| | TINationCondition_fInequality = Location [[Nations#Inequality|Inequality]] | | | TINationCondition_fInequality = Location {{icon|inequality|bgcolor=DarkSlateGray}}[[Inequality]] |
| | TINationCondition_fEducation = Location [[Nations#Education|Education]] | | | TINationCondition_fEducation = Location {{icon|education}}[[Education]] |
| | TINationCondition_fDemocracy = Location [[Nations#Government|Government]] | | | TINationCondition_fDemocracy = Location {{icon|democracy|bgcolor=DarkSlateGray}}[[Government]] |
| | TINationCondition_fCohesion = Location [[Nations#Cohesion|Cohesion]] | | | TINationCondition_fCohesion = Location {{icon|cohesion|bgcolor=DarkSlateGray}}[[Cohesion]] |
| | TINationCondition_fUnrest = Location [[Nations#Unrest|Unrest]] | | | TINationCondition_fUnrest = Location {{icon|unrest|bgcolor=DarkSlateGray}}[[Unrest]] |
| | TICouncilorCondition_bInHomeNation = Location is councilor's home nation? | | | TICouncilorCondition_bInHomeNation = Location is councilor's home nation? |
| | TIGlobalCondition_bNuclearWeaponsUsed = At least one nuke fired this campaign? | | | TIGlobalCondition_bNuclearWeaponsUsed = At least one nuke fired this campaign? |
| Line 177: |
Line 157: |
| {{!}} {{{traitName}}} | | {{!}} {{{traitName}}} |
| {{!}} {{#ifeq: {{{condType}}} | | None | {{#switch: {{{condType}}} | | {{!}} {{#ifeq: {{{condType}}} | | None | {{#switch: {{{condType}}} |
| | TINationCondition_fInequality = Location [[Nations#Inequality|Inequality]] | | | TINationCondition_fInequality = Location {{icon|inequality|bgcolor=DarkSlateGray}}[[Inequality]] |
| | TINationCondition_fEducation = Location [[Nations#Education|Education]] | | | TINationCondition_fEducation = Location {{icon|education}}[[Education]] |
| | TINationCondition_fDemocracy = Location [[Nations#Government|Government]] | | | TINationCondition_fDemocracy = Location {{icon|democracy|bgcolor=DarkSlateGray}}[[Government]] |
| | TINationCondition_fCohesion = Location [[Nations#Cohesion|Cohesion]] | | | TINationCondition_fCohesion = Location {{icon|cohesion|bgcolor=DarkSlateGray}}[[Cohesion]] |
| | TINationCondition_fUnrest = Location [[Nations#Unrest|Unrest]] | | | TINationCondition_fUnrest = Location {{icon|unrest|bgcolor=DarkSlateGray}}[[Unrest]] |
| | TICouncilorCondition_bInHomeNation = Location is councilor's home nation? | | | TICouncilorCondition_bInHomeNation = Location is councilor's home nation? |
| | TIGlobalCondition_bNuclearWeaponsUsed = At least one nuke fired this campaign? | | | TIGlobalCondition_bNuclearWeaponsUsed = At least one nuke fired this campaign? |
| Line 218: |
Line 198: |
| {{!}} {{{traitName}}} | | {{!}} {{{traitName}}} |
| {{!}} {{#ifeq: {{{condType}}} | | None | {{#switch: {{{condType}}} | | {{!}} {{#ifeq: {{{condType}}} | | None | {{#switch: {{{condType}}} |
| | TINationCondition_fInequality = Location [[Nations#Inequality|Inequality]] | | | TINationCondition_fInequality = Location {{icon|inequality|bgcolor=DarkSlateGray}}[[Inequality]] |
| | TINationCondition_fEducation = Location [[Nations#Education|Education]] | | | TINationCondition_fEducation = Location {{icon|education}}[[Education]] |
| | TINationCondition_fDemocracy = Location [[Nations#Government|Government]] | | | TINationCondition_fDemocracy = Location {{icon|democracy|bgcolor=DarkSlateGray}}[[Government]] |
| | TINationCondition_fCohesion = Location [[Nations#Cohesion|Cohesion]] | | | TINationCondition_fCohesion = Location {{icon|cohesion|bgcolor=DarkSlateGray}}[[Cohesion]] |
| | TINationCondition_fUnrest = Location [[Nations#Unrest|Unrest]] | | | TINationCondition_fUnrest = Location {{icon|unrest|bgcolor=DarkSlateGray}}[[Unrest]] |
| | TICouncilorCondition_bInHomeNation = Location is councilor's home nation? | | | TICouncilorCondition_bInHomeNation = Location is councilor's home nation? |
| | TIGlobalCondition_bNuclearWeaponsUsed = At least one nuke fired this campaign? | | | TIGlobalCondition_bNuclearWeaponsUsed = At least one nuke fired this campaign? |
| Line 272: |
Line 252: |
| |- | | |- |
| {{#ifeq: {{{1}}} | Loyalty | | | | {{#ifeq: {{{1}}} | Loyalty | | |
| ! colspan=4 {{!}} Orgs that give {{{1}}} {{icon|{{lc: {{{1}}} }} }}{{#get_web_data: | | ! colspan=4 {{!}} [[Orgs]] that give {{{1}}} {{icon|{{lc: {{{1}}} }} }}{{#get_web_data: |
| |url={{fullurl:RawOrgDisplayName|action=raw}} | | |url={{fullurl:RawOrgDisplayName|action=raw}} |
| |data=__all | | |data=__all |
| Line 325: |
Line 305: |
| |- | | |- |
| | colspan=4 | [[Councilors]] • [[Missions]] • [[Profession List]] • [[Org List]] | | | colspan=4 | [[Councilors]] • [[Missions]] • [[Profession List]] • [[Org List]] |
| | |- |
| | ! colspan=4 | Other Attributes |
| | |- |
| | | colspan=4 | {{icon|persuasion}}[[Persuasion]] • {{icon|investigation}}[[Investigation]] • {{icon|espionage}}[[Espionage]] • {{icon|command}}[[Command]] • {{icon|administration}}[[Administration]] • {{icon|science}}[[Science]] • {{icon|security}}[[Security]] • {{icon|loyalty}}[[Loyalty]] |
| |- | | |- |
| |} | | |} |
| | <references /> |
| {{#clear_external_data:}} | | {{#clear_external_data:}} |
| </includeonly><noinclude>A template for councilor attributes. | | |-|Professions= |
| | {{#invoke:CouncilorTypeLister|ListAttributeCouncilorTypes|{{{1}}} }} |
| | |-|Orgs= |
| | {{#ifeq: {{{1}}} | Loyalty | No [[Orgs]] affect this attribute. | {{#invoke:OrgLister|ListRestrictedOrgs|Not Match,chance{{{1}}},0|Not Match,chance{{{1}}},|Focus={{{1}}} }} }} |
| | |
| | </tabber></includeonly><noinclude>A template for councilor attributes. |
|
| |
|
| == Usage == | | == Usage == |
|
| |
|
| To get the Persuasion attribute for example: | | To get the Persuasion attribute for example: |
| <pre>{{attribute|Persuasion | | <pre>{{attribute|Persuasion|description=Persuasion is the ability to shape the opinions of others to your own. It is crucial in gaining support from Earth's nations.|effects= |
| |description=Persuasion is the ability to shape the opinions of others to your own. It is crucial in gaining support from Earth's nations. | |
| |effects= | |
| * +1% {{icon|influence|bgcolor=DarkSlateGray}} Influence Income for Councilor per Persuasion point. | | * +1% {{icon|influence|bgcolor=DarkSlateGray}} Influence Income for Councilor per Persuasion point. |
| * +1 {{icon|cp|bgcolor=DarkSlateGray}} Control point Cap per Persuasion point. | | * +1 {{icon|cp|bgcolor=DarkSlateGray}} Control point Cap per Persuasion point.|notes=}}</pre> |
| |notes=}}</pre> | |
|
| |
|
| Named parameters are optional. | | Named parameters are optional. |
| Line 344: |
Line 331: |
| == Example == | | == Example == |
|
| |
|
| {{attribute|Persuasion | | {{attribute|Persuasion|description=Persuasion is the ability to shape the opinions of others to your own. It is crucial in gaining support from Earth's nations.|effects= |
| |description=Persuasion is the ability to shape the opinions of others to your own. It is crucial in gaining support from Earth's nations. | |
| |effects= | |
| * +1% {{icon|influence|bgcolor=DarkSlateGray}} Influence Income for Councilor per Persuasion point. | | * +1% {{icon|influence|bgcolor=DarkSlateGray}} Influence Income for Councilor per Persuasion point. |
| * +1 {{icon|cp|bgcolor=DarkSlateGray}} Control point Cap per Persuasion point. | | * +1 {{icon|cp|bgcolor=DarkSlateGray}} Control point Cap per Persuasion point.|notes=}} |
| |notes=}} | |
| | | |
| [[Category:Templates]] | | [[Category:Templates]] |
|
| |
|
| </noinclude> | | </noinclude> |