Difference between revisions of "Template:Info"

From Moegirlpedia
Jump to: navigation, search
m (Protected "Template:Info" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (Reverted edits by 北极星与南十字 (talk) to last revision by GuoPC)
(Tag: Rollback)
 
Line 1: Line 1:
<includeonly><templatestyles src="模板:info/style.css" /><div class="infoBox {{{class|}}}" style="{{#ifeq:{{{type|}}}|middle|display:flow-root; {{#if:{{{width|}}}|width:{{{width}}};}}}}max-width:100%;border-left: 10px solid {{{color|#1e90ff}}};{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}"><div class="infoBoxContent" {{#if:{{{backgroundColor|}}}|style="border-color:{{{backgroundColor}}};background-color:{{{backgroundColor}}};"}}>
+
{|class="common-box {{{class|}}}" style="margin: 0 {{{margin-h|auto}}}; width:{{{width|80%}}}; background: {{{backgroundColor|#f8f9fa}}}; border-left: 10px solid {{{color|#1e90ff}}}; box-shadow:0 1px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 2px 1px -2px rgba(0,0,0,.2)"
{{#if:{{{title|}}}|<div class="infoBoxTitle" style="{{{title-style|}}}">{{{title}}}</div>}}<div class="infoBoxIcon" style="{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}{{{icon-style|}}}">{{{leftimage|[[image:Icon-info.png|{{#if:{{{smallimage|}}}|25px|50px}}|link=]]}}}</div><div class="infoBoxText" style="{{{text-style|}}}{{{content-style|}}}">{{{text|{{{content|{{{1|''''''Nothing here (⊙_⊙)'''<br />Did you forget <code>text=</code> or <code>1=</code>?'''}}}}}}}}}</div>{{#if:{{{below|}}}|<div class="infoBoxBelow" style="{{{below-style|}}}">{{{below}}}</div>}}
+
|-  
</div></div></includeonly><noinclude>{{doc}}
+
| style="padding: 2px 0 2px 0.5em" | {{{leftimage|[[image:Icon-info.png|50px|link=]]}}}
 +
| style="padding: 0.25em 0.5em"| <div style="{{{text-style|}}}">{{{text|{{{1|'''Nothing here (⊙_⊙)'''<br />Did you forget <code>text=</code> or <code>1=</code>?}}}}}}</div>
 +
|}<noinclude>{{doc}}
 
</noinclude>
 
</noinclude>

Latest revision as of 09:22, 25 August 2021

Icon-info.png
Nothing here (⊙_⊙)
Did you forget text= or 1=?
Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]