Template:Inn/doc: Difference between revisions

mNo edit summary
No edit summary
Line 5: Line 5:
===Header===
===Header===
A header call to this template should be the first usage of this template on any page.
A header call to this template should be the first usage of this template on any page.
<pre>{{Inn|header|float=right}}</pre>
<pre>{{Inn|header}}</pre>
*header: A required parameter which marks this as the start of an inn table.
*header: A required parameter which marks this as the start of an inn table.
*float: The float parameter is optional.  It represents the CSS float style and should be 'left', 'right', or 'center'.  The default is ''left''.
===Entries===
===Entries===
Each entry in the Inn table is represented by a single template call.
Each entry in the Inn table is represented by a single template call.