Template:Infobox level: Difference between revisions

Template page
m (Fixing table layout)
m (Fixing table layout)
Line 14: Line 14:
}}
}}
{{#if:{{{unlocks-level1|}}}{{{unlocks-component1|}}}{{{unlocks-page1|}}}{{{unlocks-feature1|}}}{{{unlock-notes|}}}|
{{#if:{{{unlocks-level1|}}}{{{unlocks-component1|}}}{{{unlocks-page1|}}}{{{unlocks-feature1|}}}{{{unlock-notes|}}}|
! rowspan="5" {{!}} Unlocks}}
! rowspan="{{#expr: {{#if:{{{unlocks-level1|}}}|1|0}} + {{#if:{{{unlocks-component1|}}}|1|0}} + {{#if:{{{unlocks-page1|}}}|1|0}} + {{#if:{{{unlocks-feature1|}}}|1|0}} + {{#if:{{{unlock-notes|}}}|1|0}} }}" {{!}} Unlocks
{{#if:{{{unlocks-level1|}}}|
{{#if:{{{unlocks-level1|}}}|
{{!}} {{Level|{{{unlocks-level1}}}}} {{#if:{{{unlocks-level2|}}}|<br />{{Level|{{{unlocks-level2}}}}}}} {{#if:{{{unlocks-level3|}}}|<br />{{Level|{{{unlocks-level3}}}}}}}
{{!}} {{Level|{{{unlocks-level1}}}}} {{#if:{{{unlocks-level2|}}}|<br />{{Level|{{{unlocks-level2}}}}}}} {{#if:{{{unlocks-level3|}}}|<br />{{Level|{{{unlocks-level3}}}}}}}
Line 34: Line 34:
{{!}} {{{unlock-notes}}}
{{!}} {{{unlock-notes}}}
{{!}}-
{{!}}-
}}
}} }}
! Scored
! Scored
|{{{scored|No}}}
|{{{scored|No}}}
Line 46: Line 46:
| {{{api-enum-id}}}&nbsp;({{{api-enum-number}}})
| {{{api-enum-id}}}&nbsp;({{{api-enum-number}}})
|-
|-
|}[[Category:level]]<noinclude>
|}<includeonly>[[Category:level]]</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 11:48, 16 November 2023

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

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


Usage

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

Skeleton

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