Template:Infobox level/doc: Difference between revisions

Template page
(Initial draft)
 
(Added unlocks-page2, as XOR Gate unlocks 2 manual pages)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
== Usage ==
== Usage ==
<pre>
<pre>
{{Infobox level
{{Infobox level
| section            =  
| section            = <!-- One of Basic Logic; Arithmetic; Memory; CPU Architecture; Programming; CPU Architecture 2; Functions; Assembly Challenges -->
| type                = <!-- One of component, architechture, other -->
| type                = <!-- One of Component; Architechture; Other -->
| architechture       = <!-- Optional: One of Overture; Leg -->
| prerequisite1      = <!-- Immediate prequesite level 1/3 -->
| prerequisite1      = <!-- Immediate prequesite level 1/3 -->
| prerequisite2      =  
| prerequisite2      =  
| prerequisite3      =  
| prerequisite3      =  
| dependency1        = <!-- Which levels are opened on completion of this one 1/3 -->
| unlocks-level1      = <!-- Which levels are opened on completion of this one 1/3 -->
| dependency2        =  
| unlocks-level2      =  
| dependency3        =  
| unlocks-level3      =  
| unlocks1            = <!-- which components are unlocked by this level -->
| unlocks-component1  = <!-- Which components are unlocked by this level 1/5 -->
| unlocks2            =  
| unlocks-component2  =
| unlocks3            =  
| unlocks-component3  =
| unlocks4            =  
| unlocks-component4  =
| unlocks-component5  = <!-- If more than 5 components unlocked describe them in unlock-notes -->
| unlocks-page1      = <!-- Which manual pages unlocked 1/2 -->
| unlocks-page2      =
| unlocks-feature1    = <!-- Which feature is unlocked -->
| unlock-notes        = <!-- Additional text -->
| scored              = <!-- Either Yes or No, defaults to No -->
| highscore          = <!-- Best known Sum-score, no cheese, Optional -->
| api-enum-id        = <!-- Internal ID string, see [https://turingcomplete.game/player_projects] -->
| api-enum-number    = <!-- Internal ID number, see [https://turingcomplete.game/player_projects] -->
| nocategory          = Set to 1, or any value, to prevent the page from being included in the Level Category
}}
}}
</pre>
</pre>
Line 23: Line 31:
* {{tl|Infobox component}}
* {{tl|Infobox component}}


<includeonly>{{Sandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Infobox templates|Level]]
[[Category:Infobox templates|Level]]


Line 30: Line 36:
<pre>
<pre>
{{Infobox level
{{Infobox level
| section            =  
| section            = <!-- One of Basic Logic; Arithmetic; Memory; CPU Architecture; Programming; CPU Architecture 2; Functions; Assembly Challenges -->
| type                = <!-- One of component, architechture, other -->
| type                = <!-- One of Component; Architechture; Other -->
| architechture       = <!-- Optional: One of Overture; Leg -->
| prerequisite1      = <!-- Immediate prequesite level 1/3 -->
| prerequisite1      = <!-- Immediate prequesite level 1/3 -->
| prerequisite2      =  
| prerequisite2      =  
| prerequisite3      =  
| prerequisite3      =  
| dependency1        = <!-- Which levels are opened on completion of this one 1/3 -->
| unlocks-level1      = <!-- Which levels are opened on completion of this one 1/3 -->
| dependency2        =  
| unlocks-level2      =  
| dependency3        =  
| unlocks-level3      =  
| unlocks1            = <!-- which components are unlocked by this level -->
| unlocks-component1  = <!-- Which components are unlocked by this level 1/5 -->
| unlocks2            =  
| unlocks-component2  =
| unlocks3            =  
| unlocks-component3  =
| unlocks4            =  
| unlocks-component4  =
| unlocks-component5  = <!-- If more than 5 components unlocked describe them in unlock-notes -->
| unlocks-page1      = <!-- Which manual pages are unlocked 1/2 -->
| unlocks-page2      =
| unlocks-feature1    = <!-- Which feature is unlocked -->
| unlock-note        = <!-- Additional text -->
| scored              = <!-- Either Yes or No, defaults to No -->
| highscore          = <!-- Best known Sum-score, no cheese, Optional -->
| api-enum-id        = <!-- Internal ID string, see [https://turingcomplete.game/player_projects] -->
| api-enum-number    = <!-- Internal ID number, see [https://turingcomplete.game/player_projects] -->
| nocategory          = Set to 1, or any value, to prevent the page from being included in the Level Category
}}
}}
</pre>
</pre>
}}</includeonly>

Latest revision as of 07:25, 2 September 2024

Usage[edit source]

{{Infobox level
| section             = <!-- One of Basic Logic; Arithmetic; Memory; CPU Architecture; Programming; CPU Architecture 2; Functions; Assembly Challenges -->
| type                = <!-- One of Component; Architechture; Other -->
| architechture       = <!-- Optional: One of Overture; Leg -->
| prerequisite1       = <!-- Immediate prequesite level 1/3 -->
| prerequisite2       = 
| prerequisite3       = 
| unlocks-level1      = <!-- Which levels are opened on completion of this one 1/3 -->
| unlocks-level2      = 
| unlocks-level3      = 
| unlocks-component1  = <!-- Which components are unlocked by this level 1/5 -->
| unlocks-component2  = 
| unlocks-component3  = 
| unlocks-component4  = 
| unlocks-component5  = <!-- If more than 5 components unlocked describe them in unlock-notes -->
| unlocks-page1       = <!-- Which manual pages unlocked 1/2 -->
| unlocks-page2       = 
| unlocks-feature1    = <!-- Which feature is unlocked -->
| unlock-notes        = <!-- Additional text -->
| scored              = <!-- Either Yes or No, defaults to No -->
| highscore           = <!-- Best known Sum-score, no cheese, Optional -->
| api-enum-id         = <!-- Internal ID string, see [https://turingcomplete.game/player_projects] -->
| api-enum-number     = <!-- Internal ID number, see [https://turingcomplete.game/player_projects] -->
| nocategory          = Set to 1, or any value, to prevent the page from being included in the Level Category
}}

See also[edit source]

Skeleton[edit source]

{{Infobox level
| section             = <!-- One of Basic Logic; Arithmetic; Memory; CPU Architecture; Programming; CPU Architecture 2; Functions; Assembly Challenges -->
| type                = <!-- One of Component; Architechture; Other -->
| architechture       = <!-- Optional: One of Overture; Leg -->
| prerequisite1       = <!-- Immediate prequesite level 1/3 -->
| prerequisite2       = 
| prerequisite3       = 
| unlocks-level1      = <!-- Which levels are opened on completion of this one 1/3 -->
| unlocks-level2      = 
| unlocks-level3      = 
| unlocks-component1  = <!-- Which components are unlocked by this level 1/5 -->
| unlocks-component2  = 
| unlocks-component3  = 
| unlocks-component4  = 
| unlocks-component5  = <!-- If more than 5 components unlocked describe them in unlock-notes -->
| unlocks-page1       = <!-- Which manual pages are unlocked 1/2 -->
| unlocks-page2       = 
| unlocks-feature1    = <!-- Which feature is unlocked -->
| unlock-note         = <!-- Additional text -->
| scored              = <!-- Either Yes or No, defaults to No -->
| highscore           = <!-- Best known Sum-score, no cheese, Optional -->
| api-enum-id         = <!-- Internal ID string, see [https://turingcomplete.game/player_projects] -->
| api-enum-number     = <!-- Internal ID number, see [https://turingcomplete.game/player_projects] -->
| nocategory          = Set to 1, or any value, to prevent the page from being included in the Level Category
}}