Template:Level2: Difference between revisions

Jump to navigation Jump to search
No edit summary
m (Changed Other Characters to Other Character(s))
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{Infobox
This is the template for v2 of the level box. It's not ready yet. We will work to transition levels over to it once it is ready.
| bodystyle    = width:20rem;
 
| above        = {{{song|{{PAGENAME}}}}}
V1 level box uses a lot of custom CSS. I just recently found Miraheze's template library, so for v2 I want to leverage that instead.
| abovestyle    = background:#cfc;
 
| image        = {{#if: {{{image|}}} | [[{{{image|}}}|center|frameless|alt=Screenshot of the level {{{song|{{PAGENAME}}}}}]] | }}
{{Level2
| caption      = {{{prequote|}}}
  | title = Keeping it Straight
| captionstyle  = font-style: italic; margin-top: 0.5rem;
}}
| headerstyle  = background:#ccf; margin-top: 0.5rem;
</noinclude>
| label10      = Level No.
 
| data10        = {{{levelno|}}}
{{Infobox
| label20      = BPM
  | title = {{{title}}}
| data20        = {{{bpm|}}}
  | header = (the rest of the infobox goes here)
| label30      = Patient(s)
}}
| data30        = {{{patients|}}}
| label31      = Other Character(s)
| data31        = {{{othercharacters|}}}
| header40      = {{#if: {{{preclear|}}} | Pager | }}
| label41      = Pre-clear
| data41        = {{{preclear|}}}
| label42      = Post-clear
| data42        = {{{postclear|}}}
| header50      = Ranks
| label51      = S {{#if: {{{smiss|}}} | ({{{smiss}}}) | }}
| data51        = {{{sdesc|}}}
| label52      = A  {{#if: {{{amiss|}}} | ({{{amiss}}}) | }}
| data52        = {{{adesc|}}}
| label53      = B  {{#if: {{{bmiss|}}} | ({{{bmiss}}}) | }}
  | data53        = {{{bdesc|}}}
| label54      = C  {{#if: {{{cmiss|}}} | ({{{cmiss}}}) | }}
| data54        = {{{cdesc|}}}
| label55      = D  {{#if: {{{dmiss|}}} | ({{{dmiss}}}) | }}
| data55        = {{{ddesc|}}}
| label56      = F  {{#if: {{{fmiss|}}} | ({{{fmiss}}}) | }}
  | data56        = {{{fdesc|}}}
  | label57      = Pass {{#if: {{{passmiss|}}} | ({{{passmiss}}}) | }}
| data57        = {{{passdesc|}}}
| header60      = {{{act|}}}
| data61        = {{#if: {{{act|}}} | {{ActNavigation
|levelprevno={{{levelprevno|}}}
|levelprev={{{levelprev|}}}
|levelnextno={{{levelnextno|}}}
|levelnext={{{levelnext|}}}
|counterpart={{{counterpart|}}}
|counterpartno={{{counterpartno|}}}
}} | }}
| header70      = {{{act2|}}}
| data71        = {{#if: {{{act2|}}} | {{ActNavigation
|levelprevno={{{levelprevno2|}}}
|levelprev={{{levelprev2|}}}
|levelnextno={{{levelnextno2|}}}
|levelnext={{{levelnext2|}}}
|counterpart={{{counterpart2|}}}
|counterpartno={{{counterpartno2|}}}
}} | }}
| data80        = {{#if: {{{postquote|}}} | ''{{{postquote}}}'' | }}
}}<nowiki/></includeonly>
<noinclude>{{documentation}}</noinclude>

Latest revision as of 20:50, 31 January 2023