সাহায্য:টেমপ্লেট: সংশোধিত সংস্করণের মধ্যে পার্থক্য

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
বিষয়বস্তু বিয়োগ হয়েছে বিষয়বস্তু যোগ হয়েছে
MASOUD MONDAL (আলোচনা | অবদান)
সম্পাদনা সারাংশ নেই
MASOUD MONDAL-এর সম্পাদিত সংস্করণ হতে Ahmad Kanik-এর সম্পাদিত সর্বশেষ সংস্করণে ফেরত
ট্যাগ: পুনর্বহাল মোবাইল সম্পাদনা মোবাইল ওয়েব সম্পাদনা
৩ নং লাইন: ৩ নং লাইন:
==উইকিপিডিয়া প্রকল্পে টেমপ্লেট এর ব্যবহার==
==উইকিপিডিয়া প্রকল্পে টেমপ্লেট এর ব্যবহার==


==টেমপ্লেট এর বৈশিষ্ট্য==
===উদাহরন:নামের ক্ষেত্রে টেমপ্লেট এর ব্যবহার===
===উদাহরন:সংখ্যার ক্ষেত্রে টেমপ্লেট এর ব্যবহার===
====সহজ কিছু বিষয়====
====একটি ডিফল্ট ভ্যালু প্রকাশ করা====
===প্যারামিটার ভ্যালুর ক্ষেত্রে প্রতিবন্ধকতা===
====pipe এর বৈশিষ্ট্য====
===প্যারামিটার ভ্যালুর ক্ষেত্রে সমতা চিহ্ন===
===মিশ্র এবং নামবিহীন প্যারামিটার===
===অবিস্তৃত প্যারামিটার===
===Parser functions===
{{main|mw:Help:ParserFunctions| l1 = parserFunctions extension |Help:Magic words#Parser_functions| l2 = core parser functions}}
Parser functions are the WikiMedia toolkit for simple branchings, calculations, text manipulations, and the like. As a group, they take one or more parameters and return a wikitext value based on the parameters. There are two basic forms for Parser functions (distinguished by whether a pound sign follows the opening brackets):
*Core parser functions, of the form <nowiki>{{functionName: parameter | parameter | ... }}</nowiki>. These functions are part of the core wikimedia software, and should be available in all projects.
*Parser functions from the parserFunctions extension, of the form <nowiki>{{#functionName: parameter | parameter | ... }}</nowiki>. These functions are part of the parserFunctions extension, and may not be available everywhere.
Parser functions are primarily used for the evaluation of [[#Parameters|parameters]] or [[#Magic words|magic words]], in order to produce different results in different contexts.

Core parser functions generally deal with text manipulation and WikiMedia specific tasks.

{| class="wikitable" style="text-align:center;" width="80%"
|+Examples of core parser functions
! width="30%" | Description !! width="40%" | Text Entered !! width="30%" | Result
|-
| Uppercasing text
|<nowiki>{{uc: Heavens to BETSY! }}</nowiki>
|{{uc: Heavens to Betsy! }}
|-
| Lowercasing text
|<nowiki>{{lc: Heavens to BETSY! }}</nowiki>
|{{lc: Heavens to BETSY! }}
|-
| Getting a namespace name
|<nowiki>{{NS: 1 }}</nowiki>
|{{NS: 1 }}
|-
| Getting a wikipedia URL
|<nowiki>{{fullurl: pagename }}</nowiki>
|{{fullurl: pagename}}
|}

The parserFunctions extension gives more more programming-oriented parser functions.

{| class="wikitable" style="text-align:center;" width="80%"
|+Examples of extension parser functions
! width="30%" | Description !! width="40%" | Text Entered !! width="30%" | Result
|-
| Testing between options
|<nowiki>{{#ifeq: yes | yes | Hooray...! | Darn...! }}</nowiki><br><nowiki>{{#ifeq: yes | no | Hooray...! | Darn...! }}</nowiki>
|{{#ifeq: yes | yes | Hooray...! | Darn...! }}<br>{{#ifeq: yes | no | Hooray...! | Darn...! }}
|-
| Testing if a parameter is set
|<nowiki>{{#if: {{{param|}}} | Hooray...! | Darn...! }}</nowiki>
|{{#if: {{{param|}}} | Hooray...! | Darn...! }}
|-
| making a calculation
|<nowiki>{{#expr: ( 27 * 46 / pi ) round 2 }}</nowiki>
|{{#expr: ( 27 * 46 / pi ) round 2 }}
|}

These functions are discussed in greater detail on their respective help pages.

==টেমপ্লেট এর কাজ==
==টেমপ্লেট ট্যাগ এর লেআউট==
==টেমপ্লেট পাতা==
===কোন ডিফল্ট উল্লেখ না থাকলে টেমপ্লেট পাতার অবস্থা===
===কোন ডিফল্ট উল্লেখ না থাকলে টেমপ্লেট পাতার অবস্থা===
==যখন কোন প্যারামিটার ভ্যালু নির্দিষ্ট প্যারামিটার এর উপর নির্ভর করে==
==যখন কোন প্যারামিটার ভ্যালু নির্দিষ্ট প্যারামিটার এর উপর নির্ভর করে==
২৮ নং লাইন: ৯২ নং লাইন:
===সংকলন ১.২.৬===
===সংকলন ১.২.৬===
==টেমপ্লেট যুক্ত পাতাগুলো পুনরায় পাঠ ও সংশোধন করা==
==টেমপ্লেট যুক্ত পাতাগুলো পুনরায় পাঠ ও সংশোধন করা==



[[Category:অসম্পূর্ণ]]
[[Category:উইকিপিডিয়া সহায়িকা]]

১৩:২০, ১৭ মার্চ ২০১৯ তারিখে সংশোধিত সংস্করণ

উইকিপিডিয়া প্রকল্পে টেমপ্লেট এর ব্যবহার

টেমপ্লেট এর বৈশিষ্ট্য

উদাহরন:নামের ক্ষেত্রে টেমপ্লেট এর ব্যবহার

উদাহরন:সংখ্যার ক্ষেত্রে টেমপ্লেট এর ব্যবহার

সহজ কিছু বিষয়

একটি ডিফল্ট ভ্যালু প্রকাশ করা

প্যারামিটার ভ্যালুর ক্ষেত্রে প্রতিবন্ধকতা

pipe এর বৈশিষ্ট্য

প্যারামিটার ভ্যালুর ক্ষেত্রে সমতা চিহ্ন

মিশ্র এবং নামবিহীন প্যারামিটার

অবিস্তৃত প্যারামিটার

Parser functions

Parser functions are the WikiMedia toolkit for simple branchings, calculations, text manipulations, and the like. As a group, they take one or more parameters and return a wikitext value based on the parameters. There are two basic forms for Parser functions (distinguished by whether a pound sign follows the opening brackets):

  • Core parser functions, of the form {{functionName: parameter | parameter | ... }}. These functions are part of the core wikimedia software, and should be available in all projects.
  • Parser functions from the parserFunctions extension, of the form {{#functionName: parameter | parameter | ... }}. These functions are part of the parserFunctions extension, and may not be available everywhere.

Parser functions are primarily used for the evaluation of parameters or magic words, in order to produce different results in different contexts.

Core parser functions generally deal with text manipulation and WikiMedia specific tasks.

Examples of core parser functions
Description Text Entered Result
Uppercasing text {{uc: Heavens to BETSY! }} HEAVENS TO BETSY!
Lowercasing text {{lc: Heavens to BETSY! }} heavens to betsy!
Getting a namespace name {{NS: 1 }} আলাপ
Getting a wikipedia URL {{fullurl: pagename }} //bn.wikipedia.org/wiki/Pagename

The parserFunctions extension gives more more programming-oriented parser functions.

Examples of extension parser functions
Description Text Entered Result
Testing between options {{#ifeq: yes | yes | Hooray...! | Darn...! }}
{{#ifeq: yes | no | Hooray...! | Darn...! }}
Hooray...!
Darn...!
Testing if a parameter is set {{#if: {{{param|}}} | Hooray...! | Darn...! }} Darn...!
making a calculation {{#expr: ( 27 * 46 / pi ) round 2 }} 395.34

These functions are discussed in greater detail on their respective help pages.

টেমপ্লেট এর কাজ

টেমপ্লেট ট্যাগ এর লেআউট

টেমপ্লেট পাতা

কোন ডিফল্ট উল্লেখ না থাকলে টেমপ্লেট পাতার অবস্থা

যখন কোন প্যারামিটার ভ্যালু নির্দিষ্ট প্যারামিটার এর উপর নির্ভর করে

খালি এবং অনুল্লেখ্য প্যারামিটার এর মধ্যে তুলনা

no wiki ম্যাসেজের ব্যবহার

টেমপ্লেট এর ব্যবহার্যসমূহ

যৌগিক পাতা সমূহে

সাধারন অংশযুক্ত পাতার ক্ষেত্রে

একটি পাতায় পূনরাবৃত্তির ক্ষেত্রে

কোন পাতার ভেতর আরেকটি পাতা নির্দেশ করতে

অভ্যন্তরীন সংযোগ সমূহ নির্দেশে

বহির্সংযোগ সমূহ নির্দেশে

noincludeএবং includeonly টেমপ্লেট

উইকি-মার্কআপ এবং টেমপ্লেট এর সূচনা

প্রতিস্থাপন

রি-ডাইরেকশন

লিঙ্ক ও এমবেডিং এর তুলনা

পূর্বসংজ্ঞায়িত টেমপ্লেট

কোড এক্সিকিউশন

মিডিয়া-উইকির বিভিন্ন সংকলনের টেমপ্লেটসমূহ

সংকলন ১.৬

সংকলন ১.৫

সংকলন ১.৪

সংকলন ১.৩

সংকলন ১.২.৬

টেমপ্লেট যুক্ত পাতাগুলো পুনরায় পাঠ ও সংশোধন করা