Template:Infobox/Faction: Difference between revisions

Template page
(Created page with "<includeonly>Category:Faction<table class="infobox-table floatright" style="padding-top:0"> <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}}</td> </tr> {{#if:{{{Caption|}}}|<tr> <th width="100%" colspan="3">{{Caption}}</th> </tr>}} <tr> <th width="100%" colspan="3" class="infobox-table-name">{{PAGENAME}}</th>...")
 
No edit summary
Tag: Manual revert
 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[Category:Faction]]<table class="infobox-table floatright" style="padding-top:0">
<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}}}]]|[[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>
{{#if:{{{Caption|}}}|<tr>
<th width="100%" colspan="3">{{Caption}}</th>
</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}}}]]{{{Status}}}</td>
<td width="60%" style="padding:3px;">[[Category:{{{Status}}} (Factions)]] [[:Category:{{{Status}}} (Factions)|{{{Status}}}]]</td>
</tr>}}{{#if:{{{FactionType|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Type</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;">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: {{{FactionSwitch}}} | 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>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Motto</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Motto</td>
<td width="60%" style="padding:3px;">{{{Motto}}}</td>
<td width="60%" style="padding:3px;">"{{{Motto}}}"</td>
</tr>}}{{#if:{{{Mission|}}}|<tr>
</tr>}}{{#if:{{{Mission|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Mission</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Mission</td>
<td width="60%" style="padding:3px;">{{{Mission}}}]]</td>
<td width="60%" style="padding:3px;">{{{Mission}}}</td>
</tr>}}{{#if:{{{Color|}}}|<tr>
</tr>}}{{#if:{{{Color|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Gang Color</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Gang Color</td>
Line 36: 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>}}
</tr>}}}}}}{{#ifeq: {{{FactionSwitch}}} | Business|{{#if:{{{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;">Gang Relationships</th>
</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;">Business Type</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Allies</td>
<td width="60%" style="padding:3px;">[[{{{Allies}}}]]</td>
<td width="60%" style="padding:3px;">{{{Allies}}}</td>
</tr>}}{{#if:{{{Enemies|}}}|<tr>
</tr>}}{{#if:{{{Enemies|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Owner</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;">CEO</td>
<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;">{{#switch: {{{FactionSwitch}}}
| Criminal = Territory Map
| #default = Location 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>
</table>
 
{{Short description|{{#switch: {{{FactionSwitch}}}
<templatestyles src="Template:InfoboxOld/styles.css" />
| 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

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Infobox/Faction/doc. Changes can be proposed in the talk page.
Template:Infobox/Faction invokes Template:Infobox/styles.css using TemplateStyles.

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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Type of FactionFactionSwitch

Is this a Business, Crime Organization, or Public Sector.

Suggested values
Business Criminal Public Sector
Stringrequired
Faction LogoImage

Logo of the business or crime faction.

Filesuggested
StatusStatus

Is the faction still active?

Suggested values
Active Inactive Disbanded Closed
Stringsuggested
DateFormedDateFormed

When did the faction form?

Default
YYYY-MM-DD
Numbersuggested
DateDisbandedDateDisbanded

If relevant, when did the faction disband or close?

Default
YYYY-MM-DD
Dateoptional
AliasesAliases

Alternative names the faction is known by.

Stringsuggested
Faction TypeFactionType

What type of faction is this??

Suggested values
Motorcycle Club Street Gang Mob Syndicate Family Mafia Outfit Crew Cafe Nightclub Garage Shop
Stringsuggested
Gang Only | MottoMotto

The motto or common saying of the faction.

Stringoptional
Gang Only | MissionMission

What are the goals of this faction?

Stringoptional
Gang Only | ColorColor

Does this gang have an associated color or tag?

Stringoptional
Gang Only | LocationLocation

The address or general location the gang can be found.

Stringoptional
Business Only | Business TypeBusinessType

What type of business is this?

Suggested values
Cafe Nightclub Shop
Stringoptional
Business Only | OwnerOwner

Who owns the business?

Stringoptional
Business Only | CEOCEO

Who runs the business?

Stringoptional
Business Only | AddressAddress

What's the address of the business?

Stringoptional
AlliesAllies

Does the faction have any friends or allies?

Templatesuggested
EnemiesEnemies

Does the faction have any rival or enemies?

Templatesuggested
InvestorsInvestors

Does the faction have an investor?

Templateoptional
AffiliationsAffiliations

Is the faction affiliated with any other factions?

Templatesuggested
MapImageMapImage

Picture of the location on a map where the business or faction can be found.

Filesuggested