No edit summary |
(Overhauled the Faction template to include business info.) |
||
Line 1: | Line 1: | ||
<includeonly>[[Category:Factions]]<table class="infobox-table floatright" style="padding-top:0"> | <includeonly>[[Category:Factions]]{{#ifeq: {{{Type}}} | Business |[[Category:Businesses]]|[[Category:{{{Type}}}]]}}<table class="infobox-table floatright" style="padding-top:0"> | ||
<tr id="infobox-table-img-bg"> | <tr id="infobox-table-img-bg"> | ||
<td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding:0 !important;">{{#if:{{{Image|}}}|[[File:{{{Image}}}|400px]]|[[File:Placeholder.png|400px]]}}</td> | <td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding:0 !important;">{{#if:{{{Image|}}}|[[File:{{{Image}}}|400px]]|[[File:Placeholder.png|400px]]}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th width="100%" colspan="3" class="infobox-table-name">{{PAGENAME}}</th> | <th width="100%" colspan="3" class="infobox-table-name">{{PAGENAME}}</th> | ||
</tr> | </tr>{{#if:{{{Status|}}}{{{DateFormed|}}}{{{DateDisbanded|}}}{{{Aliases|}}}|{{#if:{{{Status|}}}|<tr> | ||
{{#if:{{{Status|}}}|<tr> | |||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Status</td> | <td width="40%" valign="top" colspan="2" style="padding:3px;">Status</td> | ||
<td width="60%" style="padding:3px;">[[Category:{{{Status}}} (Factions)]]{{{Status}}}</td> | <td width="60%" style="padding:3px;">[[Category:{{{Status}}} (Factions)]]{{{Status}}}</td> | ||
</tr>}}{{#if:{{{DateFormed|}}}|<tr> | </tr>}}{{#if:{{{DateFormed|}}}|<tr> | ||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Date Established</td> | <td width="40%" valign="top" colspan="2" style="padding:3px;">{{#ifeq: {{{Type}}} | Business |Date Opened|Date Established}}</td> | ||
<td width="60%" style="padding:3px;">{{{DateFormed}}}</td> | <td width="60%" style="padding:3px;">{{{DateFormed}}}</td> | ||
</tr>}}{{#if:{{{DateDisbanded|}}}|<tr> | </tr>}}{{#if:{{{DateDisbanded|}}}|<tr> | ||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Date Disbanded</td> | <td width="40%" valign="top" colspan="2" style="padding:3px;">{{#ifeq: {{{Type}}} | Business |Date Closed|Date Disbanded}}</td> | ||
<td width="60%" style="padding:3px;">{{{DateDisbanded}}}</td> | <td width="60%" style="padding:3px;">{{{DateDisbanded}}}</td> | ||
</tr>}}{{#if:{{{Aliases|}}}|<tr> | </tr>}}{{#if:{{{Aliases|}}}|<tr> | ||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Alliases</td> | <td width="40%" valign="top" colspan="2" style="padding:3px;">Alliases</td> | ||
<td width="60%" style="padding:3px;">{{{Aliases}}}</td> | <td width="60%" style="padding:3px;">{{{Aliases}}}</td> | ||
</tr>}} | </tr>}}}}{{#ifeq: {{{Type}}} | Business || {{#if:{{{Motto|}}}{{{Mission|}}}{{{Color|}}}{{{Location|}}}|<tr> | ||
{{#if:{{{Motto|}}}{{{Mission|}}}{{{Color|}}}{{{Location|}}}|<tr> | |||
<th width="100%" colspan="3" class="infobox-table-h1" style="text-align: center;">Gang Information</th> | <th width="100%" colspan="3" class="infobox-table-h1" style="text-align: center;">Gang Information</th> | ||
</tr>{{#if:{{{Motto|}}}|<tr> | </tr>{{#if:{{{Motto|}}}|<tr> | ||
Line 36: | Line 31: | ||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Primary Turf</td> | <td width="40%" valign="top" colspan="2" style="padding:3px;">Primary Turf</td> | ||
<td width="60%" style="padding:3px;">{{{Location}}}</td> | <td width="60%" style="padding:3px;">{{{Location}}}</td> | ||
</tr>}} | </tr>}}}}}}{{#ifeq: {{{Type}}} | Business|{{#if:{{{BusinessType|}}}{{{Owner|}}}{{{CEO|}}}{{{Address|}}}|<tr> | ||
}}{{#if:{{{Allies|}}}{{{Enemies|}}}{{{Affiliations|}}}|<tr> | <th width="100%" colspan="3" class="infobox-table-h1" style="text-align: center;">Business Information</th> | ||
<th width="100%" colspan="3" class="infobox-table-h1" style="text-align: center;"> | </tr>{{#if:{{{BusinessType|}}}|<tr> | ||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Business Type</td> | |||
<td width="60%" style="padding:3px;">[[{{{BusinessType}}}]]</td> | |||
</tr>}}{{#if:{{{Owner|}}}|<tr> | |||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Owner</td> | |||
<td width="60%" style="padding:3px;">[[{{{Owner}}}]]</td> | |||
</tr>}}{{#if:{{{CEO|}}}|<tr> | |||
<td width="40%" valign="top" colspan="2" style="padding:3px;">CEO</td> | |||
<td width="60%" style="padding:3px;">[[{{{CEO}}}]]</td> | |||
</tr>}}{{#if:{{{Address|}}}|<tr> | |||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Address</td> | |||
<td width="60%" style="padding:3px;">{{{Address}}}</td> | |||
</tr>}}}}}} | |||
{{#if:{{{Allies|}}}{{{Enemies|}}}{{{Investors|}}}{{{Affiliations|}}}|<tr> | |||
<th width="100%" colspan="3" class="infobox-table-h1" style="text-align: center;">Associations</th> | |||
</tr>{{#if:{{{Allies|}}}|<tr> | </tr>{{#if:{{{Allies|}}}|<tr> | ||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Allies</td> | <td width="40%" valign="top" colspan="2" style="padding:3px;">Allies</td> | ||
Line 45: | Line 54: | ||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Enemies</td> | <td width="40%" valign="top" colspan="2" style="padding:3px;">Enemies</td> | ||
<td width="60%" style="padding:3px;">[[{{{Enemies}}}]]</td> | <td width="60%" style="padding:3px;">[[{{{Enemies}}}]]</td> | ||
</tr>}}{{#if:{{{Investors|}}}|<tr> | |||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Investor(s)</td> | |||
<td width="60%" style="padding:3px;">[[{{{Investors}}}]]</td> | |||
</tr>}}{{#if:{{{Affiliations|}}}|<tr> | </tr>}}{{#if:{{{Affiliations|}}}|<tr> | ||
<td width="40%" valign="top" colspan="2" style="padding:3px;"> | <td width="40%" valign="top" colspan="2" style="padding:3px;">Affiliate(s)</td> | ||
<td width="60%" style="padding:3px;">[[{{{Affiliations}}}]]</td> | <td width="60%" style="padding:3px;">[[{{{Affiliations}}}]]</td> | ||
</tr>}}}} | |||
{{#if:{{{MapImage|}}}|<tr> | |||
<th width="100%" colspan="3" class="infobox-table-h1" style="text-align: center;">Map</th> | |||
</tr> | |||
<tr id="infobox-table-img-bg style="padding-top:10px;"> | |||
<td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding-top:0; !important;">[[File:{{{MapImage}}}|400px]]</td> | |||
</tr>}} | </tr>}} | ||
</table> | |||
{{Short description|Faction in Let's RP}} | {{Short description|Faction in Let's RP}} | ||
<templatestyles src="Template:InfoboxOld/styles.css" /> | <templatestyles src="Template:InfoboxOld/styles.css" /> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{/doc}} | {{/doc}} | ||
[[Category:Infobox Templates]][[Category:Templates]] | [[Category:Infobox Templates]][[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 17:12, 6 February 2023
You can copy and paste the template parameters from below, or use the Template Wizard in the visual editor.
Usage
{{Infobox/Faction | FactionSwitch = Business / Criminal / Public Sector | Image = | Caption = | Status = Active / Closed / Disbanded | DateFormed = | DateDisbanded = | Aliases = | FactionType = Cafe / Nightclub / Shop / Motorcycle Club / Street Gang / Mob / Syndicate / Family / Mafia / Outfit / Crew / Etc.... | Motto = | Mission = | Color = | Location = | Owner = | CEO = | Address = | Allies = | Enemies = | Investors = | Affiliations = | MapImage = }}
A template used for the creation of Faction articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type of Faction | FactionSwitch | Is this a Business, Crime Organization, or Public Sector.
| String | required |
Faction Logo | Image | Logo of the business or crime faction. | File | suggested |
Status | Status | Is the faction still active?
| String | suggested |
DateFormed | DateFormed | When did the faction form?
| Number | suggested |
DateDisbanded | DateDisbanded | If relevant, when did the faction disband or close?
| Date | optional |
Aliases | Aliases | Alternative names the faction is known by. | String | suggested |
Faction Type | FactionType | What type of faction is this??
| String | suggested |
Gang Only | Motto | Motto | The motto or common saying of the faction. | String | optional |
Gang Only | Mission | Mission | What are the goals of this faction? | String | optional |
Gang Only | Color | Color | Does this gang have an associated color or tag? | String | optional |
Gang Only | Location | Location | The address or general location the gang can be found. | String | optional |
Business Only | Business Type | BusinessType | What type of business is this?
| String | optional |
Business Only | Owner | Owner | Who owns the business? | String | optional |
Business Only | CEO | CEO | Who runs the business? | String | optional |
Business Only | Address | Address | What's the address of the business? | String | optional |
Allies | Allies | Does the faction have any friends or allies? | Template | suggested |
Enemies | Enemies | Does the faction have any rival or enemies? | Template | suggested |
Investors | Investors | Does the faction have an investor? | Template | optional |
Affiliations | Affiliations | Is the faction affiliated with any other factions? | Template | suggested |
MapImage | MapImage | Picture of the location on a map where the business or faction can be found. | File | suggested |