Difference between revisions of "User:Pangaea/Biome test"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
| diseasemtbdays = 0 | | diseasemtbdays = 0 | ||
<!-- Weather --> | <!-- Weather --> | ||
− | | | + | | clear = 2 |
− | | | + | | fog = 4 |
− | | | + | | rain = 6 |
− | | | + | | foggyrain = 8 |
− | | | + | | drythunderstorm = 10 |
− | | | + | | rainythunderstorm = 12 |
− | | | + | | snowgentle = 14 |
− | | | + | | snowhard = 16 |
<!-- Pack animal --> | <!-- Pack animal --> | ||
| allowedpackanimals = Rat, Tortoise, Poisoned ship part | | allowedpackanimals = Rat, Tortoise, Poisoned ship part | ||
Line 37: | Line 37: | ||
== Thinking out loud == | == Thinking out loud == | ||
− | It may be better to avoid lists of animals, plans and diseases in the infobox, and instead put it in the proper article, with more data from their parent tables where appropriate. Some pictures and whatnot. If so, I can remove the output/display section in the {{tlx| | + | It may be better to avoid lists of animals, plans and diseases in the infobox, and instead put it in the proper article, with more data from their parent tables where appropriate. Some pictures and whatnot. If so, I can remove the output/display section in the {{tlx|Biomeanimal}} template. Output must then be handled by direct queries on the pages (not good), or separate Cargo query templates. They would then need the usual table hack. |
− | == | + | Oh dear, do I actually need a triple-join? This one will surely need more work :-/ |
− | {{ | + | {{#cargo_query: tables = Pawn, Biomeanimal |
− | {{ | + | | join on = Pawn._pageName=Biomeanimal._pageName |
− | {{ | + | | fields = Pawn.image, Pawn.name, animalcommonality |
+ | | format = table | ||
+ | }} | ||
+ | |||
+ | |||
+ | ;With Concat headache | ||
+ | {{#cargo_query: tables = Pawn, Biomeanimal | ||
+ | | join on = Pawn._pageName=Biomeanimal._pageName | ||
+ | | fields = CONCAT('[[File:', Pawn.image, '|50px]]') = image, Pawn.name, animalcommonality | ||
+ | | format = table | ||
+ | }} | ||
+ | |||
+ | == Wild animals == | ||
+ | {{Biomeanimal|animalname = Muffalo |animalcommonality = 3.0 }} | ||
+ | {{Biomeanimal|animalname = Cougar |animalcommonality = 1.1 }} | ||
+ | {{Biomeanimal|animalname = Rat |animalcommonality = 2.7 }} | ||
+ | |||
+ | == Wild plants == | ||
+ | {{Biomewildplant|wildplantname = Grass|wildplantcommonality = 3.0 }} | ||
+ | {{Biomewildplant|wildplantname = Tall grass|wildplantcommonality = 2.0 }} | ||
+ | {{Biomewildplant|wildplantname = Shrub low|wildplantcommonality = 2.0 }} | ||
+ | {{Biomewildplant|wildplantname = Alocasia|wildplantcommonality = 0.8 }} | ||
+ | {{Biomewildplant|wildplantname = Cecropia tree|wildplantcommonality = 0.3 }} | ||
+ | {{Biomewildplant|wildplantname = Palm tree|wildplantcommonality = 0.3 }} | ||
+ | {{Biomewildplant|wildplantname = Bamboo tree|wildplantcommonality = 0.3 }} | ||
+ | {{Biomewildplant|wildplantname = Teak tree|wildplantcommonality = 0.2 }} | ||
+ | |||
+ | == Diseases == | ||
+ | {{Biomedisease|diseasename = Malaria|diseasecommonality = 160 }} | ||
+ | {{Biomedisease|diseasename = Sleeping sickness|diseasecommonality = 140 }} | ||
+ | {{Biomedisease|diseasename = Flu|diseasecommonality = 100 }} | ||
+ | {{Biomedisease|diseasename = Plague|diseasecommonality = 100 }} | ||
+ | {{Biomedisease|diseasename = Gut worms|diseasecommonality = 80 }} | ||
+ | {{Biomedisease|diseasename = Muscle parasites|diseasecommonality = 80 }} | ||
+ | {{Biomedisease|diseasename = Fibrous mechanites|diseasecommonality = 30 }} | ||
+ | {{Biomedisease|diseasename = Sensory mechanites|diseasecommonality = 30 }} | ||
+ | {{Biomedisease|diseasename = Animal flu|diseasecommonality = 100 }} | ||
+ | {{Biomedisease|diseasename = Animal plague|diseasecommonality = 100 }} |
Latest revision as of 12:23, 6 August 2019
My friend is lovely, isn't he? Well, he may not look like much, but I promise you he's fuzzy and warm-hearted once you get to know him. Doesn't eat nor sleep either, and lives forever. A gorgeous pet.
Thinking out loud[edit]
It may be better to avoid lists of animals, plans and diseases in the infobox, and instead put it in the proper article, with more data from their parent tables where appropriate. Some pictures and whatnot. If so, I can remove the output/display section in the {{Biomeanimal}}
template. Output must then be handled by direct queries on the pages (not good), or separate Cargo query templates. They would then need the usual table hack.
Oh dear, do I actually need a triple-join? This one will surely need more work :-/
image | name | animalcommonality |
---|---|---|
Alpaca |
- With Concat headache
image | name | animalcommonality |
---|---|---|
Alpaca |
Wild animals[edit]
- Muffalo - 3.0
- Cougar - 1.1
- Rat - 2.7
Wild plants[edit]
- Grass - 3.0
- Tall grass - 2.0
- Shrub low - 2.0
- Alocasia - 0.8
- Cecropia tree - 0.3
- Palm tree - 0.3
- Bamboo tree - 0.3
- Teak tree - 0.2
Diseases[edit]
- Malaria - 160
- Sleeping sickness - 140
- Flu - 100
- Plague - 100
- Gut worms - 80
- Muscle parasites - 80
- Fibrous mechanites - 30
- Sensory mechanites - 30
- Animal flu - 100
- Animal plague - 100