Difference between revisions of "Template:File category check/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Added proper documentation)
(reduced number of files that need to be checked drastically)
Line 5: Line 5:
 
The following can be used to systematically scan all files in badges of 500 (upper limit):
 
The following can be used to systematically scan all files in badges of 500 (upper limit):
 
<pre>
 
<pre>
{{#ask: [[File:+]] [[Modification date::+]]
+
{{#ask: [[File:+]] [[Modification date::>10 December 2022 01:53:28]]
  | limit = 500 | template = File category check | link = none | searchlabel =
+
  | limit = 500 | format = template | template = File category check | link = none
 
  | named args = yes
 
  | named args = yes
 
  | ? = file
 
  | ? = file
  | sort = Category, Modification date | order = ascending
+
| ?Modification date = Date
 +
  | sort = Modification date
 
  | offset = 0
 
  | offset = 0
 
}}
 
}}
  
{{#ask: [[File:+]] [[Modification date::+]]
+
The last checked file has a ''Modification date'' of: {{#var:date}}
| limit = 500 | template = File category check | link = none | searchlabel =
+
</pre>
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 500
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 1000
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 1500
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 2000
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 2500
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 3000
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 3500
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 4000
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 4500
 
}}
 
  
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 5000
 
}}
 
</pre>
 
  
 
== Output ==
 
== Output ==
 
If there are no files below this text, there are no files that are not in a file category.
 
If there are no files below this text, there are no files that are not in a file category.
  
{{#ask: [[File:+]] [[Modification date::+]]
+
{{#ask: [[File:+]] [[Modification date::>10 December 2022 01:53:28]]
  | limit = 500 | template = File category check | link = none | searchlabel =
+
  | limit = 500 | format = template | template = File category check | link = none
 
  | named args = yes
 
  | named args = yes
 
  | ? = file
 
  | ? = file
  | sort = Category, Modification date | order = ascending
+
| ?Modification date = Date
 +
  | sort = Modification date
 
  | offset = 0
 
  | offset = 0
 
}}
 
}}
  
{{#ask: [[File:+]] [[Modification date::+]]
+
The last checked file has a ''Modification date'' of: {{#var:date}}
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 500
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 1000
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 1500
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 2000
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 2500
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 3000
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 3500
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 4000
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 4500
 
}}
 
 
 
{{#ask: [[File:+]] [[Modification date::+]]
 
| limit = 500 | template = File category check | link = none | searchlabel =
 
| named args = yes
 
| ? = file
 
| sort = Category, Modification date | order = ascending
 
| offset = 5000
 
}}
 
  
 
<includeonly>[[Category:Wiki maintenance]] [[Category:Templates]]</includeonly>
 
<includeonly>[[Category:Wiki maintenance]] [[Category:Templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 12:24, 11 December 2022

Explanation

Files should always be in at least one of Category:Images, Category:Videos or Category:Sounds. Usually Special:UncategorizedFiles should be sufficient to detect them but templates like Template:Biotech add the files to other kinds of categories. To files that are categorized but lack a file category an inline query isn't enough, but can be done in combination with this template.

Code

The following can be used to systematically scan all files in badges of 500 (upper limit):

{{#ask: [[File:+]] [[Modification date::>10 December 2022 01:53:28]]
 | limit = 500 | format = template | template = File category check | link = none
 | named args = yes
 | ? = file
 | ?Modification date = Date
 | sort = Modification date
 | offset = 0
}}

The last checked file has a ''Modification date'' of: {{#var:date}}


Output

If there are no files below this text, there are no files that are not in a file category.

ChooseScenario.png Merge-arrows.png Ambox move.png Information.png Orbital trade beacon range.png Gene PoorShooting.png Gene PoorPlants.png Gene PoorCooking.png Gene PoorMining.png Gene PoorConstruction.png Gene AwfulAnimals.png Gene AwfulArtistic.png Gene AwfulConstruction.png Gene AwfulCooking.png Gene AwfulCrafting.png Gene AwfulIntellectual.png Gene AwfulMedical.png Gene AwfulMelee.png Gene AwfulMining.png Gene StrongSocial.png Gene AwfulPlants.png Gene AwfulShooting.png Gene AwfulSocial.png Gene GreatAnimals.png Gene GreatArtistic.png Gene GreatConstruction.png Gene GreatCooking.png Gene GreatCrafting.png Gene GreatIntellectual.png Gene GreatMelee.png Gene GreatMedical.png Gene GreatMining.png Gene GreatPlants.png Gene GreatShooting.png Gene GreatSocial.png Gene PoorAnimals.png Gene PoorArtistic.png Gene PoorCrafting.png Gene PoorIntellectual.png Gene PoorMelee.png Gene PoorMedical.png Gene PoorSocial.png Gene StrongCooking.png Gene StrongIntellectual.png Gene StrongMedical.png Gene StrongMelee.png Gene StrongMining.png Gene StrongPlants.png Gene StrongShooting.png Gene StrongAnimals.png Gene StrongArtistic.png Gene StrongConstruction.png Gene StrongCrafting.png Drop Pod Mechanoid.png Template-info.png HeavyPersonalShield.png Mod by-nc-sa.png Modal Cleanup Icon.png Modal Delete Icon.png Modal Protect Icon.png Modal Move Icon.png Modal Edit Icons.png Modal Warning Icon.png Modal Info Icon.png Wind exclusion.png TreeGrayPineA.png IED tox trap.png Tox shell.png Killzone.png Blood torch.png Blood torch unlit.png Monkey.png Monkey east old.png Monkey north old.png Monkey south old.png Shelf trick.png Shelf linking.png Beam 8 caskets.png Ship 24 caskets.png Ship minimum.png Agrihand theoretical.png Jade knife.png DuckMale east.png CentipedeBurner north.png CentipedeBurner south.png SheepFemale east.png Watermill-defense.png Animal Bison side.png Small sculpture.png Allow everything.png Simple priorities.png Ruins construct.png Base stockpile simple.png Growing 5by5.png Cooking bill.png Freezer quickstart.png Superstructure fences.png Centipede gunner miniguns.png Trap choke 14.jpg Quickstart combat 1.png Quickstart combat 2.png Quickstart combat 3.png Quickstart final.png Basics team skills.png Basics fertility overlay.png AncientTerminal east.png Quickstart final 2.png Maximum Multianalyser distance.png Basics colonist example.png Basics colonist pyro.png Basics colonist health.png Basics stockpile hauling.png Storyteller Basics.jpg Create World Basics.jpg Landing Site Basics.jpg Infestation insectorids rushed 100 plus tiles after triggering old deadfall trap.png Fertility overlay menu.png Basics landing site.png PSA INFESTATIONS 2.PNG Work bill duster.png Work bill meals 1.png Sleeping spot.png ShelfSmall south.png BabyFood a.png BabyFood b.png Basics starter location.png Ancient exostrider wreckage complete.png Ripthorn b.png Ripthorn c.png Ripthorn leafless a.png Witchwood c.png Rat palm b.png Witchwood b.png Rat palm c.png Rat palm a.png Witchwood a.png GraygrassA.png Cat east.png GraygrassB.png GraygrassC.png GraygrassLeaflessA.png TreeGrayPineB.png TreeGrayPineC.png Pine tree polluted.png Gauranlen tree.png Stump chopped gauranlen.png Stump smashed gauranlen.png ToolCabinetRange.png Advanced lights color picker.png LMGAccuracyNoTrait.png LMGDPSNoTrait.png LMGAccuracyCarefulShooter.png LMGDPSCarefulShooter.png LMGAccuracyTriggerHappy.png LMGDPSTriggerHappy.png WoodWorkChart.png BabyFood c.png Cobra east.png  Zipangu 01.jpeg Zipangu 00.jpg Zipangu.png Frag grenade range.png Grenades corridor.png Grenades melee block.png Kiting 2.png Kiting 1.png Ancient danger fire.png Ancient danger fire2.png Ancient danger traps.png Ancient danger prisoner.png Scyther1557.png Megascarab old.png NanoShotgun.png RoboticsWorkbench.png CraftsmanWorkbench.png Basics base1.png Basics building search.png Ex.png Check.png AreaLanding.png AreaDump.png Splosion Radius.png Wikieditor syntaxhighlight button.png Turret explosion (alpha8).png Turret explosion radius.jpg FertilizerPump.png DoorSimple.png Door MenuIcon.png Modules.png WoodWorkChart8Plants.png Apparello2.png Orassans1.png Rimworld textiles.jpg Pen animal flap.png Hydroponics sunlamp comp.png Nutrient paste hoppers.png Door Blueprint.png Basics melee ambush.png Killbox progression5.png Killbox progression4.png Killbox progression2.png Killbox progression1.png Killbox progression3.png Killbox progression6.png Basics melee ambush2.png Basics melee ambush3.png Basics cover1.png Basics cover2.png Basics cover0.png Deepdrill radius.png Turret range comparison.png Friendly fire radii2.png Basics cooking1.png Basics cooking2.png Basics cooking3.png Cocoa tree immature.png Corn plant a.png Cotton plant a.png Devilstrand mushroom a.png Hop plant mirrored.png Dandelion c.png Dandelion b.png Dandelion a.png Daylily a.png Agarilux a.png Agave a.png Alocasia a.png Astragalus a.png Bush a.png Clivia a.png Glowstool a.png Glowstool b.png Grass a.png Grass leafless.png Moss a.png Anima grass b.png Anima grass c.png Anima grass a.png Bamboo tree.png Bamboo tree leafless.png Birch tree leafless.png Birch tree.png Cecropia tree leafless.png Stump chopped b.png Stump chopped a.png Stump smashed b.png Stump smashed a.png Stump chopped anima a.png Stump chopped anima b.png Stump smashed anima a.png Stump smashed anima b.png Tree maple a.png Tree oak b.png Pine tree.png Poplar tree leafless.png Teak tree b.png Teak tree a.png Willow tree a.png Willow tree b.png Willow tree leafless b.png Willow tree leafless a.png Anima tree b.png Anima tree c.png Anima tree d.png Anima tree e.png Anima tree a.png Timbershroom.png TimbershroomB.png TimbershroomC.png Willow tree a old.png Willow tree b old.png Glowstool a old.png Pebble Cactus a.png Glowstool b old.png Growing vegetarian fine.png Yorkshireterrier east.png Ambrosia a.png Totemic dining chair south.png Totemic dining chair east.png Totemic dining chair north.png Dining chair variants.png Dining chair old.png Dining chair old 2.png Console.png Rewrite.png Trader outlander.png Grenadier smoke outlander.png Bay12 icon.png RimPy Slav Shiv Look v1.0.0.1.png Background ship biotech 1.png Drill-defense.png Fermenting progress.png Rocketswarm blast.png SimpleGreenhouse.png Polux seed.png Minimum possible mortar radius.png Heavy Charge Blaster Old.png Big turrets partially benefit from cover.jpg GlowPodIllumination.png Ancient microwave.png Ancient ATM.png Ancient oven.png Ancient washing machine.png Ancient hydrant.png Ancient toilet.png Ancient dropship.png Ancient ruined APC.png Ancient dropship engine.png Ancient pipes A.png Ancient pipes B.png Ancient pipes C.png Ancient truck east.png Ancient truck north.png Ancient truck south.png DryadSphereBack.png Ancient troop carrier.png Ancient troop carrier south.png Ancient troop carrier north.png Ancient comms console.png Ancient container east.png Ancient container south.png Ancient car B east.png Ancient car B north.png Ancient car B south.png Ancient car C east.png Ancient car C north.png Ancient car C south.png Ancient car D south.png Ancient car D north.png Ancient car D east.png Ancient car E east.png Ancient car E north.png Ancient car E south.png Rough hewn stone.png Rough stone.png Burned carpet.png Burned straw matting.png Burned wood floor.png Incendiary mortar hit.png Monkeynorth.png Monkeywest.png Monkeysouth.png Impid.png.jpg CustomTrait.png Empty item.png Polar bear east.png Polar bear north.png Polar bear south.png Blasting Charge.png Circle frame.svg Hemogen Gizmo.png Colonists can access Simple research bench outside build zone (indicated with plan) in RimWorld 1.3.3389.jpg Shared chair between Chess table and Simple research bench in RimWorld 1.3.3389.jpg Pyromaniac has incendiary weapon.png 600px-Nuvola apps important.svg.png Ambox protection.png Ambox deletion.png Buildingmats.png ExampleWeapon Machete.png ExampleMeleeWeapon.png ExampleWeapon Machete m.png Fire Spread RimWorld 1.4.png Most efficient ship.jpg ExamplePlant RawTheragold.png ExamplePlant ImmatureTheragold.png ExamplePlant Theragold.png ExamplePlant.png Example SawBlade.png  Example SawLauncher.png ExampleRangedWeapon.png  Psychic Harmonizer Defense.png Tynan, Game dev (dead).png Nutrient paste dispenser no hopper message (1).jpg Nutrient paste dispenser in prison cell.jpg Wooden Throne for Emperor.jpg NPD-Royalty.png StumpChoppedA (cropped).png ManInBlack.png Background ship royalty 2.png Background ship biotech 3.png Background ship biotech 2.png Rimworld V1.4 blight crop jump Gif.gif Skin Melanin9.png Skin Melanin8.png Skin Melanin1.png Skin Melanin7.png Skin Melanin6.png Skin Melanin4.png Skin Melanin3.png Skin Melanin2.png Skin Melanin5.png Twitter.png EquipmentRack.png Grave full old.png Comms console old.png Comms console south.png Neutroamine old.png Pod launcher with fuel bar.png Tool cabinet south.png Vitals monitor old.png Chess table.png Cooler north.png Penitent2056.png Archer1557.png Breacher tribal.png Warrior1557.png Hunter1722.png Trader tribal.png Berserker1722.png Tribals layout preview.png Dresser south.png Yttakin layout.png Empire Janissary.png Empire Bestower.png Empire Stellarch.png Empire Cataphract.png Empire Trader.png Empire Yeoman.png Empire Champion.png Hair Purple.png Hair Pink.png Hair Green.png Hair Teal.png Hair Blue.png Hair Red.png Hair MidBlack.png Hair DarkBlack.png Hair SnowWhite.png Hair Grey.png Hair InkBlack.png Hair DarkBrown.png Hair Brown.png Hair ReddishBrown.png Hair Orange.png Hair SandyBlonde.png Hair Blonde.png Hair DarkReddish.png Empire Trooper.png Horse north.png Horse south.png Horse pack east.png Horse pack north.png Horse pack south.png Horse east.png Dessicated horse east.png Guinea pig 2 east.png Guinea pig 1 east.png Guinea pig 3 east.png Dessicated guinea pig east.png Guinea pig 1 north.png Guinea pig 1 south.png Guinea pig 2 north.png Guinea pig 2 south.png Guinea pig 3 north.png Guinea pig 3 south.png Muffalo south.png Muffalo north.png Muffalo pack east.png Muffalo pack north.png Muffalo east.png Megasloth east.png Yak female east.png Yak male east.png Yak female north.png Yak female south.png Yak male north.png Yak male south.png Dessicated yak female east.png Dessicated yak male east.png Beard anchor east.png Beard anchor south.png Beard balin east.png Beard balin south.png Beard bifur east.png Beard bifur south.png Beard boxed east.png Beard boxed south.png Beard circle east.png Beard circle south.png Beard curly east.png Beard curly south.png Beard curtain east.png Beard curtain south.png Beard dori east.png Beard dori south.png Beard ducktail east.png Beard ducktail south.png Beard dwalin east.png Beard dwalin south.png Beard fork east.png Beard fork south.png Beard french east.png Beard french south.png Beard full east.png Beard full south.png Beard goatee east.png Beard goatee south.png ... further results

The last checked file has a Modification date of: 1 October 2023 11:56:26