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 9: | Line 9: | ||
Changes you make to your [[Special:MyPage/common.js|common.js]] page only take effect after you save the page, so to check that the changes you have made worked you should save your [[Special:MyPage/common.js|common.js]] page and try to edit some other wiki page. If you see the default toolbar when you edit a page that means that your edits "broke" your toolbar. Consult the [[#General Guidelines|#general guidelines]] for help debugging your code. |
Changes you make to your [[Special:MyPage/common.js|common.js]] page only take effect after you save the page, so to check that the changes you have made worked you should save your [[Special:MyPage/common.js|common.js]] page and try to edit some other wiki page. If you see the default toolbar when you edit a page that means that your edits "broke" your toolbar. Consult the [[#General Guidelines|#general guidelines]] for help debugging your code. |
||
− | If the changes you made are not working, or if you would like assistance creating your own |
+ | If the changes you made are not working, or if you would like assistance creating your own you can DM <code>King of Herdaz#2300</code> on Discord for help. |
== Basic == |
== Basic == |
||
Line 409: | Line 409: | ||
| |
| |
||
<pre> |
<pre> |
||
− | + | //Add new references dropdown to the "advanced" section |
|
− | + | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|
− | + | section: 'advanced', |
|
− | + | groups: { |
|
− | + | list: { |
|
− | tools: { |
+ | tools: { |
− | + | references: { |
|
− | label: ' |
+ | label: 'references', |
− | type: 'select', |
+ | type: 'select', |
− | list: { |
+ | list: { |
− | + | 'book-ref': { |
|
− | label: '{' + '{book ref}}', |
+ | label: '{' + '{book ref}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '{' + '{book ref|', |
+ | pre: '{' + '{book ref|', |
− | post: '}}' |
+ | post: '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'wob-ref': { |
|
− | label: '{' + '{wob ref}}', |
+ | label: '{' + '{wob ref}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '{' + '{wob ref|', |
+ | pre: '{' + '{wob ref|', |
− | post: '}}' |
+ | post: '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'ref-plaintext': { |
|
− | label: '{' + '{ref}}', |
+ | label: '{' + '{ref}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '{' + '{ref|text=', |
+ | pre: '{' + '{ref|text=', |
− | post: '}}' |
+ | post: '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'epigraph-ref': { |
|
− | label: '{' + '{epigraph ref}}', |
+ | label: '{' + '{epigraph ref}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '{' + '{epigraph ref|', |
+ | pre: '{' + '{epigraph ref|', |
− | post: '}}' |
+ | post: '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'au-ref': { |
|
− | label: '{' + '{au ref}}', |
+ | label: '{' + '{au ref}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '{' + '{au ref|', |
+ | pre: '{' + '{au ref|', |
− | post: '}}' |
+ | post: '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'msh-ref': { |
|
− | label: '{' + '{msh ref}}', |
+ | label: '{' + '{msh ref}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '{' + '{msh ref|', |
+ | pre: '{' + '{msh ref|', |
− | post: '}}' |
+ | post: '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'tes-ref': { |
|
− | label: '{' + '{tes ref}}', |
+ | label: '{' + '{tes ref}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '{' + '{tes ref|', |
+ | pre: '{' + '{tes ref|', |
− | post: '}}' |
+ | post: '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'file-ref': { |
|
− | label: '{' + '{file ref}}', |
+ | label: '{' + '{file ref}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '{' + '{file ref|', |
+ | pre: '{' + '{file ref|', |
− | post: '}}' |
+ | post: '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'map-ref': { |
|
− | label: '{' + '{map ref}}', |
+ | label: '{' + '{map ref}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '{' + '{map ref|', |
+ | pre: '{' + '{map ref|', |
− | post: '}}' |
+ | post: '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'url-ref': { |
|
− | label: '{' + '{url ref}}', |
+ | label: '{' + '{url ref}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '{' + '{url ref|url=', |
+ | pre: '{' + '{url ref|url=', |
− | post: '|text=|date=|site=}}' |
+ | post: '|text=|date=|site=}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | '17s-ref': { |
|
− | label: '{' + '{17s ref}}', |
+ | label: '{' + '{17s ref}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '{' + '{17s ref|topic/news/post', |
+ | pre: '{' + '{17s ref|topic/news/post', |
− | post: '|id#|description|date=}}' |
+ | post: '|id#|description|date=}}' |
− | + | } |
|
− | } |
+ | } |
− | + | } |
|
− | } |
+ | } |
− | + | } |
|
− | } |
+ | } |
− | + | } |
|
− | + | } |
|
− | + | } ); |
|
</pre> |
</pre> |
||
|} |
|} |
||
Line 549: | Line 549: | ||
| |
| |
||
<pre> |
<pre> |
||
− | + | //Add new build-a-box dropdown to the "advanced" section |
|
− | + | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|
− | + | section: 'advanced', |
|
− | + | groups: { |
|
− | + | list: { |
|
− | tools: { |
+ | tools: { |
− | + | simplecharacterinfobox: { |
|
− | label: 'build-a-box', |
+ | label: 'build-a-box', |
− | type: 'select', |
+ | type: 'select', |
− | list: { |
+ | list: { |
− | + | 'start': { |
|
− | label: '{' + '{character', |
+ | label: '{' + '{character', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '{' + '{character' |
+ | pre: '{' + '{character' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'residence': { |
|
− | label: '|residence=', |
+ | label: '|residence=', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|residence=' |
+ | pre: '\n' + '|residence=' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'imageparam': { |
|
− | label: '|image=', |
+ | label: '|image=', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|image=' |
+ | pre: '\n' + '|image=' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'profession': { |
|
− | label: '|profession=', |
+ | label: '|profession=', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|profession=' |
+ | pre: '\n' + '|profession=' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | '#profession': { |
|
− | label: '|#profession=', |
+ | label: '|#profession=', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|#profession=' |
+ | pre: '\n' + '|#profession=' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'skills': { |
|
− | label: '|skills=', |
+ | label: '|skills=', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|skills=' |
+ | pre: '\n' + '|skills=' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'species': { |
|
− | label: '|species=', |
+ | label: '|species=', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|species=' |
+ | pre: '\n' + '|species=' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'abilities': { |
|
− | label: '|abilities=', |
+ | label: '|abilities=', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|abilities=' |
+ | pre: '\n' + '|abilities=' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'ethnicity': { |
|
− | label: '|ethnicity=', |
+ | label: '|ethnicity=', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|ethnicity=' |
+ | pre: '\n' + '|ethnicity=' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'born': { |
|
− | label: '|born=', |
+ | label: '|born=', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|born=' |
+ | pre: '\n' + '|born=' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'died': { |
|
− | label: '|died=', |
+ | label: '|died=', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|died=' |
+ | pre: '\n' + '|died=' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'nationality': { |
|
− | label: '|nationality=', |
+ | label: '|nationality=', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|nationality=' |
+ | pre: '\n' + '|nationality=' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'bonded': { |
|
− | label: '|bonded=', |
+ | label: '|bonded=', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|bonded=' |
+ | pre: '\n' + '|bonded=' |
− | + | } |
|
− | } |
+ | } |
− | + | } |
|
− | } |
+ | } |
− | + | } |
|
− | } |
+ | } |
− | + | } |
|
− | + | } |
|
− | + | } ); |
|
</pre> |
</pre> |
||
|} |
|} |
||
Line 696: | Line 696: | ||
| |
| |
||
<pre> |
<pre> |
||
− | + | //Add new infobox endings dropdown to the "advanced" section |
|
− | + | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|
− | + | section: 'advanced', |
|
− | + | groups: { |
|
− | + | list: { |
|
− | tools: { |
+ | tools: { |
− | + | endings: { |
|
− | label: 'ends', |
+ | label: 'ends', |
− | type: 'select', |
+ | type: 'select', |
− | list: { |
+ | list: { |
− | + | 'sa': { |
|
− | label: 'Stormlight', |
+ | label: 'Stormlight', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|world=Roshar' + '\n' + '|universe=[[Cosmere]]' + '\n' + '|books=[[The Stormlight Archive]]' + '\n' + '}}' |
+ | pre: '\n' + '|world=Roshar' + '\n' + '|universe=[[Cosmere]]' + '\n' + '|books=[[The Stormlight Archive]]' + '\n' + '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'mbe1': { |
|
− | label: 'MB Era 1', |
+ | label: 'MB Era 1', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|world=Scadrial' + '\n' + '|universe=[[Cosmere]]' + '\n' + '|books=[[Mistborn Era 1]]' + '\n' + '}}' |
+ | pre: '\n' + '|world=Scadrial' + '\n' + '|universe=[[Cosmere]]' + '\n' + '|books=[[Mistborn Era 1]]' + '\n' + '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'mbe2': { |
|
− | label: 'MB Era 2', |
+ | label: 'MB Era 2', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|world=Scadrial' + '\n' + '|universe=[[Cosmere]]' + '\n' + '|books=[[Mistborn Era 2]]' + '\n' + '}}' |
+ | pre: '\n' + '|world=Scadrial' + '\n' + '|universe=[[Cosmere]]' + '\n' + '|books=[[Mistborn Era 2]]' + '\n' + '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'wb': { |
|
− | label: 'Warbreaker', |
+ | label: 'Warbreaker', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|world=Nalthis' + '\n' + '|universe=[[Cosmere]]' + '\n' + '|books=[[Warbreaker]]' + '\n' + '}}' |
+ | pre: '\n' + '|world=Nalthis' + '\n' + '|universe=[[Cosmere]]' + '\n' + '|books=[[Warbreaker]]' + '\n' + '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'ela': { |
|
− | label: 'Elantris', |
+ | label: 'Elantris', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|world=Sel' + '\n' + '|universe=[[Cosmere]]' + '\n' + '|books=[[Elantris (book)|Elantris]]' + '\n' + '}}' |
+ | pre: '\n' + '|world=Sel' + '\n' + '|universe=[[Cosmere]]' + '\n' + '|books=[[Elantris (book)|Elantris]]' + '\n' + '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'alc': { |
|
− | label: 'Alcatraz', |
+ | label: 'Alcatraz', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|earth=Alcatraz' + '\n' + '|books=[[Alcatraz Versus the Evil Librarians (series)|Alcatraz Versus the Evil Librarians]]' + '\n' + '}}' |
+ | pre: '\n' + '|earth=Alcatraz' + '\n' + '|books=[[Alcatraz Versus the Evil Librarians (series)|Alcatraz Versus the Evil Librarians]]' + '\n' + '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'ws': { |
|
− | label: 'White Sand', |
+ | label: 'White Sand', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '|world=Taldain' + '\n' + '|universe=[[Cosmere]]' + '\n' + '|books=[[White Sand]]' + '\n' + '}}' |
+ | pre: '\n' + '|world=Taldain' + '\n' + '|universe=[[Cosmere]]' + '\n' + '|books=[[White Sand]]' + '\n' + '}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'skyward': { |
|
− | label: ' |
+ | label: 'Skyward', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '| |
+ | pre: '\n' + '|world=', |
⚫ | |||
⚫ | |||
− | } |
+ | } |
− | + | } |
|
− | + | } |
|
− | + | } |
|
− | + | } |
|
⚫ | |||
− | type: 'encapsulate', |
||
− | + | } |
|
⚫ | |||
− | pre: '\n' + '|world=', |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | } |
||
− | } |
||
− | } |
||
− | } |
||
− | } |
||
⚫ | |||
− | } |
||
⚫ | |||
</pre> |
</pre> |
||
|} |
|} |
||
Line 806: | Line 797: | ||
| |
| |
||
<pre> |
<pre> |
||
− | + | //Add new page ends dropdown to the "advanced" section |
|
− | + | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|
− | + | section: 'advanced', |
|
− | + | groups: { |
|
− | + | list: { |
|
− | tools: { |
+ | tools: { |
− | + | bottoms: { |
|
− | label: 'bottoms', |
+ | label: 'bottoms', |
− | type: 'select', |
+ | type: 'select', |
− | list: { |
+ | list: { |
− | + | 'pagename': { |
|
− | label: '{' + '{SUBST:PAGENAME}}', |
+ | label: '{' + '{SUBST:PAGENAME}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '\'\'\'{' + '{SUBST:PAGENAME}}\'\'\'' |
+ | pre: '\n' + '\'\'\'{' + '{SUBST:PAGENAME}}\'\'\'' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'notes': { |
|
− | label: ' |
+ | label: '== Notes ==', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + ' |
+ | pre: '\n\n' + '== Notes ==' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'refsection': { |
|
− | label: ' |
+ | label: '<' + 'references/>', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: ' |
+ | pre: '\n' + '<' + 'references />' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'stub': { |
|
− | label: ' |
+ | label: '{' + '{stub}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + ' |
+ | pre: '\n' + '{' + '{stub}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'partial': { |
|
− | label: '{' + '{ |
+ | label: '{' + '{partial}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '{' + '{ |
+ | pre: '\n' + '{' + '{partial}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'complete': { |
|
− | label: '{' + '{ |
+ | label: '{' + '{complete}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '{' + '{ |
+ | pre: '\n' + '{' + '{complete}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'alcatraz': { |
|
− | label: '{' + '{ |
+ | label: '{' + '{Alcatraz}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '{' + '{ |
+ | pre: '\n' + '{' + '{Alcatraz}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'elantris': { |
|
− | label: '{' + '{ |
+ | label: '{' + '{Elantris}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '{' + '{ |
+ | pre: '\n' + '{' + '{Elantris}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'mbera1': { |
|
− | label: '{' + '{ |
+ | label: '{' + '{Mistborn|Era 1}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '{' + '{ |
+ | pre: '\n' + '{' + '{Mistborn|Era 1}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'mbera2': { |
|
− | label: '{' + '{Mistborn|Era |
+ | label: '{' + '{Mistborn|Era 2}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '{' + '{Mistborn|Era |
+ | pre: '\n' + '{' + '{Mistborn|Era 2}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'reckoners': { |
|
− | label: '{' + '{ |
+ | label: '{' + '{Reckoners}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '{' + '{ |
+ | pre: '\n' + '{' + '{Reckoners}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'sky': { |
|
− | label: '{' + '{ |
+ | label: '{' + '{Skyward}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '{' + '{ |
+ | pre: '\n' + '{' + '{Skyward}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'stormlight': { |
|
− | label: '{' + '{ |
+ | label: '{' + '{Stormlight}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '{' + '{ |
+ | pre: '\n' + '{' + '{Stormlight}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'warbreaker': { |
|
− | label: '{' + '{ |
+ | label: '{' + '{Warbreaker}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '{' + '{ |
+ | pre: '\n' + '{' + '{Warbreaker}}' |
− | + | } |
|
− | } |
+ | } |
− | + | }, |
|
− | + | 'whitesand': { |
|
− | label: '{' + '{ |
+ | label: '{' + '{White Sand}}', |
− | action: { |
+ | action: { |
− | + | type: 'encapsulate', |
|
− | + | options: { |
|
− | pre: '\n' + '{' + '{ |
+ | pre: '\n' + '{' + '{White Sand}}' |
− | + | } |
|
− | } |
+ | } |
− | + | } |
|
− | + | } |
|
− | + | } |
|
− | + | } |
|
⚫ | |||
− | type: 'encapsulate', |
||
⚫ | |||
− | options: { |
||
⚫ | |||
− | pre: '\n' + '{' + '{Firstborn}}' |
||
− | } |
||
− | } }, |
||
− | 'whitesand': { |
||
− | label: '{' + '{White Sand}}', |
||
− | action: { |
||
− | type: 'encapsulate', |
||
− | options: { |
||
− | pre: '\n' + '{' + '{White Sand}}' |
||
− | } |
||
− | } |
||
− | } |
||
− | } |
||
− | } |
||
− | } |
||
⚫ | |||
− | } |
||
⚫ | |||
</pre> |
</pre> |
||
|} |
|} |