Template:Output-Format: Difference between revisions
From Exiled Kingdoms Wiki
mNo edit summary |
mNo edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
{{#switch:{{{Format}}} | {{#switch:{{{Format}}} | ||
|GenPageCall= | |||
{{:{{{1}}}|{{{2}}}|{{{3|}}}}} | |||
|genSel={{{{{{Step|}}}}}} | |||
|AreaTbl= | |AreaTbl= | ||
{{!}}- | {{!}}- | ||
Line 22: | Line 25: | ||
{{!}}- | {{!}}- | ||
{{!}}[[{{{Arm}}}]]{{!}}{{!}}{{{Groups}}}{{!}}{{!}}{{{Slot}}}{{!}}{{!}}{{{CWar}}}{{!}}{{!}}{{{CRog}}}{{!}}{{!}}{{{CCle}}}{{!}}{{!}}{{{CMag}}}{{!}}{{!}}{{{CAll}}}{{!}}{{!}}{{{Armor|}}}{{!}}{{!}}{{{Health|}}}{{!}}{{!}}{{{Mana|}}}{{!}}{{!}}{{{Attribute|}}}{{!}}{{!}}{{#if:{{{Element|}}}|{{{Element}}}}}{{!}}{{!}}{{{Elem_Res}}}{{!}}{{!}}{{#if:{{{Trait|}}}|{{{Trait}}}}}{{!}}{{!}}{{{Trait_Bonus|}}}{{!}}{{!}}{{{Description}}} | {{!}}[[{{{Arm}}}]]{{!}}{{!}}{{{Groups}}}{{!}}{{!}}{{{Slot}}}{{!}}{{!}}{{{CWar}}}{{!}}{{!}}{{{CRog}}}{{!}}{{!}}{{{CCle}}}{{!}}{{!}}{{{CMag}}}{{!}}{{!}}{{{CAll}}}{{!}}{{!}}{{{Armor|}}}{{!}}{{!}}{{{Health|}}}{{!}}{{!}}{{{Mana|}}}{{!}}{{!}}{{{Attribute|}}}{{!}}{{!}}{{#if:{{{Element|}}}|{{{Element}}}}}{{!}}{{!}}{{{Elem_Res}}}{{!}}{{!}}{{#if:{{{Trait|}}}|{{{Trait}}}}}{{!}}{{!}}{{{Trait_Bonus|}}}{{!}}{{!}}{{{Description}}} | ||
|ItmCityTbl={{!}}- | |ItmCityTbl={{!}}- | ||
{{!}}[[{{{Itm}}}]]{{!}}{{!}}{{{Cost|}}}{{!}}{{!}}{{#if:{{{Effect|}}}|{{{Effect}}} <code>{{{Effect_Amount}}}</code> {{#if: | {{!}}[[{{{Itm}}}]]{{!}}{{!}}{{{Cost|}}}{{!}}{{!}}{{#if:{{{Effect|}}}|{{{Effect}}} <code>{{{Effect_Amount}}}</code> {{#if: | ||
Line 57: | Line 59: | ||
== {{{Mob}}} == | == {{{Mob}}} == | ||
{{#ifexist:File:{{{Icon}}}|[[File:{{{Icon}}}|200px|left]]}} | {{#ifexist:File:{{{Icon}}}|[[File:{{{Icon}}}|200px|left]]}} | ||
{{{Long_Description|}}} | {{{Long_Description|}}}{{#if:{{{Location|}}}|: | ||
===Locations=== | ===Locations=== | ||
{{columns |2| | {{columns |2| | ||
{{{Location|}}}}} | {{{Location|}}}}}}}{{#if:{{{Quest|}}}|: | ||
===Quests=== | ===Quests=== | ||
{{columns |2| | {{columns |2| | ||
{{{Quest|}}}}} | {{{Quest|}}}}}}} | ||
{{{!}} class="wikitable sortable" style="text-align: center" | {{{!}} class="wikitable sortable" style="text-align: center" | ||
! '''Level L/H''' | ! '''Level L/H''' |
Latest revision as of 23:37, 17 December 2016
AreabyName
AreaTbl
{{AreabyName|areaname|AreaTbl}}
ArmorbyName
ArmSub
{{ArmorbyName|armorname|ArmSub}}
ArmTbl
{{ArmorbyName|armorname|ArmTbl}}
ArmCityTbl
{{ArmorbyName|armorname|ArmCityTbl}}
ArmCityTblx
{{ArmorbyName|armorname|ArmCityTblx}}
General Use
genSel
Select an individual field from any byName db
{{..byName|..name|genSel|Output-Format|..FieldName}}
ItembyName
ItmSub
{{ItembyName|itemname|ItmSub}}
ItmTbl
{{ItembyName|itemname|ItmTbl}}
CityItems
{{ItembyName|itemname|CityItems}}
ItmCityTbl
{{ItembyName|itemname|ItmCityTbl}}
ItmCityTblx
{{ItembyName|itemname|ItmCityTblx}}
ItmSubx
{{ItembyName|itemname|ItmSubx}}
MobbyName
MobSub
For filling out an individual mob section in the mob sub template
{{MobbyName|mobname|MobSub}}
MobTbl
{{MobbyName|mobname|MobTbl}}
NPCbyName
npcTbl
{{NPCbyName|npcname|npcTbl}}
npcInv
Posts only what npc sells
{{NPCbyName|npcname|npcInv}}
QuestbyName
QstTbl
{{QuestbyName|questname|QstTbl}}
SkillbyName
SkillIndv
{{SkillbyName|skillname|SkillIndv}}
SkillSubA
Advanced Skills
{{SkillbyName|skillname|SkillSubA}}
SkillSubC
Class skills
{{SkillbyName|skillname|SkillSubC}}
SkillSubG
General Skills
{{SkillbyName|skillname|SkillSubG}}
SkillTbl
{{SkillbyName|skillname|SkillTbl}}
WeaponbyName
WpnSub
{{WeaponbyName|weaponname|WpnSub}}
WpnTbl
{{WeaponbyName|weaponname|WpnTbl}}
WpnCityTbl
{{WeaponbyName|weaponname|WpnCityTbl}}
WpnCityTblx
{{WeaponbyName|weaponname|WpnCityTblx}}
Entry Setup
Entries are going to be used from a byName db and generally only want the table filling portion here.
The more elaborate setups should go in the ..Sub pages.
|..AreausedForwhat=
ArmCityTbl = Armor - City Pages - merchant Table
{{!}} {{!}} {{{First item}}} {{!}}{{!}} {{{Second}}}
You'll have to know the table layout before making the entries and reference the ..byName field names to get the data you want