Difference between revisions of "Template:Colored box"
From EVE RP Wiki
rp>Clump m (Reverted edits by Chinese people crawlling on WheeIs (talk) to last version by Clump) |
|||
Line 1: | Line 1: | ||
− | < | + | <ref></ref><"Colored box/style/><div class="mw-tpl-colorbox" style="{{#if:{{{background-content-color|}}}| background-color: {{{background-content-color|}}}; }} {{{style|}}};"><!-- |
− | + | <div class="mw-tpl-colorbox-title" style=":{{{background-title-color|}}}|background-color:{{{background-title-color|}}">{{if:{{{icon|}}}|[[File:{{{icon}}}|20px|class=colorbox-title-icon|link=|alt=]}}<strong style="{{{{{title-color|}}}| color: {{{title-color|}}; }}">{{{title}}}</strong><!-- | |
− | -->{{ | + | -->{{<div class="mw-tpl-colorbox-title-corner">[[{{{link}}}|<span style="{{{link-color|{{{title-color|}}}}}}| color: {{{link-color|{{{title-color|}}}}}}; }}">{{{view-text|view}}}</span>]]</div>}} |
</div><!-- | </div><!-- | ||
--><div class="mw-tpl-colorbox-content"> | --><div class="mw-tpl-colorbox-content"> | ||
Line 7: | Line 7: | ||
</div><noinclude> | </div><noinclude> | ||
{{documentation}} | {{documentation}} | ||
− |
Revision as of 00:20, 19 November 2020
Cite error: Invalid <ref>
tag; refs with no name must have content<"Colored box/style/>
{{
[[{{{link}}}|view]]
}}
{{{content}}}
Script error: No such module "Template translation".
32px | This template uses TemplateStyles: |
This template was imported from w:en:Template:Colored box
This template is for community pages
Parameter | Description | Type | Status | |
---|---|---|---|---|
Background-content-color | background-content-color | no description | Unknown | optional |
Style | style | no description | Unknown | optional |
Background-title-color | background-title-color | no description | Unknown | optional |
Icon | icon | no description | File | suggested |
Title-color | title-color | no description | Unknown | optional |
Title | title | no description | Unknown | required |
Link | link | no description | Page | optional |
Link-color | link-color | no description | Unknown | optional |
Content | content | no description | Unknown | required |
Examples
{{Colored box|title=TITLE|content=CONTENT}}
<ref>
tag; refs with no name must have content<"Colored box/style/>{{
[[{{{link}}}|view]]
}}
CONTENT
{{Colored box|title=TITLE|link=MediaWiki|content=CONTENT}}
<ref>
tag; refs with no name must have content<"Colored box/style/>{{}}
CONTENT
{{Colored box|title=TITLE|link=MediaWiki|content=CONTENT|view-text=VIEW-TEXT}}
Cite error: Invalid <ref>
tag; refs with no name must have content<"Colored box/style/>
{{}}
CONTENT
{{Colored box|title=TITLE|link=MediaWiki|icon=OOjs_UI_icon_download-progressive.svg|content=CONTENT|view-text=VIEW-TEXT}}
Cite error: Invalid <ref>
tag; refs with no name must have content<"Colored box/style/>
{{}}
CONTENT