Template:Infobox level: Difference between revisions

Template page
(Added truthtable styles)
(Added unlocks-page2, as XOR Gate unlocks 2 manual pages)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
|-
|-
! Section
! Section
| {{{section|}}} {{#if:{{{section|}}}|[[Category:{{{section}}} level]]}}
| {{{section|}}} {{#if:{{{section|}}}|{{#if:{{{nocategory|}}}||[[Category:{{{section}}} level]]}}}}
|-
|-
! Type
! Type
| {{#if:{{{architechture|}}}|{{{architechture}}} [[Category:{{{architechture}}} level]]   }}{{{type|}}} {{#if:{{{type|}}}|[[Category:{{{type}}} level]]}}
| {{#if:{{{architechture|}}}|{{{architechture}}} {{#if:{{{nocategory|}}}||[[Category:{{{architechture}}} level]]}}   }}{{{type|}}} {{#if:{{{type|}}}|{{#if:{{{nocategory|}}}||[[Category:{{{type}}} level]]}}}}
{{ifnotempty|{{{prerequisite1|}}}|{{!}}-
{{ifnotempty|{{{prerequisite1|}}}|{{!}}-
! {{#if:{{{prerequisite2|}}}|Prerequisites|Prerequisite}}  
! {{#if:{{{prerequisite2|}}}|Prerequisites|Prerequisite}}  
Line 22: Line 22:
{{!}}-
{{!}}-
|}}{{ifnotempty|{{{unlocks-page1|}}}
|}}{{ifnotempty|{{{unlocks-page1|}}}
|{{!}} {{Page|{{{unlocks-page1}}}}}
|{{!}} {{Page|{{{unlocks-page1}}}}} {{#if:{{{unlocks-page2|}}}|<br />{{Page|{{{unlocks-page2}}}}}}}
{{!}}-
{{!}}-
|}}{{ifnotempty|{{{unlocks-feature1|}}}
|}}{{ifnotempty|{{{unlocks-feature1|}}}
Line 28: Line 28:
{{!}}-
{{!}}-
|}}{{ifnotempty|{{{unlock-notes|}}}
|}}{{ifnotempty|{{{unlock-notes|}}}
|{{!}} {{{unlock-notes}}}
|{{!}}colspan{{=}}"2"{{!}} {{{unlock-notes}}}
{{!}}-
{{!}}-
|}}
|}}
Line 43: Line 43:
|-
|-
|}
|}
<includeonly>[[Category:level]]</includeonly><noinclude>
<includeonly>{{#if:{{{nocategory|}}}||[[Category:level]]}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 07:23, 2 September 2024

Section
Type
Scored No
API {{{api-enum-id}}} ({{{api-enum-number}}})

This page has been transcluded from Template:Infobox level/Documentation.


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
}}