Jump to content

Template:Infobox doc archive: Difference between revisions

From Insurer Brain
Content deleted Content added
PlumBot: deploy Infobox doc_archive template
Deploy Template:Infobox doc_archive
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:
{{#set:
Has page type=doc_archive
{{#if:{{{organization|}}}|Has organization={{{organization}}}|}}
|{{#if:{{{organization|}}}|Has organization={{{organization}}}|}}
|{{#if:{{{year|}}}|Has year={{{year}}}|}}
|{{#if:{{{year|}}}|Has year={{{year}}}|}}
|{{#if:{{{period|}}}|Has period={{{period}}}|}}
|{{#if:{{{period|}}}|Has period={{{period}}}|}}
|{{#if:{{{period_label|}}}|Has period label={{{period_label}}}|}}
|{{#if:{{{period_label|}}}|Has period label={{{period_label}}}|}}
|{{#if:{{{document_category|}}}|Has document category={{{document_category}}}|}}
|{{#if:{{{document_type|}}}|Has document type={{{document_type}}}|}}
|{{#if:{{{document_type|}}}|Has document type={{{document_type}}}|}}
|{{#if:{{{document_name|}}}|Has document name={{{document_name}}}|}}
|{{#if:{{{document_name|}}}|Has document name={{{document_name}}}|}}
Line 11: Line 13:
|{{#if:{{{pages|}}}|Has pages={{{pages}}}|}}
|{{#if:{{{pages|}}}|Has pages={{{pages}}}|}}
|{{#if:{{{source_url|}}}|Has source URL={{{source_url}}}|}}
|{{#if:{{{source_url|}}}|Has source URL={{{source_url}}}|}}
|{{#if:{{{archive_file|}}}|Has archive file={{{archive_file}}}|}}
|{{#if:{{{summary_md|{{{original_md|{{{archive_file|}}}}}}}}}|Has archive file={{{summary_md|{{{original_md|{{{archive_file}}}}}}}}}|}}
|{{#if:{{{original_md|}}}|Has original md={{{original_md}}}|}}
}}{{Infobox
|{{#if:{{{summary_md|}}}|Has summary md={{{summary_md}}}|}}
|{{#if:{{{docling_file|}}}|Has docling file={{{docling_file}}}|}}
}}{{#if:{{{wide|}}}|<div class="ed-infobox-band">}}{{Infobox
| abovestyle = text-align:center; background-color:#cee0f2; color:inherit;
| abovestyle = text-align:center; background-color:#cee0f2; color:inherit;
| above = {{{name|Document info}}}
| above = {{{name|Document info}}}


| label1 = Organization
| label1 = Document ID
| data1 = {{{organization|}}}
| data1 = {{#if:{{{doc_id|}}}|[[{{{organization}}}/sources|{{{doc_id}}}]]}}


| label2 = Year
| label2 = Organization
| data2 = {{{year|}}}
| data2 = {{{organization|}}}


| label3 = Period
| label3 = Year
| data3 = {{{period|}}}
| data3 = {{{year|}}}


| label4 = Period label
| label4 = Period
| data4 = {{{period_label|}}}
| data4 = {{{period|}}}


| label5 = Document type
| label5 = Period label
| data5 = {{{document_type|}}}
| data5 = {{{period_label|}}}


| label6 = Document name
| label6 = Document category
| data6 = {{{document_name|}}}
| data6 = {{{document_category|}}}


| label7 = Publication date
| label7 = Document type
| data7 = {{{publication_date|}}}
| data7 = {{{document_type|}}}


| label8 = Market timing
| label8 = Document name
| data8 = {{{market_timing|}}}
| data8 = {{{document_name|}}}


| label9 = Language
| label9 = Publication date
| data9 = {{{language|}}}
| data9 = {{{publication_date|}}}


| label10 = Pages
| label10 = Market timing
| data10 = {{{pages|}}}
| data10 = {{{market_timing|}}}


| label11 = Source
| label11 = Language
| data11 = {{#if:{{{source_url|}}}|[{{{source_url}}} Original URL]}}
| data11 = {{{language|}}}


| label12 = Archive
| label12 = Pages
| data12 = {{#if:{{{archive_file|}}}|[[:{{{archive_file}}}|.md file]]}}
| data12 = {{{pages|}}}

}}<noinclude>
| label13 = Source
| data13 = {{#if:{{{source_url|}}}|[{{{source_url}}} original URL]}}

| label14 = Docling document
| data14 = {{#if:{{{docling_file|}}}|[[Media:{{PAGENAME:{{{docling_file}}}}}|.txt file]]}}

| label15 = Original md
| data15 = {{#if:{{{original_md|}}}|[[Media:{{PAGENAME:{{{original_md}}}}}|.md file]]}}

| label16 = Transcript
| data16 = {{#if:{{{document|}}}|[[{{{document}}}|wiki page]]}}

| label17 = Data
| data17 = {{#ifexist:Data:{{FULLPAGENAME}}.json|[[Data:{{FULLPAGENAME}}.json|data page]]}}

| label18 = Summary
| data18 = {{#if:{{{article|}}}|[[{{{article}}}|wiki page]]}}
}}{{#if:{{{wide|}}}|</div>}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 19:01, 22 July 2026

Document info