Template:Inn: Difference between revisions

mNo edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
See [[Template:Inn/doc]] for documentation on this template.<br/>
{{{{PAGENAME}}/doc}}
Below is a sample of this template:
[[Category:Location templates|{{PAGENAME}}]]
{{Inn|header}}
{{Inn|entry|price=4g per person|game=[[Dragon Warrior II]]|console=NES}}
{{Inn|entry|price=10g|game=[[Dragon Warrior III]]|console=GBC}}
{{Inn|footer}}
[[Category:Location templates|Inn]]
</noinclude>
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{{ #switch: {{{1}}}
{| cellpadding="5" cellspacing="0" class="locationTemplateTable"  
| header = {{{!}} cellpadding="5" cellspacing="0" class="locationTemplateTable" style="border:1px solid black; {{#if: {{{float|}}} | float:{{{float}}}; clear:{{{float}}}; | float:left; clear:left; }};"
! class="locationTemplateHeader" | {{{game}}} ({{{console}}})
{{!}}-
|-
{{!}} class="locationTemplateHeader" {{!}} Price  
| class="locationTemplateSubheader" | '''Price'''
{{!}} class="locationTemplateHeader" {{!}} Game
|-
{{!}} class="locationTemplateHeader" {{!}} Console
| class="locationTemplateCell" | {{{price}}}
{{!}}-  
|-  
| entry = {{!}}- style="text-align: center;"
{{#if: {{{text|}}} | {{!}} class="locationTemplateCell" {{!}} '''Note:'''&nbsp;{{{text}}} }}
{{!}} {{{price}}}  
|}
{{!}} {{{game}}}
{{!}} {{{console}}}
{{!}}-
| footer = {{!}}} }}
</includeonly></onlyinclude>
</includeonly></onlyinclude>