Template:·/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
("dot" redirects here too.) |
(Added links to word wrap handling templates.) |
||
Line 2: | Line 2: | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> |
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> |
||
__NOTOC__ |
__NOTOC__ |
||
This is the '''bold middot''' template, it looks like this " '''·''' ". |
This is the '''bold middot''' template, it looks like this: " '''·''' ". |
||
It works similarly to the html+wiki markup sequence "<code>'''&nbsp;<nowiki>'''</nowiki>&middot;<nowiki>'''</nowiki>''' </code>". That is, a [[non-breaking space]], a bolded middot and a normal space. |
It works similarly to the html+wiki markup sequence "<code>'''&nbsp;<nowiki>'''</nowiki>&middot;<nowiki>'''</nowiki>''' </code>". That is, a [[non-breaking space]], a bolded middot and a normal space. |
||
Line 111: | Line 111: | ||
* [[Template:Ndash|<nowiki>{{ndash}}</nowiki>]] - Ndash "–" is a short dash. |
* [[Template:Ndash|<nowiki>{{ndash}}</nowiki>]] - Ndash "–" is a short dash. |
||
* [[Template:Mdash|<nowiki>{{mdash}}</nowiki>]] - Mdash "—" is a long dash. |
* [[Template:Mdash|<nowiki>{{mdash}}</nowiki>]] - Mdash "—" is a long dash. |
||
When making dotted lists you might need to handle proper word wrapping (line breaking): |
|||
* {{tn|nowraplinks}} - Prevents wraps inside links and only allows wraps between the links and in normal text, very useful for link lists and easy to use. |
|||
* {{tn|nowrap begin}} - Prevents wraps in both text and links. For the really tricky wrapping cases when you need full control, for instance in very complex long link lists. |
|||