Keldan
Et voilà
Improvements and mana ressources are done.
So the section "Ressources and improvements" is complete
So the section "Ressources and improvements" is complete

Added to the main civilizations page.xanaqui42 said:I should note that a non-playable civilization (Barbarian State) is presently absent.
Keldan said:So the section "Ressources and improvements" is complete![]()
xanaqui42 said:Heh- I'd prefer a resource with information about the language, but an expert will be second-best.
Note that I've modified both the Template:FfH Civ and FfH Unit Info templates.
With the latter template, I like the new functionality, but I'm having a minor format issue. Here is an examlpe of a typical optional line item:
{{if: {{{Promotion_3|}}} | {{!}}- style="vertical-align:top;"
{{!}} ''' '''
{{!}} [[FfH {{{Promotion_3}}} (Promotion){{!}} {{{Promotion_3}}}]] }}
The problem is that if Promotion_3 is not set, I get the equivalent of a <br>, instead of the equivalent of nothing (I'd prefer the later). This means that some units presently have a lot of empty vertical space in their stat boxes.
{{if: {{{Promotion_2|}}} | {{!}}- style="vertical-align:top;"
{{!}} ''' '''
{{!}} [[FfH {{{Promotion_2}}} (Promotion){{!}} {{{Promotion_2}}}]] }}[U][B]<!--
-->[/B][/U]{{if: {{{Promotion_3|}}} | {{!}}- style="vertical-align:top;"
{{!}} ''' '''
{{!}} [[FfH {{{Promotion_3}}} (Promotion){{!}} {{{Promotion_3}}}]] }}
I tried this; it does not appear to work on that template. It works great when the attribute is absent, but when it's present:YohanLeafheart said:This is really tricky.For some reason, that I do not understand (and I had to check templates on wikipedia that used it to discover it), you need to put this <!-- -> between ifs to not get the new line. For example:
Code:{{if: {{{Promotion_2|}}} | {{!}}- style="vertical-align:top;" {{!}} ''' ''' {{!}} [[FfH {{{Promotion_2}}} (Promotion){{!}} {{{Promotion_2}}}]] }}[U][B]<!-- -->[/B][/U]{{if: {{{Promotion_3|}}} | {{!}}- style="vertical-align:top;" {{!}} ''' ''' {{!}} [[FfH {{{Promotion_3}}} (Promotion){{!}} {{{Promotion_3}}}]] }}
And, about sources to study, wel, for the basic I used the wikimedia.com template help. And for the most advanced things, I searched there and checked templates on wikipedia.
{{if: {{{Promotion_1|}}} | {{!}}- style="vertical-align:top;"
{{!}} '''Promotion'''
{{!}} [[FfH {{{Promotion_1}}} (Promotion){{!}} {{{Promotion_1}}}]] }}<!--
-->{{if: {{{Promotion_2|}}} | {{!}}- style="vertical-align:top;"
{{!}} ''' '''
{{!}} [[FfH {{{Promotion_2}}} (Promotion){{!}} {{{Promotion_2}}}]] }}
Promotion Channelling I |- style="vertical-align:top;" Channelling II
Promotion Channelling I
Channelling II
style="background-color:{{ifeq:{{{aligment}}}|Evil|{{FfH Evil (Color)}}|{{ifeq:{{{aligment}}}|Good|{{FfH Good (Color)}}|{{FfH Neutral (Color)}}}}}}"
i just had to provide a basic guide to the best of the best : OZuffox said:Added the boxes "incomplete" and "wrongformat" to the Mithril Golem entry just to annoy people into fixing it.![]()
Keldan said:About the template civ, there is one thing I should like you do : allow more building tag (building_1, building_2, etc) because now, there is only six and it's a bit short for unavaible buildings of some civs (Doviello, Grigori). 10 will be enough I think.