Template:Lookup

{{ #switch: {{ lc: {{{1}}} }} {{ lc: {{{2}}} }}

Description
This is slightly better designed version of 'template:normalize'...

Lookup a property of something.

It is intended for use in other templates where the property of a parameter is needed.

Parameters

 * Property:Required, Positional, Usually static.
 * Names the property being looked up. Accepted values are:


 * prof id – assigned by ArenaNet/NC Soft

| prof id 1| prof id w| prof id wa| prof id warrior= 1| prof id 2| prof id r| prof id ra| prof id ranger= 2| prof id 3| prof id mo| prof id monk= 3| prof id 4| prof id n| prof id ne| prof id necromancer= 4| prof id 5| prof id me| prof id mesmer= 5| prof id 6| prof id e| prof id el| prof id elementalist= 6| prof id 7| prof id a| prof id as| prof id assassin= 7| prof id 8| prof id rt| prof id ritualist= 8| prof id 9| prof id p| prof id pa| prof id paragon= 9| prof id 10| prof id d| prof id de| prof id dervish= 10
 * short prof name

| short prof name 7| short prof name a| short prof name as| short prof name assassin= a| short prof name 10| short prof name d| short prof name de| short prof name derish= d| short prof name 6| short prof name e| short prof name el| short prof name elementalist= e| short prof name 5| short prof name me| short prof name mesmer= me| short prof name 3| short prof name mo| short prof name monk= mo| short prof name 4| short prof name n| short prof name ne| short prof name necromancer= n| short prof name 9| short prof name p| short prof name pa| short prof name paragon= p| short prof name 2| short prof name r| short prof name ra| short prof name ranger= r| short prof name 8| short prof name rt| short prof name ritualist= rt| short prof name 1| short prof name w| short prof name wa| short prof name warrior= w| short prof name x| short prof name none= x
 * full prof name

| full prof name 7| full prof name a| full prof name as| full prof name assassin= assassin| full prof name 10| full prof name d| full prof name de| full prof name dervish= dervish| full prof name 6| full prof name e| full prof name el| full prof name elementalist= elementalist| full prof name 5| full prof name me| full prof name mesmer= mesmer| full prof name 3| full prof name mo| full prof name monk= monk| full prof name 4| full prof name n| full prof name ne| full prof name necromancer= necromancer| full prof name 9| full prof name p| full prof name pa| full prof name paragon= paragon| full prof name 2| full prof name r| full prof name ra| full prof name ranger= ranger| full prof name 8| full prof name rt| full prof name ritualist= ritualist| full prof name 1| full prof name w| full prof name wa| full prof name warrior= warrior| full prof name x| full prof name none= none
 * product name

| product name bmp| product name bonus| product name bonus mission pack= Guild Wars: Bonus Mission Pack| product name all| product name core= All Guild Wars I Campeigns| product name eotn| product name gwen| product name eye of the north= Guild Wars: Eye of the North| product name factions= Guild Wars: Factions| product name nightfall= Guild Wars: Nightfall| product name pre= Guild Wars: Prophecies (before the Searing)| product name prophecies= Guild Wars: Prophecies| product name post= Guild Wars: Prophecies (after the Searing)
 * product nation

| product nation factions= Cantha| product nation nightfall= Elona| product nation pre| product nation post| product nation prophecies= Tyria
 * product nationals

| product nationals factions= Canthan| product nationals nightfall= Elonian| product nationals pre| product nationals post| product nationals prophecies= Tyrian
 * product ref

| product ref bmp| product ref bonus| product ref bonus mission pack= Guild Wars: Bonus Mission Pack| product ref eotn| product ref gwen= Guild Wars: Eye of the North| product ref factions= Guild Wars: Factions| product ref nightfall= Guild Wars: Nightfall| product ref pre= Guild Wars: Prophecies (before the Searing)| product ref prophecies= Guild Wars: Prophecies| product ref post= Guild Wars: Prophecies (after the Searing)
 * namespace id

| namespace id -2| namespace id media| namespace id media:= -2| namespace id -1| namespace id special| namespace id special:= -1| namespace id 0| namespace id | namespace id :| namespace id main| namespace id main:= 0| namespace id 1| namespace id talk| namespace id talk:= 1| namespace id 2| namespace id user| namespace id user:= 2| namespace id 3| namespace id user talk| namespace id user talk:= 3| namespace id 4| namespace id guild wars wiki| namespace id guild wars wiki:= 4| namespace id 5| namespace id guild wars wiki talk| namespace id guild wars wiki talk:= 5| namespace id 6| namespace id image| namespace id image:= 6| namespace id 7| namespace id image talk| namespace id image talk:= 7| namespace id 8| namesapce id mediawiki| namesapce id mediawiki:= 8| namespace id 9| namespace id mediawiki talk| namespace id mediawiki talk:= 9| namespace id 10| namespace id template| namespace id template:= 10| namespace id 11| namespace id template talk| namespace id template talk:= 11| namespace id 12| namespace id help| namespace id help:= 12| namespace id 13| namespace id help talk| namespace id help talk:= 13| namespace id 14| namespace id category| namespace id category:= 14| namespace id 15| namespace id category talk| namespace id category talk:= 15| namespace id 100| namespace id guild| namespace id guild:= 100| namespace id 101| namespace id guild talk| namespace id guild talk:= 101| namespace id 102| namespace id game link| namespace id game link:= 102| namespace id 103| namespace id game link talk| namespace id game link talk:= 103| namespace id 200| namespace id arenanet| namespace id arenanet:= 200| namespace id 201| namespace id arenanet talk| namespace id arenanet talk:= 201| namespace id 202| namespace id feedback| namespace id feedback:= 202| namespace id 203| namespace id feedback talk| namespace id feedback talk:= 203
 * topic namespace

| topic namespace 0| topic namespace | topic namespace :| topic namespace main| topic namespace main:| topic namespace 1| topic namespace talk| topic namespace talk:= | topic namespace 2| topic namespace user| topic namespace user:| topic namespace 3| topic namespace user talk| topic namespace user talk:= User| topic namespace 4| topic namespace guild wars wiki| topic namespace guild wars wiki:| topic namespace 5| topic namespace guild wars wiki talk| topic namespace guild wars wiki talk:= Guild Wars Wiki| topic namespace 6| topic namespace image| topic namespace image:| topic namespace 7| topic namespace image talk| topic namespace image talk:= Image| topic namespace 8| topic namespace mediawiki| topic namespace mediawiki:| topic namespace 9| topic namespace mediawiki talk| topic namespace mediawiki talk:= MediaWiki| topic namespace 10| topic namespace template| topic namespace template:| topic namespace 11| topic namespace template talk| topic namespace template talk:= Template| topic namespace 12| topic namespace help| topic namespace help:| topic namespace 13| topic namespace help talk| topic namespace help talk:= Help| topic namespace 14| topic namespace category| topic namespace category:| topic namespace 15| topic namespace category talk| topic namespace category talk:= Category| topic namespace 100| topic namespace guild| topic namespace guild:| topic namespace 101| topic namespace guild talk| topic namespace guild talk:= Guild| topic namespace 102| topic namespace game link| topic namespace game link:| topic namespace 103| topic namespace game link talk| topic namespace game link talk:= Game Link| topic namespace 200| topic namespace arenanet| topic namespace arenanet:| topic namespace 201| topic namespace arenanet talk| topic namespace arenanet talk:= ArenaNet| topic namespace 202| topic namespace feedback| topic namespace feedback:| topic namespace 203| topic namespace feedback talk| topic namespace feedback talk:= Feedback
 * discussion namespace

| discussion namespace 0| discussion namespace | discussion namespace :| discussion namespace main| discussion namespace main:| discussion namespace 1| discussion namespace talk| discussion namespace talk:= Talk| discussion namespace 2| discussion namespace user| discussion namespace user:| discussion namespace 3| discussion namespace user talk| discussion namespace user talk:= User talk| discussion namespace 4| discussion namespace guild wars wiki| discussion namespace guild wars wiki:| discussion namespace 5| discussion namespace guild wars wiki talk| discussion namespace guild wars wiki talk:= Guild Wars Wiki talk| discussion namespace 6| discussion namespace image| discussion namespace image:| discussion namespace 7| discussion namespace image talk| discussion namespace image talk:= Image talk| discussion namespace 8| discussion namespace mediawiki| discussion namespace mediawiki:| discussion namespace 9| discussion namespace mediawiki talk| discussion namespace mediawiki talk:= MediaWiki talk| discussion namespace 10| discussion namespace template| discussion namespace template:| discussion namespace 11| discussion namespace template talk| discussion namespace template talk:= Template talk| discussion namespace 12| discussion namespace help| discussion namespace help:| discussion namespace 13| discussion namespace help talk| discussion namespace help talk:= Help talk| discussion namespace 14| discussion namespace category| discussion namespace category:| discussion namespace 15| discussion namespace category talk| discussion namespace category talk:= Category talk| discussion namespace 100| discussion namespace guild| discussion namespace guild:| discussion namespace 101| discussion namespace guild talk| discussion namespace guild talk:= Guild talk| discussion namespace 102| discussion namespace game link| discussion namespace game link:| discussion namespace 103| discussion namespace game link talk| discussion namespace game link talk:= Game Link talk| discussion namespace 200| discussion namespace arenanet| discussion namespace arenanet:| discussion namespace 201| discussion namespace arenanet talk| discussion namespace arenanet talk:= ArenaNet talk| discussion namespace 202| discussion namespace feedback| discussion namespace feedback:| discussion namespace 203| discussion namespace feedback talk| discussion namespace feedback talk:= Feedback talk| #default =
 * Something:Required, Positional, Variable.
 * The thing whose property is being looked up.
 * prof things:
 * a, assassin, d, dervish, e, elementalist, me, mesmer, mo, monk, n, necromancer, p, paragon, r, ranger, rt, ritualist, w, warrior
 * ArenaNet assigned proffesion identifiers
 * product things
 * bmp, bonus, bonus mission pack, core, eotn, eye of the north, factions, gwen, nightfall, pre, prophecies, post


 * default:Optional, Positional.
 * What to say if the property of something is not found, or the special value sic to use something with &#x5B;sic&#x5D; appended.

}}

Examples
,, , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,

,, , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,

,, , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,  , ,

,,  ,  ,

,,  , , ,  , , ,  ,  ,  , , ,  , , ,  , , .  , , ,  , , .  , , ,  , , .  , , ,

,, , ,