Template:Article: Difference between revisions
Jump to navigation
Jump to search
WikiSync push v1.1 |
WikiSync push v1.2 |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- WikiSync | version=1. | <!-- WikiSync | version=1.2 | updated=2026-08-17 --> | ||
<includeonly> | <includeonly> | ||
__NOFACTBOX__ | __NOFACTBOX__ | ||
| Line 11: | Line 11: | ||
|HasTitle={{{HasTitle|}}} | |HasTitle={{{HasTitle|}}} | ||
|HasAuthor={{{HasAuthor|}}} | |HasAuthor={{{HasAuthor|}}} | ||
|HasMainPicture={{{HasMainPicture|}}} | |HasMainPicture={{{HasMainPicture|}}} | ||
|HasNationalLibraryCode={{{HasNationalLibraryCode|}}} | |HasNationalLibraryCode={{{HasNationalLibraryCode|}}} | ||
}} | }} | ||
| Line 23: | Line 21: | ||
{{#if:{{{HasTimePeriod|}}}| | {{#if:{{{HasTimePeriod|}}}| | ||
{{#arraymap:{{{HasTimePeriod|}}}|;|@@|{{#set:HasTimePeriod=@@}}|}} | {{#arraymap:{{{HasTimePeriod|}}}|;|@@|{{#set:HasTimePeriod=@@}}|}} | ||
}} | |||
{{#if:{{{HasRegion|}}}| | |||
{{#arraymap:{{{HasRegion|}}}|;|@@|{{#set:HasRegion=@@}}|}} | |||
}} | }} | ||
{{#if:{{{HasExtension|}}}| | {{#if:{{{HasExtension|}}}| | ||
| Line 35: | Line 36: | ||
{{#if:{{{HasRelatedEntries|}}}| | {{#if:{{{HasRelatedEntries|}}}| | ||
{{#arraymap:{{{HasRelatedEntries|}}}|;|@@|{{#set:HasRelatedEntries=@@}}|}} | {{#arraymap:{{{HasRelatedEntries|}}}|;|@@|{{#set:HasRelatedEntries=@@}}|}} | ||
}} | |||
{{#if:{{{HasGalleryImages|}}}| | |||
{{#arraymap:{{{HasGalleryImages|}}}|;|@@|{{#set:HasGalleryImages=@@}}|}} | |||
}} | |||
{{#if:{{{HasMap|}}}| | |||
{{#arraymap:{{{HasMap|}}}|;|@@|{{#set:HasMap=@@}}|}} | |||
}} | |||
<!-- ========================================================== | |||
GALLERY (floats left, sits beside the infobox) | |||
========================================================== --> | |||
{{#if:{{{HasGalleryImages|}}}| | |||
<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;"> | |||
{{#arraymap:{{{HasGalleryImages|}}}|;|@@|<div>[[{{#show: @@ |?HasFile#-}}|frameless|160px]]</div>|}} | |||
</div> | |||
</div> | |||
}} | }} | ||
| Line 93: | Line 111: | ||
}} | }} | ||
<!-- Region ( | <!-- Region (chips) --> | ||
{{#if:{{{HasRegion|}}}| | {{#if:{{{HasRegion|}}}| | ||
<div style="margin-bottom:0.5em; line-height:1.9;"> | <div style="margin-bottom:0.5em; line-height:1.9;"> | ||
<span style="color:#777; font-weight:bold; margin-right:0.3em;">Region</span> | <span style="color:#777; font-weight:bold; margin-right:0.3em;">Region</span> | ||
<span style="display:inline-block; background:#f0ece4; border:1px solid #d8d0c4; border-radius:3px; padding:0.05em 0.4em;"> | {{#arraymap:{{{HasRegion|}}}|;|@@|<span style="display:inline-block; background:#f0ece4; border:1px solid #d8d0c4; border-radius:3px; padding:0.05em 0.4em; margin:0.06em 0.1em 0.06em 0; white-space:nowrap;">[[HasRegion::@@]]</span>|}} | ||
</div> | </div> | ||
}} | }} | ||
| Line 145: | Line 163: | ||
<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;"> | |||
{{#arraymap:{{{HasMap|}}}|;|@@|<li>[[HasMap::@@|{{#show: @@|?HasTitle|default=@@}}]]</li>|}} | |||
</ul> | </ul> | ||
</div> | </div> | ||
| Line 151: | Line 179: | ||
</div><!-- /metadata --> | </div><!-- /metadata --> | ||
</div> | |||
</includeonly> | </includeonly> | ||
| Line 172: | Line 194: | ||
|BelongsToTopic=Economics; Commerce | |BelongsToTopic=Economics; Commerce | ||
|HasTimePeriod=1772-1914; 1648-1772 | |HasTimePeriod=1772-1914; 1648-1772 | ||
|HasRegion=Galicia | |HasRegion=Galicia; Bukovina | ||
|HasExtension=Article:042; Article:078 | |HasExtension=Article:042; Article:078 | ||
|HasRelatedPersonalities=Person:Q123456; Person:Q789012 | |HasRelatedPersonalities=Person:Q123456; Person:Q789012 | ||
| Line 178: | Line 200: | ||
|HasRelatedEntries=Article:011; Article:055 | |HasRelatedEntries=Article:011; Article:055 | ||
|HasMainPicture=Image:TomaszTreter1609 | |HasMainPicture=Image:TomaszTreter1609 | ||
|HasMap= | |HasGalleryImages=Image:TomaszTreter1609; Image:AnotherImageID | ||
|HasMap=Map:1.4.4; Map:1.4.5 | |||
|HasNationalLibraryCode=NNL_ALEPH001234567 | |HasNationalLibraryCode=NNL_ALEPH001234567 | ||
}} | }} | ||
Latest revision as of 18:02, 18 October 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; Bukovina
|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; Map:1.4.5
|HasNationalLibraryCode=NNL_ALEPH001234567
}}
Then write the narrative text of the article directly after the template call.