Template:Property: Difference between revisions

From HorizonXI Wiki
No edit summary
Tag: visualeditor-wikitext
No edit summary
Tag: visualeditor-wikitext
Line 19: Line 19:
| Darkness = [[:Category: Darkness |<font data-darkreader-inline-color="" color="#008080">'''Da'''</font><font data-darkreader-inline-color="" color="blue">'''rk'''</font><font data-darkreader-inline-color="" color="#cc9900">'''ne'''</font><font data-darkreader-inline-color="" color="black">'''ss'''</font>]]
| Darkness = [[:Category: Darkness |<font data-darkreader-inline-color="" color="#008080">'''Da'''</font><font data-darkreader-inline-color="" color="blue">'''rk'''</font><font data-darkreader-inline-color="" color="#cc9900">'''ne'''</font><font data-darkreader-inline-color="" color="black">'''ss'''</font>]]


| null =
| #default = '''{{{1|Property}}}'''
| #default = '''{{{1|Property}}}'''
}}<noinclude>[[Category:Templates|{{PAGENAME}}]]
}}<noinclude>[[Category:Templates|{{PAGENAME}}]]
Line 41: Line 42:
*Displays [[:Category: Light |<span class="light-elemental-text">'''Li'''</span><font data-darkreader-inline-color="" color="red">'''g'''</font><font data-darkreader-inline-color="" color="purple">'''h'''</font><font data-darkreader-inline-color="" color="green">'''t'''</font>]] if "Light" is defined.
*Displays [[:Category: Light |<span class="light-elemental-text">'''Li'''</span><font data-darkreader-inline-color="" color="red">'''g'''</font><font data-darkreader-inline-color="" color="purple">'''h'''</font><font data-darkreader-inline-color="" color="green">'''t'''</font>]] if "Light" is defined.
*Displays [[:Category: Darkness |<font data-darkreader-inline-color="" color="#008080">'''Da'''</font><font data-darkreader-inline-color="" color="blue">'''rk'''</font><font data-darkreader-inline-color="" color="#cc9900">'''ne'''</font><font data-darkreader-inline-color="" color="black">'''ss'''</font>]] if "Darkness" is defined.
*Displays [[:Category: Darkness |<font data-darkreader-inline-color="" color="#008080">'''Da'''</font><font data-darkreader-inline-color="" color="blue">'''rk'''</font><font data-darkreader-inline-color="" color="#cc9900">'''ne'''</font><font data-darkreader-inline-color="" color="black">'''ss'''</font>]] if "Darkness" is defined.
*Displays "" if "null" is defined.
*Displays "Property" if anything else is defined.
</noinclude>
</noinclude>

Revision as of 08:44, 22 January 2023

Property

Usage

{{Property|text}}
  • Displays Light if "Light" is defined.
  • Displays Darkness if "Darkness" is defined.
  • Displays "" if "null" is defined.
  • Displays "Property" if anything else is defined.