Difference between revisions of "Template:WpList item"
A fragment of the Garden of Remembering
(....?) |
(Uuuuuh?) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<li class="wp-li {{#if:{{{ | {{#CSS: | ||
.wp-li { | |||
padding-left: .8em; | |||
margin: .25em 0; | |||
} | |||
.wp-li:before { | |||
display: block; | |||
width: .5em; | |||
height: .5em; | |||
background: #37f; | |||
content: ''; | |||
position: relative; | |||
left: -1em; | |||
top: .45em; | |||
margin-bottom: -.5em; | |||
} | |||
}}{{#if:{{{2|}}}|{{#CSS: | |||
.wp-limeta { | |||
color: #666; | |||
} | |||
.wp-li { | |||
margin: 1em 0; | |||
} | |||
}}}}{{#if:{{{new|}}}|{{#CSS: | |||
.wp-li.old:before { | |||
background: #ccc; | |||
} | |||
.new .wp-limain a { | |||
font-weight: bold; | |||
} | |||
}}}}<li class="wp-li {{#ifeq: {{{new|}}}|old|old|{{#if:{{{new|}}}|new}}}}"> | |||
<div class="wp-limain">{{{1}}}</div> | <div class="wp-limain">{{{1}}}</div> | ||
{{#if: {{{2|}}}|<div class="wp-limeta">{{{2}}}</div>}} | {{#if: {{{2|}}}|<div class="wp-limeta">{{{2}}}</div>}} | ||
Line 8: | Line 39: | ||
|1= | |1= | ||
|2= | |2= | ||
|icon= | |icon= | ||
|new= | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 23:10, 26 June 2015
{{{1}}}
{{wpList item |1= |2= |icon= |new= }}