Difference between revisions of "Template:EquipmentLabel"
Jump to navigation
Jump to search
(→Label) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 10: | 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== | ||
Line 21: | Line 25: | ||
<g id="qr"> | <g id="qr"> | ||
− | <image width="150" height="150" xlink:href="https:// | + | <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 43: | Line 47: | ||
</html> | </html> | ||
}} | }} | ||
− | {{#ifeq: {{{ | + | {{#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> | ||
+ | </html> | ||
+ | | | ||
+ | <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>Not Assigned<html></text> | ||
+ | </g> | ||
+ | </html> | ||
+ | }} | ||
+ | {{#ifeq: {{{authorization}}} | yes | | ||
<html> | <html> | ||
− | <g id=" | + | <g id="authorization" transform="translate(245,35)"> |
<image width="150" height="79" xlink:href="https://wiki.pumpingstationone.org/images/Authorization_required.svg"/> | <image width="150" height="79" xlink:href="https://wiki.pumpingstationone.org/images/Authorization_required.svg"/> | ||
</g> | </g> | ||
Line 51: | Line 70: | ||
| | | | ||
<html> | <html> | ||
− | <g id=" | + | <g id="authorization" transform="translate(245,35)"> |
<image width="150" height="79" xlink:href="https://wiki.pumpingstationone.org/images/Authorization_not_required.svg"/> | <image width="150" height="79" xlink:href="https://wiki.pumpingstationone.org/images/Authorization_not_required.svg"/> | ||
</g> | </g> | ||
Line 58: | Line 77: | ||
{{#ifeq: {{{hackable}}} | yes | | {{#ifeq: {{{hackable}}} | yes | | ||
<html> | <html> | ||
− | <g id=" | + | <g id="hackable" transform="translate(400,35)"> |
<image width="150" height="79" xlink:href="https://wiki.pumpingstationone.org/images/Hackable.svg"/> | <image width="150" height="79" xlink:href="https://wiki.pumpingstationone.org/images/Hackable.svg"/> | ||
</g> | </g> | ||
Line 64: | Line 83: | ||
| | | | ||
<html> | <html> | ||
− | <g id=" | + | <g id="hackable" transform="translate(400,35)"> |
<image width="150" height="79" xlink:href="https://wiki.pumpingstationone.org/images/Do_not_hack.svg"/> | <image width="150" height="79" xlink:href="https://wiki.pumpingstationone.org/images/Do_not_hack.svg"/> | ||
</g> | </g> |
Revision as of 01:44, 20 March 2019
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