Template:Marktext/doc
Jump to navigation
Jump to search
- Description
- General text and image marking template.
- It supports 2 ways of doing this.
- "MT"(marktext) is the short name for calling this template
- Syntax
- General syntax:
{{MT|m=<marking-type id>|t=<text to mark> or <on|off>}}
- Span mode:
{{MT|m=...|t=Text to mark}}or{{MT|m=...|Text-line to mark}}.- The "t=" part can be skipped if the text contains no "=" signs.
- As this uses Span its limited to text paragraphs. Ie: it will not handle hard line-breaks inside the text.
- Block mode:
{{MT|m=...|on}}and{{MT|off}}.- This is for marking large sections, or images, where "on" is used at the start and "off" at the end.
- Marking id's
- The following marking id's are supported. Which set the used marking color and hover-over text.
- w=old: To mark general outdated content. When it makes sense w=[w13, w14, w15] can also be used. Although significant old stuff should eventually be removed/replaced with updated info.
- w=fw: This is for marking stuff specific to fast-worlds (like world 16.1)
- Sample output
{{MT|m=old|Some old text case}}gives Some old text case{{MT|m=fw|Fast world info case}}gives Fast world info casexxx{{MT|m=fw|on}}<Image or text-block>{{MT|off}}yyygives "xxxyyy" (The additional line-breaks are a unfortunate side effect of the used Div.)- Without a known mark-id or no "m=..." part
{{MT|<Some other text case}}it gives Lacking mark-id case
- Tracking property
- Property:Marktext