قالب:Dr-make/doc
هذه صفحة توثيق فرعية لـ قالب:Dr-make. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
Usage
Produces a representation of a logically-numbered year/decade/century/millennium (first parameter). Second para is y/d/c/m. Representation style depends on the third parameter:
- (parameter empty or absent): links to the year if it has an article (not a redirect)
- y: always links
- n: never links
- t: produces simple text (no no-break spaces etc.), e.g. for use in category names
- s: displays AD or BC in small capitals
- a: adds AD if not BC
- p: displays AD as prefix (only valid with a)
- ys, ya, ysa, ns, na, nsa, sa: permitted combinations of above options
- yap, ysap, nap, nsap, sap: combinations with AD prefix
Used by {{dr}}. Uses {{drep}}.
Examples
- {{dr-make|1|y}} 1
- {{dr-make|1|y|n}} 1
- {{dr-make|1|y|t}} 1
- {{dr-make|1|y|a}} 1 م
- {{dr-make|1|y|sa}} 1 م
- {{dr-make|212|y|a}} 212 م
- {{dr-make|212|y|sa}} 212 م
- {{dr-make|212|y|na}} 212 م
- {{dr-make|212|y|nsa}} 212 م
- {{dr-make|212|y|ap}} 212 م
- {{dr-make|212|y|sap}} 212 م
- {{dr-make|212|y|yap}} 212 م
- {{dr-make|-11|d}} 100s ق.م.
- {{dr-make|-1|d}} عقد 0 ق.م.
- {{dr-make|0|d}} عقد 0
- {{dr-make|1|d}} عقد 10
- {{dr-make|10|d}} عقد 100
- {{dr-make|1|c}} القرن 1
- {{dr-make|1|c|a}} القرن 1 م
- {{dr-make|10|c}} القرن 10
- {{dr-make|1|m}} الألفية 1
- {{dr-make|0|y}} 1 ق.م.
- {{dr-make|0|y|s}} 1 ق.م.
- {{dr-make|-2|y|ysa}} 3 ق.م.