Template:CharacterTableStart

From 118Wiki
Jump to navigation Jump to search


This is a simple template to create a character roster suitable for use in a User page.

Main Character/s
Serial:
Insignia Rank Character Name Vessel Current Post Status
04-LtCommander-Gold.jpg
Lieutenant Commander Example USS Constitution-B Tactical Officer Active
DS9style-ltcmdr red.png
Lieutenant Commander Example DSX Command Inactive
P/NPCs
Insignia Rank Character Name Vessel Current Post Status
STO Lieutenant Yellow.jpg
Lieutenant Example Example Operations Officer Active
03-Lieutenant-Gold.jpg
Lieutenant Example Deep Space 6 Tactical Officer Inactive
02-LieutenantJG-Blue.jpg
Lieutenant JG Example USS Constitution-B Science Officer Active
01-Ensign-Gold.jpg
Ensign Test DS6 Tactical Officer Inactive
00-Blank-Silver.jpg
Civilian Test Starbase 118 Ops Civilian Inactive
00-Blank-White.jpg
Civilian Examples Starbase 118 Ops Diplomat Inactive

In order to create the above all you have to use is the following code:

{{CharacterTableStart}}
{{CharacterHeader|'''Main Character/s'''}}
{{CharacterListing|Lieutenant Commander|Example||Slanted|Constitution|Tactical|Active}}
{{CharacterListing|Lieutenant Commander|Example||DS9|DSX|Command|Inactive}}
{{EndCharacterHeader}}
{{CharacterHeaderNoRound|'''P/NPCs'''}}
{{CharacterListing|Lieutenant|Example|Example|STO|Example|Operations|Active}}
{{CharacterListing|Lieutenant|Example|Example|Slanted|Deep Space 6|Tactical|Inactive}}
{{CharacterListing|Lieutenant JG|Example|Example|Slanted|Constitution|Science|Active}}
{{CharacterListing|Ensign|Example|Test|Slanted|DS6|Tactical|Inactive}}
{{CharacterListing|Civilian|Test||Slanted|Starbase 118|Civilian|Inactive}}
{{CharacterListing|Civilian|Lots of|Examples|Slanted|Starbase 118|Diplomat-White|Inactive}}
{{EndCharacterHeader}}
{{CharacterTableEnd}}
Now it does NPC ships!

Have any NPC ships? Want to display them on your page? Now you can simply with the Template:NPCShipHeader Template:NPCShipHeaderNoRound row templates!

NPC Vessels
Icon Vessel Type Status
Antares-icon1.png USS Tell Antares-class Active
{{CharacterTableStart}}
{{NPCShipHeader|'''Ship/s'''}}
{{NPCShipListing|Antares|{{USSwhite|Tell}}|Active}}
{{EndCharacterHeader}}
{{CharacterTableEnd}}

If you have any problems please feel free to contact Ceciri (talk)