This plugin adds a new post type for linrodeth characters (called 'Characters' in the user interface). In support of this, the plugin provides:
The new post type (note, revisions of the character sheet are preserved, so old versions can be viewed (though not in that friendly a format))
Two options (accessed either from the 'Settings' link on the plugin itself, or from the 'Settings' admin menu). The two options allow the preamble text shown when a character sheet is viewed and the preamble text shown when a character is editted. You can also change the default genre and the default date (game date) used by the character sheets.
A widget that will list the recently added character sheets - this is managed from the 'Widgets submenu of the 'Appearance' admin menu. You can change the title shown by the widget and how many recent characters it will display.
It adds a new shortcode that allows links to characters to be added to posts and pages. It can also be used to generate tables of characters. Examples of use:
[linchar /] Show a link to the first character sheet found in the database
[linchar type="table" /] Show a table listing all the character sheets found in the database
[linchar name="Dermot Foulkes" /] Show a link to a specific character sheet. Note that the name is that used on the character sheet NOT the title of the character sheet
[linchar player="David" type="table" /] Show a table listing all the character sheets with the given player name (NOT the author of the character sheet)
[linchar genre="Linrodeth" type="table" /] Show a table listing all the characters for the specified genre
[linchar author="djvines" type="table" /] Show a table listing all the characters authored by a specified author
[linchar type="table" orderby="name" /] Show a table of all characters ordered by the character name
[linchar genre="Linrodeth" type="table" orderby="date" /] Show a table of all characters for a specific genre ordered by the last modification time of the character sheet
[linchar name="Dermot Foulkes" type="link" text="Dermot" /] Show a link to a specific character sheet with the text of the link specified.
[linchar name="Dermot Foulkes" type="link"]Embedded Dermot[/linchar] Show a link to a specific character sheet with the text of the link specified by enclosing the text with the shortcode
In addition there's a shortcode to add a sandpit for character creation experimentation. This allows for a new character
to edited but not saved. The characters can be loaded/saved from the browser via the import and export buttons, but cannot be
saved onto the website directly.
[lincharSandpit /]
It also adds a shortcode to display the night sky. Examples of use:
[linsky time="now" showbuttons="true"] Show the night sky as it is "now" and include the buttons to allow the time to be changed
[linsky time="gamedate"] Show the night sky as it is at 11pm on the game date chosen on the settings page
Improve Handling of Tekumel Languages and Religions
Add a 'Copy Previous Skills' button
Support (completely optional) gender field
Link the post title with the name of the character (typing in one updates the other as well)
Note: This version does not address the reported issue of clipping when printing. I'm not sure how to proceed on that one since it should be the job of the PDF viewer to correctly scale the document for the printer.
Note that despite allowing use of the Gutenberg block editor,
the editor of the character sheet actually replaces the entire post text with the
character sheet, so any other blocks will be discarded!
Change the now version of Goodgulf's telescope to use the browser's time rather than the server's time. This allows the page not to change when using static site generation.
The plugin modifies searches so that all post types are included. This is now fixed so that it only affects the search, tag and category pages and not every query (including those on widgets on those pages)
A zero width space is used after the '/' character in the buttons for skills to improve word wrapping on the buttons
Correct inheritance used for construction of the widget to the current (PHP7 supporting) idiom
Change the size of the box used for viewing and editing to 67% of the height of the viewport - this is much friendly for various display sizes and seems to help chrome on mobile devices to render the box correctly