Template:Infobox level: Difference between revisions

Template page
m (Prequesites and dependancies on each line)
(Added categories)
Line 1: Line 1:
{| {{prettytable|float=right}}
{| class="wikitable infobox" style="float:right;"
|+ {{{level|{{{Level|}}}}}}
|+ {{{level|{{{Level|}}}}}}
|-
|-
! Section || {{{section|}}}
! Section || {{{section|}}} {{#if:{{{section|}}}|[[Category:{{{section}}} level]]}}
|-
|-
! Type || {{{type|}}}
! Type || {{{type|}}} {{#if:{{{type|}}}|[[Category:{{{type}}} level]]}}
|-
|-
! {{#if:{{{prerequisite2|}}}|Prerequisites|Prerequisite}} || {{#if:{{{prerequisite1|}}}|{{Level|{{{prerequisite1}}}}}|None}} {{#if:{{{prerequisite2|}}}|<br />{{Level|{{{prerequisite2}}}}}}} {{#if:{{{prerequisite3|}}}|<br />{{Level|{{{prerequisite3}}}}}}}
! {{#if:{{{prerequisite2|}}}|Prerequisites|Prerequisite}} || {{#if:{{{prerequisite1|}}}|{{Level|{{{prerequisite1}}}}}|None}} {{#if:{{{prerequisite2|}}}|<br />{{Level|{{{prerequisite2}}}}}}} {{#if:{{{prerequisite3|}}}|<br />{{Level|{{{prerequisite3}}}}}}}
Line 11: Line 11:
{{#if:{{{unlocks1|}}}|{{!}}-
{{#if:{{{unlocks1|}}}|{{!}}-
! Unlocks {{!}}{{!}} {{Component|{{{unlocks1}}}}} {{#if:{{{unlocks2|}}}|<br />{{Component|{{{unlocks2}}}}}}} {{#if:{{{unlocks3|}}}|<br />{{Component|{{{unlocks3}}}}}}} {{#if:{{{unlocks4|}}}|<br />{{Component|{{{unlocks4}}}}}}}}}
! Unlocks {{!}}{{!}} {{Component|{{{unlocks1}}}}} {{#if:{{{unlocks2|}}}|<br />{{Component|{{{unlocks2}}}}}}} {{#if:{{{unlocks3|}}}|<br />{{Component|{{{unlocks3}}}}}}} {{#if:{{{unlocks4|}}}|<br />{{Component|{{{unlocks4}}}}}}}}}
|}<noinclude>
|}[[Category:level]]<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 02:29, 3 November 2023

Section
Type
Prerequisite None


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