Editing User:King of Herdaz/Toolbar customization
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 305: | Line 305: | ||
For example, if you have <code><nowiki>Shallan.jpg</nowiki></code> highlighted when you press the button it will result in this: <code><nowiki>{{image|Shallan.jpg|side=|width=|caption}}</nowiki></code> |
For example, if you have <code><nowiki>Shallan.jpg</nowiki></code> highlighted when you press the button it will result in this: <code><nowiki>{{image|Shallan.jpg|side=|width=|caption}}</nowiki></code> |
||
− | {| class="mw-collapsible mw-collapsed" width=100% |
||
− | |- |
||
− | | |
||
− | |- |
||
− | | |
||
<pre> |
<pre> |
||
// Adding image template button to the "main" section |
// Adding image template button to the "main" section |
||
Line 331: | Line 326: | ||
}); |
}); |
||
</pre> |
</pre> |
||
− | |} |
||
==== Simple Link ==== |
==== Simple Link ==== |
||
Line 367: | Line 361: | ||
Pastes <code><nowiki>[[Wikipedia:</nowiki></code> and <code><nowiki>|]]</nowiki></code> around your highlighted text. This generates a link to that Wikipedia page and hides the prefix. For example, if you highlight <code>Brandon Sanderson</code> and click this button it will generate this: <code><nowiki>[[Wikipedia:Brandon Sanderson|]]</nowiki></code> which produces [[Wikipedia:Brandon Sanderson|Brandon Sanderson]] on the page. |
Pastes <code><nowiki>[[Wikipedia:</nowiki></code> and <code><nowiki>|]]</nowiki></code> around your highlighted text. This generates a link to that Wikipedia page and hides the prefix. For example, if you highlight <code>Brandon Sanderson</code> and click this button it will generate this: <code><nowiki>[[Wikipedia:Brandon Sanderson|]]</nowiki></code> which produces [[Wikipedia:Brandon Sanderson|Brandon Sanderson]] on the page. |
||
− | {| class="mw-collapsible mw-collapsed" width=100% |
||
− | |- |
||
− | | |
||
− | |- |
||
− | | |
||
<pre> |
<pre> |
||
// Adding Wikipedia link button to the "main" section |
// Adding Wikipedia link button to the "main" section |
||
Line 393: | Line 382: | ||
}); |
}); |
||
</pre> |
</pre> |
||
− | |} |
||
=== Premade Dropdowns === |
=== Premade Dropdowns === |