No edit summary |
No edit summary Tag: Manual revert |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[Category:Factions]]{{# | <includeonly>[[Category:Factions]] | ||
{{#switch: {{{FactionSwitch}}} | |||
| Business = [[Category:Businesses]] | |||
| Criminal = [[Category:Criminal (Factions)]] | |||
| Public Sector = [[Category:Public Sector (Factions)]] | |||
| #default = [[Category:{{{FactionSwitch}}}]] | |||
}}<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> | ||
Line 7: | Line 13: | ||
</tr>{{#if:{{{Status|}}}{{{DateFormed|}}}{{{DateDisbanded|}}}{{{Aliases|}}}|{{#if:{{{Status|}}}|<tr> | </tr>{{#if:{{{Status|}}}{{{DateFormed|}}}{{{DateDisbanded|}}}{{{Aliases|}}}|{{#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)]][[:Category:{{{Status}}} (Factions)| | <td width="60%" style="padding:3px;">[[Category:{{{Status}}} (Factions)]] [[:Category:{{{Status}}} (Factions)|{{{Status}}}]]</td> | ||
</tr>}}{{#if:{{{FactionType|}}}|<tr> | </tr>}}{{#if:{{{FactionType|}}}|<tr> | ||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Type</td> | <td width="40%" valign="top" colspan="2" style="padding:3px;">Type</td> | ||
<td width="60%" style="padding:3px;">[[Category:{{{FactionType}}}]][[:Category:{{{FactionType}}}|]]</td> | <td width="60%" style="padding:3px;">[[Category:{{{FactionType}}}]] [[:Category:{{{FactionType}}}|{{{FactionType}}}]]</td> | ||
</tr>}}{{#if:{{{DateFormed|}}}|<tr> | </tr>}}{{#if:{{{DateFormed|}}}|<tr> | ||
<td width="40%" valign="top" colspan="2" style="padding:3px;">{{#ifeq: {{{Type}}} | Business |Date Opened|Date Established}}</td> | <td width="40%" valign="top" colspan="2" style="padding:3px;">{{#ifeq: {{{Type}}} | Business |Date Opened|Date Established}}</td> | ||
Line 34: | Line 40: | ||
<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>}}}}}}{{#ifeq: {{{FactionSwitch}}} | Business|{{#if: | </tr>}}}}}}{{#ifeq: {{{FactionSwitch}}} | Business|{{#if:{{{Owner|}}}{{{CEO|}}}{{{Address|}}}|<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;">Business Information</th> | ||
</tr> | </tr>{{#if:{{{Owner|}}}|<tr> | ||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Owner</td> | <td width="40%" valign="top" colspan="2" style="padding:3px;">Owner</td> | ||
<td width="60%" style="padding:3px;">[[{{{Owner}}}]]</td> | <td width="60%" style="padding:3px;">[[{{{Owner}}}]]</td> | ||
Line 65: | Line 68: | ||
</tr>}}}} | </tr>}}}} | ||
{{#if:{{{MapImage|}}}|<tr> | {{#if:{{{MapImage|}}}|<tr> | ||
<th width="100%" colspan="3" class="infobox-table-h1" style="text-align: center;">Map</th> | <th width="100%" colspan="3" class="infobox-table-h1" style="text-align: center;">{{#switch: {{{FactionSwitch}}} | ||
| Criminal = Territory Map | |||
| #default = Location Map}}</th> | |||
</tr> | </tr> | ||
<tr id="infobox-table-img-bg style="padding-top:10px;"> | <tr id="infobox-table-img-bg style="padding-top:10px;"> | ||
Line 71: | Line 76: | ||
</tr>}} | </tr>}} | ||
</table> | </table> | ||
{{Short description|{{{FactionSwitch}}} | {{Short description|{{#switch: {{{FactionSwitch}}} | ||
<templatestyles src="Template: | | Business = {{{FactionType}}} {{{FactionSwitch}}} | ||
| Criminal = {{{FactionSwitch}}} {{{FactionType}}} | |||
| Public Sector = {{{FactionSwitch}}} {{{FactionType}}} | |||
| #default = {{{FactionSwitch}}} | |||
}} in Let's RP}} | |||
<templatestyles src="Template:Infobox/styles.css" /> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{/doc}} | {{/doc}} | ||
[[Category:Infobox Templates]][[Category:Templates]] | [[Category:Infobox Templates]][[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:02, 22 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 |