Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:TemplateDataInfo/i18n/fa: Difference between revisions

Template page
Created page with 'اسناد موجود در قالب'
Created page with 'در ویکی‌مدیا، توصیه می‌شود که $tag2 را با $param1 یا $param2 در صفحه فرعی $relPage استفاده کنید و آن را با $template در قالب الگو قرار دهید. تگ‌های $tag3 را می‌توان در صورت لزوم در اطراف آرگومان‌ها قرار داد تا محدوده الگو را مشخص کند.'
Line 6: Line 6:
----
----
<u>اسناد موجود در قالب</u><br/>
<u>اسناد موجود در قالب</u><br/>
<div lang="en" dir="ltr" class="mw-content-ltr">
در ویکی‌مدیا، توصیه می‌شود که {{tl|TemplateBox}} را با <code><nowiki>&lrm;useTemplateData=1</nowiki></code> یا <code><nowiki>&lrm;useTemplateData=only</nowiki></code> در صفحه فرعی <code><nowiki>&lrm;/doc</nowiki></code> استفاده کنید و آن را با {{tl|Documentation}} در قالب الگو قرار دهید. تگ‌های {{tag|nowiki|o}} را می‌توان در صورت لزوم در اطراف آرگومان‌ها قرار داد تا محدوده الگو را مشخص کند.
At Wikimedia Commons, it is recommended to use {{tl|TemplateBox}} with either <code><nowiki>&lrm;useTemplateData=1</nowiki></code> or <code><nowiki>&lrm;useTemplateData=only</nowiki></code> on the <code><nowiki>&lrm;/doc</nowiki></code> subpage and transcluding it with {{tl|Documentation}} into the template. {{tag|nowiki|o}}-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
</div>


<u><span lang="en" dir="ltr" class="mw-content-ltr">Newly created template documentation and imports</span></u><br/>
<u><span lang="en" dir="ltr" class="mw-content-ltr">Newly created template documentation and imports</span></u><br/>

Revision as of 05:14, 10 June 2024


<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData راهی برای ذخیره اطلاعات الگو در مورد پارامترهای آن الگو (توضیحات مربوط به آن ها و کل الگو) برای انسان و ماشین است. TemplateData توسط VisualEditor و احتمالاً ابزارهای دیگری مانند Upload Wizard استفاده می‌شود.


اسناد موجود در قالب
در ویکی‌مدیا، توصیه می‌شود که {{TemplateBox}} را با ‎useTemplateData=1 یا ‎useTemplateData=only در صفحه فرعی ‎/doc استفاده کنید و آن را با {{Documentation}} در قالب الگو قرار دهید. تگ‌های ‎<nowiki> را می‌توان در صورت لزوم در اطراف آرگومان‌ها قرار داد تا محدوده الگو را مشخص کند.

Newly created template documentation and imports

Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

NOTE: Please do not use this template directly! This is just for translation. Use {{TemplateDataInfo}} instead.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.