Difference between revisions of "Template:Info"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "<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; b...")
 
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<table style="width: 100%; border: solid 1px black; margin: 2px; border-spacing: 0px;">
+
<includeonly><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 1px black; background: #7AB1F0; line-height:28px;">[[File:Grid Ink Sac.png|24px]]&nbsp;&nbsp;Information</td></tr>
<tr><td colspan="2" style="font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid 1px black; background: #7AB1F0; line-height:28px;">[[File:Grid_Ink_Sac.png|24px]]&nbsp;&nbsp;Information</td></tr>
+
 
<tr><td style="border-color: black; padding: .4em; padding-left: .4em;" colspan="2">{{{1|No information provided. Contact the author of this page.}}}</td></tr>
 
<tr><td style="border-color: black; padding: .4em; padding-left: .4em;" colspan="2">{{{1|No information provided. Contact the author of this page.}}}</td></tr>
</table>
+
</table></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 07:59, 2 August 2020

[ view | edit | history ] Documentation

The info template allows you to display a simple information message. This is useful for standard wiki pages. An example can be found at the Lua Resource Pack Making tutorial.

Usage

The usage for this template is as follows:

{{info|Your text here}}

This code will produce:

Grid Ink Sac.png  Information
Your text here

(The text will not be green, that is because of the documentation template) That's pretty much it for this template, a simple Info box!