Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 02:50, 5 June 2019 by imported>ItsPlantseed (Created page with "<includeonly>{{#invoke: looming | table }}</includeonly><noinclude> {{documentation}} <!-- Put categories/interwiki on the documentation page --> </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header Template:Lua Using this template, you can create tables like those commonly used in the “Loom ingredient” section of articles about items. It can be used similarly to Template:Tl, except it creates the table for you.

By default, the table generates with 3 columns: Name, Ingredients, and the main column containing Template:Tl. You can set the parameter {{{showname=1}}} or {{{showname=0}}} in the first template of the table to show or hide the Name column. To group multiple looming templates into one table, you also need to set {{{head=1}}} in the first template of the table, and {{{foot=1}}} in the last.

Example usage:

{{Looming
  |head=1
  |name=[[Banner|Base Banner]]
  |showdescription=1
  |White Banner
  |Black Dye
  |
  |Base
  |Black Base Banner
  |Blink=Banner
  |Olink=Banner
  |description=Emblazons a base (bottom third colored)
}}
{{Looming
  |name=[[Banner|Dyed Globe Banner]]
  |White Banner
  |Blue Dye
  |Creeper Charge Banner Pattern
  |Globe
  |Blue Creeper Charge Banner
  |Blink=Banner
  |Olink=Banner
  |description=Emblazons a dyed  creeper head pattern
  |foot=1
}}

produces:

Template:Looming Template:Looming

See also

Template:Recipe table see also de:Vorlage:Webstuhlrezept fr:Modèle:Tissage it:Template:Looming ja:テンプレート:Looming lzh:模板:Looming pt:Predefinição:Tecelagem ru:Шаблон:Ткачество th:แม่แบบ:Looming uk:Шаблон:Ткацтво

zh:Template:Looming
The above text is transcluded from Template:MC/Looming/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Looming/doc. (View all subpages of this page.)
Contents