Difference between revisions of "Template:Catalog:Mobs"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) (Created page with "<includeonly><onlyinclude>{{#css: div.transienttable { display: flex; flex-wrap: wrap; } span.catalogcell { display: inline-block; vertical-align: top; text-align: c...") |
SurtrFan8511 (talk | contribs) m (weird html things) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
text-align: center; | text-align: center; | ||
width: 100px; | width: 100px; | ||
height: | min-height: 300px; | ||
word-break: break-word; | word-break: break-word; | ||
<!-- border: 1px solid gray;--> | <!-- border: 1px solid gray;--> | ||
Line 18: | Line 18: | ||
background: lightgray; | background: lightgray; | ||
margin: 5px; | margin: 5px; | ||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
} | } | ||
}} | }} | ||
Line 25: | Line 28: | ||
[[Has subobject.Has rarity::{{{1|1}}}]] | [[Has subobject.Has rarity::{{{1|1}}}]] | ||
|limit=5000|link=none | |limit=5000|link=none | ||
}}}}<!--removing duplicate "*/2" pages-->{{#arraydefine:transient name list|{{#arrayprint:transient name list|, | }}}}<!--removing duplicate "*/2" pages-->{{#arraydefine:transient name list|{{#arrayprint:transient name list|,|@@@@|{{#replace:@@@@|/2|}}}}}}{{#arrayunique:transient name list}}<!-- | ||
printing table--><div class="transienttable">{{#arrayprint:transient name list||@@@@|{{#arraydefine:mob subobjects|{{#ask: | printing table--><div class="transienttable">{{#arrayprint:transient name list||@@@@|{{#arraydefine:mob subobjects|{{#ask: | ||
[[-Has subobject::~@@@@*#transient*]] | [[-Has subobject::~@@@@*#transient*]] | ||
Line 31: | Line 34: | ||
[[Has rarity::{{{1|1}}}]] | [[Has rarity::{{{1|1}}}]] | ||
|link=none | |link=none | ||
}}}}<span class="catalogcell"><div class="cellname">[[@@@@]]</div>{{#arrayprint:mob subobjects|<br>|####|{{Transient icon|subobject=####|size=medium|frame=y}}}}</span>}}</div></onlyinclude></includeonly><noinclude> | }}}}<span class="catalogcell"><div class="cellname">[[@@@@]]</div>{{#arrayprint:mob subobjects|<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> | ||
This template is used on the [[Catalog:Mobs]] page. Invoke this template by using <code><nowiki>{{Catalog:Mobs|1}}</nowiki></code> or <code><nowiki>{{Catalog:Mobs|2}}</nowiki></code> depending on the rarity. | This template is used on the [[Catalog:Mobs]] page. Invoke this template by using <code><nowiki>{{Catalog:Mobs|1}}</nowiki></code> or <code><nowiki>{{Catalog:Mobs|2}}</nowiki></code> depending on the rarity. | ||
{{Catalog:Mobs|2}} | |||
</noinclude> | </noinclude> |
Latest revision as of 17:23, 5 November 2022
This template is used on the Catalog:Mobs page. Invoke this template by using {{Catalog:Mobs|1}}
or {{Catalog:Mobs|2}}
depending on the rarity.