模板:Ideology

This template uses the following modules:
Module:Ideology
Module:Ideology/List
Module:Ideology/Movement
[閱讀] [編輯]Template-info.png 模板文檔

Ideology can be used to create info tooltips or table rows for each Ideology.

Parameters

Parameter Description Required Default
1 Any of:
  • English localized ideology name
  • Script name of ideology
  • 'short' script name, with or without underscores
Required none
char/character Set to anything if using the localized name of a character ideology Optional none
move/movement Set to anything if using the localized name of a movement ideology Optional none
index Tooltip index, for tooltip use; use 2 or 3 for tooltip-in-tooltip
  • 1, 2, or 3
Optional none
table Formats output as a table row instead of tooltip, if set to anything Optional none

Parameter 1 must be one of the following styles: localized English name of the ideology, script name of the ideology with underscores, "short" script name, dropping "ideology", with or without underscores.

  • Character ideologies can be indicated with the localized English name and the char parameter, the script name or short script name or the localized English name followed by "leader" with no underscores.
  • Movement ideologies can be indicated with the localized English name and the move parameter, the script name or short script name or the localized English name followed by "movement" with no underscores.

The capitalization does not matter and the output text is pre-determined.

Certain ideologies have a parenthetical to distinguish them from other identically localized ideologies. These parentheticals are included in the localized name, unlike in-game. See the list below:

Script name Wiki localized name
ideology_liberal_modern Liberal (modern)
ideology_egalitarian_modern Egalitarian (modern)
ideology_hindu_moralist_british_india Hindu Moralist (British)
ideology_pluralist_movement_1 Pluralist (National Supremacy)
ideology_pluralist_movement_2 Pluralist (Racial Segregation)
ideology_pluralist_movement_3 Pluralist (Cultural Exclusion)
ideology_pluralist_movement_4 Pluralist (Multiculturalism)

Tooltip usage

When using index set to 1, 2, or 3; this template can be used in paragraphs by wrapping the paragraph in a <div></div> or <span></span> tag, otherwise it breaks the paragraph layout. It can be used in wiki lists or table cells without issue otherwise.

Table usage

This template outputs into the following table format. The template should be put in the first column and it generates the remaining columns for its row.

Ideology Law group Oppose Strongly disapprove Oppose Disapprove Undecided Neutral Endorse Approve Endorse Strongly approve
Template goes here

Each ideology in the table requires its own use of the template in a new row.

Examples

{{Ideology|Anti-Slavery|index=1}} results in
Anti-Slavery Anti-Slavery
Anti-Slavery
IdeologyAnti-Slavery
This group abhors slavery and views it as a feature of a barbarous past.

Stance on Slavery
Oppose Strongly Oppose Debt Slavery Debt Slavery和Slave Trade Slave Trade
Oppose Oppose Legacy Slavery Legacy Slavery
Neutral Neutral towards Slavery Banned Slavery Banned
Stance on Land Reform
Oppose Strongly Oppose Serfdom Serfdom
Neutral Neutral towards Tenant Farmers Tenant Farmers、​Homesteading Homesteading、​-
Collectivized Agriculture Collectivized Agriculture和Commercialized Agriculture Commercialized Agriculture

Note the line break; wrapping the paragraph in <div></div> results in:

{{Ideology|ideology_moderate|index=1}} results in
Moderate Moderate
Moderate
Character ideologyModerate
This leader is considered a moderate in their Interest Group,
with no particular ideology of their own.

No stances

If index is not set, the result is just a basic icon display:

{{Ideology|democrat|char=1}} results in Democrat Democrat

Table usage appears as follows

Ideology Law group Oppose Strongly disapprove Oppose Disapprove Undecided Neutral Endorse Approve Endorse Strongly approve
{{ideology|Agrarian|table=1}} results in
Agrarian Agrarian Land Reform
  • Serfdom Serfdom
  • Tenant Farmers Tenant Farmers
Economic System
  • Laissez-Faire Laissez-Faire
  • Command Economy Command Economy
  • Cooperative Ownership Cooperative Ownership
  • Industry Banned Industry Banned
  • Traditionalism Traditionalism
  • Interventionism Interventionism
  • Extraction Economy Extraction Economy
  • Agrarianism Agrarianism
Caste Hegemony
  • Caste System Enforced Caste System Enforced
  • Caste System Codified Caste System Codified
  • Caste Not Enforced Caste Not Enforced
  • Affirmative Action Affirmative Action
Taxation
  • Land-Based Taxation Land-Based Taxation
  • Per-Capita Taxation Per-Capita Taxation
  • Proportional Taxation Proportional Taxation
  • Graduated Taxation Graduated Taxation
  • Consumption-Based Taxation Consumption-Based Taxation