Template:Document: Difference between revisions
No edit summary |
No edit summary |
||
| Line 19: | Line 19: | ||
<div style="margin-bottom: 1em; padding: 0.5em; border: 1px solid #a2a9b1; background: #f8f9fa;"> | <div style="margin-bottom: 1em; padding: 0.5em; border: 1px solid #a2a9b1; background: #f8f9fa;"> | ||
<div>'''Type:''' {{{doc_type|}}}</div>{{#if:{{{title|}}}|<div>'''Title:''' {{{title}}}</div>}}{{#if:{{{file|}}}|<div>'''File:''' [[:File:{{{file}}}|{{{file}}}]]</div>}}{{#if:{{{url|}}}|<div>'''URL:''' {{{url}}}</div>}} | <div>'''Type:''' {{{doc_type|}}}</div>{{#if:{{{title|}}}|<div>'''Title:''' {{{title}}}</div>}}{{#if:{{{file|}}}|<div>'''File:''' [[:File:{{{file}}}|{{{file}}}]]</div>}}{{#if:{{{url|}}}|<div>'''URL:''' {{{url}}}</div>}}{{#if:{{{crt_models|}}}| | ||
<div style="margin-top: 0.5em;"><strong>Related CRT Models:</strong></div> | |||
{{#if:{{{ | |||
</div> | |||
{{#ask: | {{#ask: | ||
[[Category:CRT models]] | [[Category:CRT models]] | ||
| Line 48: | Line 33: | ||
|class=wikitable sortable | |class=wikitable sortable | ||
|mainlabel=CRT model | |mainlabel=CRT model | ||
}} | }}|}}<div style="text-align: center; margin-top: 0.5em;"> | ||
{{#if:{{{file|}}}|[{{fullurl:Special:Redirect/file/{{{file}}}}} <span style="display:inline-block;padding:0.5rem 1rem;background-color:#2563eb;color:#ffffff;border:1px solid #2563eb;border-radius:0.375rem;font-size:0.875rem;font-weight:500;text-decoration:none;cursor:pointer;">Download</span>]}}{{#if:{{{url|}}}|{{#if:{{{file|}}}||[{{{url}}} <span style="display:inline-block;padding:0.5rem 1rem;background-color:#2563eb;color:#ffffff;border:1px solid #2563eb;border-radius:0.375rem;font-size:0.875rem;font-weight:500;text-decoration:none;cursor:pointer;">Download</span>]}}}} [{{fullurl:Special:FormStart|form=Document&page_name={{PAGENAME}}}} <span style="display:inline-block;padding:0.5rem 1rem;background-color:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:0.375rem;font-size:0.875rem;font-weight:500;text-decoration:none;">Edit this data</span>] | |||
</div> | |||
</div> | |||
{{#if:{{{file|}}}| | |||
== Document == | |||
<pdf>File:{{{file}}}</pdf> | |||
[[File:{{{file}}}|800px]] | |||
}} | }} | ||