Template:Tip/doc: Difference between revisions

From FamilySearch Wiki
(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 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:


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:

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: