Template:Golf course infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:280px;background:{{{bg|ghostwhite}}};border-color:{{{border|#88a}}}"
<templatestyles src="Golf course infobox/styles.css"/>
! colspan="2" style="font-size:125%;background:{{{titlebg|lightgreen}}}" | {{{title|{{PAGETITLE}}}}}
{| id="golf-course" class="infobox" style="width:280px"
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
| colspan="2" style="text-align:center" | {{{image|}}}{{#if:{{{area|}}}|&nbsp;
| colspan="2" style="text-align:center" | {{{image|}}}
{{!-}}
|-
{{#if:{{{location|}}}|
{{!}} '''Location'''
{{!}} '''Location'''
{{!}} {{{area|}}}
{{!}} {{{location}}}
|}} {{#if:{{{unlock|}}}|&nbsp;
}}
{{!-}} style="background:lightgreen"
|-
{{#if:{{{unlock|}}}|
{{!}} '''How to unlock'''
{{!}} '''How to unlock'''
{{!}} {{{unlock}}}
{{!}} {{{unlock}}}
|}} {{#if:{{{holes|}}}|&nbsp;
}}
{{!-}} style="background:#00C5CD"
|-
{{!-}}
{{#if:{{{holes|}}}|
{{!}} '''Number of holes'''
{{!}} '''Number of holes'''
{{!}} {{{holes}}}
{{!}} {{{holes}}}
|}} {{#if:{{{par|}}}|&nbsp;
}}
{{!-}} style="background:lightgreen"
|-
{{#if:{{{par|}}}|
{{!}} '''Par'''
{{!}} '''Par'''
{{!}} {{{par}}}
{{!}} {{{par}}}
|}} {{#if:{{{appearance|}}}|&nbsp;
}}
{{!-}} style="width:17em"
|-
{{!-}}
{{#if:{{{appears_in|}}}|
{{!}} '''Appearance(s)'''
{{!}} '''Appears in'''
{{!}} {{{appearance}}}
{{!}} {{{appears_in}}}
|}} {{#if:{{{tournament|}}}|&nbsp;
}}
{{!-}} style="background:lightgreen"
|-
{{#if:{{{tournament|}}}|
{{!}} '''Tournament'''
{{!}} '''Tournament'''
{{!}} {{{tournament}}}
{{!}} {{{tournament}}}
|}} {{#if:{{{scorecard|}}}|&nbsp;
}}
{{!-}} style="background:lightgreen"
|-
{{#if:{{{scorecard|}}}|
{{!}} '''Scorecard'''
{{!}} '''Scorecard'''
{{!}} {{{scorecard}}}
{{!}} {{{scorecard}}}
|}}
}}
|}<noinclude>
|}<noinclude>
==Usage==
==Usage==
Line 39: Line 45:
|title=
|title=
|image=
|image=
|area=
|location=
|unlock=
|unlock=
|holes=
|holes=
|par=
|par=
|appearance=
|appears_in=
|tournament=
|tournament=
|scorecard=
|scorecard=

Latest revision as of 12:50, June 6, 2024

Golf course infobox

Usage

{{golf course infobox
|title=
|image=
|location=
|unlock=
|holes=
|par=
|appears_in=
|tournament=
|scorecard=
}}