Template:Tip: Difference between revisions

From Peters wiki
Jump to navigation Jump to search
Created page with "<noinclude> {{Template}} '''A 'Tip' box used to share helpful hints.''' ====Usage==== {{ic|<nowiki>{{Tip|This text should be considered.}}</nowiki>}} ====Example==== {{Tip|..."
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Template}}
{{Template}}
This is the "Tip" template.
It should be called in the following format:
<pre>
{{Tip|Body Text}}
</pre>
Result:
{{Tip|Body Text}}


'''A 'Tip' box used to share helpful hints.'''
Edit the page to see the template text.
 
</noinclude><includeonly>
====Usage====
<div style="min-height: 85px;">
{{ic|<nowiki>{{Tip|This text should be considered.}}</nowiki>}}
<div style="
 
  background-color: #dfd;
====Example====
  margin: auto;
{{Tip|This text should be considered.}}</noinclude><includeonly>{{Box Green|Tip:|{{{1|{{Error}}}}}}}</includeonly>
  margin-left: auto;
  margin-right: auto;
  width: 70% !important;
  min-height: 40px;
  clear: both;
  text-align: left;
  vertical-align: middle;
  border-collapse: collapse;
  padding: 15px 20px 15px 10px;
  -moz-border-radius: 20px;
  -khtml-border-radius: 20px;
  border-radius: 20px;
  font-weight:bold; 
">[[File:tips.svg|50px|left]]Tips: {{{1}}}<nowiki/>
</div>
</div>
</includeonly>

Latest revision as of 15:13, 25 April 2016

This page is a template. It contains no information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

This is the "Tip" template. It should be called in the following format:

{{Tip|Body Text}}

Result:

Tips: Body Text


Edit the page to see the template text.