icons:adding_all_realm_icons

Adding all realm icons

This is, frankly, a pain. It is the New works icon procedure multiplied by, at the time of the current writing, nine. The wiki is well into the point of diminishing returns when it comes to expanding these into the realms yet unaddressed, so one wonders, “Why?”

The important thing to note is this: Realm-specific icon reference pages are in the icons:pages:realms: namespace. They are not in icons:pages: Remembering this will save a lot of after-action repairs over all the new pages. Ask the present editor how he knows.

Perhaps, instead of icons for the entire range of holds being made, the creation can be more targeted to the immediate need. A script could be developed to generate these from the existing pages of a reference realm. However, there are more pressing priorities than that.

Certainly, doing this in a text editor app rather than in DokuWiki's page editor can make substitutions quicker, provided that one finds them all. The present editor presently favors Sublime Text, and many of the https://www.rexegg.com/

These are the same steps as for doing just one icon but with broader actions. This procedure is described more tersely, so see that one for a more detailed explanation of the what and the why.

Open the DokuWiki page editor and select a good model row to paste into your text editor. Any should work, but we'll take the Azadmere row since it has the same number of letters as Emelrene; the pipes will line up nicely that way. If this finds you doing something like Trierzon Kingdom, pick Shorkyne Kingdom.

Do a find on “Azadmere” and replace with “Emelrene”. Sublime Text has a lovely Preserve case option that makes the links lowercase to match the ones already present, although that is not strictly necessary. DokuWiki will find the page in title case too.

Paste the new line into DokuWiki at the appropriate place.

This is where we start preferring that a script be made to generate pages externally that can then be copied into the wiki.

Barring that, go to each page in icons: with _azadmere at the end of the pagename, like icons:city_azadmere. Here is a page of all of the content from those Azadmere pages: Realm-specific icon page fills. Beware that it may reflect the content at the time of this writing and will not have any subsequent improvements that may be made in the future.

Copy all the text into your text editor. Run the same “Emelrene” for “Azadmere” replacement. Then paste each part of the changed text into its appropriate new page.

Go to Realm-specific icons key and, again, copy a table row. Paste the row into your text editor. Do the same find/replace. Paste the row into DokuWiki at the appropriate place.

As with the icon-itself pages, a listing of all of Azadmere's icon reference pages is at Realm-specific icon reference page fills. Paste that into a text editor, find/replace, paste the results into the appropriate pages.

This is the same as the other link copy-edit-pasting steps. Grab a whole section and put it in the right, alphabetically-ordered spot in rightsidebar.

Use the main search box to look for the icon's opening Wrap plugin tag, like this.

"<WRAP emelrene columbian-icon>"

The new icon-itself pages will come up. Look for others. If so, replace thusly.

<WRAP icon-pad>
<WRAP emelrene columbian-icon>
{{fa>map-o?size=30&align=left}}
</WRAP></WRAP>

Becomes…

{{page>icons:map_emelrene&inline}}
  • icons/adding_all_realm_icons.txt
  • Last modified: 2023/02/25 09:49
  • by suedunham