Template:Article: Difference between revisions
Jump to navigation
Jump to search
WikiSync push v1.1 |
WikiSync push v1.1 |
||
| Line 40: | Line 40: | ||
VISUAL DISPLAY (THE CARD) | VISUAL DISPLAY (THE CARD) | ||
========================================================== --> | ========================================================== --> | ||
<div style=" | |||
font-family: Georgia, 'Times New Roman', serif; | |||
border: 1px solid #e0d8d0; | |||
border-radius: 6px; | |||
background: #ffffff; | |||
width: 100%; | |||
margin: 0 0 1.5em 0; | |||
box-shadow: 0 1px 4px rgba(0,0,0,0.06); | |||
overflow: hidden; | |||
display: block; | |||
box-sizing: border-box; | |||
"> | |||
<!-- Card Header --> | <!-- Card Header: soft cream, no gradient --> | ||
<div | <div style=" | ||
<div | background: #faf8f5; | ||
border-bottom: 1px solid #e8e0d8; | |||
padding: 0.75em 1em 0.6em 1em; | |||
"> | |||
<div style="font-size:1.25em; font-weight:bold; letter-spacing:0.02em; line-height:1.2; color:#2a1f14;"> | |||
{{{HasTitle|{{PAGENAME}}}}} | |||
</div> | |||
{{#if:{{{HasAuthor|}}}| | {{#if:{{{HasAuthor|}}}| | ||
<div | <div style="font-size:0.82em; color:#888; margin-top:0.2em;">{{{HasAuthor}}}</div> | ||
}} | }} | ||
</div> | </div> | ||
| Line 58: | Line 75: | ||
<!-- Topics --> | <!-- Topics --> | ||
{{#if:{{{BelongsToTopic|}}}| | {{#if:{{{BelongsToTopic|}}}| | ||
<div | <div style="font-size:0.88em; margin-bottom:0.45em; line-height:1.9;"> | ||
<span | <span style="color:#777; font-weight:bold; margin-right:0.35em;">Topics</span> | ||
{{#arraymap:{{{BelongsToTopic|}}}|;|@@|<span | {{#arraymap:{{{BelongsToTopic|}}}|;|@@|<span style="display:inline-block; background:#f0ece4; border:1px solid #d8d0c4; border-radius:3px; padding:0.05em 0.45em; margin:0.08em 0.12em 0.08em 0; white-space:nowrap;">[[BelongsToTopic::@@]]</span>|}} | ||
</div> | </div> | ||
}} | }} | ||
| Line 66: | Line 83: | ||
<!-- Period --> | <!-- Period --> | ||
{{#if:{{{HasTimePeriod|}}}| | {{#if:{{{HasTimePeriod|}}}| | ||
<div | <div style="font-size:0.88em; margin-bottom:0.45em; line-height:1.9;"> | ||
<span | <span style="color:#777; font-weight:bold; margin-right:0.35em;">Period</span> | ||
{{#arraymap:{{{HasTimePeriod|}}}|;|@@|<span | {{#arraymap:{{{HasTimePeriod|}}}|;|@@|<span style="display:inline-block; background:#f0ece4; border:1px solid #d8d0c4; border-radius:3px; padding:0.05em 0.45em; margin:0.08em 0.12em 0.08em 0; white-space:nowrap;">[[HasTimePeriod::@@]]</span>|}} | ||
</div> | </div> | ||
}} | }} | ||
| Line 74: | Line 91: | ||
<!-- Region --> | <!-- Region --> | ||
{{#if:{{{HasRegion|}}}| | {{#if:{{{HasRegion|}}}| | ||
<div | <div style="font-size:0.88em; margin-bottom:0.45em; line-height:1.9;"> | ||
<span | <span style="color:#777; font-weight:bold; margin-right:0.35em;">Region</span> | ||
<span | <span style="display:inline-block; background:#f0ece4; border:1px solid #d8d0c4; border-radius:3px; padding:0.05em 0.45em; margin:0.08em 0.12em 0.08em 0;">{{{HasRegion}}}</span> | ||
</div> | </div> | ||
}} | }} | ||
| Line 82: | Line 99: | ||
<!-- NLI Code --> | <!-- NLI Code --> | ||
{{#if:{{{HasNationalLibraryCode|}}}| | {{#if:{{{HasNationalLibraryCode|}}}| | ||
<div | <div style="font-size:0.88em; margin-bottom:0.45em; line-height:1.9;"> | ||
<span | <span style="color:#777; font-weight:bold; margin-right:0.35em;">NLI Code</span> | ||
<span style="color:#222;">{{{HasNationalLibraryCode}}}</span> | <span style="color:#222;">{{{HasNationalLibraryCode}}}</span> | ||
</div> | </div> | ||
| Line 90: | Line 107: | ||
<!-- Extensions --> | <!-- Extensions --> | ||
{{#if:{{{HasExtension|}}}| | {{#if:{{{HasExtension|}}}| | ||
<div | <div style="font-size:0.88em; margin-bottom:0.45em; line-height:1.9;"> | ||
<span | <span style="color:#777; font-weight:bold; margin-right:0.35em;">Extensions</span> | ||
{{#arraymap:{{{HasExtension|}}}|;|@@|<span | {{#arraymap:{{{HasExtension|}}}|;|@@|<span style="display:inline-block; background:#f0ece4; border:1px solid #d8d0c4; border-radius:3px; padding:0.05em 0.45em; margin:0.08em 0.12em 0.08em 0; white-space:nowrap;">[[HasExtension::@@|@@]]</span>|}} | ||
</div> | </div> | ||
}} | }} | ||
| Line 98: | Line 115: | ||
<!-- Related Personalities --> | <!-- Related Personalities --> | ||
{{#if:{{{HasRelatedPersonalities|}}}| | {{#if:{{{HasRelatedPersonalities|}}}| | ||
<div | <div style="font-size:0.88em; margin-bottom:0.45em; line-height:1.9;"> | ||
<span | <span style="color:#777; font-weight:bold; margin-right:0.35em;">Related Personalities</span> | ||
{{#arraymap:{{{HasRelatedPersonalities|}}}|;|@@|<span | {{#arraymap:{{{HasRelatedPersonalities|}}}|;|@@|<span style="display:inline-block; background:#f0ece4; border:1px solid #d8d0c4; border-radius:3px; padding:0.05em 0.45em; margin:0.08em 0.12em 0.08em 0; white-space:nowrap;">[[@@]]</span>|}} | ||
</div> | </div> | ||
}} | }} | ||
| Line 106: | Line 123: | ||
<!-- Related Communities --> | <!-- Related Communities --> | ||
{{#if:{{{HasRelatedCommunities|}}}| | {{#if:{{{HasRelatedCommunities|}}}| | ||
<div | <div style="font-size:0.88em; margin-bottom:0.45em; line-height:1.9;"> | ||
<span | <span style="color:#777; font-weight:bold; margin-right:0.35em;">Related Communities</span> | ||
{{#arraymap:{{{HasRelatedCommunities|}}}|;|@@|<span | {{#arraymap:{{{HasRelatedCommunities|}}}|;|@@|<span style="display:inline-block; background:#f0ece4; border:1px solid #d8d0c4; border-radius:3px; padding:0.05em 0.45em; margin:0.08em 0.12em 0.08em 0; white-space:nowrap;">[[@@]]</span>|}} | ||
</div> | </div> | ||
}} | }} | ||
| Line 114: | Line 131: | ||
<!-- Related Entries --> | <!-- Related Entries --> | ||
{{#if:{{{HasRelatedEntries|}}}| | {{#if:{{{HasRelatedEntries|}}}| | ||
<div | <div style="font-size:0.88em; margin-bottom:0.45em; line-height:1.9;"> | ||
<span | <span style="color:#777; font-weight:bold; margin-right:0.35em;">Related Entries</span> | ||
{{#arraymap:{{{HasRelatedEntries|}}}|;|@@|<span | {{#arraymap:{{{HasRelatedEntries|}}}|;|@@|<span style="display:inline-block; background:#f0ece4; border:1px solid #d8d0c4; border-radius:3px; padding:0.05em 0.45em; margin:0.08em 0.12em 0.08em 0; white-space:nowrap;">[[@@]]</span>|}} | ||
</div> | </div> | ||
}} | }} | ||
| Line 150: | Line 167: | ||
<!-- Map (full width, below body) --> | <!-- Map (full width, below body) --> | ||
{{#if:{{{HasMap|}}}| | {{#if:{{{HasMap|}}}| | ||
<div | <div style="border-top:1px solid #e4e8ec; padding:0.75em 1em; text-align:center;"> | ||
[[{{{HasMap|}}}|center|thumb|500px|Map]] | [[{{{HasMap|}}}|center|thumb|500px|Map]] | ||
</div> | </div> | ||
Revision as of 15:24, 7 June 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
|HasMap=File:GaliciaMap1900.jpg
|HasNationalLibraryCode=NNL_ALEPH001234567
}}
Then write the narrative text of the article directly after the template call.