Editing MAG:Templates
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 24: | Line 24: | ||
== Template examples == | == Template examples == | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
=== clear === | === clear === | ||
Line 42: | Line 30: | ||
<pre>{{clear}}</pre> | <pre>{{clear}}</pre> | ||
- | Use the | + | Use the clear template to insert HTML that clears any floats. This is used at the end of a section with floating divs, such as image thumbnails, to make sure that they do not overflow onto the next section. See the [[Orrery]] article for example usage. |
=== main === | === main === | ||
Line 49: | Line 37: | ||
<pre>{{main|Wikilink to main article}}</pre> | <pre>{{main|Wikilink to main article}}</pre> | ||
- | Use the | + | Use the main template to insert a wikilink to another article, which appears indented and preceded by "''Main article:''". |
[[Category:Community]] | [[Category:Community]] | ||
[[Category:Wiki]] | [[Category:Wiki]] |
Learn more about Contributing to the wiki.