Template talk:SVersion

From Europa Universalis 4 Wiki
Jump to navigation Jump to search

Icon[edit]

We once talked about the icon for this template, Meneth. I preferred the existing one with clock Ambox outdated content.png which you don't want to use because of its eye-catching color. I made one in blue Ambox outdated info.png. Perhaps you like it. – Lillebror (talk) 11:45, 5 December 2014 (CET)

Done. ~ Meneth (talk) 11:50, 5 December 2014 (CET)

Second parameter for the scope[edit]

I would like to add a second optional parameter which specifies the scope of this template.

Example for the use with {{bonus table}}:

Advisor cost.png Traditions Ideas Bonuses Policies
−25%
  • Full Innovativeness
−15%
  • Pueblo traditions
  • Smolenskian traditions
  • Ashikaga idea 5: Bugyoshu and Hokoshu
  • Offaly idea 2: Irish Hospitality
  • Semien idea 6: Lost Tribe of Beta Israel
  • Sumatran idea 4: Center of Scholarship
  • Great Qing ambition
−10%
  • Bohemian traditions
  • Byzantine traditions
  • Cherokee traditions
  • Khmer traditions
  • National traditions
  • Saxon traditions
  • Espionage idea 1: Efficient Spies
  • Arakanese idea 6: Muslim Advisors
  • Ashanti idea 1: Elder Council
  • Candarid idea 4: Anatolian Center for Learning
  • Catalan idea 2: Consell de Cent
  • Deccani Sultanate idea 7: Joint Marathi-Habshi State
  • Franconian idea 7: Franconian Bourgeoisie
  • Greek idea 4: Greek Diaspora
  • Hatakeyama idea 4: Hatakeyama Retainers
  • Hindustani idea 2: Persianate Courtly Culture
  • Luzon idea 6: A Safe Haven
  • Malabari idea 2: Cultural Melting Pot
  • Norman idea 2: Norman Philosophers
  • Ouchi idea 7: Retainer Factions
  • Palatinate idea 2: Heidelberg University
  • Permian idea 1: Capital of Prikamye
  • Russian idea 6: The Table of Ranks
  • Ryazan idea 7: Western Contacts
  • Somali idea 7: Arab and Persian Influx
  • Swabian idea 5: A Miserly People
  • Tirhuti idea 1: Scholars and Poets
  • Wallachian idea 4: Foreign Advisors
  • Tibetan ambition
  • Influence-Innovative: Foreign Advisors
  • Innovative-Diplomatic: The Diplomatic Cooperation
  • Innovative-Plutocratic: The Education Act

Example for the use with a transcluded infobox:

id

Execute decision.pngForm British Nation


By uniting our political development domestically and extending our influence beyond our borders we will be able to reinforce our position in world affairs and transform into one of the foremost European powers, the British Empire.


 
Potential requirements

Flag of Great Britain Great Britain does not exist.
The country:

If the country is AI-controlled then it:

Allow

The country:


Effects

If London (236) is part of the HRE, but the country is not a member then:

  • the province is removed from the HRE.
  • the Holy Roman Emperor:
    • gets the opinion modifier “Removed provinces from the Empire” towards the country, worth Opinion.png−50 opinion with a yearly decay of 1.
    • loses Imperial authority.png1 imperial authority.

London (236):

  • becomes the capital of the country.

The country:

  • becomes Flag of Great Britain Great Britain.
  • gets new Mission.png missions.
  • (hidden) completes the mission War of the Roses without rewards.
  • gains Prestige.png25 prestige.
  • gets a permanent claim on every province of Britain that it does not own.
  • gets the modifier “Increased Centralization” for 20 years with the following effects:
    • Autonomy.png−0.05 monthly autonomy change,
    • National unrest.png+1 national unrest.

If Great Britain:

  • is a member of the Holy Roman Empire but not the emperor or an elector
    • then all its provinces are removed from the HRE.
  • is a duchy
    • then it becomes a Kingdom rank kingdom.
  • does not have custom ideas
  • (hidden) was formed by Flag of Scotland Scotland
  • (hidden) was formed by Flag of Ireland Ireland
  • has completed the mission Conquer Scotland and the Rule Britannia.png ‘Rule Britannia’ DLC is enabled
    • then:
      • it gets permanent claims on Orkney (369), Shetland (1978) and Färöarna (1979)
      • it gets claims on all provinces of the Iceland area which it does not own and which are not its core provinces.
  • has completed the mission Colonize Spice Islands and the Rule Britannia.png ‘Rule Britannia’ DLC is enabled
    • then it gets claims on all provinces of West Bengal which it does not own and which are not its core provinces.

– Lillebror (talk) 10:08, 15 July 2015 (CEST)

Seems like a good idea to me. Will it default to something sensible until everything is updated to new layout? Dauth (talk) 10:19, 15 July 2015 (CEST)
Sounds good to me. Should default to "section" as usual if the parameter isn't set. ~ Meneth (talk) 11:50, 15 July 2015 (CEST)
I think we have agreement. Go for it. Dauth (talk) 11:51, 15 July 2015 (CEST)
Oh and I hope (one of) the reason(s) you want this is so that the versioning can be put in the bonus table itself so that editors no longer have to worry about "is this table actually up to date? How do I version the section it is in?" ~ Meneth (talk) 11:54, 15 July 2015 (CEST)
Of course. This was always a matter of concern to me, therefore the template itself has a versioning. – Lillebror (talk) 08:57, 16 July 2015 (CEST)

Infoboxes for events, decisions and missions[edit]

With the last change of this template it is possible to add a versioning info above an infobox. But now I think this solution can be improved.

  1. What do you think about an integration of the SVersion call into the infoboxes?
  2. What is your opinion about a placement of the versioning inside the box, not above as at the time?
  3. If placed inside, an error message about the missing versioning.

At the moment only the page has a versioning. If you want to update a page you have to do this as a whole. For pages with many infoboxes that's a lot of work. These ideas should help to split this work. ... – Lillebror (talk) 13:40, 13 October 2015 (CEST)

Nice idea. Work can be split with version inside infobox, but more is generated. Updating version of not changed list would require to update version of every event. But it is likely worth it. Now, if you want to generate some work, what would you think about adding hidden parameter for every file, for a technical name such as "aow_events.29". Then perhaps each event could be automatically linked in the Event IDs with the actual version added in new column. It would make a great tool for keeping events p to date and let them be moved more freely between lists. Would need a complicated bot to maintain though. Puchacz (talk) 16:50, 13 October 2015 (CEST)
More work is generated?
If paradox changes something, the wiki has to be changed, too. This is work.
If nothing is changed by a new patch, you have not only to change the versioning of the page but also the infobox versioning. That's true, but this can easyly done by search and replace. If an event for example is changed by a new version, you have to edit the event anyway. Changing the infobox versioning is then not significant. – Lillebror (talk) 08:53, 14 October 2015 (CEST)
I interpret the general silence this time as a refusal. – Lillebror (talk) 11:07, 16 October 2015 (CEST)
Sorry, I forgot to reply. I think its a good idea to have versioning info in the infoboxes. I saw your sandbox work and thought it looked good. Dauth (talk) 11:29, 16 October 2015 (CEST)

Usage[edit]

When should a section be versioned? When should we mark it as timeless? Hairy Dude (talk) 23:49, 18 September 2017 (CEST)

I'd say use your own judgement. If something is never going to change because it is a general description instead of documenting the game, then it can be timeless. Dauth (talk) 11:26, 19 September 2017 (CEST)
It varies for me, but ultimately depends on the section's length [broken to points when became too ]:
  • If it is a rather short section [2-3 lines] then I'll prefer to leave it without a tag of its own and use the parent's tag for it.
  • If there are several small sections that I could put under one "main" section with one tag then all the better.
  • As for timeless I prefer to use them on pages with not directly related to gameplay -- dev diaries, patches, general "portal"/information pages etc.
  • I also leave out tags if a section is a summary of another page/section [accompanied with a main/see also].
I find that version tags on a bunch of consecutive small sections makes them messy and unreadable after a version bump. Hope this helps. ~ SolSys (talk) 14:37, 19 September 2017 (CEST)