Difference between revisions of "User:AfterLifeLochie/Sandbox/TemplateSandbox"
From ComputerCraft Wiki
(Block template prototype updates (wrapped self with a float, image box).) |
m (Template tweak) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 62: | Line 62: | ||
= Delete Template = | = Delete Template = | ||
<table style="width: 100%; border: solid 1px black; margin: 2px; border-spacing: 0px;"> | <table style="width: 100%; border: solid 1px black; margin: 2px; border-spacing: 0px;"> | ||
− | <tr><td colspan="2" style="font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid #C9C9C9 1px; background: #FFA366; line-height:28px;">[[File:Grid_Ink_Sac.png|24px]] This page has been marked for deletion.</td></tr> | + | <tr><td colspan="2" style="font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid #C9C9C9 1px; background: #FFA366; line-height:28px;">[[File:Grid_Ink_Sac.png|24px]] This page has been marked for [http://computercraft.info/wiki/index.php?title={{urlencode:{{FULLPAGENAME}}}}&action=delete&wpReason={{urlencode:{{{1|No reason provided.}}}}} deletion].</td></tr> |
− | <tr><td style="border-color: black; padding: .4em; padding-left: .4em;" colspan="2">{{{ | + | <tr><td style="border-color: black; padding: .4em; padding-left: .4em;" colspan="2">{{{1|No reason provided.}}}</td></tr> |
</table> | </table> | ||
Line 69: | Line 69: | ||
<div class="floaties" style="float:right; width:320px;"> | <div class="floaties" style="float:right; width:320px;"> | ||
<table style="width: 100%; border: solid 1px black; margin: 2px; border-spacing: 0px;"> | <table style="width: 100%; border: solid 1px black; margin: 2px; border-spacing: 0px;"> | ||
− | <tr><td colspan="2" style="font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid #C9C9C9 1px; background: #DBE5FF; line-height:28px;">[[File:Grid_workbench.png|24px]] {{{name}}}</td></tr> | + | <tr><td colspan="2" style="font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid #C9C9C9 1px; background: #DBE5FF; line-height:28px;">[[File:Grid_workbench.png|24px]] |
+ | {{#if:{{{name|}}}|{{{name}}}|{{FULLPAGENAME}}}}</td></tr> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
Line 79: | Line 80: | ||
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; border-right: solid #C9C9C9 1px; padding: .4em; font-weight: bold;">Damage Value</td> | <tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; border-right: solid #C9C9C9 1px; padding: .4em; font-weight: bold;">Damage Value</td> | ||
<td style="border-top: solid #C9C9C9 1px; padding: .4em; padding-left: .4em;">{{{damage-value}}}</td></tr> | <td style="border-top: solid #C9C9C9 1px; padding: .4em; padding-left: .4em;">{{{damage-value}}}</td></tr> | ||
− | <tr style="background-color: # | + | <tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; border-right: solid #C9C9C9 1px; padding: .4em; font-weight: bold;">Peripheral?</td> |
− | <td style="border-top: solid #C9C9C9 1px; padding: .4em; padding-left: .4em;">{{{is-peripheral}}}</td></tr> | + | <td style="border-top: solid #C9C9C9 1px; padding: .4em; padding-left: .4em;">{{#if:{{{is-peripheral|}}}|{{{is-peripheral}}}{{#if:{{{peripheral-api|}}}| - {{peripheral-api}}}}|No}}</td></tr> |
</table> | </table> | ||
</div> | </div> | ||
+ | |||
+ | <noinclude> | ||
+ | <!-- REMOVE ME WHEN INSTALLING AS TEMPLATE! --> | ||
+ | <div style="clear:both;"> </div> | ||
+ | </noinclude> | ||
= Keypress Template = | = Keypress Template = | ||
Line 88: | Line 94: | ||
<span style="color: black; border: 1px solid #666; border-top-color: #CECBC7; border-left-color: #CECBC7; background: #F0ECE8; padding: 0.1em 0.4em; white-space: nowrap;">{{{key}}}</span> | <span style="color: black; border: 1px solid #666; border-top-color: #CECBC7; border-left-color: #CECBC7; background: #F0ECE8; padding: 0.1em 0.4em; white-space: nowrap;">{{{key}}}</span> | ||
</span> | </span> | ||
+ | |||
+ | |||
+ | |||
+ | = Items & Blocks Template = | ||
+ | <table style="width: 100%; border: solid 1px black; margin: 2px; border-spacing: 0px;"> | ||
+ | <tr><td style="background-color:#9EBAFF; font-weight: bold; font-size: large; line-height:28px;">[[File:Grid_Redstone.png|25px]]ComputerCraft Blocks and Items</td></tr> | ||
+ | <tr><td style="border-color: black; padding: .2em; padding-left: .4em; width:300px; background-color:#DBE5FF; font-weight:bold; font-size: 14px;">[[File:Grid_paper.png|18px]] [[:Category:Blocks|Blocks]]</td></tr> | ||
+ | <tr><td style="border-color: black; padding: .4em; padding-left: .4em;"> | ||
+ | <table style="width:100%;"><tr> | ||
+ | <td style="width:25%">[[File:Iso_Computer.png|16px]] [[Computer]]</td> | ||
+ | <td style="width:25%">[[File:Iso_Advanced_Computer.png|16px]] [[Advanced Computer]]</td> | ||
+ | <td style="width:25%">[[File:Iso_DiskDrive.png|16px]] [[Disk Drive]]</td> | ||
+ | <td style="width:25%">[[File:Iso_Monitor.png|16px]] [[Monitor]]</td> | ||
+ | </tr><tr> | ||
+ | <td style="width:25%">[[File:Iso_Advanced_Monitor.png|16px]] [[Advanced Monitor]]</td> | ||
+ | <td style="width:25%">[[File:Iso_Printer.png|16px]] [[Printer]]</td> | ||
+ | <td style="width:25%">[[File:Iso_Unknown.png|16px]] [[Turtle]]</td> | ||
+ | <td style="width:25%">[[File:Grid_Modem.png|16px]] [[Wireless Modem]]</td> | ||
+ | </tr><tr> | ||
+ | <td style="width:25%">[[File:Grid_Wired_Modem.png|16px]] [[Wired Modem]]</td> | ||
+ | <td style="width:25%">[[File:Iso_Unknown.png|16px]] [[Wired Modem|Networking Cable]]</td> | ||
+ | </tr></table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr><td style="border-color: black; padding: .2em; padding-left: .4em; width:300px; background-color:#DBE5FF; font-weight:bold; font-size: 14px;">[[File:Grid_paper.png|18px]] [[:Category:Items|Items]]</td></tr> | ||
+ | <tr><td style="border-color: black; padding: .4em; padding-left: .4em;"> | ||
+ | <table style="width:100%;"><tr> | ||
+ | <td style="width:25%">[[File:Grid_disk.png|16px]] [[Floppy Disk]]</td> | ||
+ | <td style="width:25%">[[File:Grid_printed_page.png|16px]] [[Printer|Printed Page]]</td> | ||
+ | <td style="width:25%">[[File:Grid_printed_pages.png|16px]] [[Printer|Printed Pages]]</td> | ||
+ | <td style="width:25%">[[File:Grid_printed_book_.png|16px]] [[Printer|Printed Book]]</td> | ||
+ | </tr></table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> |
Latest revision as of 05:51, 20 May 2013
Contents
Function Template
Function {{{name}}} | |
No description provided. | |
Syntax | {{{name}}}() |
Returns | nil |
Part of | ComputerCraft |
API | [[{{{api}}} (API)|{{{api}}}]] |
Example Template
Example | |
No description provided. | |
Code |
{{{code}}} |
Event Template
Event {{{name}}} | |
No description provided. | |
Returned Object 1 | Nothing |
Delete Template
This page has been marked for deletion. | |
No reason provided. |
Block Template
User:AfterLifeLochie/Sandbox/TemplateSandbox | |
Item ID | {{{id}}} |
Damage Value | {{{damage-value}}} |
Peripheral? | No |
Keypress Template
{{{key}}}
Items & Blocks Template
ComputerCraft Blocks and Items | ||||||||||
Blocks | ||||||||||
|
||||||||||
Items | ||||||||||
|