718
edits
mNo edit summary |
Kernelmethod (talk | contribs) m (Add link to the style guide page.) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Favilink| favilink |{{#if:{{{Page|}}}| | <includeonly>{{#invoke:Favilink| favilink |{{#if:{{{Page|}}}|{{{Page}}}|{{{1|}}} }}|{{{2|}}}}}</includeonly><noinclude> | ||
[[Category:Shorthand Templates]] | [[Category:Shorthand Templates]] | ||
!!Currently only for use for objects in the tables: ItemsTable, Food, Corpses, Characters, Locations. All possible items can be found here: [[Special:CargoTables/GeneralData]]. If an item is missing, please let [[User:Teamtoto]] know. | NOTE: this can also be invoked with [[Template:F]], which is fewer characters to type. !!Currently only for use for objects in the tables: ItemsTable, Food, Corpses, Characters, Locations. All possible items can be found here: [[Special:CargoTables/GeneralData]]. If an item is missing, please let [[User:Teamtoto]] know. | ||
==Usage== | ==Usage== | ||
Used similar to regular wikipage linking syntax. First argument takes name of the page and will pull the image from that item. | Used similar to regular wikipage linking syntax. First argument takes name of the page and will pull the image from that item. This is not case sensitive! | ||
<pre> | <pre> | ||
{{favilink| | {{favilink|Stopsvalinn}} | ||
</pre> | </pre> | ||
{{favilink| | {{favilink|Stopsvalinn}} | ||
If you want to use the wiki's page name instead, see [[Template:Favilink page]]. For the ObjectBlueprint id (which IS case sensitive), use [[Template:Favilink id]]. See [[Style Guide#Colored Names]] for more information on when to use these different favilink types. | |||
==Optional Parameters== | ==Optional Parameters== | ||
Line 45: | Line 46: | ||
<div class="qud-inventory-item" style="font-family:'Open Sans';font-size:15.5px;">{{favilink | cybernetics credit wedge 1¢}}</div> | <div class="qud-inventory-item" style="font-family:'Open Sans';font-size:15.5px;">{{favilink | cybernetics credit wedge 1¢}}</div> | ||
</div> | </div> | ||
|- | |||
! style="white-space:nowrap;" | <code>prefix:<prefix></code> | |||
| Prepends a prefix to the name, which can include qud text color styles. | |||
<pre> | |||
{{favilink | mental aggregator | prefix:&ylant&Ye&Wr&Yn&yed}} | |||
</pre> | |||
{{favilink | mental aggregator | prefix:&ylant&Ye&Wr&Yn&yed}} | |||
|- | |||
! style="white-space:nowrap;" | <code>suffix:<suffix></code> | |||
| Postpends a suffix to the name, which can include qud text color styles. | |||
<pre> | |||
{{favilink | plasma grenade | suffix:mk II}} | |||
</pre> | |||
{{favilink | plasma grenade | suffix:mk II}} | |||
|- | |- | ||
! ''<any other value>'' | ! ''<any other value>'' |