Difference between revisions of "Template:Colored box"

From EVE RP Wiki
Jump to: navigation, search
rp>Clump
m (Reverted edits by Chinese people crawlling on WheeIs (talk) to last version by Clump)
Line 1: Line 1:
<templatestyles src="Colored box/style.css"/><div class="mw-tpl-colorbox" style="{{#if:{{{background-content-color|}}}| background-color: {{{background-content-color|#fff}}}; }} {{{style|}}};"><!--
+
<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="{{#if:{{{background-title-color|}}}|background-color:{{{background-title-color|#eaecf0}}};}}">{{#if:{{{icon|}}}|[[File:{{{icon}}}|20px|class=colorbox-title-icon|link=|alt=]]&#32;}}<strong style="{{#if:{{{title-color|}}}| color: {{{title-color|#000000}}}; }}">{{{title}}}</strong><!--
+
<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><!--
-->{{#if:{{{link|}}}|<div class="mw-tpl-colorbox-title-corner">[[{{{link}}}|<span style="{{#if:{{{link-color|{{{title-color|}}}}}}| color: {{{link-color|{{{title-color|}}}}}}; }}">{{{view-text|view}}}</span>]]</div>}}
+
-->{{<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}}
</noinclude>
 

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}}}
Template documentation

Script error: No such module "Template translation".

This template was imported from w:en:Template:Colored box

This template is for community pages

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Background-content-colorbackground-content-color

no description

Unknownoptional
Stylestyle

no description

Unknownoptional
Background-title-colorbackground-title-color

no description

Unknownoptional
Iconicon

no description

Filesuggested
Title-colortitle-color

no description

Unknownoptional
Titletitle

no description

Unknownrequired
Linklink

no description

Pageoptional
Link-colorlink-color

no description

Unknownoptional
Contentcontent

no description

Unknownrequired

Examples

  • {{Colored box|title=TITLE|content=CONTENT}}
Cite error: Invalid <ref> tag; refs with no name must have content<"Colored box/style/>
{{
[[{{{link}}}|view]]
}}
CONTENT
  • {{Colored box|title=TITLE|link=MediaWiki|content=CONTENT}}
Cite error: Invalid <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