Difference between revisions of "Template:Info"

From ComputerCraft Wiki
Jump to: navigation, search
 
Line 1: Line 1:
<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>
+
<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 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>
 
+
<noinclude>
+
 
+
----
+
 
+
 
+
{{documentation|Info|
+
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)|Lua Resource Pack Making]] tutorial.
+
 
+
== Usage ==
+
 
+
The usage for this template is as follows:
+
 
+
<code><nowiki>{{info|Your text here}}</nowiki></code>
+
 
+
This code will produce:
+
 
+
{{info|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!
+
}}  
+
 
+
Template made by [[User:LewisTehMinerz|LewisTehMinerz]] ([[User talk:LewisTehMinerz|talk]]) 16:09, 22 October 2015 (UTC)
+
</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!