Template:Article: Difference between revisions

From elijah
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#set:
{{#set:
|HasType=Article
  |HasAuthor={{{HasAuthor|}}}
|Title={{{Title|}}}
  |BelongsToTopic={{{BelongsToTopic|}}}
|HasAuthor={{{Author|}}}
  |TimePeriod={{{TimePeriod|}}}
|BelongsToTopic={{{Topic|}}}
  |Community={{{Community|}}}
|TimePeriod={{{TimePeriod|}}}
  |HasExtension={{{HasExtension|}}}
|Community={{{Community|}}}
  |HasMap={{{HasMap|}}}
|HasExtension={{{Extension|}}}
  |HasMedia={{{HasMedia|}}}
|Map={{{Map|}}}
  |HasImage={{{HasImage|}}}
|Media={{{Media|}}}
  |HasBibliography={{{HasBibliography|}}}
|Bibliography={{{Bibliography|}}}
  |HasFootnote={{{HasFootnote|}}}
|Footnote={{{Footnote|}}}
}}
}}


[[Has default form::Form:Article]]
[[Category:Articles]]
[[Category:Articles]]


<div class="article-box">
<div class="article-metadata" style="border:1px solid #ccc; padding:8px; margin-bottom:1em; background:#f9f9f9;">
   '''Title:''' {{{Title|}}}<br />
   '''Title:''' {{{Title|{{PAGENAME}}}}}<br />
   '''Author(s):''' {{{HasAuthor|}}}<br />
   {{#if:{{{HasAuthor|}}}|'''Author(s):''' {{{HasAuthor|}}}<br />}}
   '''Topic(s):''' {{{BelongsToTopic|}}}<br />
   {{#if:{{{BelongsToTopic|}}}|'''Topic(s):''' {{#arraymap:{{{BelongsToTopic}}}|,|@@@|[[@@@]]}}<br />}}
   '''Time Period(s):''' {{{TimePeriod|}}}<br />
   {{#if:{{{TimePeriod|}}}|'''Time Period(s):''' {{{TimePeriod|}}}<br />}}
   '''Community(ies):''' {{{Community|}}}<br />
   {{#if:{{{Community|}}}|'''Community(ies):''' {{{Community|}}}<br />}}
   '''Extension(s):''' {{{HasExtension|}}}<br />
   {{#if:{{{HasExtension|}}}|'''Extension(s):''' {{{HasExtension|}}}<br />}}
   '''Map:''' {{{Map|}}}<br />
   {{#if:{{{HasMap|}}}|'''Map:''' {{{HasMap|}}}<br />}}
   '''Media:''' {{{Media|}}}<br />
   {{#if:{{{HasMedia|}}}|'''Media:''' {{{HasMedia|}}}<br />}}
   '''Bibliography:''' {{{Bibliography|}}}<br />
   {{#if:{{{HasImage|}}}|'''Images:''' {{{HasImage|}}}<br />}}
   '''Footnote(s):''' {{{Footnote|}}}<br />
   {{#if:{{{HasBibliography|}}}|'''Bibliography:''' {{{HasBibliography|}}}<br />}}
</div>
   {{#if:{{{HasFootnote|}}}|'''Footnote(s):''' {{{HasFootnote|}}}<br />}}
 
<div class="article-body">
   {{{Content|}}}
</div>
</div>
</includeonly>
</includeonly>


<noinclude>
<noinclude>
This template structures content for pages in the Articles namespace.
This template is for Article pages.
Usage:
 
<pre>
{{Article
|Title=Jewish Trade in Poland
|HasAuthor=Adam Teller
|BelongsToTopic=Topic:Economics
|TimePeriod=14th century
|Community=Community:Kraków
|HasExtension=Extension:Fairs in Future Galicia in the Pre-Partitions Age
|HasImage=File:TomaszTreter1609.jpg; File:Krakow_market_1700.png
}}
</pre>
 
Then write the **narrative text** of the article directly after the template call.
</noinclude>
</noinclude>

Latest revision as of 08:04, 8 September 2025


This template is for Article pages. Usage:

{{Article
|Title=Jewish Trade in Poland
|HasAuthor=Adam Teller
|BelongsToTopic=Topic:Economics
|TimePeriod=14th century
|Community=Community:Kraków
|HasExtension=Extension:Fairs in Future Galicia in the Pre-Partitions Age
|HasImage=File:TomaszTreter1609.jpg; File:Krakow_market_1700.png
}}

Then write the **narrative text** of the article directly after the template call.