Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Credit sequence/Credits: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 3,659: Line 3,659:


[[Minecraft:pt:Sequência de créditos/Créditos]]  
[[Minecraft:pt:Sequência de créditos/Créditos]]  
[[Minecraft:uk:Титри/Титри]]
[[Minecraft:zh:胜利屏幕/鸣谢名单]]
[[Minecraft:zh:胜利屏幕/鸣谢名单]]
</noinclude>
</noinclude>

Latest revision as of 11:22, 8 August 2026

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)
  1. api-result.json saved from
  2. 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>

Template:Collapse

Minecraft:pt:Sequência de créditos/Créditos Minecraft:uk:Титри/Титри Minecraft:zh:胜利屏幕/鸣谢名单