Wikia

GTA Wiki

Changes: Template:Infobox business

Edit

Back to page

 
(16 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" style="width:22em; font-size:90%; text-align:left; border-color:#446CCF; background-color:#71A6D2;" cellspacing="2"
+
<includeonly>
{{pipe}}- style="margin:0;"
+
{|class="infobox bordered vcard" style="background: #555555; border: solid white 2px; width: 23em; text-align: left; font-size: 89%;"
!colspan="2" style="text-align: center;"{{pipe}}<small>BUSINESS</small><br /><span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}}}}}</span>
+
|-
{{#if:{{{image|}}}|
+
!colspan="2" style="background: #3c3c3c; color: white; text-align: center;"{{pipe}}<small>BUSINESS</small><br /><span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}}}}}
{{pipe}}-
+
|-
{{pipe}} colspan="2" align="center"{{pipe}}[[Image:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|170px}}|center]]{{#if:{{{caption|}}}|<div style="line-height:1.25em;">{{{caption}}}</div>|}}|
+
{{#if:{{{image|<noinclude>-</noinclude>}}} |
{{pipe}}-
+
! style="background: #000000; color:lightgray; font-size: 90%; text-align: center;" colspan="2" {{!}} [[file:{{{image}}}|200px]]
  +
{{{caption|}}}
  +
{{!}}- valign=top
 
}}
 
}}
{{pipe}}- valign="top"
+
{{#if:{{{name|<noinclude>-</noinclude>}}} |
!
+
!style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Name:
{{#if: {{{name|}}}|
+
{{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{name}}}
{{pipe}}-
+
{{!}}- valign=top
!style="text-align:right;"{{pipe}}Name:
 
{{pipe}}{{{name|}}}|
 
{{pipe}}-
 
 
}}
 
}}
{{#if: {{{taglines|}}}|
+
{{#if:{{{bawsaq|<noinclude>-</noinclude>}}} |
{{pipe}}-
+
!style="background: #000000; text-align:center; color:lightgray;"{{pipe}} [[BAWSAQ]]:
!style="text-align:right;"{{pipe}}Tagline(s):
+
{{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{bawsaq}}}
{{pipe}}{{{taglines|}}}|
+
{{!}}- valign=top
{{pipe}}-
 
 
}}
 
}}
{{#if: {{{type|}}}|
+
{{#if:{{{taglines|<noinclude>-</noinclude>}}} |
{{pipe}}-
+
!style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Tagline(s):
!style="text-align:right;"{{pipe}}Business Type:
+
{{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{taglines}}}
{{pipe}}{{{type|}}}|
+
{{!}}- valign=top
{{pipe}}-
 
 
}}
 
}}
{{#if: {{{founded|}}}|
+
{{#if:{{{type|<noinclude>-</noinclude>}}} |
{{pipe}}-
+
!style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Type:
!style="text-align:right;"{{pipe}}Founded:
+
{{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{type}}}
{{pipe}}{{{founded|}}}|
+
{{!}}- valign=top
{{pipe}}-
 
 
}}
 
}}
{{#if: {{{founder|}}}|
+
{{#if:{{{founded|<noinclude>-</noinclude>}}} |
{{pipe}}-
+
!style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Founded:
!style="text-align:right;"{{pipe}}Founded by:
+
{{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{founded}}}
{{pipe}}{{{founder|}}}|
+
{{!}}- valign=top
{{pipe}}-
 
 
}}
 
}}
{{#if: {{{ceo|}}}|
+
{{#if:{{{founder|<noinclude>-</noinclude>}}} |
{{pipe}}-
+
!style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Founder:
!style="text-align:right;"{{pipe}}Managed by:
+
{{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{founder}}}
{{pipe}}{{{ceo|}}}|
+
{{!}}- valign=top
{{pipe}}-
 
 
}}
 
}}
{{#if: {{{games|}}}|
+
{{#if:{{{ceo|<noinclude>-</noinclude>}}} |
{{pipe}}-
+
!style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Owner:
!style="text-align:right;"{{pipe}}Appearance(s):
+
{{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{ceo}}}
{{pipe}}{{{games|}}}|
+
{{!}}- valign=top
{{pipe}}-
 
 
}}
 
}}
{{#if: {{{locations|}}}|
+
{{#if:{{{games|<noinclude>-</noinclude>}}} |
{{pipe}}-
+
!style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Appearance(s):
!style="text-align:right;"{{pipe}}Locations:
+
{{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{games}}}
{{pipe}}{{{locations|}}}|
+
{{!}}- valign=top
{{pipe}}-
+
}}
  +
{{#if:{{{locations|<noinclude>-</noinclude>}}} |
  +
!style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Locations:
  +
{{!}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{locations}}}
  +
{{!}}- valign=top
 
}}
 
}}
{{#if: {{{reference|}}}|
+
{{#if: {{{reference|<noinclude>-</noinclude>}}}|
 
{{pipe}}-
 
{{pipe}}-
!style="text-align:right;"{{pipe}}Refers to:
+
!style="background: #000000; text-align:center; color:lightgray;"{{pipe}} Refers to:
{{pipe}}{{{reference|}}}|
+
{{pipe}}style="background: #656565; text-align:left; color: white;"{{pipe}}{{{reference}}}
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
Line 75: Line 75:
 
}}
 
}}
 
|}[[Category:Businesses]]</includeonly><noinclude>
 
|}[[Category:Businesses]]</includeonly><noinclude>
{{infobox business|
+
{{infobox business
  +
|image = Unknown.png
  +
|caption = <code>caption</code>
  +
|name = <code>name</code>
  +
|bawsaq = <code>bawsaq</code>
  +
|taglines = <code>taglines</code>
  +
|type = <code>type</code>
  +
|founded = <code>founded</code>
  +
|founder = <code>founder</code>
  +
|ceo = <code>ceo</code>
  +
|games = <code>games</code>
  +
|locations = <code>locations</code>
  +
|reference = <code>reference</code>
 
}}
 
}}
 
The following code produces the fake infobox shown on the right:
 
The following code produces the fake infobox shown on the right:
Line 82: Line 82:
 
|caption =
 
|caption =
 
|name =
 
|name =
  +
|bawsaq =
 
|taglines =
 
|taglines =
 
|type =
 
|type =
Line 93: Line 94:
 
[[category:infoboxes]]
 
[[category:infoboxes]]
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:Businesses| ]]</includeonly>
 

Latest revision as of 18:09, December 7, 2014


BUSINESS
name
Unknown

caption

Name: name
BAWSAQ: bawsaq
Tagline(s): taglines
Type: type
Founded: founded
Founder: founder
Owner: ceo
Appearance(s): games
Locations: locations
Refers to: reference

The following code produces the fake infobox shown on the right:

{{infobox business|
|image =
|caption =
|name = 
|bawsaq = 
|taglines = 
|type = 
|founded = 
|founder = 
|ceo =
|games =
|locations = 
|reference =
}}

Around Wikia's network

Random Wiki