Difference between revisions of "User talk:Org"
(→Re-using the content of {{tl|Class health table}} for {{tl|Health kit comparison}}: new section) |
(→Re-using the content of {{tl|Class health table}} for {{tl|Health kit comparison}}) |
||
Line 17: | Line 17: | ||
* The line about Kunai max overheal has no effect on health packs. This is also not a large problem. | * The line about Kunai max overheal has no effect on health packs. This is also not a large problem. | ||
I'm wondering if there's a good way to resolve this problem without major template rewrites. And if you could possibly help me if there are. [[User:Darkid|<span style="color:red">Darkid</span>]] ([[User talk:Darkid|<span style="color:blue">Talk</span>]] | [[Special:Contributions/Darkid|<span style="color:grey">Contribs</span>]]) 08:25, 13 October 2014 (PDT) | I'm wondering if there's a good way to resolve this problem without major template rewrites. And if you could possibly help me if there are. [[User:Darkid|<span style="color:red">Darkid</span>]] ([[User talk:Darkid|<span style="color:blue">Talk</span>]] | [[Special:Contributions/Darkid|<span style="color:grey">Contribs</span>]]) 08:25, 13 October 2014 (PDT) | ||
+ | : Let me get back to you on this (I'm falling overmyself asleep right now). However at first blush I'm thinking that there would need to be one core template that just contains the text column, then two children that contain the right columns. So the two templates ( {{tl|Class health table}} and{{tl|Health kit comparison}} ) would still be used independently, but they would both 'look-back' to a third for the row counts, and the contents of the first column. --[[User:Org|Org]] ([[User talk:Org|talk]]) 07:41, 14 October 2014 (PDT) |
Revision as of 14:41, 14 October 2014
Re-using the content of {{Class health table}}
for {{Health kit comparison}}
These two templates have almost the exact same lines, and need the same translations. I'm looking to try to merge them (so updates and translations happen in the same place for both templates). The problems I see are:
- The duplicated text is getting pretty large with regards to the final 3 columns in the table. Given that they would need to be switched for these two to be merged, putting this in a core template would be preferable
- This makes styling difficult, unfortunately.
- The backscratcher doesn't effect overheal, but does effect health packs. This is not a large problem.
- The line about Kunai max overheal has no effect on health packs. This is also not a large problem.
I'm wondering if there's a good way to resolve this problem without major template rewrites. And if you could possibly help me if there are. Darkid (Talk | Contribs) 08:25, 13 October 2014 (PDT)
- Let me get back to you on this (I'm falling overmyself asleep right now). However at first blush I'm thinking that there would need to be one core template that just contains the text column, then two children that contain the right columns. So the two templates (
{{Class health table}}
and{{Health kit comparison}}
) would still be used independently, but they would both 'look-back' to a third for the row counts, and the contents of the first column. --Org (talk) 07:41, 14 October 2014 (PDT)