Template:Tag: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) |
TechAngel85 (talk | contribs) |
||
Line 44: | Line 44: | ||
<pre>{{Tag|tag=doc|width|textHere|A test|}}</pre> | <pre>{{Tag|tag=doc|width|textHere|A test|}}</pre> | ||
'''Result:''' | '''Result:''' | ||
{{Tag|tag=doc| | {{Tag|tag=doc|20|textHere|A test|}} | ||
== See Also == | == See Also == |
Revision as of 00:27, November 16, 2020
Purpose & Usage
Used on mod pages for flags.
{{Tag|tag|width|text|tooltip|enable}} tag = doc, content, step text = Text in right portion tooltip = Short description for tooltip when mouse-over. enable = blank for enable, - for disable
Examples
Code:
{{Tag|tag=doc|width|textHere|A test|}}
Result: {{#css: .tag { margin: 0; padding: 0; height: 18px; border: 1px solid #2B2B2B; } .tag.disable { opacity: 0.5; } .tagicon { float: left; width: 20px; height: 18px; text-align: center; border-right: 1px solid #2B2B2B; } .tagtext { float: left; padding: 0 2px; line-height: 1.4em; cursor: default; } .tag span { font-weight: bold; padding: 0; margin: 0; }
}}
[[File:|frameless|link=]]
A test
See Also
None