Category:Templates: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
For an example of the templates in action (except for weapon... need to build example weapons), head to [[ExampleWarlock]].
For an example of the templates in action (except for weapon... need to build example weapons), head to [[ExampleWarlock]].


== Wanted templates: ==
== Wanted templates: ==  


=== Leadership needs overhaul ===
== Templates in work ==
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.
* Page capture for searching
** [[:Template:Autogen-AdvantagePage]]


== 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.  
* Errata
**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.
** Across the board, the call to Errata needs to be modified so that "No errata" is preceded by 3 spaces, for clarity when displayed.  
* Weapon template might need the same treatment (with errata from abilities being loaded properly).  
** Calls to abilities need to lose the space between the pipe and the ability name. This needs to be applied across all category pages so that the Errata is called. The space between the pipe and the ability name prevents the parser from calling the errata category page.  


== Templates to combine ==
== Difficult decisions ==
I considered merging weapon ability/advantage, model weapon/advantage, and effects into a single template, but decided against it, as separation makes categorization easier.
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 ==
== Things to delete ==
Go to [[:Category:Trash]]
Go to [[:Category:Trash]]

Latest revision as of 16:32, 23 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:

Templates in work


  • Errata
    • Across the board, the call to Errata needs to be modified so that "No errata" is preceded by 3 spaces, for clarity when displayed.
    • Calls to abilities need to lose the space between the pipe and the ability name. This needs to be applied across all category pages so that the Errata is called. The space between the pipe and the ability name prevents the parser from calling the errata category page.

Difficult decisions

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