Difference between revisions of "Template:ItemLocations"

From Hackerspace ACKspace
Jump to: navigation, search
(create template for listing items on a given location)
 
m (updated parameter name: thing something's going wrong..)
Line 7: Line 7:
 
<pre>
 
<pre>
 
{{ItemLocations
 
{{ItemLocations
|Location=
+
|ItemLocation=
 
}}
 
}}
 
</pre>
 
</pre>
the "Location" parameter needs to refer to the page so like "Location=stACKspace".
+
the "Location" parameter needs to refer to the page so like "ItemLocation=stACKspace".
 
</noinclude>
 
</noinclude>
 
<onlyinclude>
 
<onlyinclude>
 
{{#ask:
 
{{#ask:
[[Location::{{{Location|{{PAGENAME}} }}}]]
+
[[Location::{{{ItemLocation|{{PAGENAME}} }}}]]
 
|?#-
 
|?#-
 
|?NickName#-
 
|?NickName#-

Revision as of 09:55, 12 October 2016

This is the "ItemLocations" template for use on items. All parameters are optional. It should be called in the following format:

{{ItemLocations}}

or when not on a Location page

{{ItemLocations
|ItemLocation=
}}

the "Location" parameter needs to refer to the page so like "ItemLocation=stACKspace".