Template:Appearances: Difference between revisions

From Star Wars ReExpanded Wiki
Jump to navigation Jump to search
Created page with "<includeonly>{{#if:{{{secondcolumn|}}}|{{col-begin|class=featurelist}} {{col-2}}|}}{{#if:{{{title-2|}}}|<div class="{{#switch:{{{state|}}}|plain=mw-collapsible|#default=mw-collapsible mw-collapsed}}"> === {{{title-1|''The life and death of lorem ipsum''}}} === <div class="mw-collapsible-content" style="border:1px solid #DDD; padding:0 4px"> {{{1|{{{content|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas mattis pretium ullamcorper. Vivamus rutrum luctus..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{secondcolumn|}}}|{{col-begin|class=featurelist}}
<includeonly>{{#if:{{{secondcolumn|}}}|{{col-begin|class=appearances}}
{{col-2}}|}}{{#if:{{{title-2|}}}|<div class="{{#switch:{{{state|}}}|plain=mw-collapsible|#default=mw-collapsible mw-collapsed}}">
{{col-2}}|}}{{#if:{{{title-2|}}}|<div class="{{#switch:{{{state|}}}|plain=mw-collapsible|#default=mw-collapsible mw-collapsed}}">
=== {{{title-1|''The life and death of lorem ipsum''}}} ===
=== {{{title-1|''The life and death of lorem ipsum''}}} ===
Line 65: Line 65:


<pre>
<pre>
{{Featurelist|secondcolumn=
{{Appearances|secondcolumn=
|title-1=
|title-1=
|
|
Line 74: Line 74:
To create a second column, simply specify which <code>|title-#=</code> will be located on the first row of the second column. For example, if there are four sections and <code>title-4</code> is on the first row of the second column, then specify the following in the template: <code>|secondcolumn=title-4</code>. Take the following code as an example:
To create a second column, simply specify which <code>|title-#=</code> will be located on the first row of the second column. For example, if there are four sections and <code>title-4</code> is on the first row of the second column, then specify the following in the template: <code>|secondcolumn=title-4</code>. Take the following code as an example:


<pre>{{Featurelist|secondcolumn=title-4|title-1=Characters|
<pre>{{Appearances|secondcolumn=title-4|title-1=Characters|
*Cortana (Data chip only)
*Brookish Boon
*John-117
*Toonbuck Toora
*Locke
*Palpatine
|title-2=Species|
|title-2=Species|
*Forerunner (Technology only)
*Sy Myrthian
*Human
*Human
*Sangheili
|title-3=Organizations|
|title-3=Organizations|
*ONI
*Galactic Empire
*UNSC
*Covenant
*Cerberus
|title-4=Vehicles|
|title-4=Vehicles|
*D79-TC Pelican
*Boon's Yacht
*UNSC Infinity
|title-5=Equipment and technology|
|title-5=Equipment and technology|
*Data crystal chip
*Holographic bruh
*MJOLNIR Powered Assault Armor
|title-6=Weapons|
|title-6=Weapons|
*BR85 Heavy Barrel Service Rifle
*Brookish Boon's pistol
*M6H magnum
*MA5D Individual Combat Weapon System
}}</pre>  
}}</pre>  


It will create something similar to the following:
It will create something similar to the following:
{{Featurelist|secondcolumn=title-4|title-1=Characters|
{{Appearances|secondcolumn=title-4|title-1=Characters|
*Cortana (Data chip only)
*Brookish Boon
*John-117
*Toonbuck Toora
*Locke
*Palpatine
|title-2=Species|
|title-2=Species|
*Forerunner (Technology only)
*Sy Myrthian
*Human
*Human
*Sangheili
|title-3=Organizations|
|title-3=Organizations|
*ONI
*Galactic Empire
*UNSC
*Covenant
*Cerberus
|title-4=Vehicles|
|title-4=Vehicles|
*D79-TC Pelican
*Boon's Yacht
*UNSC Infinity
|title-5=Equipment and technology|
|title-5=Equipment and technology|
*Data crystal chip
*Holographic bruh
*MJOLNIR Powered Assault Armor
|title-6=Weapons|
|title-6=Weapons|
*BR85 Heavy Barrel Service Rifle
*Brookish Boon's pistol
*M6H magnum
*MA5D Individual Combat Weapon System
}}
}}


Line 143: Line 127:


;Code:
;Code:
<pre>{{Featurelist|secondcolumn=title-5
<pre>{{Appearances|secondcolumn=title-5
|title-1=Characters|
|title-1=Characters|



Latest revision as of 20:52, 27 May 2025

About

This template supports up to twelve Level 3 headings (=== TITLE ===). To add more headings (up to twelve), simply add in |title-#=. By default, the list is collapsed (as indicated by the hyperlinked [hide]. To remove this, place in |state=plain.

{{Appearances|secondcolumn=
|title-1=
|
}}

Creating a second column

To create a second column, simply specify which |title-#= will be located on the first row of the second column. For example, if there are four sections and title-4 is on the first row of the second column, then specify the following in the template: |secondcolumn=title-4. Take the following code as an example:

{{Appearances|secondcolumn=title-4|title-1=Characters|
*Brookish Boon
*Toonbuck Toora
*Palpatine
|title-2=Species|
*Sy Myrthian
*Human
|title-3=Organizations|
*Galactic Empire
|title-4=Vehicles|
*Boon's Yacht
|title-5=Equipment and technology|
*Holographic bruh
|title-6=Weapons|
*Brookish Boon's pistol
}}

It will create something similar to the following:

Characters

  • Brookish Boon
  • Toonbuck Toora
  • Palpatine

Species

  • Sy Myrthian
  • Human

Organizations

  • Galactic Empire

Vehicles

  • Boon's Yacht

Equipment and technology

  • Holographic bruh

Weapons

  • Brookish Boon's pistol




Standard layout and usage notes

The following is the standard layout to follow when using the template in appearance lists. Note that modifications may sometimes be made to the standard format if deemed necessary (e.g. sections with no entries may be omitted). Additionally, the template may also be used for other purposes in which this particular layout may not apply.

  • Characters
    • (subsections for different factions if necessary)
  • Species
  • Organizations
  • Locations
  • Events
  • Weapons
    • (subsections for different factions if necessary)
  • Vehicles
    • (subsections for different factions if necessary)
  • Technology and equipment
    • (subsections for different factions if necessary)
  • Miscellaneous (optional)
Code
{{Appearances|secondcolumn=title-5
|title-1=Characters|

|title-2=Species|

|title-3=Organizations|

|title-4=Locations|

|title-5=Events|

|title-6=Weapons|

|title-7=Vehicles|

|title-8=Technology and equipment|

}}