Requires admin level. From administrative control panel
- table or textbox
- alignment
- highlight
- background
- goto, target
AoF Dev Co-Leadermakazuwr32 wrote: ↑Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
Code: Select all
[highlight={COLOR}]{TEXT}[/highlight]
[font={SIMPLETEXT1}]{SIMPLETEXT2}[/font]
Code: Select all
<span style="background-color: {COLOR};">{TEXT}</span>
<span style="font-family: {SIMPLETEXT1};">{SIMPLETEXT2}</span>
TOKENS
Tokens are placeholders for user input. The input will be validated only if it matches the corresponding definition. If needed, you can number them by adding a number as the last character between the braces, e.g. {TEXT1}, {TEXT2}.
Within the HTML replacement you can also use any language string present in your language/ directory like this: {L_<STRINGNAME>} where <STRINGNAME> is the name of the translated string you want to add. For example, {L_WROTE} will be displayed as “wrote” or its translation according to user’s locale.
Please note that only tokens listed below are able to be used within custom BBCodes.
TOKEN WHAT CAN IT BE?
{TEXT} Any text, including foreign characters, numbers, etc… You should not use this token in HTML tags. Instead try to use IDENTIFIER, INTTEXT or SIMPLETEXT.
{SIMPLETEXT} Characters from the latin alphabet (A-Z), numbers, spaces, commas, dots, minus, plus, hyphen and underscore
{INTTEXT} Unicode letter characters, numbers, spaces, commas, dots, minus, plus, hyphen, underscore and whitespaces.
{IDENTIFIER} Characters from the latin alphabet (A-Z), numbers, hyphen and underscore
{NUMBER} Any series of digits
{EMAIL} A valid email address
{URL} A valid URL using any protocol (http, ftp, etc… cannot be used for javascript exploits). If none is given, “http://” is prefixed to the string.
{LOCAL_URL} A local URL. The URL must be relative to the topic page and cannot contain a server name or protocol, as links are prefixed with “https://www.ageofstrategy.net/”
{RELATIVE_URL} A relative URL. You can use this to match parts of a URL, but be careful: a full URL is a valid relative URL. When you want to use relative URLs of your board, use the LOCAL_URL token.
{COLOR} A HTML colour, can be either in the numeric form #FF1234 or a CSS colour keyword such as fuchsia or InactiveBorder
Code: Select all
<span class="spoiler-inline-js"><input type="button" value="{INTTEXT}" class="button2" style="font-size:10px; padding: 0px 3px; border-radius: 2px;" onclick="XYZ.style.display = XYZ.style.display==='none' ? 'block' : 'none';" /><div style="margin-top: 3px; padding: 5px; border: 1px dotted darkgray; display: none;">{TEXT}</div></span>
Code: Select all
[spoiler={INTTEXT;defaultValue=Spoiler}]{TEXT}[/spoiler]
Code: Select all
<span style="text-decoration: line-through;">{TEXT}</span>
Code: Select all
[st]{TEXT}[/st]
Code: Select all
<style> @-webkit-keyframes progress{to{background-position: 30px 0;}}@-moz-keyframes progress{to{background-position: 30px 0;}}@keyframes progress{to{background-position: 30px 0;}} </style><div style="display: inline-block; background-color: #282828; border-radius: 7px; box-shadow:inset 0px 0px 6px 2px rgba(255,255,255,.3); height: 17px; padding: 6px; width: 380px;"><div style="display: inline-block; height: 100%; width: {PERCENT}%; max-width: 100%; background-color: #75ff30; border-radius: 3px;"><div style="width: 100%; height: 15px; border-radius: 20px; -webkit-animation: progress 1s linear infinite; -moz-animation: progress 1s linear infinite; animation: progress 1s linear infinite; background-repeat: repeat-x; background-size: 30px 30px; background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);"></div></div></div>
Code: Select all
[progress]{PERCENT}[/progress]
Code: Select all
<span style="display: block; text-align: right;">{TEXT}</span>
<span style="display: block; text-align: left;">{TEXT}</span>
Code: Select all
[rt]Text[/rt]
[lt]Text[/lt]
Code: Select all
<span style="background-color: {COLOR}">{TEXT}</span>
Code: Select all
[hil={COLOR}]{TEXT}[/hil]
Code: Select all
<p><div style="text-align:center"><div style="display:inline-block;background-color:{COLOR2};border:{HEIGHT}px solid {COLOR1};border-radius: 8px;padding:10px 15px;">{TEXT}</div></div></p>
Code: Select all
[tcbox={HEIGHT}, {COLOR1}, {COLOR2}[Sp][/Sp]]{TEXT}[/tcbox]
Code: Select all
<a name="{TEXT}">{TEXT1}</a>
Code: Select all
<a href="#{TEXT}">{TEXT2}</a>
Code: Select all
[anchor={TEXT}]{TEXT1}[/anchor]
Code: Select all
[goto={TEXT}]{TEXT2}[/goto]
Okay
AoF Dev Co-Leadermakazuwr32 wrote: ↑Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
AoF Dev Co-Leadermakazuwr32 wrote: ↑Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
This will greatly expand possibilities for forum.Hyuhjhih
AoF Dev Co-Leadermakazuwr32 wrote: ↑Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.