Template:Rank/formatted

From Gineipaedia, the Legend of Galactic Heroes wiki

Jump to: navigation, search

The text below is a formatted version of the code for {{rank}}. This formatted code should allow for easier changes when the template needs to be modified.

Please do not copy this code back into the main template page without first stripping it of its formatting. This can be done in a regexp-supporting text editor (such as Textmate or Sublime Text) by replacing the following regular expression by an empty string: [\t\n]

<includeonly>

[[
{{#switch: {{lc:{{{1|}}}}} 
	| free planets
	| free planets alliance
	| fpa						= Military ranks of the Free Planets Alliance#
	| galactic empire
	| ge
	| empire
	| imperial					= Military ranks of the Galactic Empire#
	| #default					= 
}}

{{#switch: {{lc:{{{2|}}}}} 
	| warrant
	| wo
	| warrant officer			= Warrant_officer{{!}}{{#switch: {{{3|}}}|lc = warrant officer|sc = Warrant officer|#default = Warrant Officer}}
	| petty officer second class
	| po 2
	| petty officer 2nd class	= Petty_Officer_Second_Class{{!}}{{#switch: {{{3|}}}|lc = petty officer second class|sc = Petty officer second class|#default = Petty Officer Second Class}}
	| petty officer first class
	| po 1
	| petty officer 1st class	= Petty_Officer_First_Class{{!}}{{#switch: {{{3|}}}|lc = petty officer first class|sc = Petty officer first class|#default = Petty Officer First Class}}
	| ens
	| ensign					= Ensign{{!}}{{#switch: {{{3|}}}|lc = ensign|sc = Ensign|#default = Ensign}}
	| sub
	| sublt
	| sub lt
	| sub lieutenant
	| sublieutenant
	| sub-lieutenant			= Sub-lieutenant{{!}}{{#switch: {{{3|}}}|lc = sub-lieutenant|sc = Sub-lieutenant|#default = Sub-lieutenant}}
	| lt
	| lieutenant				= Lieutenant{{!}}{{#switch: {{{3|}}}|lc = lieutenant|sc = Lieutenant|#default = Lieutenant}}
	| ltcmdr
	| lt cmdr
	| lieutenant commander
	| lt commander				= Lieutenant_commander{{!}}{{#switch: {{{3|}}}|lc = lieutenant commander|sc = Lieutenant commander|#default = Lt Commander}}
	| cmdr
	| commander					= Commander{{!}}{{#switch: {{{3|}}}|lc = commander|sc = Commander|#default = Commander}}
	| capt
	| cpt
	| cptn
	| captain					= Captain{{!}}{{#switch: {{{3|}}}|lc = captain|sc = Captain|#default = Captain}}
	| cdre
	| como
	| commodore					= Commodore{{!}}{{#switch: {{{3|}}}|lc = commodore|sc = Commodore|#default = Commodore}}
	| radm
	| rear adm
	| rear admiral				= Rear_admiral{{!}}{{#switch: {{{3|}}}|lc = rear admiral|sc = Rear admiral|#default = Rear Admiral}}
	| vadm
	| vice adm
	| vice admiral				= Vice_admiral{{!}}{{#switch: {{{3|}}}|lc = vice admiral|sc = Vice admiral|#default = Vice Admiral}}
	| adm
	| admiral					= Admiral{{!}}{{#switch: {{{3|}}}|lc = admiral|sc = Admiral|#default = Admiral}}
	| high
	| high adm
	| high admiral				= High_admiral{{!}}{{#switch: {{{3|}}}|lc = high admiral|sc = High admiral|#default = High Admiral}}
	| fleet
	| fleet adm
	| flt
	| flt adm
	| fadm
	| fleet admiral				= Fleet_admiral{{!}}{{#switch: {{{3|}}}|lc = fleet admiral|sc = Fleet admiral|#default = Fleet Admiral}}
	| #default					= ERROR; SPECIFY FPA/IMPERIAL
}}
]]

</includeonly><noinclude>{{documentation}}[[Category:Custom templates]]</noinclude>
Personal tools
Namespaces
Variants
Actions
Miscellany
Common
Tool box