Template:Article: Difference between revisions
Jump to navigation
Jump to search
WikiSync push v1.1 |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 38: | Line 38: | ||
{{#if:{{{HasGalleryImages|}}}| | {{#if:{{{HasGalleryImages|}}}| | ||
{{#arraymap:{{{HasGalleryImages|}}}|;|@@|{{#set:HasGalleryImages=@@}}|}} | {{#arraymap:{{{HasGalleryImages|}}}|;|@@|{{#set:HasGalleryImages=@@}}|}} | ||
}} | |||
<!-- ========================================================== | |||
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|thumb]]</div>|}} | |||
</div> | |||
</div> | |||
}} | }} | ||
| Line 163: | Line 174: | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Latest revision as of 09:02, 13 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=File:GaliciaMap1900.jpg
|HasNationalLibraryCode=NNL_ALEPH001234567
}}
Then write the narrative text of the article directly after the template call.