Template:Article: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
WikiSync push v1.1 |
||
| Line 46: | Line 46: | ||
<div style="float:left; margin:0 1.2em 1.2em 0; font-family:Georgia,'Times New Roman',serif;"> | <div style="float:left; margin:0 1.2em 1.2em 0; font-family:Georgia,'Times New Roman',serif;"> | ||
<div style="display:flex; flex-wrap:wrap; gap:0.6em;"> | <div style="display:flex; flex-wrap:wrap; gap:0.6em;"> | ||
{{#arraymap:{{{HasGalleryImages|}}}|;|@@|<div>[[{{#show: @@ |?HasFile#-}}|frameless|160px | {{#arraymap:{{{HasGalleryImages|}}}|;|@@|<div>[[{{#show: @@ |?HasFile#-}}|frameless|160px]]</div>|}} | ||
</div> | </div> | ||
</div> | </div> | ||
| Line 159: | Line 159: | ||
<ul style="margin:0; padding:0 0 0 1.1em; line-height:1.7;"> | <ul style="margin:0; padding:0 0 0 1.1em; line-height:1.7;"> | ||
{{#arraymap:{{{HasRelatedEntries|}}}|;|@@|<li>[[@@]]</li>|}} | {{#arraymap:{{{HasRelatedEntries|}}}|;|@@|<li>[[@@]]</li>|}} | ||
</ul> | |||
</div> | |||
}} | |||
<!-- Map (vertical list, matches other related-entity rows) --> | |||
{{#if:{{{HasMap|}}}| | |||
<div style="margin-bottom:0.3em;"> | |||
<div style="color:#777; font-weight:bold; margin-bottom:0.25em;">Map</div> | |||
<ul style="margin:0; padding:0 0 0 1.1em; line-height:1.7;"> | |||
<li>[[HasMap::{{{HasMap|}}}|{{#show: {{{HasMap|}}}|?HasTitle|default={{{HasMap|}}}}}]]</li> | |||
</ul> | </ul> | ||
</div> | </div> | ||
| Line 164: | Line 174: | ||
</div><!-- /metadata --> | </div><!-- /metadata --> | ||
</div> | </div> | ||
| Line 194: | Line 197: | ||
|HasMainPicture=Image:TomaszTreter1609 | |HasMainPicture=Image:TomaszTreter1609 | ||
|HasGalleryImages=Image:TomaszTreter1609; Image:AnotherImageID | |HasGalleryImages=Image:TomaszTreter1609; Image:AnotherImageID | ||
|HasMap= | |HasMap=Map:1.4.4 | ||
|HasNationalLibraryCode=NNL_ALEPH001234567 | |HasNationalLibraryCode=NNL_ALEPH001234567 | ||
}} | }} | ||
Revision as of 08:51, 23 July 2026
Use this template on Article: pages to describe encyclopedia entries.
Example:
{{Article
|HasArticleID=1.4.3
|HasTitle=Jewish Trade in Poland
|HasAuthor=Adam Teller
|BelongsToTopic=Economics; Commerce
|HasTimePeriod=1772-1914; 1648-1772
|HasRegion=Galicia
|HasExtension=Article:042; Article:078
|HasRelatedPersonalities=Person:Q123456; Person:Q789012
|HasRelatedCommunities=Community:Kraków; Community:Lviv
|HasRelatedEntries=Article:011; Article:055
|HasMainPicture=Image:TomaszTreter1609
|HasGalleryImages=Image:TomaszTreter1609; Image:AnotherImageID
|HasMap=Map:1.4.4
|HasNationalLibraryCode=NNL_ALEPH001234567
}}
Then write the narrative text of the article directly after the template call.