Template:Infobox doc archive: Difference between revisions
Appearance
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..." |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Infobox |
|||
<noinclude> |
|||
| abovestyle = text-align:center; background-color:#cee0f2; color:inherit; |
|||
Infobox for doc_archive pages. Annotates each field with a |
|||
| above = {{{name|Document info}}} |
|||
Semantic MediaWiki property so pages are queryable via |
|||
<code>#ask</code>. |
|||
| label1 = Organization |
|||
== Usage == |
|||
| data1 = {{#if:{{{organization|}}}|[[Has organization::{{{organization}}}]]}} |
|||
<pre> |
|||
{{Infobox doc_archive |
|||
| |
| label2 = Year |
||
| data2 = {{#if:{{{year|}}}|[[Has year::{{{year}}}]]}} |
|||
| year = 2026 |
|||
| period = Q1 |
|||
| |
| label3 = Period |
||
| data3 = {{#if:{{{period|}}}|[[Has period::{{{period}}}]]}} |
|||
| document_type = Earnings press release |
|||
| publication_date = 2026-05-15 |
|||
| label4 = Period label |
|||
| market_timing = Pre-market |
|||
| data4 = {{#if:{{{period_label|}}}|[[Has period label::{{{period_label}}}]]}} |
|||
| language = English |
|||
| pages = 10 |
|||
| label5 = Document type |
|||
| source_url = https://example.com/report.pdf |
|||
| data5 = {{#if:{{{document_type|}}}|[[Has document type::{{{document_type}}}]]}} |
|||
| archive_file = File:AXA - 2026 - Q1 2026 earnings.md |
|||
}} |
|||
| label6 = Publication date |
|||
</pre> |
|||
| data6 = {{#if:{{{publication_date|}}}|[[Has publication date::{{{publication_date}}}]]}} |
|||
</noinclude><includeonly>{| class="wikitable" style="float:right; margin-left:1em; width:22em; font-size:90%;" |
|||
|- |
|||
| label7 = Market timing |
|||
! colspan="2" style="text-align:center; background:#cee0f2;" | Document info |
|||
| data7 = {{#if:{{{market_timing|}}}|[[Has market timing::{{{market_timing}}}]]}} |
|||
{{#if:{{{organization|}}}| |
|||
{{!}}- |
|||
| label8 = Language |
|||
! Organization |
|||
{{ |
| data8 = {{#if:{{{language|}}}|[[Has language::{{{language}}}]]}} |
||
}}{{#if:{{{year|}}}| |
|||
| label9 = Pages |
|||
{{!}}- |
|||
| data9 = {{#if:{{{pages|}}}|[[Has pages::{{{pages}}}]]}} |
|||
! Year |
|||
{{!}} [[Has year::{{{year}}}]] |
|||
| label10 = Source |
|||
}}{{#if:{{{period|}}}| |
|||
| data10 = {{#if:{{{source_url|}}}|[[Has source URL::{{{source_url}}}| ]][{{{source_url}}} Original URL]}} |
|||
{{!}}- |
|||
! Period |
|||
| label11 = Archive |
|||
{{!}} [[Has period::{{{period}}}]] |
|||
| data11 = {{#if:{{{archive_file|}}}|[[Has archive file::{{{archive_file}}}|.md file]]}} |
|||
}}{{#if:{{{period_label|}}}| |
|||
}}<noinclude> |
|||
{{!}}- |
|||
{{documentation}} |
|||
! Period label |
|||
</noinclude> |
|||
{{!}} [[Has period label::{{{period_label}}}]] |
|||
}}{{#if:{{{document_type|}}}| |
|||
{{!}}- |
|||
! Document type |
|||
{{!}} [[Has document type::{{{document_type}}}]] |
|||
}}{{#if:{{{publication_date|}}}| |
|||
{{!}}- |
|||
! Publication date |
|||
{{!}} [[Has publication date::{{{publication_date}}}]] |
|||
}}{{#if:{{{market_timing|}}}| |
|||
{{!}}- |
|||
! Market timing |
|||
{{!}} [[Has market timing::{{{market_timing}}}]] |
|||
}}{{#if:{{{language|}}}| |
|||
{{!}}- |
|||
! Language |
|||
{{!}} [[Has language::{{{language}}}]] |
|||
}}{{#if:{{{pages|}}}| |
|||
{{!}}- |
|||
! Pages |
|||
{{!}} [[Has pages::{{{pages}}}]] |
|||
}}{{#if:{{{source_url|}}}| |
|||
{{!}}- |
|||
! Source |
|||
{{!}} [[Has source URL::{{{source_url}}}| ]][{{{source_url}}} Original URL] |
|||
}}{{#if:{{{archive_file|}}}| |
|||
{{!}}- |
|||
! Archive |
|||
{{!}} [[Has archive file::{{{archive_file}}}|.md file]] |
|||
}} |
|||
|}</includeonly> |
|||