Template:Tag: Difference between revisions
m (Text replace - "Category:STEP" to "Category:STEPCategory:Step") |
m (Text replace - "Category:STEPCategory:Step" to "Category:STEP") |
||
Line 27: | Line 27: | ||
padding: 0; | padding: 0; | ||
margin: 0; | margin: 0; | ||
} }}</includeonly><noinclude>__NOTOC____NOTITLE__[[Category:Formatting Templates]][[Category:STEP | } }}</includeonly><noinclude>__NOTOC____NOTITLE__[[Category:Formatting Templates]][[Category:STEP]] | ||
== Purpose & Usage == | == Purpose & Usage == | ||
Used on mod pages for flags. | Used on mod pages for flags. |
Revision as of 21:19, January 16, 2021
Purpose & Usage
Used on mod pages for flags.
{{Tag|type|width|tagText|tooltip|[-]}} type = 'doc', 'content', 'step' width = CSS width specification text = Tag text tooltip = Short description for tooltip when mouse-over. [-] = blank for enable, - for disable
Examples
Code:
{{Tag|doc|125|DESCRIPTION|TestingToolTip|}} {{Tag|content|125|SCRIPT|TestingToolTip|-}}
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; } }}

{{#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; } }}