টেমপ্লেট:সময় আগে/নথি: সংশোধিত সংস্করণের মধ্যে পার্থক্য
বিষয়বস্তু বিয়োগ হয়েছে বিষয়বস্তু যোগ হয়েছে
আফতাবুজ্জামান (আলোচনা | অবদান) অ Aftabuzzaman ব্যবহারকারী টেমপ্লেট:Time ago/নথি পাতাটিকে টেমপ্লেট:সময় আগে/নথি শিরোনামে স্থানান্তর করেছ... |
আফতাবুজ্জামান (আলোচনা | অবদান) সম্পাদনা সারাংশ নেই |
||
১ নং লাইন:
{{Documentation subpage}}
{{high-risk|
{{লুয়া|মডিউল:সময় আগে}}
'''সময় আগে''' একটি গণনা টেমপ্লেট যা টেমপ্লেটটিতে দেয়া সময় ও তারিখ অনুসারে গণনা করে।
* <code><nowiki>{{</nowiki>'''
The timestamp can be almost any solid, readable format but to avoid ambiguity mistakes, one of the styles below is preferred.
* <code>magnitude</code> parameter can be set to explicitly use certain unit.
* <code>min_magnitude</code> parameter can be set to use the specified unit or bigger units.
* <code>ago</code> parameter can be set to override the default usage of the text "<code>ago</code>".
=== শোধন লিংক ===
Add the parameter {{para|purge|yes}} to add a [[WP:PURGE|purge]] link.
*
*
* {{tlc|সময় আগে| +334 minutes}} → '''{{সময় আগে|+334 minutes}}'''
*
*
* {{tlc|সময় আগে| 3:45 pm, 21 Jan 2001}} → '''{{সময় আগে|3:45 pm, 21 Jan 2001}}'''
*
*
*
*
* {{tlc|সময় আগে| Nov 6 2008|3=ago=আগে থেকে}} → '''{{সময় আগে|Nov 6 2008|ago=আগে থেকে}}'''
* {{tlc|সময় আগে| Nov 6 2008|3=purge=yes}} → '''{{সময় আগে|Nov 6 2008|purge=yes}}'''
* {{tlc|সময় আগে| 2008-11-06}} → '''{{সময় আগে|2008-11-06}}'''
* <code><nowiki>{{সময় আগে| June 1, 2009|spellout=yes}}</nowiki></code> → '''{{সময় আগে|June 1, 2009|spellout=yes}}'''
* <code><nowiki>{{সময় আগে| June 1, 1999|spellout=yes}}</nowiki></code> → '''{{সময় আগে|June 1, 1999|spellout=yes}}'''
* <code><nowiki>{{সময় আগে| June 1, 2009|spellout=auto}}</nowiki></code> → '''{{সময় আগে|June 1, 2009|spellout=auto}}'''
* <code><nowiki>{{সময় আগে| June 1, 1999|spellout=auto}}</nowiki></code> → '''{{সময় আগে|June 1, 1999|spellout=auto}}'''
* <code><nowiki>{{সময় আগে| June 1, 1989|spellout=yes|spelloutmax=15}}</nowiki></code> → '''{{সময় আগে|June 1, 1989|spellout=yes|spelloutmax=15}}'''
* <code><nowiki>{{সময় আগে| June 1, 1989|spellout=yes|spelloutmax=25}}</nowiki></code> → '''{{সময় আগে|June 1, 1989|spellout=yes|spelloutmax=25}}'''
* {{tlc|সময় আগে| নভেম্বর ৬ ২০০৮}} → '''{{সময় আগে|নভেম্বর ৬ ২০০৮}}<sup>[১]</sup>'''
;<sup>[১]</sup>লক্ষনীয়
সময় ও তারিখ অবশ্যই ইংরেজিতে দিতে হবে। কারণ মিডিয়াউইকি সফটওয়্যার বাংলায় গণনা করতে পারে না।
== টেমপ্লেটডাটা ==
{{TemplateDataHeader}}
<templatedata>
{
"description": "এই টেমপ্লেটটি প্রদত্ত সময় ও তারিখ থেকে চলে যাওয়া সময়ের পরিমাণ হিসাব করে।",
"params": {
"1": {
"label": "Timestamp",
"description": "Base timestamp for calculation of passed time. Example format: Nov 6 2008, see template documentation for other supported formats.",
"type": "string",
"required": true
},
"magnitude": {
"label": "magnitude",
"description": "Explicitly sets a specific unit to display return value. Allowed values are: seconds, minutes, hours, days, weeks, months and years.",
"type": "string",
"required": false
},
"min_magnitude": {
"label": "min_magnitude",
"description": "Sets a minimum unit to display return value. Allowed values are: seconds, minutes, hours, days, months and years.",
"type": "string",
"required": false
},
"ago": {
"label": "ago",
"description": "Parameter can be set to override the default usage of the text 'ago'.",
"type": "string",
"required": false
},
"purge": {
"label": "Purge link",
"description": "Add the parameter purge=yes to add a WP:PURGE link.",
"type": "string",
"required": false
},
"spellout": {
"type": "string/line",
"label": "Spell out numbers",
"description": "If set to \"yes\", \"y\", \"true\" or \"1\", numbers from 1 to 100 are spelled out as English words. If set to \"auto\", numbers from 1 to 9 are spelled out."
},
"spelloutmax": {
"type": "number",
"label": "Spell out max",
"description": "সর্বোচ্চ সংখ্যা একটি বাংলা শব্দ হিসেবে বানান করা"
}
}
}
</templatedata>
== আরও দেখুন ==
* {{tl|Last edited by}}
* {{tl|Years or months ago}}
* {{tl|Age}}
* {{tl|Start date and age}}
* {{tl|Birth date and age}}
<includeonly>
[[বিষয়শ্রেণী:গাণিতিক সময় এবং তারিখ ফাংশন টেমপ্লেট]]
</includeonly>
|