Wikia

GTA Wiki

Changes: Template:Infobox gang

View source

Back to page

(Color's no longer valid)
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" style="width:22em; font-size:90%; text-align:left; border-color:{{{colors|}}}; background-color: grey;" cellspacing="2"
+
<includeonly>
{{pipe}}- style="margin:0;"
+
<infobox layout="tabular" theme="gta-with-subtitle">
!colspan="2" style="text-align: center;"{{pipe}}<small>GANG</small><br /><span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}}}}}</span>
+
<data source="Name Change"><label>Type</label><default>GANG</default></data>
{{#if:{{{image|}}}|
+
<title source="name"><default>{{PAGENAME}}</default></title>
{{pipe}}-
+
<image source="image"><caption source="caption"/></image>
{{pipe}} colspan="2" align="center"{{pipe}}[[Image:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|200px}}|center]]{{#if:{{{caption|}}}|<div style="line-height:1.25em;">{{{caption}}}</div>|}}|
+
<data><label>Games</label><default>{{gameids|{{{game}}}}}{{#if: {{{game2|}}}|<br />{{gameids|{{{game2}}}}}|}}{{#if: {{{game3|}}}|<br />{{gameids|{{{game3}}}}}|}}{{#if: {{{game4|}}}|<br /> {{gameids|{{{game4}}}}}|}}{{#if: {{{game5|}}}|<br />{{gameids|{{{game5}}}}}|}}{{#if: {{{game6|}}}|<br />{{gameids|{{{game6}}}}}|}}</default></data>
{{pipe}}-
+
<data source="locations"><label>Locations</label></data>
}}
+
<data source="leader"><label>Leader</label></data>
{{pipe}}- valign="top"
+
<data source="leaders"><label>Leaders</label></data>
! style="text-align:right;"{{pipe}}Games:
+
<data source="type"><label>Type</label></data>
|{{gameids|{{{game}}}}}{{#if: {{{game2|}}}|<br />{{gameids|{{{game2}}}}}|}}{{#if: {{{game3|}}}|<br />{{gameids|{{{game3}}}}}|}}{{#if: {{{game4|}}}|<br /> {{gameids|{{{game4}}}}}|}}<br /> {{gameids|{{{game5}}}}}
+
<data source="enemies"><label>Enemies</label></data>
{{#if: {{{locations|}}}|
+
<data source="affiliations"><label>Affiliations</label></data>
{{pipe}}-
+
<data source="colors"><label>Colors</label></data>
!style="text-align:right;"{{pipe}}Locations:
+
<data source="cars"><label>Vehicles</label></data>
{{pipe}}{{{locations|}}}|
+
<data source="weapons"><label>Weapons</label></data>
{{pipe}}-
+
<data source="businesses"><label>Businesses</label></data>
}}
+
<data source="fronts"><label>Fronts</label></data>
{{#if: {{{leader|}}}|
+
<data source="members"><label>Members</label></data>
{{pipe}}-
+
</infobox>
!style="text-align:right;"{{pipe}}Leader:
+
</includeonly>
{{pipe}}{{{leader|}}}|
+
<noinclude>{{infobox gang|
{{pipe}}-
 
}}
 
{{#if: {{{leaders|}}}|
 
{{pipe}}-
 
!style="text-align:right;"{{pipe}}Leaders:
 
{{pipe}}{{{leaders|}}}|
 
{{pipe}}-
 
}}
 
{{#if: {{{type|}}}|
 
{{pipe}}-
 
!style="text-align:right;"{{pipe}}Type:
 
{{pipe}}{{{type|}}}|
 
{{pipe}}-
 
}}
 
{{#if: {{{enemies|}}}|
 
{{pipe}}-
 
!style="text-align:right;"{{pipe}}Enemies:
 
{{pipe}}{{{enemies|}}}|
 
{{pipe}}-
 
}}
 
{{#if: {{{affiliations|}}}|
 
{{pipe}}-
 
!style="text-align:right;"{{pipe}}Affiliations:
 
{{pipe}}{{{affiliations|}}}|
 
{{pipe}}-
 
}}
 
{{#if: {{{colors|}}}|
 
{{pipe}}-
 
!style="text-align:right;"{{pipe}}Colors:
 
{{pipe}}{{{colors|}}}|
 
{{pipe}}-
 
}}
 
{{#if: {{{cars|}}}|
 
{{pipe}}-
 
!style="text-align:right;"{{pipe}}Vehicles:
 
{{pipe}}{{{cars|}}}|
 
{{pipe}}-
 
}}
 
{{#if: {{{weapons|}}}|
 
{{pipe}}-
 
!style="text-align:right;"{{pipe}}Weapons:
 
{{pipe}}{{{weapons|}}}|
 
{{pipe}}-
 
}}
 
{{#if: {{{businesses|}}}|
 
{{pipe}}-
 
!style="text-align:right;"{{pipe}}Businesses:
 
{{pipe}}{{{businesses|}}}|
 
{{pipe}}-
 
}}
 
{{#if: {{{fronts|}}}|
 
{{pipe}}-
 
!style="text-align:right;"{{pipe}}Fronts:
 
{{pipe}}{{{fronts|}}}|
 
{{pipe}}-
 
}}
 
{{#if: {{{members|}}}|
 
{{pipe}}-
 
!style="text-align:right;"{{pipe}}Members:
 
{{pipe}}{{{members|}}}|
 
{{pipe}}-
 
}}
 
|}</includeonly><noinclude>{{infobox gang|
 
 
| image = GroveStreetFamilies-GTASA-members.jpg
 
| image = GroveStreetFamilies-GTASA-members.jpg
 
| caption = Members of the Grove Street Families
 
| caption = Members of the Grove Street Families
Line 37: Line 37:
 
| businesses = [[Four Dragons Casino]]
 
| businesses = [[Four Dragons Casino]]
 
| fronts = [[Johnson House]], [[Sweet Johnson's House]], [[Emmet's]]
 
| fronts = [[Johnson House]], [[Sweet Johnson's House]], [[Emmet's]]
| members = [[Carl Johnson]], [[Sweet|Sean "Sweet" Johnson|Sweet]], [[Big Smoke]], [[Ryder|Lance "Ryder" Wilson|Ryder]], [[OG Loc]], [[B Dup]], [[Big Bear]], [[Emmet]], [[Big Devil]], [[Little Devil]], [[Tony]]
+
| members = [[Carl Johnson]], [[Sweet|Sean "Sweet" Johnson]], [[Big Smoke]], [[Ryder|Lance "Ryder" Wilson]], [[OG Loc]], [[B Dup]], [[Big Bear]], [[Emmet]], [[Big Devil]], [[Little Devil]], [[Tony]]
 
|}}
 
|}}
 
Usage - modified example here is [[Grove Street Families]] (note that contained information is for example only).
 
Usage - modified example here is [[Grove Street Families]] (note that contained information is for example only).
   
 
Only use relevant variables, but '''''image'' and ''game'' are required'''. Games IDs are: <code>GTA1, GTA2, L1969, L1961, III,
 
Only use relevant variables, but '''''image'' and ''game'' are required'''. Games IDs are: <code>GTA1, GTA2, L1969, L1961, III,
VC, SA, LCS, VCS, IV, TLAD, TBOGT, CW</code>. If they appear in more than one game, use ''game2'', ''game3'', and ''game4'' (all optional) with the same IDs as above.
+
VC, SA, LCS, VCS, IV, TLAD, TBOGT, CW, V, O</code>. If they appear in more than one game, use ''game2'', ''game3'', and ''game4'' (all optional) with the same IDs as above.
   
 
Links are automatic for games, ''leader'' (not ''leaders''). For the image, simply put the image name (eg Image.jpg), prefix and sizing is automatic. Image size will default to 200x200px, but if the image you use is smaller than this, you should specify its natural width. Do NOT allow images to be expanded. Feel free to add your own links to all over variables (including ''caption'').
 
Links are automatic for games, ''leader'' (not ''leaders''). For the image, simply put the image name (eg Image.jpg), prefix and sizing is automatic. Image size will default to 200x200px, but if the image you use is smaller than this, you should specify its natural width. Do NOT allow images to be expanded. Feel free to add your own links to all over variables (including ''caption'').
Line 67: Line 67:
 
| fronts = [[Johnson House]], [[Sweet Johnson's House]], [[Emmet's]]
 
| fronts = [[Johnson House]], [[Sweet Johnson's House]], [[Emmet's]]
 
| members = [[Carl "CJ" Johnson|CJ]], [[Sweet|Sean "Sweet" Johnson|Sweet]],
 
| members = [[Carl "CJ" Johnson|CJ]], [[Sweet|Sean "Sweet" Johnson|Sweet]],
[[Melvin "Big Smoke" Harris|Big Smoke]], [[Lance "Ryder" Wilson|Ryder]],
+
[[Melvin "Big Smoke" Harris|Big Smoke]], [[Lance "Ryder" Wilson|Ryder]], [[Jeffrey "OG" Loc|OG Loc]], [[B Dup]], [[Big Bear]], [[Emmet]], [[Big Devil]], [[Little Devil]], [[Tony]]
[[Jeffrey "OG" Loc|OG Loc]], [[B Dup]], [[Big Bear]],
+
}}
[[Emmet]], [[Big Devil]], [[Little Devil]], [[Tony]]
 
|}}
 
 
</pre>
 
</pre>
 
The color used must be on one of these:
 
 
{| class="wikitable" style="font-size:90%;" cellpadding="4"
 
|-
 
! style="background:lightgrey;" | Color
 
! style="background:lightgrey;" | Hexadecimal
 
! style="background:lightgrey;" | Color
 
! style="background:lightgrey;" | Hexadecimal
 
! style="background:lightgrey;" | Color
 
! style="background:lightgrey;" | Hexadecimal
 
! style="background:lightgrey;" | Color
 
! style="background:lightgrey;" | Hexadecimal
 
|-
 
|aqua
 
|style="background:#0FF; color:#000; font-family:monospace;"|#00FFFF
 
|green
 
|style="background:#008000; color:#FFF; font-family:monospace;"|#008000
 
|navy
 
|style="background:#000080; color:#FFF; font-family:monospace;"|#000080
 
|silver
 
|style="background:#C0C0C0; color:#000; font-family:monospace;"|#C0C0C0
 
|-
 
|black
 
|style="background:#000; color:#FFF; font-family:monospace;"|#000000
 
|gray
 
|style="background:#808080; color:#FFF; font-family:monospace;"|#808080
 
|olive
 
|style="background:#808000; color:#FFF; font-family:monospace;"|#808000
 
|teal
 
|style="background:#008080; color:#fff; font-family:monospace;"|#008080
 
|-
 
|blue
 
|style="background:#00F; color:#FFF; font-family:monospace;"|#0000FF
 
|lime
 
|style="background:#0F0; color:#000; font-family:monospace;"|#00FF00
 
|purple
 
|style="background:#800080; color:#FFF; font-family:monospace;"|#800080
 
|white
 
|style="background:#FFF; color:#000; font-family:monospace;"|#FFFFFF
 
|-
 
|fuchsia
 
|style="background:#F0F; color:#000; font-family:monospace;"|#FF00FF
 
|maroon
 
|style="background:#800000; color:#FFF; font-family:monospace;"|#800000
 
|red
 
|style="background:#F00; color:#FFF; font-family:monospace;"|#FF0000
 
|yellow
 
|style="background:#FF0; color:#000; font-family:monospace;"|#FFFF00
 
|}
 
 
Example: use "Green" for [[Grove Street Families]] and "Purple" for [[Ballas]].
 
   
 
[[Category:infoboxes]][[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:infoboxes]][[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 16:14, June 23, 2015



Usage - modified example here is Grove Street Families (note that contained information is for example only).

Only use relevant variables, but image and game are required. Games IDs are: GTA1, GTA2, L1969, L1961, III, VC, SA, LCS, VCS, IV, TLAD, TBOGT, CW, V, O. If they appear in more than one game, use game2, game3, and game4 (all optional) with the same IDs as above.

Links are automatic for games, leader (not leaders). For the image, simply put the image name (eg Image.jpg), prefix and sizing is automatic. Image size will default to 200x200px, but if the image you use is smaller than this, you should specify its natural width. Do NOT allow images to be expanded. Feel free to add your own links to all over variables (including caption).

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

{{infobox gang|
| image = Homies.jpg
| caption = Members of the Grove Street Families
| game = SA
| game2 = VC
| game3 = VCS
| game4 = IV
| locations = [[Ganton]], [[Temple]], [[Los Santos]]
| leader = Sweet
| leaders = [[Sweet]], [[Carl Johnson]]
| type = Street gang
| enemies = [[Ballas]], [[Los Santos Vagos]]
| affiliations = [[Varrios Los Aztecas]]<br/>[[San Fierro Triads|Triads]]
| colors = Green
| cars = [[Greenwood]], [[Savanna]], [[Voodoo]] 
| weapons = [[Pistol]], [[Tec-9]], [[MP5]], [[Desert Eagle]], [[Knife]]
| businesses = [[Four Dragons Casino]]
| fronts = [[Johnson House]], [[Sweet Johnson's House]], [[Emmet's]]
| members = [[Carl "CJ" Johnson|CJ]], [[Sweet|Sean "Sweet" Johnson|Sweet]], 
[[Melvin "Big Smoke" Harris|Big Smoke]], [[Lance "Ryder" Wilson|Ryder]], [[Jeffrey "OG" Loc|OG Loc]], [[B Dup]], [[Big Bear]], [[Emmet]], [[Big Devil]], [[Little Devil]], [[Tony]]
}}

Around Wikia's network

Random Wiki