Template:Document: Difference between revisions
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
'''Title:''' {{{title}}} | '''Title:''' {{{title}}} | ||
}} | }}{{#if:{{{file|}}}| | ||
{{#if:{{{file|}}}| | |||
'''File:''' [[:File:{{{file}}}|{{{file}}}]] | '''File:''' [[:File:{{{file}}}|{{{file}}}]] | ||
}} | }}{{#if:{{{url|}}}| | ||
{{#if:{{{url|}}}| | |||
'''URL:''' [{{{url}}}| {{{url}}}] | '''URL:''' [{{{url}}}| {{{url}}}] | ||
}} | }}{{#if:{{{crt_models|}}}| | ||
{{#if:{{{crt_models|}}}| | |||
'''Related CRT Models:''' {{#arraymap:{{{crt_models|}}}|,|@@@@|[[@@@@]] }} | '''Related CRT Models:''' {{#arraymap:{{{crt_models|}}}|,|@@@@|[[@@@@]] }} | ||
}} | }} | ||
<div style="text-align: center; margin-top: 0.5em;"> | <div style="text-align: center; margin-top: 0.5em;"> | ||
{{#if:{{{file|}}}| | {{#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|}}}|[{{{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>] | ||
[{{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|}}}| | |||
[{{{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> | ||
</div> | </div> | ||
| Line 54: | Line 45: | ||
[[File:{{{file}}}|800px]] | [[File:{{{file}}}|800px]] | ||
}} | }} | ||