Category:Templates: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
mNo edit summary
 
(6 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: ==  


=== Card Tags ===
== Templates in work ==
To collect all the attributes of a card (warlock, faction, army, solo, scout, leader, prime, legacy). Needs to support multiple tags within a category.
* Page capture for searching
 
** [[:Template:Autogen-AdvantagePage]]
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 ==


*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
* Weapon template might need the same treatment (with errata from abilities being loaded properly).  
** 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.  


== 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 ==
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