Difference between revisions of "Template:Catalog:Named transients"

Jump to navigation Jump to search
Added NEW! signs
(Created page with "<includeonly><onlyinclude>{{#css: div.transienttable { display: flex; flex-wrap: wrap; } span.catalogcell { display: inline-block; vertical-align: top; text-align: c...")
 
(Added NEW! signs)
Line 9: Line 9:
   text-align: center;
   text-align: center;
   width: 100px;
   width: 100px;
   height: 300px;
   height: 320px;
   word-break: break-word;
   word-break: break-word;
<!--  border: 1px solid gray;-->
<!--  border: 1px solid gray;-->
Line 38: Line 38:
[[Has rarity::5]]
[[Has rarity::5]]
|link=none
|link=none
}}}}<span class="catalogcell"><div class="cellname">[[@@@@]]</div>{{#arrayprint:three star transients||####|{{Transient icon|subobject=####|size=medium|frame=y}}<br>}}{{#arrayprint:four star transients||####|{{Transient icon|subobject=####|size=medium|frame=y}}<br>}}{{#arrayprint:five star transients|<br>|####|{{Transient icon|subobject=####|size=medium|frame=y}}}}
}}}}<span class="catalogcell"><div class="cellname">[[@@@@]]</div><!--
three stars-->{{#arrayprint:three star transients||####|{{Transient icon|subobject=####|size=medium|frame=y}}{{#ifexpr:{{#time:U|-25 days}} < {{#time:U|{{#show:####|?Has release date}}}}|<br><b>NEW!</b>}}<br>}}<!--
four stars-->{{#arrayprint:four star transients||####|{{Transient icon|subobject=####|size=medium|frame=y}}{{#ifexpr:{{#time:U|-25 days}} < {{#time:U|{{#show:####|?Has release date}}}}|<br><b>NEW!</b>}}<br>}}<!--
five stars-->{{#arrayprint:five star transients|<br>|####|{{Transient icon|subobject=####|size=medium|frame=y}}{{#ifexpr:{{#time:U|-25 days}} < {{#time:U|{{#show:####|?Has release date}}}}|<br><b>NEW!</b>}}}}
</span>}}</div></onlyinclude></includeonly><noinclude>
</span>}}</div></onlyinclude></includeonly><noinclude>
This template is used on the [[Catalog]] page. Invoke this template by using <code><nowiki>{{Catalog:Named transients}}</nowiki></code>
This template is used on the [[Catalog]] page. Invoke this template by using <code><nowiki>{{Catalog:Named transients}}</nowiki></code>
</noinclude>
{{Catalog:Named transients}}
 
{{#time:U|-25 days}}
{{#time:U|{{#show:Sphinx#transient0|?Has release date}}}}</noinclude>
trusted
5,920

edits

Navigation menu