Template:Cybernetic: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
(lot of stats added)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Cybernetics|Name=String|Cost=Integer|PossibleSlots=List (,) of String|Description=String|AdditionalInfo=Page}}</noinclude><includeonly>{{#cargo_store:_table=Cybernetics|Name={{{name|}}}|Cost={{{cost|}}}|PossibleSlots={{{slots|}}}|Description={{{desc|}}}|AdditionalInfo={{{addinfo|}}}}}</includeonly>
<noinclude>{{#cargo_declare:_table=Cybernetics|Name=String|Cost=Integer|PossibleSlots=List (,) of String|Description=String|AdditionalInfo=Page|DestroyOnRemove=Boolean|CyberneticID=String|Weight=Integer|StartingCybernetic=List (,) of String}}</noinclude><includeonly>{{#cargo_store:_table=Cybernetics|Name={{{name|}}}|Cost={{{cost|}}}|PossibleSlots={{{slots|}}}|Description={{{desc|}}|AdditionalInfo={{{addinfo|}}}|DestroyOnRemove={{{destroyonremove|}}}|CyberneticID={{{id|}}}|Weight={{{weight|}}}|StartingCybernetic={{{startcybernetic|}}}}}</includeonly>
| {{{name|}}}
| {{{name|}}}
| {{{cost|}}}
| {{{cost|}}}
| {{{slots|}}}
| {{{slots|}}}
| {{{desc|}}}
| {{{desc|}}}
| {{{addinfo|}}}<noinclude>[[Category:Templates]]
| {{{destroyonremove|}}}
| {{{weight|}}}'''#'''
| {{{startcybernetic|}}}
| {{{id|}}}
| {{#if: {{{addinfo|}}}|[[{{{addinfo|}}}]]}}<noinclude>[[Category:Templates]]


{| class="wikitable"
{| class="wikitable"
Line 26: Line 30:
| any extra info  
| any extra info  
| title of wikipage with more info
| title of wikipage with more info
|-
! 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]].</noinclude>
This is just one row of the table. the full template called should be [[Template:Cybernetic table]].</noinclude>

Revision as of 00:06, 15 July 2019

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

name Name of the cybernetic string
cost how many credits it costs integer
slots the slots it can use slot seperated by ,
desc description string
addinfo any extra info title of wikipage with more info
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.