Template:Golf course infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Porplemontage moved page Template:Golf course to Template:Golf course infobox)
mNo edit summary
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:280px;background:{{{bg|ghostwhite}}};border:1px solid {{{border|#88a}}}"
<templatestyles src="Golf course infobox/styles.css"/>
| align="center" colspan="2" bgcolor="{{{titlebg|lightgreen}}}" style="font-size:125%" | '''{{{title|{{PAGENAME}}}}}'''
{| id="golf-course" class="infobox" style="width:280px"
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
|align="center" colspan="2" | {{{image|}}}{{#if:{{{area|}}}|&nbsp;
| colspan="2" style="text-align:center" | {{{image|}}}
{{!-}}
|-
{{!}}'''Location'''
{{#if:{{{location|}}}|
{{!}} {{{area|}}}
{{!}} '''Location'''
|}}{{#if:{{{unlock|}}}|&nbsp;
{{!}} {{{location}}}
{{!-}} 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}}}
|}}{{#if:{{{golf course|}}}|&nbsp;
}}
{{!}} style=background:#E0FFFF
<span style="font-size:97%">[[:Category:Levels|Directory of levels]]</span>
|}}
|}<noinclude>
|}<noinclude>
==Usage==
==Usage==
<pre>
<pre>
{{golf course
{{golf course infobox
|title=
|image=
|image=
|area=
|location=
|unlock=
|unlock=
|holes=
|holes=
|par=
|par=
|appearance=
|appears_in=
|tournament=
|tournament=
|scorecard=
|scorecard=
|}}</pre>
}}
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

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