Template:Infobox doc archive: Difference between revisions
Content deleted Content added
Created page with "<noinclude> Infobox for doc_archive pages. Annotates each field with a Semantic MediaWiki property so pages are queryable via <code>#ask</code>. == Usage == <pre> {{Infobox doc_archive | organization = AXA | year = 2026 | period = Q1 | period_label = 1Q26 | document_type = Earnings press release | publication_date = 2026-05-15 | market_timing = Pre-market | language = English | pages = 10 | source_url = https://example..." |
PlumBot: deploy Infobox doc_archive template |
||
| (2 intermediate revisions by the same user not shown) | |||
Line 1:
{{#set:
{{#if:{{{organization|}}}|Has organization={{{organization}}}|}}
|{{#if:{{{year|}}}|Has year={{{year}}}|}}
|{{#if:{{{period|}}}|Has period={{{period}}}|}}
|{{#if:{{{period_label|}}}|Has period label={{{period_label}}}|}}
|{{#if:{{{document_type|}}}|Has document type={{{document_type}}}|}}
|{{#if:{{{publication_date|}}}|Has publication date={{{publication_date}}}|}}
|{{#if:{{{market_timing|}}}|Has market timing={{{market_timing}}}|}}
|{{#if:{{{language|}}}|Has language={{{language}}}|}}
|{{#if:{{{pages|}}}|Has pages={{{pages}}}|}}
|{{#if:{{{source_url|}}}|Has source URL={{{source_url}}}|}}
|{{#if:{{{archive_file|}}}|Has archive file={{{archive_file}}}|}}
}}{{Infobox
| abovestyle = text-align:center; background-color:#cee0f2; color:inherit;
| above = {{{name|Document info}}}
| label1 = Organization
| data1 = {{{organization|}}}
|
| data2 = {{{year|}}}
|
| data3 = {{{period|}}}
| label4 = Period label
| data4 = {{{period_label|}}}
| label5 = Document type
| data5 = {{{document_type|}}}
| label6 = Publication date
| data6 = {{{publication_date|}}}
| label7 = Market timing
| data7 = {{{market_timing|}}}
| label8 = Language
| data8 = {{{language|}}}
| label9 = Pages
| data9 = {{{pages|}}}
| label10 = Source
| data10 = {{#if:{{{source_url|}}}|[{{{source_url}}} Original URL]}}
| label11 = Archive
| data11 = {{#if:{{{archive_file|}}}|[[:{{{archive_file}}}|.md file]]}}
}}<noinclude>
{{documentation}}
</noinclude>
| |||