Template:LocationAttr/doc: Difference between revisions

No 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>{{LocationAttr|header|float=right}}</pre>
<pre>{{LocationAttr|header}}</pre>
*header: A required parameter which marks this as the start of an teleportal table.
*header: A required parameter which marks this as the start of an teleportal 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 location attribute table is represented by a single template call. There are 3 specialty entry types along with the generic entry type.
Each entry in the location attribute table is represented by a single template call. There are 3 specialty entry types along with the generic entry type.