Minecraft:Credit sequence/Credits
From SAS Gaming Wiki
More actions
(Redirected from Minecraft:Credit Sequence/Credits)
This template was generated by the following Python code, assuming credits.json is the Java or Bedrock credits file and api-result.json from this query are located in the current directory.
Known names are taken from [[Minecraft::Special:WhatLinksHere/Template:Infobox person]].
<syntaxhighlight lang="python" copy=""> import json
TEMPLATE_START = "{{:Credit_sequence/Credits/Part" known_names = ["4J Studios"] credits = []
with open("credits.json", encoding="utf-8") as f:
credits = json.load(f)
- api-result.json saved from
- https://minecraft.wiki/api.php?action=query&prop=transcludedin&pageids=5530&tinamespace=0&tilimit=500&format=json
with open("api-result.json", encoding="utf-8") as f:
known_names.extend(i["title"] for i in json.load(f)["query"]["pages"]["5530"]["transcludedin"])
with open("credits.mediawiki", "w", encoding="utf-8") as f:
f.write("Template:Collapse}\n")
f.write(" }}\n")
f.write(" }}\n")
f.write("}}\n")
f.write("}}\n")
f.write("}}\n")
</syntaxhighlight>
Minecraft:pt:Sequência de créditos/Créditos Minecraft:zh:胜利屏幕/鸣谢名单