Template:Modern
Contents |
Purpose
This template allows a contributor to modernize or standardize the orthography of an older text, in which nonstandard spellings might make reading or searching the text difficult for the reader.
[edit] Effect
When the text of a page using {{Modern}} is transcluded to a subpage titled /Modern the modernized spellings replace the originals. The parent page preserves the original orthography.
[edit] Usage
- Use
{{Modern|old spelling|new spelling}}in the markup of the text's main page. - Create a subpage titled
/Modernwith the exact title of the main text inserted after the colon in the markup{{:}}— this copies the original text onto the new page with the new spellings.
- Two variables are used
- The first is the word as spelt in the original text.
- The second is the word with the standardized spelling.
Markup: Main Page
He has taken more care to give an edge to his {{Modern|satyr|satire}}.
Markup: Main Page/Modern
{{:Main Page}}
Display: Main Page
- He has taken more care to give an edge to his satyr.
Display: Main Page/Modern
- He has taken more care to give an edge to his satire.
[edit] Tips
You can use {{Modern}} to aid in relative linking within a work that has several subpages. For example, from Main Page, the markup [[/Preface|Preface]] will link to Main Page/Preface. However, the link on the transcluded page at Main Page/Modern will want to link to Main Page/Modern/Preface, which will be unhelpful. When using relative links on the main page, use the following markup:
{{Modern|[[/Preface|Preface]]|[[../Preface/Modern|Preface]]}}
The first variable contains the link from the main page to its /Preface subpage. The second variable links to Main Page/Preface/Modern via its parent (using two dots).
[edit] See also
- {{s}} -
{{s}}replaces the 'long s' character, ſ, with the standard lower case s on the subpage/Modern. - {{SIC}} -
{{SIC|eror|error}}displays the correction on the main page for a typographical eror when the cursor hovers over the text; makes the correction on the subpage/Modern. (Do not confuse with {{sic}}.)