Template:Cybernetic: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
(store creation code)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Cybernetics|Name=Page|Cost=Integer|PossibleSlots=List (,) of String|Description=Wikitext|DestroyOnRemove=Boolean|CyberneticID=String|Weight=Integer|StartingCybernetic=List (,) of String}}</noinclude><includeonly>{{#cargo_store:_table=Cybernetics|Name={{{name|}}}|Cost={{{cost|}}}|PossibleSlots={{{slots|}}}|Description={{Qud text|{{{desc|}}}|unbolded}}|DestroyOnRemove={{{destroyonremove|no}}}|CyberneticID={{{id|}}}|Weight={{{weight|}}}|StartingCybernetic={{{startcybernetic|}}}}}
<noinclude>{{#cargo_declare:_table=Cybernetics
|Name=Page
|Cost=Integer
|PossibleSlots=List (,) of String
|Description=Wikitext
|DestroyOnRemove=Boolean
|CyberneticID=String
|Weight=Integer
|StartingCybernetic=List (,) of String
|CreationCode = String}}</noinclude><includeonly>{{#cargo_store:_table=Cybernetics
|Name={{{name|}}}
|Cost={{{cost|}}}
|PossibleSlots={{{slots|}}}
|Description={{Qud text|{{{desc|}}}|unbolded}}
|DestroyOnRemove={{{destroyonremove|no}}}
|CyberneticID={{{id|}}}
|Weight={{{weight|}}}
|StartingCybernetic={{{startcybernetic|}}}
|CreationCode={{{code|}}}}}
| [[{{{name|}}}]]
| [[{{{name|}}}]]
| {{{cost|}}}
| {{{cost|}}}
Line 27: Line 45:
! slots
! slots
| the slots it can use
| the slots it can use
| slot seperated by ,
| slot separated by ,
|-
|-
! desc
! desc

Revision as of 19:09, 26 January 2021

This template defines the table "Cybernetics". View table.

{{Cybernetic
| name            =
| cost            =
| slots           =
| id              =
| destroyonremove =
}}
name Name of the cybernetic string
cost how many credits it costs integer
slots the slots it can use slot separated by ,
desc description string
id ObjectBlueprints id string
destroyonremove is it destroyed when uninstalled? yes/no
weight integer
startcybernetic what arcologies can choose this as a starting cybernetic string, 'General' for nonspecific

This is just one row of the table. the full template called should be Template:Cybernetic table.