Template:Level2: Difference between revisions

Jump to navigation Jump to search
No edit summary
m (Changed Other Characters to Other Character(s))
 
(29 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|}}}
| song = American Boy (Beat Juggle)
  | captionstyle = font-style: italic; margin-top: 0.5rem;
  | image=File:Americanboy.png
  | headerstyle  = background:#ccf; margin-top: 0.5rem;
  | prequote="What's going on? I feel like I've been here before..."
| label10      = Level No.
}}
| data10        = {{{levelno|}}}
</noinclude>
| label20      = BPM
 
| data20        = {{{bpm|}}}
{{Infobox
| label30      = Patient(s)
| above = {{{song}}}
| data30        = {{{patients|}}}
  | abovestyle = background:#cfc;
| label31      = Other Character(s)
  | image = [[{{{image}}}|center|frameless|alt=Screenshot of the level {{{song}}}]]
| data31        = {{{othercharacters|}}}
  | caption = {{{prequote}}}
| header40      = {{#if: {{{preclear|}}} | Pager | }}
  | captionstyle = font-style: italic; margin-top: 0.5rem;
| label41      = Pre-clear
  | header = (the rest of the infobox goes here)
| 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