Andoza:UN document: Versiyalar orasidagi farq
Qiyofa
# | {{#if: {{{body|}}} | ||
|{{#switch: {{{body}}} | | |||
{{ | A = [[United Nations General Assembly]] | | ||
{{ | S = [[United Nations Security Council]] | | ||
T = [[United Nations Secretariat]] | | |||
E = [[United Nations Economic and Social Council]] | | |||
H = [[Human Rights Council]] | | |||
[[United Nations {{{body}}}]] }}   <!--   = space --> | |||
}}{{#if: {{{session|}}} <!-- move Session directly after the body --> | |||
|Session {{{session}}}   | |||
}}{{#if: {{{type|}}} | |||
|{{#switch: {{{type|}}} | | |||
A = ''Agenda item'' | | |||
D = ''Document'' | | |||
M = ''Meeting'' | | |||
R = ''Resolution'' | | |||
S = ''Summary record'' | | |||
V = ''Verbatim record'' | | |||
''{{{type}}}''}} <!-- Use italics for both type and number --> | |||
}}{{#if: {{{resolution_number|}}} | |||
|   ''{{{resolution_number}}}''. <!-- add periods after numbers --> | |||
}}{{#if: {{{document_number|}}} | |||
|   ''{{{document_number}}}''. | |||
}}{{#if: {{{meeting|}}} | |||
|   ''{{{meeting}}}''. <!-- this is the meeting number, not the text --> | |||
}}{{#if: {{{docid|}}} <!-- if there's a docid, create a link --> | |||
|   [https://undocs.org/en/{{replace|{{replace|{{{docid}}}|-|/}}| |%20}}{{#if: {{{page|}}}|?page={{{page}}}}}<!-- if there's a single page number, include it in the link --> {{#if: {{{title|}}} <!-- if there's a title, include it in the link --> | |||
|''{{{title}}}''  | |||
}}{{replace|{{{docid}}}|-|/}}] | |||
|{{#if: {{{title|}}} <!-- if there's no docid, just list the title if there is one --> | |||
|   ''{{{title}}}''. <!-- end link/title with a period --> | |||
}}}}{{#if: {{{pages|}}} <!-- new parameter for a range of pages; shouldn't affect current transclusions --> | |||
|  pages {{replace|{{{pages}}}|-|–}}. <!-- replace hyphen with endash --> | |||
|{{#if: {{{page|}}} | |||
|  page {{{page}}}. <!-- add a period after page number(s) --> | |||
}}}}{{#if: {{{speakername|}}} | |||
|  {{{speakername}}} | |||
}}{{#if: {{{speakernation|}}} | |||
|  ''{{#switch: {{{speakernation}}} | <!-- added line breaks in case we have to do this for some other country? --> | |||
Georgia = [[Georgia (country)|Georgia]] | | |||
[[{{{speakernation}}}]]}}'' | |||
}}{{#if: {{{language|}}} | |||
| (in [[{{{language}}} language|{{{language}}}]]). <!-- wikilink the language if present; add period and parens --> | |||
}}{{#if: {{#invoke:auto date formatter|pub_date_format|{{{date|}}}}} <!-- remove "on"; not needed, cleaner --> | |||
|{{#if: {{{meetingtime|}}} | |||
|  {{#invoke:auto date formatter|pub_date_format|{{{date}}}}} at {{replace|{{{meetingtime}}}|m.|m}}. <!-- include both date and time if both are present, follow with a period --> | |||
|  {{#invoke:auto date formatter|pub_date_format|{{{date}}}}}. <!-- or just the date followed by a period --> | |||
}}}}{{#if: {{{year|}}} | |||
|{{#if: {{#invoke:auto date formatter|pub_date_format|{{{date|}}}}} | <!-- suppress year if date is present --> | |||
|  ({{{year}}}) <!-- add year in parentheses if present; documentation says don't use if you have date --> | |||
}}}}{{#if: {{#invoke:auto date formatter|pub_date_format|{{{access-date|{{{accessdate|}}}}}}}} | |||
|  Retrieved {{#invoke:auto date formatter|pub_date_format|{{{access-date|{{{accessdate|}}}}}}}}. <!-- always display this if present --> | |||
}}{{#if:{{{quote|}}}|  "{{{quote|}}}" | |||
}}<noinclude> | |||
{{documentation}} | |||
</noinclude> | |||
$2, $3 dagi (joriy) koʻrinishi
| Tajriba oʻtkazish uchun qumloq va test sahifasidan foydalaning. Iltimos, turkumlarni hujjat sahifasiga va intervikilarni vikimaʼlumotlarga joylashtiring. Ushbu andoza ostsahifalari. |