Template:Favilink id: Difference between revisions
Jump to navigation
Jump to search
(fixed bugs with stored data that had plain name != page name) |
(replaced with module) |
||
Line 1: | Line 1: | ||
<includeonly | <includeonly>{{#invoke:Favilink| idfavilink |{{#if:{{{Page|}}}|{{#titleparts:{{{Page}}}}}|{{{1|}}} }}|{{{2|}}}}}</includeonly><noinclude> | ||
[[Category:Shorthand Templates]] | [[Category:Shorthand Templates]] | ||
!!Currently only for use for objects in the tables: ItemsTable, Food, Corpses, Characters. All possible items can be found here: [[Special:CargoTables/GeneralData]]. This is [[Template:Favilink]], but searches by ObjectID instead of page name. | !!Currently only for use for objects in the tables: ItemsTable, Food, Corpses, Characters. All possible items can be found here: [[Special:CargoTables/GeneralData]]. This is [[Template:Favilink]], but searches by ObjectID instead of page name. |
Revision as of 20:33, 12 September 2019
!!Currently only for use for objects in the tables: ItemsTable, Food, Corpses, Characters. All possible items can be found here: Special:CargoTables/GeneralData. This is Template:Favilink, but searches by ObjectID instead of page name.
Usage
Used similar to regular wikipage linking syntax. First argument takes name of the page and will pull the image from that item.
{{favilink id|stopsvaalinn}}
stopsvaalinn(favilink error!)
You can also use a second argument to reword the link:
{{favilink id|Cudgel8th|A &Rreally&y spicy meatball}}