Template:Level2: Difference between revisions

Jump to navigation Jump to search
(Created page with "<noinclude> 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. 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. </noinclude> {{Infobox | name = {{subst:PAGENAME}} | title = Text in caption over infobox | subheader = Subheader of the infobox | header = (the rest of the infobox goes here) }}")
 
m (Changed Other Characters to Other Character(s))
 
(32 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;
</noinclude>
| image        = {{#if: {{{image|}}} | [[{{{image|}}}|center|frameless|alt=Screenshot of the level {{{song|{{PAGENAME}}}}}]] | }}
 
| caption      = {{{prequote|}}}
{{Infobox
| captionstyle  = font-style: italic; margin-top: 0.5rem;
  | name = Level2
| headerstyle  = background:#ccf; margin-top: 0.5rem;
  | title     = Text in caption over infobox
| label10      = Level No.
  | subheader = Subheader of the infobox
| data10        = {{{levelno|}}}
  | header = (the rest of the infobox goes here)
| label20      = BPM
}}
| data20        = {{{bpm|}}}
| 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