টেমপ্লেট:Linkexist/নথি
![]() | এটি টেমপ্লেট:Linkexist-এর জন্য একটি নথির উপপাতা। এখানে ব্যবহার সংক্রান্ত তথ্য, বিষয়শ্রেণী এবং অন্যান্য সামগ্রী রয়েছে যা মূল টেমপ্লেট পাতার অংশ নয়। |
This template is a simple way of creating optional links based on whether the target exists or not.
It is presently used in {{culture of region}}, as that template uses the logic in question so many times that transcluding it every time would lead to cluttered code.
Usage
সম্পাদনা{{listexist|page|linktext|alternative}}
If alternative
is specified, the template will link to that article. Otherwise, the tenmplate will link to page
if it exists. linktext
, if specified, will be the label for the link (or unlinked output).
Examples
সম্পাদনা{{linkexist|History of Ghana}}
{{linkexist|History of Ghana|History}}
{{linkexist|History of Ghana|History|Culture of Ghana}}