Template:TrainzTip

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(genesis-import from wikibooks, need that Mediawiki:Common.css and ParserFunctions installed/turned on!)
 
(make into redirect for now, later add different styling.)
 
Line 1: Line 1:
{{#ifeq:{{{type|}}}|box|{{TrainzTipBox
+
#redirect [[Template:UserTip]]{{redirect}}{{FAB-todo|make into redirect for now, later add different styling.}}
|text={{{1|}}}|pos={{{2|}}}|col={{{3|}}}
+
}}
+
|
+
<div style="clear:both; width:98%; margin:1% auto; padding:2px;"><!--
+
-->
+
<div style="float:left; padding-right:1em; padding-left:2.25em; vertical-align:top;">[[File:{{{image|Oxygen480-actions-games-solve.svg}}}|45x45px]]
+
</div>
+
<div class="PrettyTextBox" style="vertical-align:bottom; margin:0px 25px; padding:5px 20px;">
+
{{{1}}}
+
</div>
+
</div>}}<noinclude>
+
 
+
Parameters:
+
* The first parameter is the text inside the box.
+
* '''image''' (optional) : the image to be used.
+
**Adapted from {{Tlx|textBox}}
+
[[Category:Self-documenting templates|{{PAGENAME}}]]
+
[[Category:Box templates|Textbox,TrainzTip]]
+
{{FAB-todo}}
+
[[category:Trainz Templates|{{PAGENAME}}]]
+
[[category:Self-documenting templates|{{PAGENAME}}]]
+
</noinclude>
+

Latest revision as of 18:51, 5 July 2013

  1. redirect Template:UserTip
Personal tools