Difference between revisions of "Template:EquipmentLabel"
Jump to navigation
Jump to search
(fixed url paths in html for images) |
|||
(23 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | |||
==Fields== | ==Fields== | ||
Default listed first | Default listed first | ||
Line 11: | Line 10: | ||
* <div style="font-family:monospace;">no</div> | * <div style="font-family:monospace;">no</div> | ||
− | ==={{{ | + | ==={{{authorization}}}=== |
* <div style="font-family:monospace;">yes</div> | * <div style="font-family:monospace;">yes</div> | ||
* <div style="font-family:monospace;">no</div> | * <div style="font-family:monospace;">no</div> | ||
+ | |||
+ | ==={{{hostarea}}}=== | ||
+ | * Not Assigned | ||
+ | * <div style="font-family:monospace;">hostarea</div> | ||
==Label== | ==Label== | ||
</noinclude> | </noinclude> | ||
+ | |||
<html> | <html> | ||
− | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width=" | + | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="555" height="175px" viewBox="0 0 555 175" enable-background="new 0 0 555 175" xml:space="preserve" style="border:2px solid #000000;"> |
<g id="qr"> | <g id="qr"> | ||
− | <image width="150" height="150" xlink:href=" | + | <image width="150" height="150" xlink:href="https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=https://wiki.pumpingstationone.org/</html>{{FULLPAGENAMEE}}<html>" /> |
</g> | </g> | ||
Line 31: | Line 35: | ||
{{#ifeq: {{{owner}}} | PS:One | | {{#ifeq: {{{owner}}} | PS:One | | ||
<html> | <html> | ||
− | <g id="psoneproperty" transform="translate( | + | <g id="psoneproperty" transform="translate(155,23.5)"> |
− | + | <image width="80" height="103" xlink:href="https://mywikis-wiki-media.s3.us-central-1.wasabisys.com/ps1/PS1_owned.svg"/> | |
− | + | </g> | |
− | + | </html> | |
− | + | | | |
− | + | <html> | |
− | + | <g id="owner" transform="translate(155,30)"> | |
− | + | <image width="80" height="90" xlink:href="https://mywikis-wiki-media.s3.us-central-1.wasabisys.com/ps1/Person_owned.svg"/> | |
− | + | <text transform="matrix(1 0 0 1 10.0 110.0)" font-family="Arial,Helvetica,sans-serif" font-size="12"></html>{{{owner}}}<html></text> | |
− | + | </g> | |
− | + | </html> | |
− | + | }} | |
− | + | {{#if: {{{hostarea}}} | | |
− | + | <html> | |
− | + | <g id="hostarea" transform="translate(250,130)"> | |
− | + | <text transform="matrix(1 0 0 1 0 0)" font-family="Arial,Helvetica,sans-serif" font-weight="700" font-size="12">Area:</text> | |
− | + | <text transform="matrix(1 0 0 1 35.0 0)" font-family="Arial,Helvetica,sans-serif" font-size="12"></html>{{{hostarea}}}<html></text> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</g> | </g> | ||
</html> | </html> | ||
| | | | ||
<html> | <html> | ||
− | <g id=" | + | <g id="hostarea" transform="translate(250,130)"> |
− | + | <text transform="matrix(1 0 0 1 0 0)" font-family="Arial,Helvetica,sans-serif" font-weight="700" font-size="12">Area:</text> | |
− | + | <text transform="matrix(1 0 0 1 35.0 0)" font-family="Arial,Helvetica,sans-serif" font-size="12"></html>Not Assigned<html></text> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</g> | </g> | ||
</html> | </html> | ||
}} | }} | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{authorization}}} | yes | |
<html> | <html> | ||
− | <g id=" | + | <g id="authorization" transform="translate(245,35)"> |
− | + | <image width="150" height="79" xlink:href="https://mywikis-wiki-media.s3.us-central-1.wasabisys.com/ps1/Authorization_required.svg"/> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</g> | </g> | ||
</html> | </html> | ||
| | | | ||
<html> | <html> | ||
− | <g id=" | + | <g id="authorization" transform="translate(245,35)"> |
− | + | <image width="150" height="79" xlink:href="https://mywikis-wiki-media.s3.us-central-1.wasabisys.com/ps1/Authorization_not_required.svg"/> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</g> | </g> | ||
</html> | </html> | ||
Line 146: | Line 77: | ||
{{#ifeq: {{{hackable}}} | yes | | {{#ifeq: {{{hackable}}} | yes | | ||
<html> | <html> | ||
− | <g id="hackable" transform="translate( | + | <g id="hackable" transform="translate(400,35)"> |
− | + | <image width="150" height="79" xlink:href="https://mywikis-wiki-media.s3.us-central-1.wasabisys.com/ps1/Hackable.svg"/> | |
− | |||
− | |||
</g> | </g> | ||
</html> | </html> | ||
| | | | ||
<html> | <html> | ||
− | <g id=" | + | <g id="hackable" transform="translate(400,35)"> |
− | + | <image width="150" height="79" xlink:href="https://mywikis-wiki-media.s3.us-central-1.wasabisys.com/ps1/Do_not_hack.svg"/> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</g> | </g> | ||
</html> | </html> |
Latest revision as of 04:24, 7 March 2024
Fields
Default listed first
{{{owner}}}
- PS:One (Case Sensitive, to display logo properly)
- owner
{{{hackable}}}
- yes
- no
{{{authorization}}}
- yes
- no
{{{hostarea}}}
- Not Assigned
- hostarea
Label