Instructions: Difference between revisions
From Off the Road Database
No edit summary |
No edit summary |
||
Line 44: | Line 44: | ||
= Authors = | = Authors = | ||
How to create new [[:Category:Authors]] pages. | How to create new [[:Category:Authors]] pages. | ||
* Enter the name of the author. This should always follow the same naming convention throughout the wiki e.g. [[ | * Enter the name of the author. This should always follow the same naming convention throughout the wiki e.g. [[Frost, Robert]]. | ||
<inputbox> | <inputbox> | ||
type=create | type=create | ||
Line 68: | Line 68: | ||
== Examples == | == Examples == | ||
Click on <code>Actions->Edit</code> on an existing page like [[ | Click on <code>Actions->Edit</code> on an existing page like [[Off_the_Highway]] or [[Frost, Robert]] to see examples of working edits. | ||
= Special Pages = | = Special Pages = |
Latest revision as of 09:36, 17 May 2024
Before editing pages make sure you have the necessary Editor
rights.
Texts
How to create new Category:Texts pages and annotate paragraphs.
- Enter the name of the page. The name is relevant for searching and should be the same as the title of the text.
Metadata
Insert a <meta>
section.
Note: Attributes like genre
are case sensitive!
<meta author="Dreiser, Theodore;Sandburg, Carl;Sinclair, Lewis" additional_information="Info text here.." genre="Novel,Thriller" journal="Journal1, Journal2" publisher="Publisher1, Publisher2" year_of_publication="2000,2001" page_range="1-10" />
- The
author
attribute can have multiple values separated by a ";" semicolon. - The attributes
genre, journal, publisher, year_of_publication
can have multiple values separated by a "," comma. - Attributes can be omitted completely and are shown as "-" in the Bibliographic Information section on the text page.
Annotations
Its best to look at already annotated pages to get a feeling for how the markup works.
- Put all annotations inside
<annotations>...</annotations>
elements. - Define paragraphs via
<paragraph keywords="keyword1,keyword2">paragraph text</paragraph>
- The
keywords
attribute can have multiple values separated by a "," comma. - There can be multiple paragraphs.
- Use
<pagenr>(1)</pagenr>
elements to display page number information inside paragraphs. - Use
<poem>...</poem>
inside paragraphs to keep formatting exactly like in the editor. See Extension:Poem for further formatting instructions. - Use wikitext like
== CHAPTER I ==
between paragraphs for headlines and other wiki markup for styling. See Help:Formatting for information on formatting syntax.
Authors
How to create new Category:Authors pages.
- Enter the name of the author. This should always follow the same naming convention throughout the wiki e.g. Frost, Robert.
- Insert an author infobox and related texts section with the following wikitext:
{{Infobox Author | gender = Male | ethnicity = African, American | nationality = African | life span = quite long }}
- The
ethnicity
parameter can have multiple values separated by a "," comma. - Attributes can be omitted completely and are shown as "-" in the Bibliographic Information section on the author page.
nationality
andlife span
are not used for searching and can therefore contain any text.
Examples
Click on Actions->Edit
on an existing page like Off_the_Highway or Frost, Robert to see examples of working edits.
Special Pages
- Use Mediawiki:Sidebar to edit the navigation bar items.
- Edit MediaWiki:Common.css to change the styling of the wiki. Scroll down to
/* OFFTHEROAD CUSTOM CSS SECTION */
to find custom styling for the offroad wiki. - Edit MediaWiki:Text Template to change the preloaded text for new Category:Texts pages.
- Edit MediaWiki:Author Template to change the preloaded text for new Category:Authors pages.
Extensions
See Special:Version for details.
Composer
- SemanticBundle
Extension Directory
- OffTheRoad
- WikiSearch
- WikiSearchFront
- YouTube
- WSSemanticParsedText
- ArrayFunctions (at least version 1.42 for the
caseinsensitive
option)
SemanticBundle
- SemanticMediaWiki
- PageForms
Other
These come bundled with the above setup.
- PdfHandler
- ParserFunctions
- Poem
- InputBox
- TemplateData