ItemLine: Difference between revisions
From Warlike
en-gb>John m (1 revision imported) |
m (1 revision imported) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude><nowiki>{{ItemLine|type=|title=|description=|source=|start=|end=|keywords=|notes=|link=|image=}}</nowiki>[[Category:Admin]]</noinclude><includeonly>{{#switch:{{{type}}}|object|site|class|person={{#ifeq:{{{image}}}||<li style="display: inline-block; vertical-align: top;" class="ItemLine" id="{{{title}}} {{{source}}} {{{start}}} {{{end}}} {{{keywords}}}">[[File:Missing-image-232x150.png|thumb|200px|{{{description}}} {{#ifeq:{{{start}}}|||{{#rreplace:{{{start}}}|(\-?)(\+?0*)([0-9]*)(.*)|\1\3}} | <noinclude><nowiki>{{ItemLine|type=|title=|description=|source=|start=|end=|keywords=|notes=|link=|image=}}</nowiki>[[Category:Admin]]</noinclude><includeonly>{{#switch:{{{type}}}|event|object|site|class|person|organisation={{#ifeq:{{{image}}}||<li style="display: inline-block; vertical-align: top;" class="ItemLine" id="{{{title}}} {{{source}}} {{{start}}} {{{end}}} {{{keywords}}}">[[File:Missing-image-232x150.png|thumb|200px|{{{description}}} {{#ifeq:{{{start}}}|||{{#rreplace:{{{start}}}|(\-?)(\+?0*)([0-9]*)(.*)|\1\3}} | ||
}}<br>{{{notes}}}|link={{#rmatch:{{{description}}}|(.*)(Q[0-9]*)(.*)|$2}}]]</li> | }}<br>{{{notes}}}|link={{#rmatch:{{{description}}}|(.*)(Q[0-9]*)(.*)|$2}}]]</li> | ||
|<li style="display: inline-block; vertical-align: top;" class="ItemLine" id="{{{title}}} {{{source}}} {{{start}}} {{{end}}} {{{keywords}}}">[[{{# | |<li style="display: inline-block; vertical-align: top;" class="ItemLine" id="{{{title}}} {{{source}}} {{{start}}} {{{end}}} {{{keywords}}}">[[{{#ifeq:{{#pos:{{{image}}}|File:}}||File:Missing-image-232x150.png|{{#replace:{{{image}}}|http://commons.wikimedia.org/wiki/|}}}}|thumb|200px|{{{description}}} {{#ifeq:{{{start}}}|||{{#rreplace:{{{start}}}|(\-?)(\+?0*)([0-9]*)(.*)|\1\3}} | ||
}}<br>{{{notes}}}|link={{#rmatch:{{{description}}}|(.*)(Q[0-9]*)(.*)|$2}}]]</li>}}}}</includeonly> | }}<br>{{{notes}}}|link={{#rmatch:{{{description}}}|(.*)(Q[0-9]*)(.*)|$2}}]]</li>}}}}</includeonly> |
Latest revision as of 07:48, 29 August 2024
{{ItemLine|type=|title=|description=|source=|start=|end=|keywords=|notes=|link=|image=}}