Template:Article: Difference between revisions
Jump to navigation
Jump to search
WikiSync push v1.1 |
WikiSync push v1.1 |
||
| Line 11: | Line 11: | ||
|HasTitle={{{HasTitle|}}} | |HasTitle={{{HasTitle|}}} | ||
|HasAuthor={{{HasAuthor|}}} | |HasAuthor={{{HasAuthor|}}} | ||
|HasMainPicture={{{HasMainPicture|}}} | |HasMainPicture={{{HasMainPicture|}}} | ||
|HasMap={{{HasMap|}}} | |HasMap={{{HasMap|}}} | ||
| Line 23: | Line 22: | ||
{{#if:{{{HasTimePeriod|}}}| | {{#if:{{{HasTimePeriod|}}}| | ||
{{#arraymap:{{{HasTimePeriod|}}}|;|@@|{{#set:HasTimePeriod=@@}}|}} | {{#arraymap:{{{HasTimePeriod|}}}|;|@@|{{#set:HasTimePeriod=@@}}|}} | ||
}} | |||
{{#if:{{{HasRegion|}}}| | |||
{{#arraymap:{{{HasRegion|}}}|;|@@|{{#set:HasRegion=@@}}|}} | |||
}} | }} | ||
{{#if:{{{HasExtension|}}}| | {{#if:{{{HasExtension|}}}| | ||
| Line 107: | Line 109: | ||
}} | }} | ||
<!-- 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 190: | Line 192: | ||
|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 | ||
Revision as of 11:27, 29 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; 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
|HasNationalLibraryCode=NNL_ALEPH001234567
}}
Then write the narrative text of the article directly after the template call.