Difference between revisions of "Template:/x"
m |
m |
||
Line 1: | Line 1: | ||
− | <div style="border:5px solid {{{1|grey}}};background-color: {{{ | + | <div style="border:5px solid {{{1|grey}}};background-color: {{{4|white}}};padding:0px 6px 0px 5px;margin: 0 0 0 -2px;">{{{2}}} |
{{#if:{{{3|}}}|<div align="right" style="margin:0 0 0 0;">[[Template:{{{3}}}|✎ <grc>ἀναγνῶναι παραιτέρω</grc><el>ἀναγνῶναι παρακάτω</el><en>read more</en><cu>прочести всѧ</cu><ru>читать далее</ru>]]</div>}}</div>{{#css: | {{#if:{{{3|}}}|<div align="right" style="margin:0 0 0 0;">[[Template:{{{3}}}|✎ <grc>ἀναγνῶναι παραιτέρω</grc><el>ἀναγνῶναι παρακάτω</el><en>read more</en><cu>прочести всѧ</cu><ru>читать далее</ru>]]</div>}}</div>{{#css: | ||
p.a { | p.a { | ||
Line 5: | Line 5: | ||
text-align-last: center; | text-align-last: center; | ||
color: black !important; | color: black !important; | ||
− | background-color: | + | background-color: yellow !important; |
margin: -2px -6px 0 -5px; | margin: -2px -6px 0 -5px; | ||
font-size: 110% !important; | font-size: 110% !important; | ||
Line 13: | Line 13: | ||
text-align: center; | text-align: center; | ||
text-align-last: center; | text-align-last: center; | ||
− | color: | + | color: white !important; |
background-color: red; | background-color: red; | ||
+ | margin: -2px -6px 0 -5px; | ||
+ | font-size: 110% !important; | ||
+ | font-weight: bold !important; | ||
+ | } | ||
+ | p.a2 { | ||
+ | text-align: center; | ||
+ | text-align-last: center; | ||
+ | color: white !important; | ||
+ | background-color: darkblue; | ||
+ | margin: -2px -6px 0 -5px; | ||
+ | font-size: 110% !important; | ||
+ | font-weight: bold !important; | ||
+ | } | ||
+ | p.a3 { | ||
+ | text-align: center; | ||
+ | text-align-last: center; | ||
+ | color: white !important; | ||
+ | background-color: darkblue; | ||
+ | margin: -2px -6px 0 -5px; | ||
+ | font-size: 110% !important; | ||
+ | font-weight: bold !important; | ||
+ | } | ||
+ | p.a4 { | ||
+ | text-align: center; | ||
+ | text-align-last: center; | ||
+ | color: white !important; | ||
+ | background-color: darkblue; | ||
margin: -2px -6px 0 -5px; | margin: -2px -6px 0 -5px; | ||
font-size: 110% !important; | font-size: 110% !important; |
Revision as of 16:12, 18 May 2018
{{{2}}}
Example:
{{x|template-name|edit-link}}
{{x|1-border-color|2-title-color|3-template-name|4-edit-link|5-background-color}}