টেমপ্লেট:PresHead/নথি

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে

এটি একটি কাউন্টি, শহর ইত্যাদির মতো একটি নির্দিষ্ট অঞ্চলে মার্কিন যুক্তরাষ্ট্রের রাষ্ট্রপতি নির্বাচনের ফলাফলের সারণী শুরু করতে ব্যবহৃত হয়। It is used alongside {{PresRow}} and {{PresFoot}} for that purpose, like so:

{{PresHead|PresHead parameters...}}
{{PresRow|PresRow parameters...}}
{{PresRow|PresRow parameters...}}
.
.
.
{{PresRow|PresRow parameters...}}
{{PresFoot|PresFoot parameters...}}

It has the following parameters:

  • whig=yes - If activated, will change the GOP header to read "রিপাবলিকান / হুইগ"
  • place - Gives the name of the place
  • source, source1, and source2 - For sources. Ref tags, if used, will need to be defined within these parameters. Please do not try to place inline refs in the table itself, as the code does not allow for that.

Test cases can be found at the test page for PresRow here.

Aliases[সম্পাদনা]

Substitution[সম্পাদনা]

PresHead (this particular template) and PresFoot should NOT be substituted. The code works just the same if they are, but it is not best practice to substitute them. PresHead should not be substituted because it doesn't speed up the performance of the page appreciably and leaves it unable to automatically conform to any changes to the template (however low a chance they may have of happening). PresFoot should not be substituted because it won't necessarily be the earliest Presidential election available (earlier data may yet be found, for example), and it leaves a "cap" to the wikitable that proves a slight inconvenience to remove.

PresRow may be substituted at the discretion of the editor to help avoid the transclusor (i.e., the page on which the template is transcluded) reaching the template limits.