Վիքիդարան:Ոճական ուղեցույց
Կանոնակարգ և ուղեգծեր | Ոճական ուղեցույց |
| Այս Ոճական ուղեցույցը ուրվագծում է Վիքիդարանում ընդունված ձևաչափման պայմանավորվածություններն ու ողեգծերը։ Սրանք կոշտ կանոններ չեն, և կարող են շրջանցվել կարիքի դեպքում։ Սակայն, մասնակիցները պետք է հետևեն այս ուղեգծերին ոտեղ հնարավոր է, որպեսզի Վիքիդարանը ունենա միսնական տեսք և կարողանա պահպանել որակի բարձր չափանիշները։
Ընդհանուր ուղեգխեր
խմբագրելPage titles
խմբագրել- Sentence form (most words lowercase) is preferred, unless an original capitalisation is consistently used. Normal exceptions, such as proper nouns, apply.
- Subpage titles should be separated from the parent title by use of a forward slash (
[[/Chapter 1/]]
).- Works that have chapters/sections should be numbered, not named (eg. use
[[/Chapter 1/]]
and not[[/The Dog Returns]]
). The section name should reflect those in the original work (Chapter 2, Act 2, et cetera). - Works that are collections, then the subpages are works in their own right, eg. poetry, then section name should be for that of the work.
- See also #Wikilinks for information about adding relative links.
- Works that have chapters/sections should be numbered, not named (eg. use
- Disambiguation is needed when multiple works share the same name; see Disambiguation pages below.
Ձևաչափում
խմբագրելFormatting should be flexible and not interfere with access to the document; see also Help:Adding texts and Wikisource:How to edit a page.
- Բոլոր էջերի վերնամասում պետք է տեղադրվի {{Վերնագիր}} կաղապարը (տես usage information). Editorial notes, additional commentary, errata, and related links should be placed in the 'notes' parameter of the header template. (The header preloading script gadget in your preferences may be helpful.)
- Text formatting should mimic the original document to show the work as presented, within reasonable limits. Basic formatting is desirable, but attempts to exactly reproduce an original may be cumbersome and inaccessible. The aim is to give an authentic digital transcription of the content, not an imitation of a printed page; to produce a type facsimile rather than a photographic facsimile. Basic formatting to retain includes italic, bold, Կաղապար:Small-caps, relative font size, and footnotes[1] (see the editing help page).
- Page layout should mimic the original page layout within limits, but avoid unnecessary complexity that makes the text difficult to edit or read. A Wikisource page does not usually correspond directly to a printed page, but rather to an article, chapter, or section.
- Special characters such as accents or ligatures should be used wherever they appear in the original document, if reasonably easy to accomplish. This can be achieved using a special character menu shown below the editing form, or using typography templates. Optionally, templates such as {{long s}} (ſ) may help avoid confusion between special and alphabetical characters.
Wikilinks
խմբագրելLinks to other parts of works, other texts, and author pages at wikisource can be added to the text. By using the pipe syntax, [[target's title|displayed title]]
, the appearance of the displayed text is not affected. Most links improve navigation within the work, or to another work at wikisource, by using a reference in the text.
- Plain links. The author's references to other works can be made with a plain wikilink, for example,
[[Poetical Sketches]]
will be displayed in the text, "... of especial interest is the publication of his Poetical Sketches,"—Կաղապար:Smaller - Relative links. When the subpage feature is used to organise a work, then relative wikilinks can be used in the {{Header}} template. This creates shorter code and ensures that a work remains linked together even if it is moved or reorganised. The three formats are
- subpage
[[/subpage]]
; - parent
[[../]]
, and - sibling
[[../sibling]]
, most usage in Previous/Next parameters in {{header}}
Note that [[../]] will expand to the title of the parent page, which is ideal if the work is renamed at a later time.These can also be used to create a link from one part of the text to another, relative links from a table of contents to chapters or sections (title to subpage), from an index (subpage to subpage), or any reference given to another part of the work.
- subpage
- Deep links. Plain and relative links can be made to subpages by using the code:
[[Title/subpage|displayed title]]
. It is also possible to link a line or other section of the page by naming an anchor, or other label, using #. The syntax is[[Title#label|displayed title]]
. The target's name can be inserted with an {{anchor}}, or by identifying the page number where those are displayed, This label's name or number is added at the end of the link's title#label
as[[Title/subpage#name|displayed title]]
or#number
[[Title/subpage#42|displayed title]]
. - Author links. To create a link to a person's page in the author namespace, use
[[Author:Page name|name in text]].
- External links: Mediawiki sites that provide specific pages on a work can be linked from the notes section of the header. These links provide another context for a work, an article, quotes, or other media, and should be separate from the source document. The page at wikisource for 'The Raven (Poe)' shows the versions of that poem hosted here, but also links the wikipedia article The Raven, the commons category The Raven.
Կաղապար:Small-caps Placing external links in the source text is a form of annotation, a proposed guideline, adding these may be queried. Development of annotated texts is unobjectionable when separated from the source document, leaving a 'clean text'. Any guidance remains subjective, but the following can be cautiously applied :
Words or references that may be difficult to understand can be linked to their Wikipedia or Wiktionary entries using the syntax
[[w:Article|word]]
(Wikipedia) or[[wikt:Article|word]]
. Commonly used words or well known references should not be linked. Words may be specifically used in a historical or cultural context. For example, the phrase Duke of York may refer to James II of England rather than the actual phrase Duke of York, or a reference to The Prime Minister may refer to Tony Blair rather than the term Prime Minister. - See also Category:Internal link templates for existing linking templates.
Disambiguation pages
խմբագրելA disambiguation page is a page listing multiple works of the same name (such as The Raven).
- The page title should be the ambiguous title being disambiguated (for example, "The Raven"). (For guidelines on the titles of other pages, see 'Page titles' above.)
- The header is standardized with "{{disambiguation}}" at the top of the page.
- Disambiguated works are listed in bulleted form, with no links except the titles and the authors. Only the basic information (title, author, date if known, and type of work) should be listed. If there are multiple works of the same title by the same author (versions), also specify the collection it was first published in if known. For example:
* [[The Raven (Poe)|The Raven]] (1845), a poem by [[Author:Edgar Allan Poe|Edgar Allan Poe]].
* [[A Cradle Song (Blake, 1789)|A Cradle Song]] (1789), a poem by [[Author:William Blake|William Blake]] published in ''Songs of Innocence''.
- Then use
{{similar|The Raven}}
in each of the works. - Works by the same author appear on {{versions}} pages, for example The Raven (Poe)