Template:Tip/doc: Difference between revisions
(add example using small=left) |
(→Articles: add example with link) |
||
Line 17: | Line 17: | ||
{{tip|demospace=main|Include text here.}} | {{tip|demospace=main|Include text here.}} | ||
</br> | </br> | ||
If the text you want to diplayed includes a link you will need to specify the parameter like this | |||
<pre> | |||
{{tip|1=Go to [http://familysearch.org familysearch.org].}} | |||
</pre> | |||
Which renders like this: | |||
{{tip|demospace=main|1=Go to [http://familysearch.org familysearch.org].}} | |||
Sometimes you may not want the tip message box to be so big. In these cases include the parameter ''small=left'' | Sometimes you may not want the tip message box to be so big. In these cases include the parameter ''small=left'' | ||
<pre> | <pre> |
Revision as of 00:54, 3 April 2013
![]() |
This is a documentation subpage for Template:Tip (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This is the {{tip}} message box.
When used in articles, this message box should only be used for tips about the article content
Articles[edit source]
This is how this box looks on article (main space) pages. Here is a code example:
{{tip|Include text here.}}
Which renders like this:
Tip: Include text here. |
If the text you want to diplayed includes a link you will need to specify the parameter like this
{{tip|1=Go to [http://familysearch.org familysearch.org].}}
Which renders like this:
Tip: Go to familysearch.org. |
Sometimes you may not want the tip message box to be so big. In these cases include the parameter small=left
{{tip|Include text here.|small=left}}
Which renders like this:
Tip: Include text here. |