Category:Templates: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
Line 5: Line 5:
== Wanted templates: ==
== Wanted templates: ==


=== Card Tags ===
=== Leadership needs overhaul ===
To collect all the attributes of a card (warlock, faction, army, solo, scout, leader, prime, legacy). Needs to support multiple tags within a category.  
Mordikaar broke the template -- Needs to allow for multiple abilities, and plain text. We'll use the AbilityComplex template as a send to the category. Also, would prefer if it doesn't break the existing leaderhsip roles, so we'll give it a switch at the beginning to see if the sub1 value exists. Wait, that won't work. need it to use sub1 as the model/unit it leads, then sub2 as the distance, and sub3 as the thing it grants. sub3a = whether it points to a cat or plain text, and then we can use sub4, 4a, and so on for the extra abilities.  
 
Maybe incorporate into beginning of Model Stats block, so that at the end of the block, we can display Errata for the relavent tags.  


== Templates in work ==
== Templates in work ==

Revision as of 03:58, 9 February 2024

This is a category of all commonly used templates in this wiki. Documentation will follow.

For an example of the templates in action (except for weapon... need to build example weapons), head to ExampleWarlock.

Wanted templates:

Leadership needs overhaul

Mordikaar broke the template -- Needs to allow for multiple abilities, and plain text. We'll use the AbilityComplex template as a send to the category. Also, would prefer if it doesn't break the existing leaderhsip roles, so we'll give it a switch at the beginning to see if the sub1 value exists. Wait, that won't work. need it to use sub1 as the model/unit it leads, then sub2 as the distance, and sub3 as the thing it grants. sub3a = whether it points to a cat or plain text, and then we can use sub4, 4a, and so on for the extra abilities.

Templates in work

  • Spell template needs to be told to call the errata for any of the abilites listed in the block. I want it to work like the Model Advantage template.
    • This is getting closer. Next, we need to allow it to pull more than one ability after the main block of text (for things that give out more than one ability.... like blessed and magical damage on a spell.
  • Weapon template might need the same treatment (with errata from abilities being loaded properly).

Templates to combine

I considered merging weapon ability/advantage, model weapon/advantage, and effects into a single template, but decided against it, as separation makes categorization easier.

Things to delete

Go to Category:Trash