Difference between revisions of "Template:Business"

From Fate's Harvest
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
  
Stuff for the business template.
+
Stuff for the business template. This populates [[Businesses]] and also some other stuff!
 
+
  
 
<pre>
 
<pre>
Line 8: Line 7:
 
| use-infobox=Yes/No
 
| use-infobox=Yes/No
 
| biz-page-name=The name of the page this template is on
 
| biz-page-name=The name of the page this template is on
| icon=
+
| icon=A square icon that will show on the Businesses page
 
| main-picture=
 
| main-picture=
| owned-by= Name
+
| owned-by=Owner's Name (links to wiki page)
| loc-name=
+
| loc-name=The name of the Grid Square (or something like it)
| loc-grid-square=
+
| loc-grid-square=This links to the Grid Square page
| hedge=
+
| hedge=Yes/No
| business-type=
+
| business-type=A brief description
| public-scenes=
+
| public-scenes=Is this location free to use by anyone?
| hiring=
+
| hiring=Yes/No - If yes, feel free to say what you are hiring
| status=
+
| status=Active/Potential/Inactive
 
}}
 
}}
 
</pre>
 
</pre>
Line 23: Line 22:
  
 
<includeonly>
 
<includeonly>
 +
{{#ifeq: {{{use-infobox}}} | Yes
 +
|
 
{{{!}} width=300px class="infobox" style="float: right; margin: 0;"
 
{{{!}} width=300px class="infobox" style="float: right; margin: 0;"
 
{{!}} colspan="2" align=center {{!}} [[Image:{{{main-picture}}}{{!}}280px{{!}}center]]
 
{{!}} colspan="2" align=center {{!}} [[Image:{{{main-picture}}}{{!}}280px{{!}}center]]
Line 38: Line 39:
 
{{!}} class="left" {{!}} '''Owner:'''
 
{{!}} class="left" {{!}} '''Owner:'''
 
{{!}} [[{{{owned-by}}}]]
 
{{!}} [[{{{owned-by}}}]]
{{!}}}
+
{{!}}} | }}
 
{{#if: {{{status}}} | [[Category:{{{status}}}]] | }}[[Category:Business]]
 
{{#if: {{{status}}} | [[Category:{{{status}}}]] | }}[[Category:Business]]
 
</includeonly>
 
</includeonly>

Latest revision as of 18:30, 30 March 2017


Stuff for the business template. This populates Businesses and also some other stuff!

{{ Business
| use-infobox=Yes/No
| biz-page-name=The name of the page this template is on
| icon=A square icon that will show on the Businesses page
| main-picture=
| owned-by=Owner's Name (links to wiki page)
| loc-name=The name of the Grid Square (or something like it)
| loc-grid-square=This links to the Grid Square page
| hedge=Yes/No
| business-type=A brief description
| public-scenes=Is this location free to use by anyone?
| hiring=Yes/No - If yes, feel free to say what you are hiring
| status=Active/Potential/Inactive
}}