Template:Infobox doc archive: Difference between revisions
Appearance
Content deleted Content added
Deploy Template:Infobox doc_archive |
Deploy Template:Infobox doc_archive |
||
| (11 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 = |
| label1 = Document ID |
||
| data1 = {{{organization|}}} |
| data1 = {{#if:{{{doc_id|}}}|[[{{{organization}}}/sources|{{{doc_id}}}]]}} |
||
| label2 = |
| label2 = Organization |
||
| data2 = {{{ |
| data2 = {{{organization|}}} |
||
| label3 = |
| label3 = Year |
||
| data3 = {{{ |
| data3 = {{{year|}}} |
||
| label4 = Period |
| label4 = Period |
||
| data4 = {{{ |
| data4 = {{{period|}}} |
||
| label5 = |
| label5 = Period label |
||
| data5 = {{{ |
| data5 = {{{period_label|}}} |
||
| label6 = Document |
| label6 = Document category |
||
| data6 = {{{ |
| data6 = {{{document_category|}}} |
||
| label7 = |
| label7 = Document type |
||
| data7 = {{{ |
| data7 = {{{document_type|}}} |
||
| label8 = |
| label8 = Document name |
||
| data8 = {{{ |
| data8 = {{{document_name|}}} |
||
| label9 = |
| label9 = Publication date |
||
| data9 = {{{ |
| data9 = {{{publication_date|}}} |
||
| label10 = |
| label10 = Market timing |
||
| data10 = {{{ |
| data10 = {{{market_timing|}}} |
||
| label11 = |
| label11 = Language |
||
| data11 = {{ |
| data11 = {{{language|}}} |
||
| label12 = |
| label12 = Pages |
||
| data12 = {{ |
| 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 |
|---|
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]