Template:Inn: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
See [[Template:Inn/doc]] for documentation on this template.<br/>
See [[Template:Inn/doc]] for documentation on this template.<br/>
Below is a sample of this template:
Below is a sample of this template:
{{Inn|header=true}}
{{Inn|header}}
{{Inn|entry=true|price=4g per person|game=[[Dragon Warrior II]]|console=NES}}
{{Inn|entry=true|price=4g per person|game=[[Dragon Warrior II]]|console=NES}}
{{Inn|entry=true|price=10g|game=[[Dragon Warrior III]]|console=GBC}}
{{Inn|entry=true|price=10g|game=[[Dragon Warrior III]]|console=GBC}}
Line 10: Line 10:
<onlyinclude><includeonly>
<onlyinclude><includeonly>
<!-- if header variable is passed, print the table header -->
<!-- if header variable is passed, print the table header -->
{{ #ifeq: {{{header|+}}} | {{{header|-}}} |   
{{ #ifeq: {{{1}}} | header |   
{{{!}} cellpadding="0" cellspacing="0" class="locationTemplateTable" style="{{#if: {{{float{{!}}}}} {{!}} float:{{{float}}}; clear:{{{float}}}; {{!}} float:left; clear:left; }};"
{{{!}} cellpadding="0" cellspacing="0" class="locationTemplateTable" style="{{#if: {{{float{{!}}}}} {{!}} float:{{{float}}}; clear:{{{float}}}; {{!}} float:left; clear:left; }};"
{{!}}-  
{{!}}-  

Revision as of 13:17, 18 February 2010

See Template:Inn/doc for documentation on this template.
Below is a sample of this template:

Price Game Console



4g per person Dragon Warrior II NES



10g Dragon Warrior III GBC