User:Pangaea/Biome test

From RimWorld Wiki
Jump to navigation Jump to search

{{Infobox biome | name = Test biome | defname = Biome_Test | image = Centipede south.png | description = It's big. I'm sure there must ba a biome in there. | description_markup = It's big. I'm sure there must ba a [[biomes|biome]] in there. <!-- General --> | canbuildbase = | allowroads = yes | allowrivers = yes | impassable = | hasvirtualplants = yes | movementdifficulty = 1.5 | animaldensity = 0.5 | plantdensity = 2.3 | forageability = 0.7 | foragedfood = Component | wildplantsregrowdays = 85 | diseasemtbdays = 0 <!-- Weather --> | clear = 2 | fog = 4 | rain = 6 | foggyrain = 8 | drythunderstorm = 10 | rainythunderstorm = 12 | snowgentle = 14 | snowhard = 16 <!-- Pack animal --> | allowedpackanimals = Rat, Tortoise, Poisoned ship part <!-- Technical --> | texturepath = Graphics/Somethinglongmaybe/Abouthere | soundambient = Centipede_Freakingout }} 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 == 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 }}