වික්ෂනරි:Normalization of entries
මෙම පිටුව ඉංග්රීසි ව්යාපෘතියෙන් මෙහි ගෙනවිත් ඇත. අන්තර්ගතය අපගේ ව්යාපෘතිය සමඟ 100% නොගැලපෙනමුත් අපගේ අවශ්යතාවයන් වලට අනුකූලව ගොඩනගා ගැනීම සඳහා මූලික පියවර ලෙස භාවිතා කළ හැකිය. |
මෙය වික්ෂනරි ප්රතිපත්ති, මාර්ගෝපදේශයන් සහ සාමාන්ය භාවිතයේදී යොදා ගන්නා පිටුවල එකතුවකි.. ජන්දයකින් තොරව මෙය වෙනස් නොකල යුතුය.[1] | |
ප්රතිපත්ති: CFI - පිටු සැකසුම - BLOCK - නැවත යොමු - BOTS - QUOTE - මකා දැමීම - NPOV - AXX |
This is a list of aspects that govern how the wikitext behind an entry should be formatted. They are invisible to the readers, e.g., following these rules makes no difference to how a user sees the page, but they do make the pages conform more to a standard format reflecting what we think of as best for the wikitext. Issues such as where to put blank lines and how many, whether to put spaces inside the == ==, or after asterisks in lists.
These norms are mandatory for bots only, so that any changes made by bots must conform to this policy. This applies to the part of a page that the bots edit, not to the entire page.[2] Editors other than bots can treat these norms as guidelines, while they are encouraged to use this format and correct pages which deviate from it.
Some edits are tagged with “මාධ්යවිකි:Tag-WT:NORM” by an experimental filter. This means that the wikitext of the page violates one of these rules. It does not mean that the edit is bad, though bad edits will sometimes trigger the filter.
Example entry
[සංස්කරණය]== ඉංග්රීසි == === නාම පදය === {{en-noun}} # Noun sense. ==== සමාන පද ==== * synonym == පෘතුගීසි == (...)
List of norms
[සංස්කරණය]General
[සංස්කරණය]- No non-newline whitespace at the start or end of a line. Consequently, no lines consisting only of non-newline whitespace.
- Not more than 1 blank line in a row.
- No tab characters.
- The template
{{also}}
on its own line.[3]
Templates
[සංස්කරණය]- No leading or trailing whitespace or underscores in template names.
- No leading or trailing whitespace in parameter names and values.
- Line breaks are not allowed in parameter names.[4]
- For templates with many or long parameter values, line breaks are allowed at the end of a template’s name or a parameter’s value, for the purpose of making the wikitext easier to read. Example about
{{ru-decl-noun-irreg}}
:[4]
{{ru-decl-noun-irreg |пау́к-во́лк|пауки́-во́лки |паука́-во́лка|пауко́в-волко́в |пауку́-во́лку|паука́м-волка́м |паука́-во́лка|пауко́в-волко́в |пауко́м-во́лком|паука́ми-волка́ми |о пауке́-во́лке|о паука́х-волка́х }}
Headings
[සංස්කරණය]- One blank line before all headings, including between two headings, except for before the first language heading.
- No blank line after any heading except when another heading immediately follows.
- No whitespace between
=
and heading title, i.e.==English==
and===Noun===
, not== English ==
or=== Noun ===
. - The final = of a heading must be immediately followed by a newline: no content after a heading on the same line, including spaces, tabs and comments (such as
==Old English== <!-- also known as Anglo-Saxon -->
). - No blank lines between the first language heading and any preceding content.[5]
- One blank line between language sections.
Lists
[සංස්කරණය]- One space after a sequence of
#
,*
,:
, or;
at the start of a line.
Headword lines
[සංස්කරණය]- Headword lines should always use templates, such as
{{en-noun}}
or{{head}}
, not just wikitext, as in'''example'''
.[6] - One blank line after the headword line.
Links
[සංස්කරණය]- No spaces between a linked term and the opening or closing brackets, or between a linked term and the pipe. (
[[example|examples]]
, not[[ example | examples ]]
)[7]
Inflection tables
[සංස්කරණය]- Each inflection table on its own line.[3]
Translation sections
[සංස්කරණය]- One blank line between each translation block (i.e. between
{{trans-bottom}}
and{{trans-top}}
). - Language names should be spelled out, not generated by templates. For example, don’t use a template that converts “en” into “English” and “fr” into “French”.
- Each of the following templates on its own line:
{{trans-top}}
,{{trans-bottom}}
,{{trans-see}}
,{{checktrans-top}}
[3]
See example:
==== පරිවර්ථන ==== {{trans-top|gloss}} * Japanese: {{t|ja|...}} * Portuguese: {{t|pt|...}} {{trans-bottom}} {{trans-top|gloss}} {{trans-bottom}}
Categories
[සංස්කරණය]- Entries should be categorized into part-of-speech categories (like Category:English nouns) using the headword-line templates, not using manual category links.[6]
- These rules do not affect templates, even if the sole purpose of a template is categorizing the entry.
- Each category on its own line.[8]
- Categories are placed at the end of each language section.[8]
- Each template whose only purpose is categorization on its own line.[3]
- No blank lines between two categories.
- No spaces:
- Between “[[” and “Category”.
- Between “Category” and “:”.
- Between “:” and the category name.
- Between the category name and “]]”.
Incorrect spacing:
[[ Category : English nouns ]]
Correct spacing:
[[Category:English nouns]]
Modules
[සංස්කරණය]- No module invocations (
{{#invoke:}}
). Modules should be wrapped up in templates.
මූලාශ්ර
[සංස්කරණය]- ↑ Wiktionary:Votes/pl-2015-07/Normalization of entries 2
- ↑ Wiktionary:Votes/pl-2015-11/NORM: 10 proposals (proposal 2)
- ↑ 3.0 3.1 3.2 3.3 Wiktionary:Votes/pl-2015-11/NORM: 10 proposals (proposal 6)
- ↑ 4.0 4.1 Wiktionary:Votes/pl-2015-11/NORM: 10 proposals (proposal 4)
- ↑ Wiktionary:Votes/pl-2015-11/NORM: 10 proposals (proposal 10)
- ↑ 6.0 6.1 Wiktionary:Votes/pl-2015-10/Headword line
- ↑ Wiktionary:Votes/pl-2016-02/Spaces in links
- ↑ 8.0 8.1 Wiktionary:Votes/2007-05/Categories at end of language section