Wiki Swiss Tool/Text Formatting: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
Created page with '=== Custom Format === This function allows you to specify a prefix, a suffix, or both to append to text in the clipboard. Select from the drop down menu, you'll be asked to speci…'
imported>Sanddh
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:


:*Redirect - This just adds redirect code, and is useful in making icon pages. For example if you copy the text "Swamp Stone" then click Redirect, you will now have "<nowiki>#Redirect [[Swamp Stone]]</nowiki>". Right click for the alternate, a category tag format (<nowiki>[[Category:Text]]</nowiki>).
:*Redirect - This just adds redirect code, and is useful in making icon pages. For example if you copy the text "Swamp Stone" then click Redirect, you will now have "<nowiki>#Redirect [[Swamp Stone]]</nowiki>". Right click for the alternate, a category tag format (<nowiki>[[Category:Text]]</nowiki>).
[[Category:Help]]

Latest revision as of 20:56, 30 January 2011

Custom Format

This function allows you to specify a prefix, a suffix, or both to append to text in the clipboard. Select from the drop down menu, you'll be asked to specify the prefix and suffix (leave blank for none). Now the button will format the clipboard text each time pressed. To change the suffix or prefix, select from the menu again.

Total Damage

For extremely high health objects such as doors, towers, walls or creatures you can calculate an approximate health by starting a log before the fight (or copy the text from in game if it doesn't overflow). Then copy the text of the file and select "Total Damage" from the drop down menu. This will parse all damage you have done and add them into a total and put it into the clipboard ready to be pasted. Regeneration can cause the reported total to be higher than the actual health. This will work with text copied directly from the game and with logged text.

Format Text

Accessed by pressing the Text tab or pressing 3, this tool allows you to format text by adding wiki formatting to whatever is currently in the Clipboard. Right clicking for some will have an alternate formatting operation.

  1. Copy the base text (right click then copy, or CTL + C).
  2. Left click the button for the formatting operation you need:
  • Dialog - This will add font coloring and breaks to in game dialog. This may be fixed in a future version but currently it only works for speech (darkgoldenrod) and interactions (green). If you want a different color, you can still use this to add the wiki code, then just change the color. Also, you may need to copy the text into a wiki text box first, then recopy it and then click the Dialog format button. Right clicking will format with cornflower blue (magic).
  • Wiki Link (Previously "Spells") - This function was changed in ver. 1.05 due to template changes that now hotlink spells instead of listing descriptions on individual pages. Now this function will wikilink (enclose in double brackets) all items in a comma delimited list. For example, copying "Atlan's Alacrity, Moderate Staff Aptitude, Honed Control" then clicking Spells will result in "[[Atlan's Alacrity]], [[Moderate Staff Aptitude]], [[Honed Control]]." This is useful in updating old pages to the new style. Right click for the alternate, bulleted wiki links. This will take a list of items separated by either line breaks or commas and convert them into a bulleted list of wiki links.
  • Image - This will format a name to be displayed as an image link, useful for adding a panel to a talk page. For example, "Golden Key" becomes "[[File:Golden Key.jpg]]". Right click for the alternate, an icon link. For example, "Golden Key" becomes "{{Icon|Golden Key}}".
  • Redirect - This just adds redirect code, and is useful in making icon pages. For example if you copy the text "Swamp Stone" then click Redirect, you will now have "#Redirect [[Swamp Stone]]". Right click for the alternate, a category tag format ([[Category:Text]]).