Module:Favilink/doc: Difference between revisions

Jump to navigation Jump to search
521 bytes added ,  19:45, 16 December 2021
suffix: documentation
(Created page with "{{doc/start}} <includeonly>Category:Modules</includeonly> !!Currently only for use for objects in the tables: ItemsTable, Food, Corpses, Characters, Locations. All possibl...")
 
(suffix: documentation)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
Used similar to regular wikipage linking syntax. First argument takes name of the object and will pull the image from that item. This must be called using [[Template:Favilink]].
Used similar to regular wikipage linking syntax. First argument takes name of the object and will pull the image from that item. This must be called using [[Template:Favilink]].
<pre>
<pre>
{{favilink|stopsvalinn}}
{{favilink|Stopsvalinn}}
</pre>
</pre>
{{favilink|stopsvalinn}}
{{favilink|Stopsvalinn}}


==Optional Parameters==
==Optional Parameters==
Line 46: 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>''  

Navigation menu