Salem Logo Small.png
The Official Unofficial Wiki for the Paradox / Seatribe game

Salem: The Crafting MMO

PM Sabinati on the forums with issues, or post in the Thread

Help:Infobox

From Salem Wiki
Jump to: navigation, search

Contents

About

My avatar

Here i will try to explain how to add/edit pages that contain my {{Infobox}}.

  • To ease in creating new pages, or edit existing ones, see the sections listed in the index on right side under Code for types.
  • On many (some?) occasions, you will notice an Unknown Item icon.png image being displayed when, for-whatever reason, the needed image can't be found, in such cases you are able to click this image to upload the needed image, with the correct filename pre-selected.


My Infobox system is setup as a 2-stage system, that separates data and presentation.
  1. It first needs some SMW-Properties set.
    {{SetProp}} is used for this purpose, it automatically calculating values for some, like the list of “Required By”, by consolidating other pages as needed.
    All properties can be combined but not all are required to be set, you can view an overview at the testdata page where all supported properties are being used and can be seen as a showcase.
  2. As second step {{Infobox}} is used to request the values and display those that are possibility set.
Because of this “2-stage approach”, sometimes its necessary to “Refresh” the page, or even to make “null-edits” after saving to show updates due to changes in other pages.

Code for types

Actions

Help on usage of this Infobox
Actions
TriMoon icon.png
“some words...”
TriMoon.png
Technology Required:
Object(s) Required:
Back to GameMenu Movement
{{SetProp
|IsinGameMenu=menuname
|Has icon=
|Caption=
|Has fullview={{SUBPAGENAME}}.png
|RequiresTech=
|RequiresObj=
}}{{Infobox}}

==About==

Using the code shown might result in a page starting with an Infobox like on right-side.

  • IsinGameMenu - Replace the value for this with the menu-name where the action can be found in-game.
    This will only accept valid values and will reject any unknown ones, see Property:IsinGameMenu for a list.
  • Has icon - Don't provide a value for this unless you want to explicitly set a value manually.
    {{SetProp}} will automatically set a proper value by default.
  • Has fullview - The value shown is to automatically calculate the image to use for full-view from the pagename the code is used in.
    This will take the last part of the pagename when the name-space has subpages enabled.
    You can leave this empty when your subject won't have fullview images to use.
  • RequiresTech - List the technologies that are needed to learn/gain this action.
    This can accept multiple entries, separated by a comma, when multiple.
  • RequiresObj - You can leave the value for this empty if the action doesn't require an object to perform.
    This can accept multiple entries, separated by a comma, when multiple.
    The entries are composed like a Record in the form of “name;amount;heading”, the last part “;heading” can be left away when not used/needed.
Back to top
Back to top
 

Animals & Creatures

Help on usage of this Infobox
Creatures
TriMoon icon.png
“some words...”
TriMoon.png
Locations found:
Hit Points:3
Possible Loot:
Back to Objects
{{SetProp
|IsinGameMenu=no (or the menu-name)
|Has icon=
|Caption=
|Has fullview={{SUBPAGENAME}}.png
|Locations=
|HP=
|Loot=
}}{{Infobox}}

==About==
  • This type is still under development, thats why some parameters are not fully documented yet...

Using the code shown might result in a page starting with an Infobox like on right-side.

  • IsinGameMenu - Replace the value for this with the menu-name where the object can be found in-game, or “no” when only found in game world and not via a menu of the character.
    This will only accept valid values and will reject any unknown ones, see Property:IsinGameMenu for a list.
  • Has icon - Don't provide a value for this unless you want to explicitly set a value manually.
    {{SetProp}} will automatically set a proper value by default.
  • Has fullview - The value shown is to automatically calculate the image to use for full-view from the pagename the code is used in.
    This will take the last part of the pagename when the name-space has subpages enabled.
    You can leave this empty when your subject won't have fullview images to use.
  • Locations - List the Terrain types this Animal/Creature can be found in, or use “Any” when found in all.
    This can accept multiple entries, separated by a comma, when multiple.
  • HP - Mention the amount of Hit Points this Animal/Creature has.
    This can hold only numeric values.
    Use “0” when you don't know the amount but you know it has some.
    This is still under development, and will get the possibility to record the min/max/avg amounts.
  • Loot -
Back to top
Back to top
 

Food & Alchemical items

Help on usage of this Infobox
Food
TriMoon icon.png
“some words...”
TriMoon.png
Technology Required:
Object(s) Required:
Provided Alchemy values:
Humour:BloodPhlegmYellowBlack
Heal:161116
Salt:271217
Mercury:381318
Sulphur:491419
Lead:5101520
Back to GameMenu | Food
{{SetProp
|IsinGameMenu=no (or the menu-name)
|Has icon=
|Caption=
|Has fullview={{SUBPAGENAME}}.png
|RequiresTech=
|RequiresObj=
|Locations=
|purity=1
|heals=;;;
|events1=;;;
|events2=;;;
|events3=;;;
|events4=;;;
}}{{Infobox}}

==About==

Using the code shown might result in a page starting with an Infobox like on right-side.

  • IsinGameMenu - Replace the value for this with the menu-name where the object can be found in-game, or “no” when only found in game world and not via a menu of the character.
    This will only accept valid values and will reject any unknown ones, see Property:IsinGameMenu for a list.
    If the item is made only using a structure or tool you should add [[Category:PlayerMade|{{SUBPAGENAME}}]] to the page.
  • Has icon - Don't provide a value for this unless you want to explicitly set a value manually.
    {{SetProp}} will automatically set a proper value by default.
  • Has fullview - The value shown is to automatically calculate the image to use for full-view from the pagename the code is used in.
    This will take the last part of the pagename when the name-space has subpages enabled.
    You can leave this empty when your subject won't have fullview images to use.
  • RequiresTech - List the technologies that are needed to craft/gain this object.
    This can accept multiple entries, separated by a comma, when multiple.
  • RequiresObj - List the objects required to craft this object.
    This can accept multiple entries, separated by a comma, when multiple.
    The entries are composed like a Record in the form of “name;amount;heading”, the last part “;heading” can be left away when not used/needed, but is very useful to group requirements for certain parts or purposes.
  • Locations - Don't provide a value, unless the object can only be found in the game world.
    List the Terrain types this object can be found in, or use “Any” when found in all.
    This can accept multiple entries, separated by a comma, when multiple.
  • Alchemical values - Provide the values as provided in game.
    • purity - The purity multiplier.
      (This is not fully implemented yet on wiki, eg. no re-calculation yet, because its disabled in game at moment)
    • heals - List the amounts that this object heals your humours, separated by dot-comma's, in sequence as it's been listed in game.
    • events1 - List the RED numbers, separated by dot-comma's, in sequence as it's been listed in game.
    • events2 - List the GREEN numbers, separated by dot-comma's, in sequence as it's been listed in game.
    • events3 - List the BLUE numbers, separated by dot-comma's, in sequence as it's been listed in game.
    • events4 - List the YELLOW numbers, separated by dot-comma's, in sequence as it's been listed in game.
Back to top
Back to top
 

Inspirationals

Help on usage of this Infobox
Inspirationals
TriMoon icon.png
“some words...”
TriMoon.png
Technology Required:
Object(s) Required:
Provided skill proficiency:
Nameval
Arts & Crafts Arts & Crafts icon.png1
Cloak & Dagger Cloak & Dagger icon.png2
Faith & Wisdom Faith & Wisdom icon.png3
Frontier & Wilderness Frontier & Wilderness icon.png4
Hammer & Nail Hammer & Nail icon.png5
Hunting & Gathering Hunting & Gathering icon.png6
Law & Lore Law & Lore icon.png7
Mines & Mountains Mines & Mountains icon.png8
Pots & Pans Pots & Pans icon.png9
Sparks & Embers Sparks & Embers icon.png10
Stocks & Cultivars Stocks & Cultivars icon.png11
Sugar & Spice Sugar & Spice icon.png12
Thread & Needle Thread & Needle icon.png13
Natural Philosophy Natural Philosophy icon.png14
Perennial Philosophy Perennial Philosophy icon.png15
Back to Objects
{{SetProp
|IsinGameMenu=no (or the menu-name)
|Has icon=
|Caption=
|Has fullview={{SUBPAGENAME}}.png
|RequiresTech=
|RequiresObj=
|purity=1
|arts=
|cloak=
|faith=
|frontier=
|hammer=
|hunting=
|law=
|mines=
|pots=
|sparks=
|stocks=
|sugar=
|thread=
|natural=
|perennial=
}}{{Infobox}}

==About==

Using the code shown might result in a page starting with an Infobox like on right-side.

  • IsinGameMenu - Replace the value for this with, the menu-name where this Inspirational can be found in-game, or “no” when only found in game world and not via a menu of the character.
    This will only accept valid values and will reject any unknown ones, see Property:IsinGameMenu for a list.
    If the item is made only using a structure or tool you should add [[Category:PlayerMade|{{SUBPAGENAME}}]] to the page.
  • Has icon - Don't provide a value for this unless you want to explicitly set a value manually.
    {{SetProp}} will automatically set a proper value by default.
  • Has fullview - The value shown is to automatically calculate the image to use for full-view from the pagename the code is used in.
    This will take the last part of the pagename when the name-space has subpages enabled.
    You can leave this empty when your subject won't have fullview images to use.
  • RequiresTech - List the technologies that are needed to craft this Inspirational.
    This can accept multiple entries, separated by a comma, when multiple.
  • RequiresObj - List the objects required to craft this Inspirational.
    This can accept multiple entries, separated by a comma, when multiple.
    The entries are composed like a Record in the form of “name;amount;heading”, the last part “;heading” can be left away when not used/needed, but is very useful to group requirements for certain parts or purposes.
  • Proficiencies - Give the proficiency-values, that this inspirational grants when studied, for the respective Skills, while leaving unused ones empty.
    These can hold only numeric values.
    Use “0” when you don't know the amount but you know it has some.
    • purity - The purity multiplier.
      (This is not fully implemented yet on wiki, eg. no re-calculations yet, because its disabled in game at moment)
    • arts = Arts & Crafts
    • cloak = Cloak & Dagger
    • faith = Faith & Wisdom
    • frontier = Frontier & Wilderness
    • hammer = Hammer & Nail
    • hunting = Hunting & Gathering
    • law = Law & Lore
    • mines = Mines & Mountains
    • pots = Pots & Pans
    • sparks = Sparks & Embers
    • stocks = Stocks & Cultivars
    • sugar = Sugar & Spice
    • thread = Thread & Needle
    • natural = Natural Philosophy
    • perennial = Perennial Philosophy
Back to top
Back to top
 

Items & Structures

Help on usage of this Infobox
Items
TriMoon icon.png
“some words...”
TriMoon.png
Technology Required:
Object(s) Required:
Repaired With:
Liftable?No
Hit Points:100
Soak Value:100
Back to GameMenu Tools & Utilities
{{SetProp
|IsinGameMenu=no (or the menu-name)
|Has icon=
|Caption=
|Has fullview={{SUBPAGENAME}}.png
|RequiresTech=
|RequiresObj=
|RepairedWith=
|IsLiftable=y/n or IsLiftableWhenEmpty=y
|HP=
|Soak=
}}{{Infobox}}

==About==
Help on usage of this Infobox
Structures
TriMoon icon.png
“some words...”
TriMoon.png
Technology Required:
Object(s) Required:
Repaired With:
Liftable?Only when empty
Hit Points:100
Soak Value:100
Back to GameMenu Build

Using the code shown might result in a page starting with an Infobox like on right-side.

  • IsinGameMenu - Replace the value for this with, the menu-name where the action can be found in-game, or “no” when only found in game world and not via a menu of the character.
    This will only accept valid values and will reject any unknown ones, see Property:IsinGameMenu for a list.
    If the item is made only using a structure or tool you should add [[Category:PlayerMade|{{SUBPAGENAME}}]] to the page.
  • Has icon - Don't provide a value for this unless you want to explicitly set a value manually.
    {{SetProp}} will automatically set a proper value by default.
  • Has fullview - The value shown is to automatically calculate the image to use for full-view from the pagename the code is used in.
    This will take the last part of the pagename when the name-space has subpages enabled.
    You can leave this empty when your subject won't have fullview images to use.
  • RequiresTech - List the technologies that are needed to craft/build this Item/Structure.
    This can accept multiple entries, separated by a comma, when multiple.
  • RequiresObj - List the objects required to craft/build this Item/Structure.
    This can accept multiple entries, separated by a comma, when multiple.
    The entries are composed like a Record in the form of “name;amount;heading”, the last part “;heading” can be left away when not used/needed, but is very useful to group requirements for certain parts or purposes.
  • RepairedWith - List objects used in repairing when this Item/Structure can be repaired.
    This can accept multiple entries, separated by a comma, when multiple.
    The entries are composed like a Record in the form of “name;amount;heading”, the last part “;heading” can be left away when not used/needed, but is very useful to group requirements for certain parts or purposes.
    The value in “amount” won't be shown and can be omitted (left empty).
  • Replace these values, or remove the parameters completely:
    • IsLiftable - Use a Boolean value to indicate if this Item/Structure can be lifted using the Lift icon.png Lift action
      Not needed when using IsLiftableWhenEmpty instead.
      Not needed when not applicable. (in case of Items that only go in your characters inventory)
    • IsLiftableWhenEmpty - Use a Booleantrue” value to indicate that this Item/Structure can be lifted when empty only, using the Lift icon.png Lift action.
      Not needed in other cases.
  • HP - Mention the amount of Hit Points this Item/Structure has.
    This can hold only numeric values.
    Use “0” when you don't know the amount but you know it has some.
    This is still under development, and will get the possibility to record the min/max/avg amounts.
  • Soak - Mention the Soak amount this Item/Structure has.
    This can hold only numeric values.
    Use “0” when you don't know the amount but you know it has some.
Back to top
Back to top
 

Technology

Help on usage of this Infobox
Technology
TriMoon icon.png
“some words...”
TriMoon.png
Technology Required:
Technology Unlocked:
Required skill proficiency:
Nameval
Arts & Crafts Arts & Crafts icon.png1
Cloak & Dagger Cloak & Dagger icon.png2
Faith & Wisdom Faith & Wisdom icon.png3
Frontier & Wilderness Frontier & Wilderness icon.png4
Hammer & Nail Hammer & Nail icon.png5
Hunting & Gathering Hunting & Gathering icon.png6
Law & Lore Law & Lore icon.png7
Mines & Mountains Mines & Mountains icon.png8
Pots & Pans Pots & Pans icon.png9
Sparks & Embers Sparks & Embers icon.png10
Stocks & Cultivars Stocks & Cultivars icon.png11
Sugar & Spice Sugar & Spice icon.png12
Thread & Needle Thread & Needle icon.png13
Natural Philosophy Natural Philosophy icon.png14
Perennial Philosophy Perennial Philosophy icon.png15
Back to GameMenu | Technologies
{{SetProp
|IsinGameMenu=Technologies
|Has icon=
|Caption=
|Has fullview={{SUBPAGENAME}}.png
|RequiresTech=
|UnlocksTech=
|arts=
|cloak=
|faith=
|frontier=
|hammer=
|hunting=
|law=
|mines=
|pots=
|sparks=
|stocks=
|sugar=
|thread=
|natural=
|perennial=
}}{{Infobox}}

==About==

Using the code shown might result in a page starting with an Infobox like on right-side.
Due to technical reasons the lead-in shown on right as example is incorrect, and will read “Required skill proficiency” on use in main namespace.

  • IsinGameMenu - Don't replace the value for this, it selects the page as being part of No image found, click to upload Technologies and thus mark it as being a Technology.
    This will only accept valid values and will reject any unknown ones, see Property:IsinGameMenu for a list.
  • Has icon - Don't provide a value for this unless you want to explicitly set a value manually.
    {{SetProp}} will automatically set a proper value by default.
  • Has fullview - The value shown is to automatically calculate the image to use for full-view from the pagename the code is used in.
    This will take the last part of the pagename when the name-space has subpages enabled.
    You can leave this empty when your subject won't have fullview images to use.
  • RequiresTech - List the technologies that are needed to unlock this Technology.
    This can accept multiple entries, separated by a comma, when multiple.
  • UnlocksTech - List the technologies that are unlocked after you have learned this Technology.
    This can accept multiple entries, separated by a comma, when multiple.
  • Proficiencies - Give the minimum proficiency-values, that are needed to be able to learn this Technology, for the respective Skills, while leaving unused ones empty.
    These can hold only numeric values.
    Use “0” when you don't know the amount but you know it has some.
Back to top
Back to top
 

Datapages used

These are the pages used as data to display the infoboxes on this page, for reference and maintenance:

Facts about InfoboxRDF feed
IsGameMenufalse +
Personal tools
Namespaces

Variants
Actions
Navigation
Game Development
Contributing
Other
Toolbox