Wikibooks
pawikibooks
https://pa.wikibooks.org/wiki/%E0%A8%AE%E0%A9%81%E0%A9%B1%E0%A8%96_%E0%A8%AA%E0%A9%B0%E0%A8%A8%E0%A8%BE
MediaWiki 1.43.0-wmf.1
first-letter
ਮੀਡੀਆ
ਖ਼ਾਸ
ਗੱਲ-ਬਾਤ
ਵਰਤੋਂਕਾਰ
ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ
Wikibooks
Wikibooks ਗੱਲ-ਬਾਤ
ਤਸਵੀਰ
ਤਸਵੀਰ ਗੱਲ-ਬਾਤ
ਮੀਡੀਆਵਿਕੀ
ਮੀਡੀਆਵਿਕੀ ਗੱਲ-ਬਾਤ
ਫਰਮਾ
ਫਰਮਾ ਗੱਲ-ਬਾਤ
ਮਦਦ
ਮਦਦ ਗੱਲ-ਬਾਤ
ਸ਼੍ਰੇਣੀ
ਸ਼੍ਰੇਣੀ ਗੱਲ-ਬਾਤ
TimedText
TimedText talk
ਮੌਡਿਊਲ
ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ
Main Page
0
1
3238
3144
2007-10-27T14:25:20Z
Prince Kassad~pawikibooks
23
redirect to the actual main page
wikitext
text/x-wiki
#REDIRECT [[ਮੁੱਖ ਪੰਨਾ]]
rupv87g6lqso4kiwstok1obrftob5qt
ਫਰਮਾ:Wikivar
10
1472
2721
2713
2006-02-19T22:47:29Z
Gangleri
5
from [[en:template:wikivar]]
wikitext
text/x-wiki
<center><font id="top" /><span dir="ltr" ><span class="plainlinks">[{{SERVER}}{{localurl:template:wikivar|action=purge}} purge] [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|oldid={{REVISIONID}}}} rev-ID : {{REVISIONID}}] [[<!--- b: --->template:wikivar|b:]] [[commons:template:wikivar|c:]] [[m:template:wikivar|m:]] [[n:template:wikivar|n:]] [[q:template:wikivar|q:]] [[s:template:wikivar|s:]] [http://test.wikipedia.org/wiki/template:wikivar t:] [[w:template:wikivar|w:]] [[wikt:template:wikivar|wikt:]] '''[[special:SiteMatrix#pa|?]]''' – [[special:Version|version]] [[special:Allmessages|all messages]]<br />[http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/Language.php?view=markup $wgMagicWordsEn at CVS Language.php] [[meta:help:Variable|meta:help:Variable]], [[meta:Global variables|meta:Global variables]]</span></span></center>
{| border="1" cellpadding="0" cellspacing="0" align="center" width="80%" valign="top" height="38"
!method a
!method b
!generates
|-
! colspan="3" align="center" | <font id="common_namespaces" /><span dir="ltr" >[[#top|↑]] common namespaces [-2 - 15] / used at all <span class="plainlinks">[http://www.mediawiki.org/ MediaWiki]</span> projects [[#bottom|↓]]</span>
|-
| align="center" | <font id="ns_-2" /><nowiki>{{ns:-2}}</nowiki>
| align="center" | <nowiki>{{ns:Media}}</nowiki>
| align="center" | {{ns:-2}}
|-
| align="center" | <font id="ns_-1" /><nowiki>{{ns:-1}}</nowiki>
| align="center" | <nowiki>{{ns:Special}}</nowiki>
| align="center" | {{ns:-1}}
|-
! colspan="3" align="center" | <span dir="ltr" ><font id="ns_0" />[[#top|↑]] (Main) – [[MediaWiki:Blanknamespace]] – {{DIRMARK}}<span dir="ltr" >'''{{MediaWiki:Blanknamespace}}'''</span> [[#bottom|↓]]</span>
|-
| align="center" | <font id="ns_1" /><nowiki>{{ns:1}}</nowiki>
| align="center" | <nowiki>{{ns:Talk}}</nowiki>
| align="center" | {{ns:1}}
|-
| align="center" | <font id="ns_2" /><nowiki>{{ns:2}}</nowiki>
| align="center" | <nowiki>{{ns:User}}</nowiki>
| align="center" | {{ns:2}}
|-
| align="center" | <font id="ns_3" /><nowiki>{{ns:3}}</nowiki>
| align="center" | <nowiki>{{ns:User_talk}}</nowiki>
| align="center" | {{ns:3}}
|-
| align="center" | <font id="ns_4" /><nowiki>{{ns:4}}</nowiki>
| align="center" | <nowiki>{{ns:Project}}</nowiki>
| align="center" | {{ns:4}}
|-
| align="center" | <font id="ns_5" /><nowiki>{{ns:5}}</nowiki>
| align="center" | <nowiki>{{ns:Project_talk}}</nowiki>
| align="center" | {{ns:5}}
|-
| align="center" | <font id="ns_6" /><nowiki>{{ns:6}}</nowiki>
| align="center" | <nowiki>{{ns:Image}}</nowiki>
| align="center" | {{ns:6}}
|-
| align="center" | <font id="ns_7" /><nowiki>{{ns:7}}</nowiki>
| align="center" | <nowiki>{{ns:Image_talk}}</nowiki>
| align="center" | {{ns:7}}
|-
| align="center" | <font id="ns_8" /><nowiki>{{ns:8}}</nowiki>
| align="center" | <nowiki>{{ns:MediaWiki}}</nowiki>
| align="center" | {{ns:8}}
|-
| align="center" | <font id="ns_9" /><nowiki>{{ns:9}}</nowiki>
| align="center" | <nowiki>{{ns:MediaWiki_talk}}</nowiki>
| align="center" | {{ns:9}}
|-
| align="center" | <font id="ns_10" /><nowiki>{{ns:10}}</nowiki>
| align="center" | <nowiki>{{ns:Template}}</nowiki>
| align="center" | {{ns:10}}
|-
| align="center" | <font id="ns_11" /><nowiki>{{ns:11}}</nowiki>
| align="center" | <nowiki>{{ns:Template_talk}}</nowiki>
| align="center" | {{ns:11}}
|-
| align="center" | <font id="ns_12" /><nowiki>{{ns:12}}</nowiki>
| align="center" | <nowiki>{{ns:Help}}</nowiki>
| align="center" | {{ns:12}}
|-
| align="center" | <font id="ns_13" /><nowiki>{{ns:13}}</nowiki>
| align="center" | <nowiki>{{ns:Help_talk}}</nowiki>
| align="center" | {{ns:13}}
|-
| align="center" | <font id="ns_14" /><nowiki>{{ns:14}}</nowiki>
| align="center" | <nowiki>{{ns:Category}}</nowiki>
| align="center" | {{ns:14}}
|-
| align="center" | <font id="ns_15" /><nowiki>{{ns:15}}</nowiki>
| align="center" | <nowiki>{{ns:Category_talk}}</nowiki>
| align="center" | {{ns:15}}
|-
! colspan="3" align="center" | <font id="reserved_namespaces" /><span dir="ltr" >[[#top|↑]] reserved namespaces [[#bottom|↓]]</span>
|-
| align="center" | <font id="ns_16" /><nowiki>{{ns:16}}</nowiki>
|| || align="center" | {{ns:16}}
|-
| align="center" | <font id="ns_17" /><nowiki>{{ns:17}}</nowiki>
|| || align="center" | {{ns:17}}
|-
| align="center" | <font id="ns_98" /><nowiki>{{ns:98}}</nowiki>
|| || align="center" | {{ns:98}}
|-
| align="center" | <font id="ns_99" /><nowiki>{{ns:99}}</nowiki>
|| || align="center" | {{ns:99}}
|-
! colspan="3" align="center" | <font id="custom_namespaces" /><span dir="ltr" >[[#top|↑]] custom namespaces [[#bottom|↓]]</span>
|-
| align="center" | <font id="ns_100" /><nowiki>{{ns:100}}</nowiki>
|| || align="center" | {{ns:100}}
|-
| align="center" | <font id="ns_101" /><nowiki>{{ns:101}}</nowiki>
|| || align="center" | {{ns:101}}
|-
| align="center" | <font id="ns_102" /><nowiki>{{ns:102}}</nowiki>
|| || align="center" | {{ns:102}}
|-
| align="center" | <font id="ns_103" /><nowiki>{{ns:103}}</nowiki>
|| || align="center" | {{ns:103}}
|-
| align="center" | <font id="ns_104" /><nowiki>{{ns:104}}</nowiki>
|| || align="center" | {{ns:104}}
|-
| align="center" | <font id="ns_105" /><nowiki>{{ns:105}}</nowiki>
|| || align="center" | {{ns:105}}
|-
| align="center" | <font id="ns_106" /><nowiki>{{ns:106}}</nowiki>
|| || align="center" | {{ns:106}}
|-
| align="center" | <font id="ns_107" /><nowiki>{{ns:107}}</nowiki>
|| || align="center" | {{ns:107}}
|-
| align="center" | <font id="ns_121" /><nowiki>{{ns:121}}</nowiki>
|| || align="center" | {{ns:121}}
|-
| align="center" | <font id="ns_122" /><nowiki>{{ns:122}}</nowiki>
|| || align="center" | {{ns:122}}
|-
| align="center" | <font id="ns_127" /><nowiki>{{ns:127}}</nowiki>
|| || align="center" | {{ns:127}}
|-
| align="center" | <font id="ns_128" /><nowiki>{{ns:128}}</nowiki>
|| || align="center" | {{ns:128}}
|-
| align="center" | <font id="ns_2147483646" /><nowiki>{{ns:2147483646}}</nowiki>
|| || align="center" | {{ns:2147483646}}
|-
| align="center" | <font id="ns_2147483647" /><nowiki>{{ns:2147483647}}</nowiki>
|| || align="center" | {{ns:2147483647}}
<!---
|-
| align="center" | <font id="ns_2147483648" /><nowiki>{{ns:2147483648}}</nowiki>
|| || align="center" | {{ns:2147483648}}
--->
|-
! colspan="3" align="center" | <font id="variables" /><span dir="ltr" >[[#top|↑]] variables [[#bottom|↓]]</span>
|-
| align="center" | <font id="CURRENTDAY" /><nowiki>{{CURRENTDAY}}</nowiki>
| align="center" colspan="2" | {{CURRENTDAY}}
|-
| align="center" | <font id="CURRENTDAY2" /><nowiki>{{CURRENTDAY2}}</nowiki>
| align="center" colspan="2" | {{CURRENTDAY2}}
|-
| align="center" | <font id="CURRENTDAYNAME" /><nowiki>{{CURRENTDAYNAME}}</nowiki>
| align="center" colspan="2" | {{CURRENTDAYNAME}}
|-
| align="center" | <font id="CURRENTDOW" /><nowiki>{{CURRENTDOW}}</nowiki>
| align="center" colspan="2" | {{CURRENTDOW}}
|-
| align="center" | <font id="CURRENTMONTH" /><nowiki>{{CURRENTMONTH}}</nowiki>
| align="center" colspan="2" | {{CURRENTMONTH}}
|-
| align="center" | <font id="CURRENTMONTHABBREV" /><nowiki>{{CURRENTMONTHABBREV}}</nowiki>
| align="center" colspan="2" | {{CURRENTMONTHABBREV}}
|-
| align="center" | <font id="CURRENTMONTHNAME" /><nowiki>{{CURRENTMONTHNAME}}</nowiki>
| align="center" colspan="2" | {{CURRENTMONTHNAME}}
|-
| align="center" | <font id="CURRENTMONTHNAMEGEN" /><nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki>
| align="center" colspan="2" | {{CURRENTMONTHNAMEGEN}}
|-
| align="center" | <font id="CURRENTTIME" /><nowiki>{{CURRENTTIME}}</nowiki>
| align="center" colspan="2" | {{CURRENTTIME}}
|-
| align="center" | <font id="CURRENTWEEK" /><nowiki>{{CURRENTWEEK}}</nowiki>
| align="center" colspan="2" | {{CURRENTWEEK}}
|-
| align="center" | <font id="CURRENTYEAR" /><nowiki>{{CURRENTYEAR}}</nowiki>
| align="center" colspan="2" | {{CURRENTYEAR}}
|-
| align="center" | <font id="FULLPAGENAME" /><nowiki>{{FULLPAGENAME}}</nowiki>
| align="center" colspan="2" | {{FULLPAGENAME}}
|-
| align="center" | <font id="FULLPAGENAMEE" /><nowiki>{{FULLPAGENAMEE}}</nowiki>
| align="center" colspan="2" | <span dir="ltr" >{{FULLPAGENAMEE}}</span> <sup><small>[[#1|1]]</small></sup>‎
|-
| align="center" | <font id="NAMESPACE" /><nowiki>{{NAMESPACE}}</nowiki>
| align="center" colspan="2" | {{NAMESPACE}}
|-
| align="center" | <font id="NAMESPACEE" /><nowiki>{{NAMESPACEE}}</nowiki>
| align="center" colspan="2" | <span dir="ltr" >{{NAMESPACEE}}</span> <sup><small>[[#1|1]]</small></sup>‎
|-
| align="center" | <font id="NUMBEROFARTICLES" /><nowiki>{{NUMBEROFARTICLES}}</nowiki>
| align="center" colspan="2" | {{NUMBEROFARTICLES}}
|-
| align="center" | <font id="NUMBEROFFILES" /><nowiki>{{NUMBEROFFILES}}</nowiki>
| align="center" colspan="2" | {{NUMBEROFFILES}}
|-
| align="center" | <font id="PAGENAME" /><nowiki>{{PAGENAME}}</nowiki>
| align="center" colspan="2" | {{PAGENAME}}
|-
| align="center" | <font id="PAGENAMEE" /><nowiki>{{PAGENAMEE}}</nowiki>
| align="center" colspan="2" | <span dir="ltr" >{{PAGENAMEE}}</span> <sup><small>[[#1|1]]</small></sup>‎
|-
| align="center" | <font id="SCRIPTPATH" /><nowiki>{{SCRIPTPATH}}</nowiki>
| align="center" colspan="2" | <span dir="ltr" >{{SCRIPTPATH}}</span> <sup><small>[[#1|1]]</small></sup>‎
|-
| align="center" | <font id="SERVER" /><nowiki>{{SERVER}}</nowiki>
| align="center" colspan="2" | {{SERVER}}
|-
| align="center" | <font id="SERVERNAME" /><nowiki>{{SERVERNAME}}</nowiki>
| align="center" colspan="2" | {{SERVERNAME}}
|-
| align="center" | <font id="SITENAME" /><nowiki>{{SITENAME}}</nowiki>
| align="center" colspan="2" | {{SITENAME}}
|-
! colspan="3" align="center" | <font id="predefined_templates" /><span dir="ltr" >[[#top|↑]] predefined templates [[#bottom|↓]]</span>
|-
| align="center" | <font id="FULLURL" /><nowiki>{{FULLURL:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | <font id="FULLURLE" /><nowiki>{{FULLURLE:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | <font id="GRAMMAR" /><nowiki>{{GRAMMAR:}}</nowiki>
| align="center" colspan="2" | <span dir="ltr" ><span class="plainlinks">[[template:wikivar/GRAMMAR|GRAMMAR]] [http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/ CVS] [http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/ /languages/]</span></span>
|-
| align="center" | <font id="INT" /><nowiki>{{INT:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | <font id="LC" /><nowiki>{{LC:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | <font id="LCFIRST" /><nowiki>{{LCFIRST:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | <font id="LOCALURL" /><nowiki>{{LOCALURL:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | <font id="LOCALURLE" /><nowiki>{{LOCALURLE:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | <font id="MSG" /><nowiki>{{MSG:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | <font id="MSGNW" /><nowiki>{{MSGNW:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | <font id="NS" /><nowiki>{{NS:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | <font id="PLURAL" /><nowiki>{{PLURAL:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | <font id="REVISIONID" /><nowiki>{{REVISIONID:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | '''<nowiki>{{REVISIONID}}</nowiki>'''
| align="center" colspan="2" | {{REVISIONID}}
|-
| align="center" | <font id="SUBST" /><nowiki>{{SUBST:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | <font id="UC" /><nowiki>{{UC:}}</nowiki>
| align="center" colspan="2" |
|-
| align="center" | <font id="UCFIRST" /><nowiki>{{UCFIRST:}}</nowiki>
| align="center" colspan="2" |
|-
| colspan="3" align="center" | <font id="1" /><span dir="ltr" ><sup><small>[[#1|1]]</small></sup> this documentation displays this value [[w:en:LTR|LTR]] (left to right)</span>
|-
| colspan="3" align="center" | <font id="index" /><span dir="ltr" >[[#top|↑]] <nowiki>|</nowiki> [[#common namespaces|common]] [[#reserved_namespaces|reserved]] [[#custom namespaces|custom]] '''namespaces''' <nowiki>|</nowiki> [[#variables|variables]] <nowiki>|</nowiki> [[#predefined templates|predefined templates]] <nowiki>|</nowiki> [[#bottom|↓]]</span>
|}<font id="bottom" />
7r04remea2h5ad04pj8280nqp058v6i
ਫਰਮਾ:DIRMARK
10
1473
2712
2006-01-14T23:32:38Z
Gangleri
5
please protect this page against moves and edits - please read [[commons:Template talk:DIRMARK]] - [[user:Gangleri|]]
wikitext
text/x-wiki
‎
b0a7zqpzxc7zbz6xj15oyjhu21h74q1
ਫਰਮਾ:Babel-9
10
1475
2725
2724
2006-02-23T10:50:43Z
Gangleri
5
w:Wikipedia:Babel|
wikitext
text/x-wiki
{| name="userboxes" id="userboxes" style="float: right; margin-left: 1em; margin-bottom: 1ex; width: 242px; border: 1px solid #99B3FF; clear: right"
|-
| style="text-align: center" | '''[[w:Wikipedia:Babel|Wikipedia:Babel]]'''
|-
| {{User {{{1}}}}}
|-
| {{User {{{2}}}}}
|-
| {{User {{{3}}}}}
|-
| {{User {{{4}}}}}
|-
| {{User {{{5}}}}}
|-
| {{User {{{6}}}}}
|-
| {{User {{{7}}}}}
|-
| {{User {{{8}}}}}
|-
| {{User {{{9}}}}}
|-
| style="text-align: center" | [[:Category:User languages|Search user languages]]
|}
p5rpl8dtsukomjlq31pkbldhw3sl06y
ਫਰਮਾ:ਮੁੱਖ ਪੰਨਾ ਜਾਣ ਪਛਾਣ
10
1503
2793
2790
2006-03-12T08:37:33Z
Haumaijeet
9
wikitext
text/x-wiki
{| width="100%" align="center" cellspacing="2" cellpadding="2"
| align="center" bgcolor="#FFFFFF" style="border: solid 2px #FFFFFF; padding:0em;" cellpadding="2" cellspacing="2" |
| width="75%" style="text-align: center; margin-top: 2; margin-top: 2px; font-size:120%"|'''[[Wikibooks:ਪੰਜਾਬੀ ਵਿਕਿਕਿਤਾਬਾਂ| ਪੰਜਾਬੀ ਵਿਕਿਕਿਤਾਬਾਂ ]]''' ਵਿਖੇ ਅਸੀਂ ਤੁਹਾਨੂੰ ਜੀ ਆਇਆਂ ਆਖਦੇ ਹਾਂ! '''[[Wikibooks:ਜਾਣਕਾਰੀ|ਪੰਜਾਬੀ ਵਿਕਿਕਿਤਾਬਾਂ]]''' ੳਹਨਾਂ ਕਿਤਾਬਾਂ ਦਾ ਇਕੱਠ ਹੈ, ਜਿਹੜੀਆਂ ਮੁਫਤ ਅਤੇ ਖੁਲੇ ਉਤਾਰਾ ਅਧਿਕਾਰ ਨਾਲ (ਕਿਸੇ ਕਾਪੀਰਾਈਟ ਤੋਂ ਬਿਨਾਂ) ਪਰਕਾਸ਼ਤ ਕੀਤੀਆਂ ਗਈਆਂ ਹਨ।
| width="25%" align="center" bgcolor="#FFFFFF" style="border: 2px solid #FFFFFF; padding: .5em; font-size:95%"" | [[Image:Other-langs2.png]]<br>[[Wikibooks portal |ਵਿਕਿਕਿਤਾਬਾਂ ਹੋਰ ਭਾਸ਼ਾਵਾਂ ਵਿੱਚ]]<br>[[Wikibooks:ਜਾਣਕਾਰੀ|FAQ]]
|}
7tjit6eslw0tq49eh1qsrjsim3aaka0
ਫਰਮਾ:Wikibookslang
10
1505
2787
2006-03-12T08:02:45Z
Haumaijeet
9
wikitext
text/x-wiki
[[Wikibooks portal]]
- [[m:List of Wikibooks|Active Wikibooks]]
- [[Wikibooks:Multilingual coordination|Multilingual coordination]]
- [[m:How to start a new Wikibooks portal|Start a Wikibooks portal in another language]]
</div>
s639e8wxelgj5feia79rzifvzx9y6tv
ਫਰਮਾ:Sisterprojects
10
1506
4766
3446
2016-07-09T11:20:18Z
Otourly
807
Wiktionary logo change
wikitext
text/x-wiki
ਵਿਕਸ਼ਨਰੀ ਇੱਕ ਆਜ਼ਾਦ ਬਹੁਭਾਸ਼ਾਈ ਸ਼ਬਦਕੋਸ਼ ਹੈ ਅਤੇ ਲਾਭ ਨਾ ਕਮਾਉਣ ਵਾਲੀ ਸੰਸਥਾ [http://en.wikipedia.org/wiki/Wikimedia ਵਿਕਿਪੀਡਿਆ ਫ਼ਾਉਂਡੇਸ਼ਨ ] ਦੇ ਰਾਹੀਂ
ਚਲਾਇਆ ਜਾ ਰਿਹਾ ਹੈ , ਜੋ ਕਿ ਕਈ ਦੂਸਰੇ [http://en.wikipedia.org/wiki/Wikipedia:Multilingual_coordination ਬਹੁਭਾਸ਼ਾਈ] ਅਤੇ [http://en.wikipedia.org/wiki/Wikipedia:Copyrights ਆਜ਼ਾਦ-ਸਮੱਗਰੀ ਵਾਲੇ] ਪ੍ਰੋਜੈਕਟ ਚਲਾਉਂਦੀ ਹੈ:
{| align="center" cellpadding="2" width="100%" style="text-align:left"
| [[Image:Wikipedia-logo-pa.png|35px|<nowiki></nowiki>]]
| [[w:Main Page|'''ਵਿਕਿਪੀਡਿਆ ''']]<br />ਇੱਕ ਆਜਾਦ ਸਮਗਰੀ ਵਾਲਾ ਵਿਸ਼ਵਕੋਸ਼
| [[Image:Wiktionary-logo.svg|35px|<nowiki></nowiki>]]
| [[wikt:Main Page|'''ਵਿਕਿਸ਼ਨਰੀ''']]<br />ਪੰਜਾਬੀ ਸ਼ਬਦਕੋਸ਼
| [[ਤਸਵੀਰ:Wikiquote-logo.svg|35px|<nowiki></nowiki>]]
| [[q:en:Main Page|'''ਵਿਕਿਕੁਓਟ''']]<br />ਵਿਚਾਰ ਭੰਡਾਰ
| [[Image:Wikisource-logo.png|35px|<nowiki></nowiki>]]
| [[wikisource:Main Page:English|'''ਵਿਕਿਸੌਰਸ''']]<br />ਮੁਫ਼ਤ ਸਰੋਤ ਦਸਤਾਵੇਜ਼
|-
| [[Image:Wikispecies-logo.png|35px|<nowiki></nowiki>]]
| [[Wikispecies:|'''ਵਿਕਿਸਪੀਸ਼ੀਜ਼''']]<br />ਨਸਲਾਂ ਦੀ ਡਾਇਰੈਕਟਰੀ
| [[Image:Wikinews-logo.png|35px|<nowiki></nowiki>]]
| [[n:Main Page|'''ਵਿਕਿਨਿਊਜ਼''']]<br />ਮੁਫ਼ਤ ਖ਼ਬਰਾਂ ਦੇ ਸਰੋਤ
| [[Image:Commons-logo.svg|35px|<nowiki></nowiki>]]
| [[commons:Main Page|'''ਕਾੱਮਨਜ਼''']]<br />ਸਾਂਝਾ ਸੰਚਾਰ ਭੰਡਾਰ
| [[Image:Wikimedia-logo.svg|35px|<nowiki></nowiki>]]
| [[m:Main Page|'''ਮੇਟਾ-ਵਿਕਿ''']]<br />ਵਿਕਿਪੀਡਿਆ ਪ੍ਰੋਜੈਕਟ ਤਾਲਮੇਲ
|}
jdjc45jg184oflovw87oqjef4no9tkk
ਫਰਮਾ:Donate
10
1507
2789
2006-03-12T08:15:28Z
Haumaijeet
9
wikitext
text/x-wiki
ਜੇ ਤੁਹਾਨੂੰ ਇਹ ਵਿਸ਼ਵਕੋਸ਼ ਜਾਂ ਇਸਦੇ ਦੂਸਰੇ ਪ੍ਰੋਜੈਕਟ ਉਪਯੋਗੀ ਲੱਗਦੇ ਹਨ, ਤਾਂ ਕਿਰਪਾ ਕਰਕੇ [http://wikimediafoundation.org/fundraising ਦਾਨ ਕਰਨ] ਬਾਰੇ ਵਿਚਾਰ ਕਰੋ। ਮੁੱਖ ਤੌਰ ਤੇ ਦਾਨ ਦੀ ਵਰਤੋਂ [[m:Wikimedia servers|ਸਰਵਰ ਉਪਕਰਣ]] ਖਰੀਦਣ ਲਈ ਕੀਤੀ ਜਾਂਦੀ ਹੈ।
azsxl33nr31penufign5wav6jf8pol5
ਮੁੱਖ ਪੰਨਾ
0
1508
5299
4527
2022-11-29T21:03:34Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
{{ਮੁੱਖ ਪੰਨਾ ਸੁਆਗਤ}}
----
----
{{ਹੋਰ ਵਿਕੀ}}
----
----
{{ਦਾਨ}}</div>
km9mh8f53pin1izxuwwmi27t0zp7x9x
ਸਿੱਖ ਰਹਿਤ ਮਰਿਯਾਦਾ
0
1717
3076
3074
2006-10-15T14:54:39Z
Haumaijeet
9
Redirecting to [[ਸਿੱਖ ਰਹਿਤ ਮਰਯਾਦਾ]]
wikitext
text/x-wiki
#REDIRECT [[ਸਿੱਖ ਰਹਿਤ ਮਰਯਾਦਾ]]
f49mdzo9rzt6ecv0gfykqlyn9f6n0lo
ਸਿੱਖ ਰਹਿਤ ਮਰਯਾਦਾ
0
1718
5278
4951
2022-11-29T21:00:18Z
Suyash.dwivedi
1854
/* ਸਿੱਖ ਰਹਿਤ ਮਰਯਾਦਾ */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
=ਸਿੱਖ ਰਹਿਤ ਮਰਯਾਦਾ=
ਸ਼ਰੋਮਣੀ ਗੁਰਦੁਆਰਾ ਪ੍ਰਬੰਧਕ ਕਮੇਟੀ ਦੀ 'ਰਹੁ-ਰੀਤ ਸਬ-ਕਮੇਟੀ' ਵਲੋਂ 'ਰਹੁ-ਰੀਤ' ਦੇ ਖਰੜੇ ਦੀ ਪ੍ਰਵਾਨਗੀ 'ਸਰਬ-ਹਿੰਦ ਸਿੱਖ ਮਿਸ਼ਨ ਬੋਰਡ' ਨੇ ਆਪਣੇ ਮਤਾ ਨੰਬਰ ੧, ਮਿਤੀ ੧-੮-੧੯੩੬ ਦੁਆਰਾ ਦਿੱਤੀ ਅਤੇ ਮੁੜ ਸ਼ਰੋਮਣੀ ਗੁਰਦੁਆਰਾ ਪ੍ਰਬੰਧਕ ਕਮੇਟੀ ਦੀ 'ਧਾਰਮਿਕ ਸਲਾਹਕਾਰ ਕਮੇਟੀ ਨੇ ਆਪਣੀ ਇਕਤ਼੍ਰਤਾ ਮਿਤੀ ੭-੧-੧੯੪੫ ਵਿਖੇ ਇਸਨੂੰ ਵਿਚਾਰ ਕੇ ਇਸ ਵਿਚ ਕੁਝ ਵਾਧੇ ਘਾਟੇ ਕਰਨ ਦੀ ਸਿਫਾਰਸ਼ ਕੀਤੀ । ਧਾਰਮਿਕ ਸਲਾਹਕਾਰ ਕਮੇਟੀ ਦੀ ਇਸ ਇਕਤ੍ਰਤਾ 'ਚ ਹੇਠ ਲਿਖੇ ਵਿਅਕਤੀ ਸਨ :-
੧. ਸਿੰਘ ਸਾਹਿਬ ਜਥੇਦਾਰ ਮੋਹਨ ਸਿੰਘ ਜੀ, ਜਥੇਦਾਰ ਸ੍ਰੀ ਅਕਾਲ ਤਖਤ ਸਾਹਿਬ <br>
੨. ਭਾਈ ਸਾਹਿਬ ਭਾਈ ਅੱਛਰ ਸਿਂਘ ਜੀ, ਹੈੱਡ ਗਰੰਥੀ, ਸ੍ਰੀ ਦਰਬਾਰ ਸਾਹਿਬ, ਅੰਮ੍ਰਿਤਸਰ <br>
੩. ਪ੍ਰੋਫੈਸਰ ਤੇਜਾ ਸਿੰਘ ਐਮ.ਏ., ਖਾਲਸਾ ਕਾਲਜ, ਅੰਮ੍ਰਿਤਸਰ <br>
੪. ਪ੍ਰੋਫੈਸਰ ਗੰਗਾ ਸਿੰਘ ਜੀ, ਪ੍ਰਿੰਸੀਪਲ, ਸ਼ਹੀਦ ਸਿੱਖ ਮਿਸ਼ਨਰੀ ਕਾਲਜ, ਅੰਮ੍ਰਿਤਸਰ <br>
੫. ਗਿਆਨੀ ਲਾਲ ਸਿੰਘ ਜੀ ਐਮ.ਏ,. ਪ੍ਰੋਫੈਸਰ, ਸ਼ਹੀਦ ਸਿੱਖ ਮਿਸ਼ਨਰੀ ਕਾਲਜ, ਅੰਮ੍ਰਿਤਸਰ <br>
੬. ਪ੍ਰੋਫੈਸਰ ਸ਼ੇਰ ਸਿੰਘ ਜੀ ਐਮ.ਐਸ-ਸੀ., ਗੌਰਮਿੰਟ ਕਾਲਜ ਲੁਧਿਆਣਾ <br>
੭. ਬਾਵਾ ਪ੍ਰੇਮ ਸਿੰਘ ਜੀ ਹੋਤੀ (ਪ੍ਰਸਿਧ ਇਤਹਾਸਕਾਰ) <br>
੮. ਗਿਆਨੀ ਬਾਦਲ ਸਿੰਘ ਜੀ, ਇਨਚਾਰਜ ਸਿੱਖ ਮਿਸ਼ਨ, ਹਾਪੜ
ਧਾਰਮਿਕ ਸਲਾਹਕਾਰ ਕਮੇਟੀ ਦੀ ਸਿਫਾਰਸ਼ ਅਨੁਸਾਰ ਇਸ ਵਿਚ ਵਾਧਾ ਘਾਟਾ ਕਰਨ ਦੀ ਪ੍ਰਵਾਨਗੀ ਸ਼ਰੋਮਣੀ ਗੁਰਦੁਆਰਾ ਪ੍ਰਬੰਧਕ ਕਮੇਟੀ ਨੇ ਆਪਣੀ ਇਕੱਤਾਰਤਾ ਮਿਤੀ ੩-੨-੪੫ ਦੇ ਮਤਾ ਨੰਬਰ ੯੭ ਰਾਹੀਂ ਦਿੱਤੀ ।
h7u9oyikurcnk78u96uvf0s2eo93p4v
ਫਰਮਾ:Delete
10
1784
5000
4297
2020-05-31T19:19:28Z
Samuele2002
1692
Redirected page to [[ਫਰਮਾ:ਹਟਾਓ]]
wikitext
text/x-wiki
#REDIRECT [[ਫਰਮਾ:ਹਟਾਓ]]
joac06flas7hhm2w1ci4sz2pkbx8dql
Wikibooks:Nospam
4
1785
3213
3212
2007-10-14T23:48:12Z
Drini
21
Protected "[[Wikibooks:Nospam]]" [edit=sysop:move=sysop] [cascading]
wikitext
text/x-wiki
== Pages locked from recreation ==
<center>'''Please add a translation for the instructions line.'''</center>
: [en] '''Administrators:''' add a new line here to stop pages being created
: [es] '''Administradores:''' añadan una nueva línea para evitar que una página vuelva a ser creada
: [nl] '''Beheerders:''' voeg hier een nieuwe regel toe om het aanmaken van pagina's te voorkomen
: [it] '''Amministratori:''' aggiungete una riga qui per impedire la creazione di altre pagine
: [de] '''Administratoren:''' hier eine neue Zeile hinzufügen, um das Neueinstellen einer Seite zu verhindern
* {{:*}}
* {{:MediaWiki Talk:Ipb cant unblock}}
* {{:MediaWiki Talk:Ipb cant unblock/}}
* {{:MediaWiki Talk:Ipb cant unblock/index.php}}
* {{:MediaWiki Talk:Ipb cant unblock/w/index.php}}
* {{:MediaWiki Talk:Ipb cant unblock/w/w/index.php}}
* {{:MediaWiki Talk:Ipb cant unblock/w/w/w/index.php}}
* {{:MediaWiki Talk:Ipb cant unblock/w/w/w/w/w/index.php}}
* {{:MediaWiki talk:Ipb already blocked/wiki/MediaWiki talk:Ipb already blocked/w/w/w/index.php}}
* {{:MediaWiki talk:Ipb already blocked/wiki/MediaWiki talk:Ipb already blocked/w/w/w/w/index.php}}
* {{:Talk:Main Page/}}
* {{:Talk:Main Page/index.php}}
* {{:Talk:Main Page/w/index.php}}
* {{:Talk:Main Page/w/w/index.php}}
* {{:Talk:Main Page/w/w/w/index.php}}
* {{:Talk:Main Page/w/w/w/w/index.php}}
* {{:Main Page/index.php}}
* {{:Main Page/w/index.php}}
* {{:Main Page/w/w/index.php}}
* {{:Main Page/w/w/w/index.php}}
* {{:Main Page/w/w/w/w/index.php}}
* {{:Talk:Main Page/w/index.php?title=Main Page/w/index.php}}
* {{:index.php}}
* {{:W/index.php}}
* {{:W/w/index.php}}
* {{:W/w/w/index.php}}
* {{:W/w/w/w/index.php}}
* {{:W/w/w/w/w/w/index.php}}
<!-- wiktionaries are case sensitive, but it won't hurt on other wikis, so again: -->
* {{:w/index.php}}
* {{:w/w/index.php}}
* {{:w/w/w/index.php}}
* {{:w/w/w/w/index.php}}
* {{:w/w/w/w/w/w/index.php}}
* {{:MediaWiki talk:Ipb expiry invalid}}
* {{:MediaWiki talk:Ipb expiry invalid/}}
* {{:MediaWiki talk:Ipb expiry invalid/index.php}}
* {{:MediaWiki talk:Ipb expiry invalid/w/index.php}}
* {{:MediaWiki talk:Ipb expiry invalid/w/w/index.php}}
* {{:MediaWiki talk:Ipb expiry invalid/w/w/w/index.php}}
* {{:MediaWiki talk:Ipb expiry invalid/w/w/w/w/index.php}}
* {{:MediaWiki talk:Ipb expiry invalid/w/w/w/w/w/index.php}}
* {{:MediaWiki talk:Ipb already blocked/index.php}}
* {{:MediaWiki talk:Ipb already blocked/w/index.php}}
* {{:MediaWiki talk:Ipb already blocked/w/w/index.php}}
* {{:MediaWiki talk:Ipb already blocked/w/w/w/index.php}}
* {{:MediaWiki talk:Ipb already blocked/w/w/w/w/index.php}}
* {{:MediaWiki talk:Ipb already blocked/w/w/w/w/w/index.php}}
* {{:MediaWiki talk:Ipb already blocked/wiki/MediaWiki talk:Ipb already blocked/w/w/index.php}}
* {{:Talk:index.php}}
* {{:Talk:w/index.php}}
* {{:Talk:w/w/index.php}}
* {{:Talk:w/w/w/index.php}}
* {{:Talk:w/w/w/w/index.php}}
* {{:Talk:W/index.php}}
* {{:Talk:W/w/index.php}}
* {{:Talk:W/w/w/index.php}}
* {{:Talk:W/w/w/w/index.php}}
* {{:MediaWiki talk:Ipb expiry invalid/wiki/MediaWiki talk:Ipb expiry invalid/w/index.php}}
* {{:MediaWiki talk:Ipb expiry invalid/wiki/MediaWiki talk:Ipb expiry invalid/w/w/index.php}}
* {{:MediaWiki talk:Ipb expiry invalid/wiki/MediaWiki talk:Ipb expiry invalid/w/w/w/index.php}}
* {{:MediaWiki talk:Ipb expiry invalid/wiki/MediaWiki talk:Ipb expiry invalid/w/w/w/w/index.php}}
====Spambot stuff ====
* {{:Can not be against traditional law}}
* {{:divergent money}}
* {{:divergent money and power}}
* {{:eu american japon language friendship}}
* {{:english usa divergent friendship}}
* {{:get europe and usa science kind}}
* {{:Get power and money divergent}}
* {{:get science kind}}
08ggnweexlatv4l5yn83qbditbpkfbm
ਮੀਡੀਆਵਿਕੀ:Mainpage
8
1790
1264
2005-06-25T11:19:01Z
MediaWiki default
12
wikitext
text/x-wiki
ਮੁੱਖ ਪੰਨਾ
2llla13ee7isf4iuyvu0qrhrqsb4wcz
ਫਰਮਾ:Softredirect
10
1880
4324
4323
2015-10-22T00:40:50Z
Gangleri
5
improuved to [[:{{{1}}}|{{{2|{{{1}}}}}}]] using [[m:Soft redirect]]|soft redirect - added BiDi safety - LANG="en" dir="ltr"
wikitext
text/x-wiki
[[Image:Redirectltr.png|#REDIRECT ]]<span class="redirectText" id="softredirect">[[:{{{1}}}|{{{2|{{{1}}}}}}]]</span><br /><span style="font-size:85%; padding-left:52px;" LANG="en" dir="ltr" >This page is a [[m:Soft redirect|soft redirect]].</span>
1ck76o1bo02hg51p6ohu2xow0xkifnl
ਮੀਡੀਆਵਿਕੀ:Sitesupport-url
8
2004
3986
3838
2013-02-07T01:36:09Z
Pgehres (WMF)
561
Updating sidebar link to use subst:CONTENTLANGUAGE
wikitext
text/x-wiki
//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_pa.wikibooks.org&uselang=pa
7scqu3tjeavtwqwqhcwbadeduvxsp69
ਫਰਮਾ:Bot
10
2103
3685
2011-11-22T22:11:26Z
Wikitanvir
374
'Creating widely used bot template as it does not exist on this wiki. Feel free to translate this template in your local language or redirect it to the relative template if that already exists in a different name'
wikitext
text/x-wiki
{| align="center" class="plainlinks" style="padding: 8px; border: 2px solid #000; width: 80%; text-align: justify;"
|- valign="center"
| [[File:Crystal Clear action run.svg|90px|left|link=]] || '''This user account is a [[m:en:Wikipedia:Bots|bot]], operated by [[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]]).'''<br />It is not a [[m:en:Wikipedia:Sock puppetry|sock-puppet]], but rather an automated or semi-automated account for making repetitive edits that would be extremely tedious to do manually.<br />''Administrators: if this bot is malfunctioning or causing harm, please [{{fullurl:Special:Blockip|wpBlockAddress={{PAGENAMEE}}&wpBlockExpiry=indefinite&wpAnonOnly=0&wpEnableAutoblock=0&wpCreateAccount=0&wpBlockReason=Bot%20malfunctioning:%20}} block it].''
|}<noinclude>
== Documentation ==
* Replace "Example" with your bot's username.
{| class="wikitable" width="100%"
|-
! width="150px" | Code
! Result
|-
| <code><nowiki>{{Bot|Example}}</nowiki></code>
| {{Bot|Example}}
|}</noinclude>
if4ebu16c46qmqztdy0yaokehbekb5m
ਫਰਮਾ:ਹੋਰ ਵਿਕੀ
10
2213
4847
4846
2017-08-30T02:53:00Z
Satpal Dandiwal
1275
fixed
wikitext
text/x-wiki
'''ਵਿਕੀਬੁਕਸ''' ਮੁਨਾਫ਼ਾ ਨਾ ਕਮਾਉਣ ਵਾਲ਼ੀ [[w:pa:ਵਿਕੀਮੀਡੀਆ ਫ਼ਾਊਂਡੇਸ਼ਨ|ਵਿਕੀਮੀਡੀਆ ਫ਼ਾਊਂਡੇਸ਼ਨ]] ਦੁਆਰਾ ਚਲਾਈ ਜਾਂਦੀ ਹੈ ਜੋ ਕਿ ਬਹੁ-ਭਾਸ਼ਾਈ ਅਤੇ ਅਜ਼ਾਦ ਸਮੱਗਰੀ ਵਾਲ਼ੇ ਕਈ ਹੋਰ ਪ੍ਰੋਜੈਕਟ ਵੀ ਚਲਾਉਂਦੀ ਹੈ। ਮੀਡੀਆਵਿਕੀ ਦੇ ਹੋਰ ਪ੍ਰੋਜੈਕਟ:
{| align="center" cellpadding="2" width="100%" style="text-align:left"
| [[Image:Wikipedia-logo-pa.png|35px|<nowiki></nowiki>]]
| [[w:ਮੁੱਖ ਸਫ਼ਾ|'''ਵਿਕੀਪੀਡੀਆ''']]<br />ਇੱਕ ਅਜ਼ਾਦ ਗਿਆਨਕੋਸ਼
| [[Image:Wiktionary-logo.svg|35px|<nowiki></nowiki>]]
| [[wikt:ਮੁੱਖ ਸਫ਼ਾ|'''ਵਿਕਸ਼ਨਰੀ''']]<br />ਇਕ ਅਜ਼ਾਦ ਸ਼ਬਦਕੋਸ਼
| [[ਤਸਵੀਰ:Wikiquote-logo.svg|35px|<nowiki></nowiki>]]
| [[q:en:Main Page|'''ਵਿਕੀਕਥਨ''']]<br />ਇਕ ਅਜ਼ਾਦ ਵਿਚਾਰ ਭੰਡਾਰ
| [[Image:Wikisource-logo.png|35px|<nowiki></nowiki>]]
| [[s:|'''ਵਿਕੀਸਰੋਤ''']]<br />ਅਜ਼ਾਦ ਸਰੋਤ ਅਤੇ ਦਸਤਾਵੇਜ਼
|-
| [[Image:Wikispecies-logo.png|35px|<nowiki></nowiki>]]
| [[Wikispecies:|'''ਵਿਕੀਸਪੀਸੀਜ਼''']]<br />ਨਸਲਾਂ ਦੀ ਅਜ਼ਾਦ ਡਾਇਰੈਕਟਰੀ
| [[Image:Wikinews-logo.png|35px|<nowiki></nowiki>]]
| [[n:Main Page|'''ਵਿਕੀਖ਼ਬਰਾਂ''']]<br />ਅਜ਼ਾਦ ਖ਼ਬਰਾਂ
| [[Image:Commons-logo.svg|35px|<nowiki></nowiki>]]
| [[commons:Main Page|'''ਵਿਕੀਮੀਡੀਆ ਕਾਮਨਜ਼''']]<br />ਇੱਕ ਸਾਂਝਾ ਮੀਡੀਆ ਭੰਡਾਰ
| [[Image:Wikimedia-logo.svg|35px|<nowiki></nowiki>]]
| [[m:Main Page|'''ਮੈਟਾ-ਵਿਕੀ''']]<br />ਵਿਕੀਮੀਡੀਆ ਪਰਿਯੋਜਨਾ ਤਾਲ-ਮੇਲ
|}
nnk5cp6m1cc4vrmf97m544bv2veiz2l
ਮੁੱਖ ਸਫ਼ਾ
0
2214
5790
5789
2023-05-20T13:51:35Z
TenWhile6
1793
Undid edits by [[Special:Contribs/89.146.4.165|89.146.4.165]] ([[User talk:89.146.4.165|talk]]) to last version by Itar buttar: reverting vandalism
wikitext
text/x-wiki
ਵਿਕੀਬੁੱਕਸ ’ਤੇ ਜੀ ਆਇਆਂ ਨੂੰ!
<br />ਇਸ ਵਿਚ ਹਰ ਕੋਈ ਲਿਖ ਸਕਦਾ ਹੈ। ਇਸ ਵੇਲ਼ੇ ਏਥੇ [[Special:Allpages|{{NUMBEROFARTICLES}}]] ਸਫ਼ੇ ਹਨ।
<br />{{ਹੋਰ ਵਿਕੀ}}
52fm4vchqxf02zdysy3dltdl6cvd8k6
ਫਰਮਾ:ਦਾਨ
10
2220
3846
2012-10-30T09:37:20Z
Itar buttar
745
ਨ
wikitext
text/x-wiki
ਜੇ ਤੁਹਾਨੂੰ ਇਹ ਲਾਇਬ੍ਰੇਰੀ ਜਾਂ ਮੀਡੀਆਵਿਕੀ ਦੇ ਦੂਜੇ ਪ੍ਰੋਜੈਕਟ ਲਾਹੇਵੰਦ ਲੱਗਦੇ ਹਨ ਤਾਂ ਮਿਹਰਬਾਨੀ ਕਰਕੇ [http://wikimediafoundation.org/fundraising ਦਾਨ ਕਰਨ] ਬਾਰੇ ਵਿਚਾਰ ਕਰੋ। ਮੁੱਖ ਤੌਰ ’ਤੇ ਦਾਨ ਦੀ ਵਰਤੋਂ [[m:Wikimedia servers|ਸਰਵਰ ਸਮੱਗਰੀ]] ਖ਼ਰੀਦਣ ਲਈ ਕੀਤੀ ਜਾਂਦੀ ਹੈ।
dujp9xcboojz4rc0yg2ei54dv6ushit
ਫਰਮਾ:ਹਟਾਓ
10
2221
4770
4015
2016-08-21T17:09:26Z
Raj Singh
770
[[Special:Contributions/Itar buttar|Itar buttar]] ([[User talk:Itar buttar|ਗੱਲ-ਬਾਤ]]) ਦੀ ਸੋਧ 4015 ਨਕਾਰੀ
wikitext
text/x-wiki
{|style="margin:0.5em; padding:0.5em; background:#FEE; border:1px solid #999;"
|-
| [[File:Deletion icon.svg|50px|right]]
|<big>'''ਇਹ ਪੰਨਾ ਛੇਤੀ ਹਟਾਏ ਜਾਣ ਲਈ ਨਾਮਜਦ ਕੀਤਾ ਗਿਆ ਹੈ ਕਿਉਂਕਿ “{{{1|}}}”।</big>
<br>ਜੇ ਤੁਹਾਨੂੰ ਲੱਗਦਾ ਹੈ ਕਿ ਇਹ ਪੰਨਾ ਹਟਾਉਣ ਦੀ ਕਸੌਟੀ ਨਾਲ ਮੇਲ ਨਹੀਂ ਖਾਂਦਾ ਜਾਂ ਤੁਸੀਂ ਇਸਦੀਆਂ ਕਮੀਆਂ ਦੂਰ ਕਰਕੇ ਇਸਨੂੰ ਬੇਹਤਰ ਬਣਾ ਸਕਦੇ ਹੋ ਤਾਂ ਤੁਸੀਂ ਇਹ ਨੋਟ ਹਟਾ ਸਕਦੇ ਹੋ, '''ਪਰ ਕਿਰਪਾ ਕਰਕੇ ਆਪਣੇ ਬਣਾਏ ਪੰਨਿਆਂ ਤੋਂ ਇਸਨੂੰ ਨਾ ਮਿਟਾਓ।'''
<br>ਜੇ ਤੁਸੀਂ ਇਸਨੂੰ ਹਟਾਉਣ ਦੇ ਵਿਰੋਧ ਹੋ ਤਾਂ [[{{TALKPAGENAME}}|ਇਸਦੇ ਗੱਲ-ਬਾਤ ਪੰਨੇ]] ’ਤੇ ਆਪਣੇ ਵਿਚਾਰ ਪ੍ਰਸਤੂਤ ਕਰੋ।
<span class="plainlinks">''ਜਿਂਮੇਵਾਰ ਮੈਂਬਰ ਇਸਨੂੰ [{{fullurl:{{FULLPAGENAME}}|action=delete}} ਮਿਟਾਉਣ] ਤੋਂ ਪਹਿਲਾਂ [{{fullurl:{{FULLPAGENAME}}|action=history}} ਇਸਦਾ ਇਤਿਹਾਸ] ([{{fullurl:{{FULLPAGENAME}}|diff=0}} ਅੰਤਮ ਬਦਲਾਅ]), [[Special:Whatlinkshere/{{FULLPAGENAME}}|ਕਿਹੜੇ ਪੰਨੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ]] ਅਤੇ [[{{TALKPAGENAME}}|ਇਸਦਾ ਗੱਲ-ਬਾਤ ਪੰਨਾ]] ਜਰੂਰ ਚੈੱਕ ਕਰਨ।''</span>
<br>{{ਆਖ਼ਰੀ}}
|}<includeonly>{{{category|[[Category:ਛੇਤੀ ਹਟਾਉਣਯੋਗ ਪੰਨੇ]]}}}</includeonly><noinclude>
{{ਦਸਤਾਵੇਜ਼}}
</noinclude>
cjl14ece1n2oz7q7iswkud0dgsj8jbs
ਫਰਮਾ:ਦਸਤਾਵੇਜ਼/docname
10
2222
3851
2012-11-01T12:03:40Z
Itar buttar
745
ਨ
wikitext
text/x-wiki
{{#switch: {{SUBPAGENAME}}
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default={{SUBJECTPAGENAME}}/doc
}}<noinclude>
</noinclude>
j82gjkdb7eowsl4hiehu7089fxkjl0x
ਫਰਮਾ:ਦਸਤਾਵੇਜ਼
10
2223
3854
3852
2012-11-01T12:07:45Z
Itar buttar
745
TariButtar moved page [[ਦਸਤਾਵੇਜ਼]] to [[ਫਰਮਾ:ਦਸਤਾਵੇਜ਼]]: was accidentally created in wrong namespace
wikitext
text/x-wiki
<div class="template-documentation"><!--
-->{{#ifeq:{{{heading|μ}}}|<!--**DEFINED BUT EMPTY**-->
|<!--**NOTHING**-->
|<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ
|<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{ਦਸਤਾਵੇਜ਼/docname}}}}}
|<!--** /doc EXISTS** -->[[{{fullurl:{{{1|{{ਦਸਤਾਵੇਜ਼/docname}}}}}|action=edit}} ਸੋਧੋ]]
|<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{ਦਸਤਾਵੇਜ਼/docname }}}}}|action=edit&preload=Template:ਦਸਤਾਵੇਜ਼/preload}} ਬਣਾਓ]]
}}</span>
}} <span style="{{#if:{{{heading-style|}}}|{{{heading-style}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|font-weight: bold; font-size: 125%|font-size: 150%}}}}">{{#if:{{{heading|}}}|{{{heading}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|[[Image:Template-info.svg|50px]] ਵਰਤੋਂ ਹਦਾਇਤਾਂ|ਦਸਤਾਵੇਜ਼}}}}</span></div>
}}<!--
--><div id="template_doc_page_transcluded" class="dablink plainlinks"><!--
-->{{#ifexist: {{{1|{{ਦਸਤਾਵੇਜ਼/docname}}}}}
|<!--**/doc EXISTS**-->ਫਰਮਾ ਵਰਤਣ ਦੀਆਂ ਇਹ ਹਦਾਇਤਾਂ [[{{{1|{{ਦਸਤਾਵੇਜ਼/docname}}}}}]] ਤੋਂ [[Wikipedia:Transclusion|ਜੋੜੀਆਂ]] ਗਈਆਂ ਹਨ। <small style="font-style: normal">([{{fullurl:{{{1|{{ਦਸਤਾਵੇਜ਼/docname}}}}}|action=edit}} ਸੋਧੋ] | [{{fullurl:{{{1|{{ਦਸਤਾਵੇਜ਼/docname}}}}}|action=history}} ਅਤੀਤ])</small><br />
}}<!--
-->{{#switch: {{SUBPAGENAME}}
|sandbox|testcases=<!--**DO NOT SHOW THESE LINKS ON THE SANDBOX/TESTCASES PAGES**-->
|#default=
{{#switch: {{SUBJECTSPACE}}
|{{ns:template}}
|{{ns:user}}=
{{#ifexist: {{FULLPAGENAME}}/sandbox
|This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> <!--
-->{{#ifexist: {{FULLPAGENAME}}/testcases
|and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>}} for editors to experiment.
|{{#ifexist: {{FULLPAGENAME}}/testcases
|This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment.}}
}}}}}}
</div>
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{ਦਸਤਾਵੇਜ਼/docname}}}}} | {{ {{{1|{{ਦਸਤਾਵੇਜ਼/docname}}}}} }} }}}}
</div>
lsftp5cjjj0y54qcz12wcgq9mmag7tv
ਦਸਤਾਵੇਜ਼
0
2224
3855
2012-11-01T12:07:45Z
Itar buttar
745
TariButtar moved page [[ਦਸਤਾਵੇਜ਼]] to [[ਫਰਮਾ:ਦਸਤਾਵੇਜ਼]]: was accidentally created in wrong namespace
wikitext
text/x-wiki
#REDIRECT [[ਫਰਮਾ:ਦਸਤਾਵੇਜ਼]]
eqs204bu2zake5j8xjz680d9oqmjnjd
ਫਰਮਾ:ਹਟਾਓ/doc
10
2225
3892
3890
2012-11-09T19:47:53Z
Raj Singh
770
wikitext
text/x-wiki
== ਵਰਤੋਂ ==
ਮਿਹਰਬਾਨੀ ਕਰਕੇ ਇਸਨੂੰ ਸਫ਼ੇ ਦੇ ਸਭ ਤੋਂ ਉੱਪਰ ਵਰਤੋ:
<pre>{{ਹਟਾਓ|ਕਾਰਨ}}</pre>
*''ਕਾਰਨ'' ਦੀ ਥਾਂ ਸਫ਼ਾ ਮਿਟਾਏ ਜਾਣ ਦਾ ਕਾਰਨ ਲਿਖੋ ਜਿਸ ਕਰਕੇ ਤੁਸੀਂ ਚਾਹੁੰਦੇ ਹੋ ਕਿ ਸਫ਼ਾ ਮਿਟਾ ਦਿੱਤਾ ਜਾਵੇ ਅਤੇ ਇਸਨੂੰ ਸਫ਼ੇ ਦੇ ਸਭ ਤੋਂ ਉੱਪਰ ਜੋੜੋ। ਹੇਠਾਂ ਮਿਸਾਲ ਵੇਖੋ।
==ਮਿਸਾਲ==
<code><nowiki>{{ਮਿਟਾਓ|ਸਫ਼ਾ ਕਿਤਾਬ ਬਾਰੇ ਨਹੀਂ}}</nowiki></code>
<includeonly>[[Category:ਵਿਕੀਬੁਕਸ ਫਰਮੇ]]</includeonly>
nqzb7pl061i3z9x2muf1dlb8xt0gcqb
ਫਰਮਾ:ਆਖ਼ਰੀ
10
2226
5260
4771
2022-06-12T05:52:45Z
Minorax
1637
fix lint
wikitext
text/x-wiki
<span class="plainlinks">ਇਸ ਪੰਨੇ ਵਿੱਚ [{{fullurl:{{FULLPAGENAME}}|diff=cur}} ਅੰਤਮ ਬਦਲਾਅ] [[User:{{REVISIONUSER}}|<span style="color:blue;">'''{{REVISIONUSER}}'''</span>]] ([[Special:Contributions/{{REVISIONUSER}}|ਯੋਗਦਾਨ]]|[[Special:Log/{{REVISIONUSER}}|ਚਿੱਠੇ]]) ਨੇ {{#time:d F Y|{{REVISIONTIMESTAMP}}}} ਨੂੰ {{#time:H:i|{{REVISIONTIMESTAMP}}}} (UTC) ’ਤੇ ਕੀਤਾ। <small>''([{{fullurl:{{FULLPAGENAMEE}}|action=purge}} ਤਾਜਾ ਕਰੋ])''</small></span><noinclude>{{ਦਸਤਾਵੇਜ਼}}</noinclude>
ddnxiosph7y4rrxv45lioojp4f5sd3c
ਫਰਮਾ:ਆਖ਼ਰੀ/doc
10
2227
3860
2012-11-01T12:37:11Z
Itar buttar
745
ਵਰਤੋਂ ਹਦਾਇਤਾਂ
wikitext
text/x-wiki
== ਵਰਤੋਂ ==
ਇਹ ਆਮ ਸਫ਼ਿਆਂ, ਗੱਲ-ਬਾਤ ਸਫ਼ਿਆਂ ਆਦਿ ਵਿਚ ਵਰਤਣ ਲਈ ਨਹੀਂ ਹੈ। ਇਸਦੀ ਵਰਤੋਂ ਸਫ਼ੇ ਦੀ ਆਖ਼ਰੀ ਤਬਦੀਲੀ ਦਾ ਵਕਤ ਅਤੇ ਕਰਨ ਵਾਲ਼ੇ ਦਾ ਨਾਮ ਦੱਸਦੀ ਹੈ।
*<tt><nowiki>{{ਆਖ਼ਰੀ}}</nowiki></tt> → {{ਆਖ਼ਰੀ}}
fgn6p6crqazuotxuyvbkvfxh1jd0af4
Wikibooks:ਸੱਥ
4
2228
5970
5969
2024-03-12T19:56:47Z
MediaWiki message delivery
1044
/* Wikimedia Foundation Board of Trustees 2024 Selection */ ਨਵਾਂ ਭਾਗ
wikitext
text/x-wiki
__NEWSECTIONLINK__
* '''en:''' Requests for the [[m:bot|bot]] flag should be made on this page. This wiki uses the [[m:bot policy|standard bot policy]], and allows [[m:bot policy#Global_bots|global bots]] and [[m:bot policy#Automatic_approval|automatic approval of certain types of bots]]. Other bots should apply below, and then [[m:Steward requests/Bot status|request access]] from a steward if there is no objection.
{| class="infobox" width="280px"
|- align="center"
| [[File:Replacement filing cabinet.svg|100px|center|Archive]]
'''ਸੱਥ ਦੀ ਪੁਰਾਣੀ ਚਰਚਾ:'''
|- align="center"
| {{flatlist |
*[[/ਪੁਰਾਣੀ ਚਰਚਾ 1|1]]
*[[/ਪੁਰਾਣੀ ਚਰਚਾ 2|2]]
*}}
|}
== Community Wishlist Survey 2023 opens in January ==
<div lang="en" dir="ltr" class="mw-content-ltr">
''{{int:Please-translate}}''
(There is [[m:Community Wishlist Survey 2023 opens in January|a translatable version of this message on MetaWiki]])
{{int:Hello}}
The [[m:Community Wishlist Survey 2023|'''Community Wishlist Survey (CWS) 2023''']], which lets contributors propose and vote for tools and improvements, starts next month on Monday, [https://zonestamp.toolforge.org/1674496831 23 January 2023, at 18:00 UTC] and will continue annually.
We are inviting you to share your ideas for technical improvements to our tools and platforms. Long experience in editing or technical skills is not required. If you have ever used our software and thought of an idea to improve it, this is the place to come share those ideas!
The dates for the phases of the Survey will be as follows:
* Phase 1: Submit, discuss, and revise proposals – Monday, Jan 23, 2023 to Sunday, Feb 6, 2023
* Phase 2: WMF/Community Tech reviews and organizes proposals – Monday, Jan 30, 2023 to Friday, Feb 10, 2023
* Phase 3: Vote on proposals – Friday, Feb 10, 2023 to Friday, Feb 24, 2023
* Phase 4: Results posted – Tuesday, Feb 28, 2023
If you want to start writing out your ideas ahead of the Survey, you can start thinking about your proposals and draft them in [[m:Community Wishlist Survey/Sandbox|the CWS sandbox]].
We are grateful to all who participated last year. See you in January 2023!
</div>
{{int:Feedback-thanks-title}} <bdi lang="en" dir="ltr">Community Tech, [[m:User:STei (WMF)|STei (WMF)]]</bdi> 16:44, 15 ਦਸੰਬਰ 2022 (UTC)
<!-- Message sent by User:Sannita (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Community_Wishlist_list_for_non-Wikipedias&oldid=24239678 -->
== Upcoming vote on the revised Enforcement Guidelines for the Universal Code of Conduct ==
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/Universal Code of Conduct/Revised enforcement guidelines/Announcement/Voting 1|You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Universal Code of Conduct/Revised enforcement guidelines/Announcement/Voting 1|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Universal Code of Conduct/Revised enforcement guidelines/Announcement/Voting 1}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hello all,
In mid-January 2023, the [[m:Special:MyLanguage/Universal Code of Conduct/Revised enforcement guidelines|Enforcement Guidelines]] for the [[m:Special:MyLanguage/Universal Code of Conduct|Universal Code of Conduct]] will undergo a second community-wide ratification vote. This follows [[m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Voting/Results|the March 2022 vote]], which resulted in a majority of voters supporting the Enforcement Guidelines. During the vote, participants helped highlight important community concerns. The Board’s [[m:Special:MyLanguage/Wikimedia Foundation Community Affairs Committee|Community Affairs Committee]] requested that these areas of concern be reviewed.
The volunteer-led [[m:Special:MyLanguage/Universal_Code_of_Conduct/Drafting_committee#Revisions_Committee_members|Revisions Committee]] worked hard reviewing community input and making changes. They updated areas of concern, such as training and affirmation requirements, privacy and transparency in the process, and readability and translatability of the document itself.
The revised Enforcement Guidelines can be viewed '''[[m:Special:MyLanguage/Universal Code of Conduct/Revised enforcement guidelines|here]]''', and a comparison of changes can be found '''[[m:Special:MyLanguage/Universal Code of Conduct/Revised enforcement guidelines/Comparison|here]]'''.
'''How to vote?'''
Beginning '''January 17, 2023''', voting will be open. '''[[m:Special:MyLanguage/Universal Code of Conduct/Revised enforcement guidelines/Voter information|This page on Meta-wiki]]''' outlines information on how to vote using SecurePoll.
'''Who can vote?'''
The '''[[m:Special:MyLanguage/Universal_Code_of_Conduct/Revised enforcement_guidelines/Voter_information#Voting_eligibility|eligibility requirements]]''' for this vote are the same as for the Wikimedia Board of Trustees elections. See the voter information page for more details about voter eligibility. If you are an eligible voter, you can use your Wikimedia account to access the voting server.
'''What happens after the vote?'''
Votes will be scrutinized by an independent group of volunteers, and the results will be published on Wikimedia-l, the Movement Strategy Forum, Diff and on Meta-wiki. Voters will again be able to vote and share concerns they have about the guidelines. The Board of Trustees will look at the levels of support and concerns raised as they look at how the Enforcement Guidelines should be ratified or developed further.
On behalf of the UCoC Project Team,<section end="announcement-content" />
[[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 10:33, 8 ਜਨਵਰੀ 2023 (UTC)
== Voting Opens on the Revised Universal Code of Conduct (UCoC) Enforcement Guidelines ==
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/Universal Code of Conduct/Revised enforcement guidelines/Announcement/Voting 2|You can find this message translated into additional languages on Meta-wiki.]]''
:''{{subst:more languages}}''
Hello all,
The [[m:Special:MyLanguage/Universal_Code_of_Conduct/Revised_enforcement_guidelines/Voting|voting period]] for the [[m:Special:MyLanguage/Universal_Code_of_Conduct/Revised_enforcement_guidelines|revised Universal Code of Conduct Enforcement Guidelines]] is now open! Voting will remain open for two weeks and will close at '''23:59 UTC''' on '''January 31, 2023'''. Please visit the [[m:Special:MyLanguage/Universal_Code_of_Conduct/Revised_enforcement_guidelines/Voter_information|'''voter information page''']] for voter eligibility information and details on how to vote.
For more details on the Enforcement Guidelines and the voting process, see our [[m:Special:MyLanguage/Universal_Code_of_Conduct/Revised_enforcement_guidelines/Announcement/Voting_1|previous message]].
On behalf of the UCoC Project Team,
<section end="announcement-content" />
[[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 12:18, 17 ਜਨਵਰੀ 2023 (UTC)
== Global ban for PlanespotterA320/RespectCE ==
Per the [[m:Global bans|Global bans]] policy, I'm informing the project of this request for comment: [[m:Requests for comment/Global ban for PlanespotterA320 (2) ]] about banning a member from your community. Thank you.--[[User:Lemonaka|Lemonaka]] ([[User talk:Lemonaka|talk]]) 21:40, 6 February 2023 (UTC)
<!-- Message sent by User:Zabe@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Lemonaka/Massmessagelist&oldid=24501599 -->
== Community feedback-cycle about updating the Wikimedia Terms of Use starts ==
<section begin="announcement-content" />
: ''[[metawiki:Special:MyLanguage/Wikimedia Foundation Legal department/2023 ToU updates/Office hours/Announcement|You can find this message translated into additional languages on Meta-wiki.]]''
: ''<div class="plainlinks">[[metawiki:Special:MyLanguage/Wikimedia Foundation Legal department/2023 ToU updates/Office hours/Announcement|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation Legal department/2023 ToU updates/Office hours/Announcement|}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hello community members,
[[metawiki:Special:MyLanguage/Wikimedia_Foundation_Legal_department|Wikimedia Foundation Legal Department]] is organizing a feedback-cycle with community members to discuss updating the Wikimedia Terms of Use.
[[foundation:Special:MyLanguage/Terms of Use|The Terms of Use (ToU)]] are the legal terms that govern the use of websites hosted by the Wikimedia Foundation. We will be gathering your feedback on a draft proposal from February through April. The draft will be translated into several languages, with written feedback accepted in any language.
This update comes in response to several things:
* Implementing the Universal Code of Conduct.
* Updating project text to the Creative Commons BY-SA 4.0 license.
* Proposal for better addressing undisclosed paid editing.
* Bringing the Terms of Use in line with current and recently passed laws affecting the Wikimedia Foundation, including the European Digital Services Act
As part of the feedback cycle two office hours will be held: the first on 2 March and the second on 4 April.
For further information, please consult:
* The [[metawiki:Special:MyLanguage/Wikimedia Foundation Legal department/2023 ToU updates/Proposed update|proposed update of the ToU by comparison]]
* The page for your [[metawiki:Talk:Terms of use|feedback]]
* Information about [[metawiki:Special:MyLanguage/Wikimedia Foundation Legal department/2023 ToU updates/Office hours|the office hours]]
On behalf of the Wikimedia Foundation Legal Team,<section end="announcement-content" />
[[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 08:16, 22 ਫ਼ਰਵਰੀ 2023 (UTC)
== <span lang="en" dir="ltr" class="mw-content-ltr">Your wiki will be in read only soon</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="server-switch"/><div class="plainlinks">
[[:m:Special:MyLanguage/Tech/Server switch|Read this message in another language]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Tech%2FServer+switch&language=&action=page&filter= {{int:please-translate}}]
The [[foundation:|Wikimedia Foundation]] tests the switch between its first and secondary data centers. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
All traffic will switch on '''{{#time:j xg|2023-03-01|en}}'''. The test will start at '''[https://zonestamp.toolforge.org/{{#time:U|2023-03-01T14:00|en}} {{#time:H:i e|2023-03-01T14:00}}]'''.
Unfortunately, because of some limitations in [[mw:Manual:What is MediaWiki?|MediaWiki]], all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
'''You will be able to read, but not edit, all wikis for a short period of time.'''
*You will not be able to edit for up to an hour on {{#time:l j xg Y|2023-03-01|en}}.
*If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
''Other effects'':
*Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
* We expect the code deployments to happen as any other week. However, some case-by-case code freezes could punctually happen if the operation require them afterwards.
* [[mw:Special:MyLanguage/GitLab|GitLab]] will be unavailable for about 90 minutes.
This project may be postponed if necessary. You can [[wikitech:Switch_Datacenter|read the schedule at wikitech.wikimedia.org]]. Any changes will be announced in the schedule. There will be more notifications about this. A banner will be displayed on all wikis 30 minutes before this operation happens. '''Please share this information with your community.'''</div><section end="server-switch"/>
</div>
<span dir=ltr>[[m:User:Trizek (WMF)|Trizek (WMF)]] ([[m:User talk:Trizek (WMF)|{{int:talk}}]])</span> 21:20, 27 ਫ਼ਰਵਰੀ 2023 (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=24390465 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Wikimania 2023 Welcoming Program Submissions</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="wikimania-program-submissions"/>[[File:Wikimania Singapore Logo.svg|right|frameless]]Do you want to host an in-person or virtual session at Wikimania 2023? Maybe a hands-on workshop, a lively discussion, a fun performance, a catchy poster, or a memorable lightning talk? [[wmania:Special:MyLanguage/2023:Program/Submissions|'''Submissions are open until March 28''']]. The event will have dedicated hybrid blocks, so virtual submissions and pre-recorded content are also welcome. If you have any questions, please join us at an upcoming conversation on March 12 or 19, or reach out by email at wikimania@wikimedia.org or on Telegram. More information on-wiki.<section end="wikimania-program-submissions"/>
</div>
<!-- Message sent by User:CKoerner (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=24390465 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Seeking volunteers for the next step in the Universal Code of Conduct process</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
:''<div class="plainlinks">[[m:Special:MyLanguage/Universal Code of Conduct/U4C Building Committee/Nominations/Announcement|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Universal Code of Conduct/U4C Building Committee/Nominations/Announcement}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hello,
As follow-up to [https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@lists.wikimedia.org/message/IOMVS7W75ZYMABQGOQ2QH2JAURC3CHGH/ the message about the Universal Code of Conduct Enforcement Guidelines] by Wikimedia Foundation Board of Trustees Vice Chair, Shani Evenstein Sigalov, I am reaching out about the next steps. I want to bring your attention to the next stage of the Universal Code of Conduct process, which is forming a building committee for the Universal Code of Conduct Coordinating Committee (U4C). I invite community members with experience and deep interest in community health and governance to nominate themselves to be part of the U4C building committee, which needs people who are:
* Community members in good standing
* Knowledgeable about movement community processes, such as, but not limited to, policy drafting, participatory decision making, and application of existing rules and policies on Wikimedia projects
* Aware and appreciative of the diversity of the movement, such as, but not limited to, languages spoken, identity, geography, and project type
* Committed to participate for the entire U4C Building Committee period from mid-May - December 2023
* Comfortable with engaging in difficult, but productive conversations
* Confidently able to communicate in English
The Building Committee shall consist of volunteer community members, affiliate board or staff, and Wikimedia Foundation staff.
The Universal Code of Conduct has been a process strengthened by the skills and knowledge of the community and I look forward to what the U4C Building Committee creates. If you are interested in joining the Building Committee, please either [[m:Special:MyLanguage/Universal_Code_of_Conduct/U4C_Building_Committee/Nominations|sign up on the Meta-Wiki page]], or contact ucocproject[[File:At sign.svg|16x16px|link=|(_AT_)]]wikimedia.org by May 12, 2023. '''[[m:Special:MyLanguage/Universal_Code_of_Conduct/U4C_Building_Committee|Read more on Meta-Wiki]]'''.
Best regards,<br /><section end="announcement-content" />
</div>
[[User:Xeno (WMF)|Xeno (WMF)]] 19:00, 26 ਅਪਰੈਲ 2023 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=24941045 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Selection of the U4C Building Committee</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
The next stage in the Universal Code of Conduct process is establishing a Building Committee to create the charter for the Universal Code of Conduct Coordinating Committee (U4C). The Building Committee has been selected. [[m:Special:MyLanguage/Universal_Code_of_Conduct/U4C_Building_Committee|Read about the members and the work ahead on Meta-wiki]].<section end="announcement-content" />
</div>
-- [[m:Special:MyLanguage/Universal_Code_of_Conduct/Project|UCoC Project Team]], 04:20, 27 ਮਈ 2023 (UTC)
<!-- Message sent by User:RamzyM (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=25018085 -->
== ਵਿਕੀਬੁਕਸ ਦਾ ਲੋਗੋ ਅਤੇ ਨਾਮ ਬਦਲਣ ਸੰਬੰਧੀ ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ, ਮੈਂ ਵਿਕੀਬੁਕਸ ਪ੍ਰੋਜੈਕਟ ਦਾ ਲੋਗੋ ਅਤੇ ਨਾਮ ਬਦਲਣ ਲਈ ਚਰਚਾ ਸ਼ੁਰੂ ਕਰ ਰਿਹਾ ਹਾਂ। ਜਿਵੇਂ ਕਿ ਇਸਦਾ ਮੌਜੂਦਾ ਲੋਗੋ ਅੰਗਰੇਜ਼ੀ ਵਿੱਚ ਹੈ ਅਤੇ ਇਸਦਾ ਨਾਮ ਵੀ ਅੰਗਰੇਜ਼ੀ ਭਾਸ਼ਾ ਦਾ ਹੈ। ਮੇਰੇ ਖਿਆਲ ਵਿੱਚ ਇਸਨੂੰ '''ਵਿਕੀਕਿਤਾਬ''' ਹੋਣਾ ਸਹੀ ਹੋ ਸਕਦਾ ਹੈ। ਮੈਂ ਪੂਰੇ ਭਾਈਚਾਰੇ ਨੂੰ ਬੇਨਤੀ ਕਰਦਾ ਹਾਂ ਕਿ ਆਪਾਂ ਨੂੰ ਆਪਣੇ ਆਪਣੇ ਵਿਚਾਰ ਰੱਖਕੇ ਇੱਕ ਸਾਂਝੀ ਸਲਾਹ ਬਣਾਉਣੀ ਚਾਹੀਦੀ ਹੈ। ਧੰਨਵਾਦ। '''[[user:kuldeepburjbhalaike|<i style="color:#FF4500; font-family:sylfaen">KuldeepBurjBhalaike</i>]]''' <sup style="color:#FF4500; font-family:georgia">([[User_talk:Kuldeepburjbhalaike|Talk]])</sup> 08:00, 7 ਜੂਨ 2023 (UTC)
=== ਟਿੱਪਣੀਆਂ ===
# ਵਿਕੀਕਿਤਾਬ ਨਾਲੋਂ ਵਿਕੀਕਿਤਾਬਾਂ ਹੋਵੇ ਤਾਂ ਵਧੀਆ ਰਹੇਗਾ।
# ਬਹੁਤ ਸ਼ੁਕਰੀਆ ਕੁਲਦੀਪ ਜੀ, ਇਸ ਅਹਿਮ ਚੀਜ਼ ਨੂੰ ਧਿਆਨ ਨਾਲ ਦੇਖਣ ਲਈ ਅਤੇ ਇਸ ਸੰਬੰਧੀ ਚਰਚਾ ਚਲਾਉਣ ਲਈ। ਇਸ ਵਿੱਚ ਲੋਗੋ ਇੰਗਲਿੰਸ਼ ਵਿੱਚ ਹੈ, ਜੋ ਕਿ ਪੰਜਾਬੀ ਵਿੱਚ ਹੀ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ। ਉਪਰ ਕਿਤਾਬਾਂ ਦਾ ਨਿਸ਼ਾਨ ਚਾਹੇ ਇਹੀ ਰਹਿ ਜਾਵੇ ਕਿਉਂਕਿ ਇਹ ਅੰਤਰਰਾਸ਼ਟਰੀ ਮਾਨਤਾ ਪ੍ਰਾਪਤ ਨਿਸ਼ਾਨ ਹੈ। ਸਾਨੂੰ ਇਹ ਇਵੇਂ ਹੀ ਰੱਖਣਾ ਚਾਹੀਦਾ ਹੈ। ਵਿਕੀਬੁਕਸ ਦੀ ਬਜਾਏ '''ਵਿਕੀਕਿਤਾਬ''' ਠੀਕ ਹੈ। ਹਿੰਦੀ ਵਿਕੀਪੁਸਤਕ ਹੈ। ਉਹਨਾਂ ਨੇ ਹੇਠਾਂ '''मुक्त विश्व हेतु मुक्त पुस्तक''' ਲਿਖਿਆ ਹੈ। ਕਈ ਹੋਰਾਂ ਭਾਸ਼ਾਵਾਂ ਵਿੱਚ ਵੀ ਇਹੀ ਗੱਲ ਲਿਖੀ ਹੈ ਜਿਸ ਦਾ ਪ੍ਰਭਾਵ ਇਹ ਹੈ ਕਿ '''ਇਹ ਸੁਤੰਤਰ, ਬੰਧਨਾਂ ਤੋਂ ਮੁਕਤ ਕਿਤਾਬ ਹੈ। ਜਿਸ ਵਿੱਚ ਸਰਕਾਰ, ਪੈਸੇ, ਵਿਚਾਰਧਾਰਾ, ਇਲਾਕੇ, ਦੇਸ਼, ਸੰਸਾਧਨਾਂ ਦੇ ਬੰਧਨ ਸ਼ਾਮਲ ਹਨ।''' ਸਾਨੂੰ ਇਸ ਲਾਈਨ ਦਾ ਪੰਜਾਬੀ ਅਨੁਵਾਦ ਕਰਕੇ ਛਾਪਣਾ ਚਾਹੀਦਾ ਹੈ ਤਾਂ ਕਿ ਇਸ ਪ੍ਰੋਜੈਕਟ ਦਾ ਉਦੇਸ਼ ਸਪਸ਼ਟ ਨਜ਼ਰ ਆਵੇ। ਅਗਲੀ ਗੱਲ ਇਸ ਵਿਸ਼ੇ ਤੋਂ ਹਟ ਕੇ ਇਹ ਹੈ ਕਿ ਇਹ ਪ੍ਰੋਜੈਕਟ ਵਿਦਿਆਰਥੀਆਂ, ਅਧਿਆਪਕਾਂ ਦਾ ਸਿਰਫ਼ ਸ਼ੌਕ ਹੀ ਨਹੀਂ, ਲੋੜ ਵੀ ਪੂਰੀ ਕਰਦਾ ਹੈ। ਇਸ ਲਈ ਇਸ ਉੱਤੇ ਵੱਧ ਤੋਂ ਵੱਧ ਸੰਪਾਦਕਾਂ ਨੂੰ ਯੋਗਦਾਨ ਦੇਣਾ ਚਾਹੀਦਾ ਹੈ। ਇਸ ਉੱਤੇ ਕੰਮ ਕਰਨਾ ਹੋਰਾਂ ਪ੍ਰੋਜੈਕਟਾਂ ਦੇ ਮੁਕਾਬਲੇ ਕਾਫੀ ਆਸਾਨ ਵੀ ਹੈ। [[ਵਰਤੋਂਕਾਰ:Mulkh Singh|Mulkh Singh]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Mulkh Singh|ਗੱਲ-ਬਾਤ]]) 10:49, 10 ਜੂਨ 2023 (UTC)
# ਨਾਮ '''ਵਿਕੀਕਿਤਾਬਾਂ''' ਕਰਨ ਠੀਕ ਰਹੇਗਾ, ਕਿਉਂਕਿ ਅੰਗਰੇਜ਼ੀ ਵਿਕੀ ਉੱਤੇ ਵੀ ਇਹੀ ਲੋਗੋ ਹੈ ਇਸਲਈ ਲੋਗੋ ਇਹੀ ਠੀਕ ਹੈ - [[ਵਰਤੋਂਕਾਰ:Jagseer S Sidhu|Jagseer S Sidhu]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Jagseer S Sidhu|ਗੱਲ-ਬਾਤ]]) 07:43, 14 ਜੂਨ 2023 (UTC)
#:ਲੋਗੋ ਦਾ ਆਈਕਨ ਤਾਂ ਸਹੀ ਹੈ ਬਾਈ ਪਰ ਲੋਗੋ ਵਿੱਚ Wikibooks ਨੂੰ ਪੰਜਾਬੀ ਵਿੱਚ ਲਿਖਣਾ ਹੀ ਸਹੀ ਹੋਵੇਗਾ। '''[[user:kuldeepburjbhalaike|<i style="color:#FF4500; font-family:sylfaen">KuldeepBurjBhalaike</i>]]''' <sup style="color:#FF4500; font-family:georgia">([[User_talk:Kuldeepburjbhalaike|Talk]])</sup> 04:54, 15 ਜੂਨ 2023 (UTC)
== To install Quiz extension ==
ਵਿਕੀਬੁਕਸ ਸਾਨੂੰ ਕਿਤਾਬ ਨੂੰ ਪੜ੍ਹਨ ਦੇ ਨਾਲ ਨਾਲ ਸਿੱਖੀ ਹੋਈ ਚੀਜ਼ ਦਾ ਅਭਿਆਸ ਕਰਨ ਦਾ ਮੌਕਾ ਵੀ ਮਿਲ ਜਾਂਦਾ ਹੈ, ਇਹ ਅਭਿਆਸ [[:b:Help:Quizzes|Quiz extension]] ਦੀ ਮਦਦ ਨਾਲ ਬਹੁਤ ਆਸਾਨ ਬਣਾਇਆ ਜਾ ਸਕਦਾ ਹੈ। ਇਹ extension ਅੰਗਰੇਜ਼ੀ ਵਿਕੀਬੁਕਸ ਦੇ ਨਾਲ ਹੋਰ ਕਈ ਪ੍ਰੋਜੈਕਟਾਂ ਉੱਪਰ ਮੌਜੂਦ ਹੈ ਪਰ ਪੰਜਾਬੀ ਵਿਕੀਬੁਕਸ ਉੱਤੇ ਇਹ ਮੌਜੂਦ ਨਹੀਂ ਹੈ। ਇਸਨੂੰ ਪੰਜਾਬੀ ਵਿਕੀਬੁਕਸ ਉੱਤੇ install ਕੀਤਾ ਜਾਣਾ ਚਾਹੀਦਾ ਹੈ ਜਾਂ ਨਹੀਂ ਆਪਣਾ ਸੁਝਾਅ ਜ਼ਰੂਰ ਦਿਓ। '''[[user:kuldeepburjbhalaike|<i style="color:#FF4500; font-family:sylfaen">KuldeepBurjBhalaike</i>]]''' <sup style="color:#FF4500; font-family:georgia">([[User_talk:Kuldeepburjbhalaike|Talk]])</sup> 08:52, 28 ਜੂਨ 2023 (UTC)
===ਸਮਰਥਨ===
# {{support}} '''[[user:kuldeepburjbhalaike|<i style="color:#FF4500; font-family:sylfaen">KuldeepBurjBhalaike</i>]]''' <sup style="color:#FF4500; font-family:georgia">([[User_talk:Kuldeepburjbhalaike|Talk]])</sup> 05:08, 29 ਜੂਨ 2023 (UTC)
# {{support}} [[ਵਰਤੋਂਕਾਰ:Mulkh Singh|Mulkh Singh]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Mulkh Singh|ਗੱਲ-ਬਾਤ]]) 05:22, 29 ਜੂਨ 2023 (UTC)
# {{support}} [[ਵਰਤੋਂਕਾਰ:Charan Gill|Charan Gill]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Charan Gill|ਗੱਲ-ਬਾਤ]]) 06:33, 29 ਜੂਨ 2023 (UTC)
# {{support}}[[ਵਰਤੋਂਕਾਰ:Gurtej Chauhan|Gurtej Chauhan]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Gurtej Chauhan|ਗੱਲ-ਬਾਤ]]) 07:49, 29 ਜੂਨ 2023 (UTC)
# {{support}} [[ਵਰਤੋਂਕਾਰ:Manveerburj|Manveerburj]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Manveerburj|ਗੱਲ-ਬਾਤ]]) 12:03, 29 ਜੂਨ 2023 (UTC)
===ਵਿਰੋਧ===
===ਟਿੱਪਣੀ===
# ਅੰਗਰੇਜ਼ੀ ਪੰਨੇ ਦਾ ਲਿੰਕ ਸਾਂਝਾ ਕਰ ਸਕਦੇ ਹੋ ਤਾਂ ਕਰਨਾ। ਤਾਂ ਕਿ ਇਹ ਹੋਰ ਸਪਸ਼ਟਤਾ ਨਾਲ ਦੇਖੀ ਜਾ ਸਕੇ।[[ਵਰਤੋਂਕਾਰ:Mulkh Singh|Mulkh Singh]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Mulkh Singh|ਗੱਲ-ਬਾਤ]]) 05:24, 29 ਜੂਨ 2023 (UTC)
Okay. ਮਿਲ ਗਿਆ ਤੁਹਾਡੀ ਪੋਸਟ ਵਿੱਚ ਹੀ। [[ਵਰਤੋਂਕਾਰ:Mulkh Singh|Mulkh Singh]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Mulkh Singh|ਗੱਲ-ਬਾਤ]]) 05:26, 29 ਜੂਨ 2023 (UTC)
== <span lang="en" dir="ltr" class="mw-content-ltr"> Announcing the new Elections Committee members</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/Wikimedia Foundation elections committee/Nominatons/2023/Announcement - new members|You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation elections committee/Nominatons/2023/Announcement - new members|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation elections committee/Nominatons/2023/Announcement - new members}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hello there,
We are glad to announce [[listarchive:list/wikimedia-l@lists.wikimedia.org/message/4TALOUFPAP2VDBR27GKRVOP7IGQYU3DB/|the new members and advisors of the Elections Committee]]. The [[m:Special:MyLanguage/Wikimedia_Foundation_elections_committee|Elections Committee]] assists with the design and implementation of the process to select Community- and Affiliate-Selected trustees for the Wikimedia Foundation Board of Trustees. After an open nomination process, the strongest candidates spoke with the Board and four candidates were asked to join the Elections Committee. Four other candidates were asked to participate as advisors.
Thank you to all the community members who submitted their names for consideration. We look forward to working with the Elections Committee in the near future.
On behalf of the Wikimedia Foundation Board of Trustees,<br /><section end="announcement-content" />
</div>
[[m:User:RamzyM (WMF)|RamzyM (WMF)]] 17:59, 28 ਜੂਨ 2023 (UTC)
<!-- Message sent by User:RamzyM (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=25018085 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Review the Charter for the Universal Code of Conduct Coordinating Committee</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
:''<div class="plainlinks">[[m:Special:MyLanguage/Universal Code of Conduct/U4C Building Committee/Announcement - Review|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Universal Code of Conduct/U4C Building Committee/Announcement - Review}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hello all,
I am pleased to share the next step in the [[foundation:Special:MyLanguage/Policy:Universal Code of Conduct|Universal Code of Conduct]] work. The [[m:Special:MyLanguage/Universal Code of Conduct/Coordinating Committee/Charter|Universal Code of Conduct Coordinating Committee (U4C) draft charter]] is now ready for your review.
The [[foundation:Special:MyLanguage/Policy:Universal Code of Conduct/Enforcement guidelines|Enforcement Guidelines]] require a [[foundation:Special:MyLanguage/Policy:Universal_Code_of_Conduct/Enforcement_guidelines#4.5_U4C_Building_Committee|Building Committee]] form to draft a charter that outlines procedures and details for a global committee to be called the [[foundation:Special:MyLanguage/Policy:Universal_Code_of_Conduct/Enforcement_guidelines#4._UCoC_Coordinating_Committee_(U4C)|Universal Code of Conduct Coordinating Committee (U4C)]]. Over the past few months, the U4C Building Committee worked together as a group to discuss and draft the U4C charter. The U4C Building Committee welcomes feedback about the draft charter now through 22 September 2023. After that date, the U4C Building Committee will revise the charter as needed and a community vote will open shortly afterward.
Join the conversation during the [[m:Special:MyLanguage/Universal Code of Conduct/U4C Building Committee#Conversation hours|conversation hours]] or on [[m:Talk:Universal Code of Conduct/Coordinating Committee/Charter|Meta-wiki]].
Best,<br /><section end="announcement-content" />
</div>
[[m:User:RamzyM (WMF)|RamzyM (WMF)]], on behalf of the U4C Building Committee, 15:35, 28 ਅਗਸਤ 2023 (UTC)
<!-- Message sent by User:RamzyM (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=25392152 -->
== Announcing Indic Wikimedia Hackathon 2023 and Invitation to Participate ==
Dear Wikimedians,
The [[:m:Indic_MediaWiki_Developers_User_Group|Indic MediaWiki Developers User Group]] is happy to announce '''Indic Wikimedia Hackathon 2023 on 16-17 December 2023 in Pondicherry, India'''.
The event is for everyone who contributes to Wikimedia’s technical spaces code developers, maintainers, translators, designers, technical writers and other related technical aspects. Along with that, contributors who don't necessarily contribute to technical spaces but have good understanding of issues on wikis and can work with developers in addressing them can join too. You can come with a project in mind, join an existing project, or create something new with others. The goal of this event is to bring together technical contributors from India to resolve pending technical issues, bugs, brainstorm on tooling ideas, and foster connections between contributors.
We have scholarships to support participation of contributors residing in India. The '''scholarship form can be filled at https://docs.google.com/forms/d/e/1FAIpQLSd_Qqctj7I87QfYt5imc6iPcGPWuPfncCOyAd_OMbGiqxzxhQ/viewform?usp=sf_link and will close at 23:59 hrs on 15 October 2023 (Sunday) [IST].'''
Please reach out to contact{{@}}indicmediawikidev.org if you have any questions or need support.
Best, Indic MediaWiki Developers UG, 04:40, 4 ਅਕਤੂਬਰ 2023 (UTC)
<!-- Message sent by User:KCVelaga@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/South_Asia_Village_Pumps&oldid=25696853 -->
== Opportunities open for the Affiliations Committee, Ombuds commission, and the Case Review Committee ==
<section begin="announcement-content" />
<div style="margin:.2em 0 .5em;margin-{{#switch:{{PAGELANGUAGE}}|ar|arc|ary|arz|azb|bcc|bgn|ckb|bqi|dv|fa|fa-af|glk|ha-arab|he|kk-arab|kk-cn|ks|ku-arab|ms-arab|mzn|pnb|prd|ps|sd|ug|ur|ydd|yi=right|left}}:3ex;">
[[m:Special:MyLanguage/Wikimedia Foundation Legal department/Committee appointments/Announcement/Short|"ਤੁਸੀਂ ਇਸ ਸੰਦੇਸ਼ ਨੂੰ ਮੈਟਾ-ਵਿਕੀ ਉੱਤੇ ਹੋਰ ਭਾਸ਼ਾਵਾਂ ਵਿੱਚ ਅਨੁਵਾਦ ਕੀਤਾ ਹੋਇਆ ਲੱਭ ਸਕਦੇ ਹੋ।"]]
''<span class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation Legal department/Committee appointments/Announcement/Short|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation Legal department/Committee appointments/Announcement/Short}}&language=&action=page&filter= {{int:please-translate}}]</span>''</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Hi everyone! The [[m:Special:MyLanguage/Affiliations Committee|Affiliations Committee]] (AffCom), [[m:Special:MyLanguage/Ombuds_commission|Ombuds commission]] (OC), and the [[m:Special:MyLanguage/Trust_and_Safety/Case_Review_Committee|Case Review Committee]] (CRC) are looking for new members. These volunteer groups provide important structural and oversight support for the community and movement. People are encouraged to nominate themselves or encourage others they feel would contribute to these groups to apply. There is more information about the roles of the groups, the skills needed, and the opportunity to apply on the [[m:Special:MyLanguage/Wikimedia Foundation Legal department/Committee appointments|'''Meta-wiki page''']].
</div>
ਕਮੇਟੀ ਦੀ ਸਹਾਇਤਾ ਟੀਮ ਵੱਲੋਂ<br /><section end="announcement-content" />
<div lang="en" dir="ltr" class="mw-content-ltr">
~ [[m:User:Keegan (WMF)|Keegan (WMF)]] ([[m:User talk:Keegan (WMF)|talk]]) 16:41, 9 ਅਕਤੂਬਰ 2023 (UTC) </div>
<!-- Message sent by User:Keegan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=25570445 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Review and comment on the 2024 Wikimedia Foundation Board of Trustees selection rules package</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/wiki/Wikimedia Foundation elections/2024/Announcement/Rules package review - short| You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/wiki/Wikimedia Foundation elections/2024/Announcement/Rules package review - short|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:wiki/Wikimedia Foundation elections/2024/Announcement/Rules package review - short}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Dear all,
Please review and comment on the Wikimedia Foundation Board of Trustees selection rules package from now until 29 October 2023. The selection rules package was based on older versions by the Elections Committee and will be used in the 2024 Board of Trustees selection. Providing your comments now will help them provide a smoother, better Board selection process. [[m:Special:MyLanguage/Wikimedia Foundation elections/2024|More on the Meta-wiki page]].
Best,
Katie Chan <br>
Chair of the Elections Committee<br /><section end="announcement-content" />
</div>
01:12, 17 ਅਕਤੂਬਰ 2023 (UTC)
<!-- Message sent by User:RamzyM (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=25570445 -->
== The Vector 2022 skin as the default in two weeks? ==
<div lang="en" dir="ltr" class="mw-content-ltr">
''[[mw:Special:MyLanguage/Reading/Web/Desktop Improvements/Updates/2023-10 for sister projects|Read this in your language]] • <span class=plainlinks>[https://mediawiki.org/w/index.php?title=Special:Translate&group=page-Reading%2FWeb%2FDesktop+Improvements%2FUpdates%2F2023-10+for+sister+projects&language=&action=page&filter= {{Int:please-translate}}]</span> • Please tell other users about these changes''
Hello. I'm writing on behalf of the [[mw:Reading/Web|Wikimedia Foundation Web team]]. '''In two weeks, we would like to make the Vector 2022 skin the default on this wiki.'''
[[File:Desktop Improvements - how to enable globally.png|thumb|[[Special:GlobalPreferences|{{int:globalpreferences}}]]]]
'''If you prefer keeping the current skin''' select "Vector legacy (2010)" on [[Special:GlobalPreferences#mw-prefsection-rendering|the appearance tab of the global preferences]] and save the change. We encourage you to give the new skin a try, though.
Since I last came to you with this question, many things have changed. The skin is now the default on most Wikipedias, and all logos are done! We have also made some tweaks in the skin itself. Below is the text I've sent to you once, but I'm sending it again, just slightly edited, for those who haven't seen it.
If you know what this is about, jump straight to the section "Our plan":
<div style="margin-left:.5em; border-left:3px dotted #a2a9b1; padding-left:.5em;">
It would become the default for all logged-out users, and also all logged-in users who currently use Vector legacy as a [[Special:Preferences#mw-prefsection-rendering|local]] (but not global) preference. Logged-in users can at any time switch to any other skin. No changes are expected for these skins.
<div style="width:100%; margin:auto;"><gallery widths="250" heights="180" mode="packed" caption="Top of an article">
Screenshot Historia da moeda do Tíbet - 2022-09-22 - Vector 2010 top.png|Vector legacy (current default)
Screenshot Historia da moeda do Tíbet - 2022-09-22 - Vector 2022 top.png|Vector 2022
</gallery><gallery widths="250" heights="180" mode="packed" caption="A section of an article">
Screenshot Historia da moeda do Tíbet - 2022-09-22 - Vector 2010 scrolled.png|Vector legacy (current default)
Screenshot Historia da moeda do Tíbet - 2022-09-22 - Vector 2022 scrolled.png|Vector 2022
</gallery></div>
=== About the skin ===
[[File:Wikimania 2022 Vector (2022) Presentation.pdf|thumb|Slides to our Wikimania 2022 presentation. [https://www.youtube.com/watch?v=yC-ItaXDe2A You may also listen to the recording on YouTube (in English)].]]
'''[Why is a change necessary]''' When the current default skin was created, it reflected the needs of the readers and editors as these were 14 years ago. Since then, new users have begun using the Internet and Wikimedia projects in different ways. [[wmfblog:2022/08/18/prioritizing-equity-within-wikipedias-new-desktop/|The old Vector does not meet their needs]].
'''[Objective]''' The objective for the Vector 2022 skin is to make the interface more welcoming and comfortable for readers and useful for advanced users. It introduces a series of changes that aim to improve problems new and existing readers and editors were having with the old skin. It draws inspiration from previous user requests, the [[metawiki:Special:MyLanguage/Community_Wishlist_Survey|Community Wishlist Surveys]], and gadgets and scripts. The work helped our code follow the standards and improve all other skins. [[phab:phame/post/view/290/how_and_why_we_moved_our_skins_to_mustache/|The PHP code in the other available skins has been reduced by 75%]]. The project has also focused on making it easier to support gadgets and use APIs.
[[File:Screenshot of the Vector-2022 skin's fullscreen toggle.png|thumb]]
'''[Changes in a nutshell]''' The skin introduces changes that improve readability and usability. The new skin does not remove any functionality currently available on the Vector skin.
* The limited width and pin-able menus allow to adjust the interface to the screen size, and focus on editing or reading. Logged-in and logged-out users may use a toggle button to keep the full width, though.
* The sticky header makes it easier to find tools that editors use often. It decreases scrolling to the top of the page by 16%.
* The new table of contents makes it easier to navigate to different sections. Readers and editors jump to different sections of the page 50% more than with the old table of contents. It also looks a bit different on talk pages.
* The new search bar is easier to find and makes it easier to find the correct search result from the list. This increased the amount of searches started by 30% on the tested wikis.
* The skin does not negatively affect pageviews, edit rates, or account creation. There is evidence of increases in pageviews and account creation across partner communities.
'''[Customize this skin]''' It's possible to configure and personalize our changes. We support volunteers who create new gadgets and user scripts. Check out [[mw:Special:MyLanguage/Reading/Web/Desktop Improvements/Repository|the repository]] for a list of currently available customizations and changes, or add your own.
</div>
=== Our plan ===
'''If no large concerns are raised, we plan on deploying on 31 October'''. If you'd like to ask our team anything, if you have questions, concerns, or additional thoughts, please comment in any language. If this is the first comment to my message, make sure to ping me. We will gladly answer! Also, check out [[mw:Reading/Web/Desktop Improvements/Frequently asked questions|our FAQ]]. Thank you! [[User:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ([[User talk:SGrabarczuk (WMF)|<span class="signature-talk">ਗੱਲ-ਬਾਤ</span>]]) 23:52, 18 ਅਕਤੂਬਰ 2023 (UTC)
</div>
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:SGrabarczuk_(WMF)/sandbox/MM/Varia&oldid=25764915 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Vote on the Charter for the Universal Code of Conduct Coordinating Committee</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/wiki/Universal Code of Conduct/Coordinating Committee/Charter/Announcement - voting opens|You can find this message translated into additional languages on Meta-wiki.]] [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:wiki/Universal Code of Conduct/Coordinating Committee/Charter/Announcement - voting opens}}&language=&action=page&filter= {{int:please-translate}}]''
Hello all,
I am reaching out to you today to announce that the voting period for the [[m:Special:MyLanguage/Universal Code of Conduct/Coordinating Committee|Universal Code of Conduct Coordinating Committee]] (U4C) Charter is now open. Community members may [[m:Special:MyLanguage/Universal_Code_of_Conduct/Coordinating_Committee/Charter/Voter_information|cast their vote and provide comments about the charter via SecurePoll]] now through '''2 February 2024'''. Those of you who voiced your opinions during the development of the [[foundation:Special:MyLanguage/Policy:Universal_Code_of_Conduct/Enforcement_guidelines|UCoC Enforcement Guidelines]] will find this process familiar.
The [[m:Special:MyLanguage/Universal Code of Conduct/Coordinating Committee/Charter|current version of the U4C Charter]] is on Meta-wiki with translations available.
Read the charter, go vote and share this note with others in your community. I can confidently say the U4C Building Committee looks forward to your participation.
On behalf of the UCoC Project team,<section end="announcement-content" />
</div>
[[m:User:RamzyM (WMF)|RamzyM (WMF)]] 18:07, 19 ਜਨਵਰੀ 2024 (UTC)
<!-- Message sent by User:RamzyM (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=25853527 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Last days to vote on the Charter for the Universal Code of Conduct Coordinating Committee</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/wiki/Universal Code of Conduct/Coordinating Committee/Charter/Announcement - voting reminder|You can find this message translated into additional languages on Meta-wiki.]] [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:wiki/Universal Code of Conduct/Coordinating Committee/Charter/Announcement - voting reminder}}&language=&action=page&filter= {{int:please-translate}}]''
Hello all,
I am reaching out to you today to remind you that the voting period for the [[m:Special:MyLanguage/Universal Code of Conduct/Coordinating Committee|Universal Code of Conduct Coordinating Committee]] (U4C) charter will close on '''2 February 2024'''. Community members may [[m:Special:MyLanguage/Universal_Code_of_Conduct/Coordinating_Committee/Charter/Voter_information|cast their vote and provide comments about the charter via SecurePoll]]. Those of you who voiced your opinions during the development of the [[foundation:Special:MyLanguage/Policy:Universal_Code_of_Conduct/Enforcement_guidelines|UCoC Enforcement Guidelines]] will find this process familiar.
The [[m:Special:MyLanguage/Universal Code of Conduct/Coordinating Committee/Charter|current version of the U4C charter]] is on Meta-wiki with translations available.
Read the charter, go vote and share this note with others in your community. I can confidently say the U4C Building Committee looks forward to your participation.
On behalf of the UCoC Project team,<section end="announcement-content" />
</div>
[[m:User:RamzyM (WMF)|RamzyM (WMF)]] 16:59, 31 ਜਨਵਰੀ 2024 (UTC)
<!-- Message sent by User:RamzyM (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=25853527 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Announcing the results of the UCoC Coordinating Committee Charter ratification vote</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/wiki/Universal Code of Conduct/Coordinating Committee/Charter/Announcement - results|You can find this message translated into additional languages on Meta-wiki.]] [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:wiki/Universal Code of Conduct/Coordinating Committee/Charter/Announcement - results}}&language=&action=page&filter= {{int:please-translate}}]''
Dear all,
Thank you everyone for following the progress of the Universal Code of Conduct. I am writing to you today to announce the outcome of the [[m:Special:MyLanguage/Universal_Code_of_Conduct/Coordinating_Committee/Charter/Voter_information|ratification vote]] on the [[m:Special:MyLanguage/Universal Code of Conduct/Coordinating Committee/Charter|Universal Code of Conduct Coordinating Committee Charter]]. 1746 contributors voted in this ratification vote with 1249 voters supporting the Charter and 420 voters not. The ratification vote process allowed for voters to provide comments about the Charter.
A report of voting statistics and a summary of voter comments will be published on Meta-wiki in the coming weeks.
Please look forward to hearing about the next steps soon.
On behalf of the UCoC Project team,<section end="announcement-content" />
</div>
[[m:User:RamzyM (WMF)|RamzyM (WMF)]] 18:23, 12 ਫ਼ਰਵਰੀ 2024 (UTC)
<!-- Message sent by User:RamzyM (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=26160150 -->
== <span lang="en" dir="ltr" class="mw-content-ltr"> Report of the U4C Charter ratification and U4C Call for Candidates now available</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/Universal Code of Conduct/Coordinating Committee/Election/2024/Announcement – call for candidates| You can find this message translated into additional languages on Meta-wiki.]] [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Universal Code of Conduct/Coordinating Committee/Election/2024/Announcement – call for candidates}}&language=&action=page&filter= {{int:please-translate}}]''
Hello all,
I am writing to you today with two important pieces of information. First, the [[m:Special:MyLanguage/Universal Code of Conduct/Coordinating Committee/Charter/Vote results|report of the comments from the Universal Code of Conduct Coordinating Committee (U4C) Charter ratification]] is now available. Secondly, the call for candidates for the U4C is open now through April 1, 2024.
The [[m:Special:MyLanguage/Universal Code of Conduct/Coordinating Committee|Universal Code of Conduct Coordinating Committee]] (U4C) is a global group dedicated to providing an equitable and consistent implementation of the UCoC. Community members are invited to submit their applications for the U4C. For more information and the responsibilities of the U4C, please [[m:Special:MyLanguage/Universal Code of Conduct/Coordinating Committee/Charter|review the U4C Charter]].
Per the charter, there are 16 seats on the U4C: eight community-at-large seats and eight regional seats to ensure the U4C represents the diversity of the movement.
Read more and submit your application on [[m:Special:MyLanguage/Universal Code of Conduct/Coordinating Committee/Election/2024|Meta-wiki]].
On behalf of the UCoC project team,<section end="announcement-content" />
</div>
[[m:User:RamzyM (WMF)|RamzyM (WMF)]] 16:25, 5 ਮਾਰਚ 2024 (UTC)
<!-- Message sent by User:RamzyM (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=26276337 -->
== <span lang="en" dir="ltr" class="mw-content-ltr"> Wikimedia Foundation Board of Trustees 2024 Selection</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
: ''[[m:Special:MyLanguage/Wikimedia Foundation elections/2024/Announcement/Selection announcement| You can find this message translated into additional languages on Meta-wiki.]]''
: ''<div class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation elections/2024/Announcement/Selection announcement|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation elections/2024/Announcement/Selection announcement}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Dear all,
This year, the term of 4 (four) Community- and Affiliate-selected Trustees on the Wikimedia Foundation Board of Trustees will come to an end [1]. The Board invites the whole movement to participate in this year’s selection process and vote to fill those seats.
The [[m:Special:MyLanguage/Wikimedia Foundation elections committee|Elections Committee]] will oversee this process with support from Foundation staff [2]. The Board Governance Committee created a Board Selection Working Group from Trustees who cannot be candidates in the 2024 community- and affiliate-selected trustee selection process composed of Dariusz Jemielniak, Nataliia Tymkiv, Esra'a Al Shafei, Kathy Collins, and Shani Evenstein Sigalov [3]. The group is tasked with providing Board oversight for the 2024 trustee selection process, and for keeping the Board informed. More details on the roles of the Elections Committee, Board, and staff are here [4].
Here are the key planned dates:
* May 2024: Call for candidates and call for questions
* June 2024: Affiliates vote to shortlist 12 candidates (no shortlisting if 15 or less candidates apply) [5]
* June-August 2024: Campaign period
* End of August / beginning of September 2024: Two-week community voting period
* October–November 2024: Background check of selected candidates
* Board's Meeting in December 2024: New trustees seated
Learn more about the 2024 selection process - including the detailed timeline, the candidacy process, the campaign rules, and the voter eligibility criteria - on [[m:Special:MyLanguage/Wikimedia Foundation elections/2024|this Meta-wiki page]], and make your plan.
'''Election Volunteers'''
Another way to be involved with the 2024 selection process is to be an Election Volunteer. Election Volunteers are a bridge between the Elections Committee and their respective community. They help ensure their community is represented and mobilize them to vote. Learn more about the program and how to join on this [[m:Special:MyLanguage/Wikimedia Foundation elections/2024/Election Volunteers|Meta-wiki page]].
Best regards,
[[m:Special:MyLanguage/User:Pundit|Dariusz Jemielniak]] (Governance Committee Chair, Board Selection Working Group)
[1] https://meta.wikimedia.org/wiki/Special:MyLanguage/Wikimedia_Foundation_elections/2021/Results#Elected
[2] https://foundation.wikimedia.org/wiki/Committee:Elections_Committee_Charter
[3] https://foundation.wikimedia.org/wiki/Minutes:2023-08-15#Governance_Committee
[4] https://meta.wikimedia.org/wiki/Wikimedia_Foundation_elections_committee/Roles
[5] Even though the ideal number is 12 candidates for 4 open seats, the shortlisting process will be triggered if there are more than 15 candidates because the 1-3 candidates that are removed might feel ostracized and it would be a lot of work for affiliates to carry out the shortlisting process to only eliminate 1-3 candidates from the candidate list.<section end="announcement-content" />
</div>
[[User:MPossoupe_(WMF)|MPossoupe_(WMF)]]19:56, 12 ਮਾਰਚ 2024 (UTC)
<!-- Message sent by User:MPossoupe (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=26349432 -->
cm1ikwptmjik74kyz4t2j6e0llhs2ce
ਫਰਮਾ:ਮਿਟਾਓ
10
2230
3888
2012-11-09T19:44:03Z
Raj Singh
770
ਰਾਜੇਂਦਰਾ ਸਿੰਘ moved page [[ਫਰਮਾ:ਮਿਟਾਓ]] to [[ਫਰਮਾ:ਹਟਾਓ]]
wikitext
text/x-wiki
#REDIRECT [[ਫਰਮਾ:ਹਟਾਓ]]
718w4245tgbon97la8bppw08dwia5hs
ਫਰਮਾ:ਮਿਟਾਓ/doc
10
2231
3891
2012-11-09T19:46:28Z
Raj Singh
770
ਰਾਜੇਂਦਰਾ ਸਿੰਘ moved page [[ਫਰਮਾ:ਮਿਟਾਓ/doc]] to [[ਫਰਮਾ:ਹਟਾਓ/doc]]
wikitext
text/x-wiki
#REDIRECT [[ਫਰਮਾ:ਹਟਾਓ/doc]]
3f9j3h8nbfx88izqcm4vksftei07fcd
Wikibooks:ਕਮਿਊਨਟੀ ਪੋਰਟਲ
4
2232
3895
2012-11-16T14:25:45Z
Itar buttar
745
ਰੀਡਿਰੈਕਟ
wikitext
text/x-wiki
#redirect [[Wikibooks:ਸੱਥ]]
ena3xxs0oysvpbava50a7zqd2wndxza
ਫਰਮਾ:ਨਹੀਂ
10
2235
3906
2012-12-08T18:17:27Z
Zarienah
769
"[[File:X mark.svg|{{{1|20}}}px|link=|alt=]]<span style="display:none">ਨਾਂਹ</span><!--template:cross--><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
[[File:X mark.svg|{{{1|20}}}px|link=|alt=]]<span style="display:none">ਨਾਂਹ</span><!--template:cross--><noinclude>
{{documentation}}
</noinclude>
1be371ub2oztnc2e358orq1f099f6yc
ਫਰਮਾ:ਹਾਂ
10
2236
3925
2012-12-09T15:36:32Z
Babanwalia
768
"[[File:Symbol OK.svg|{{{1|20}}}px|link=|alt=]]<span style="display:none">ਹਾਂ</span><!--template:cross--><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
[[File:Symbol OK.svg|{{{1|20}}}px|link=|alt=]]<span style="display:none">ਹਾਂ</span><!--template:cross--><noinclude>
{{documentation}}
</noinclude>
55ots6tf22g0sehdzl5ec1k5t0fbrn3
ਬਲੌਰ
0
2399
4207
4206
2015-01-26T15:34:32Z
Harchand Bhinder
940
wikitext
text/x-wiki
ਇਹ ਇਕ ਪ੍ਰਕਾਰ ਦੀਆਂ ਕੱਚ ਦੀਆਂ ਗੋਲ ਗੋਲੀਆਂ ਹੁੰਦੀਆਂ ਹਨ. ਇਹਨਾਂ ਵਿੱਚ ਰੰਗ ਬਰੰਗੀਆਂ ਧਾਰੀਆਂ ਹੁੰਦੀਆਂ ਹਨ. ਇਹਨਾਂ ਬੰਟੇ ਵੀ ਕਿਹਾ ਜਾਂਦਾ ਹੈ. ਪੰਜਾਬ ਵਿੱਚ ਇਹਨਾਂ ਖਾਸ ਤੌਰ ਤੇ ਨਿਸ਼ਾਨੇ ਲਾਉਣ ਖੇਡਿਆ ਜਾਂਦਾ ਹੈ.
2s9nr33orfakjyi8cenw07ju99pv0jb
ਫਰਮਾ:FlowMention
10
2436
4296
2015-08-03T23:36:40Z
Flow talk page manager
1246
/* Automatically created by Flow */
wikitext
text/x-wiki
@[[ਵਰਤੋਂਕਾਰ:{{{1|Example}}}|{{{2|{{{1|Example}}}}}}]]
lwd92tqo6ftzq5dqs10nhb4fq8w1ug7
ਫਰਮਾ:LQT Moved thread stub converted to Flow
10
2451
4316
2015-10-02T20:08:28Z
Flow talk page manager
1246
/* Automatically created by Flow */
wikitext
text/x-wiki
This post by {{{author}}} was moved on {{{date}}}. You can find it at [[{{{title}}}]].
e5j16chw2130kmdotptl65jvxa6lw5w
ਫਰਮਾ:LQT page converted to Flow
10
2452
4317
2015-10-02T20:08:28Z
Flow talk page manager
1246
/* Automatically created by Flow */
wikitext
text/x-wiki
Previous page history was archived for backup purposes at <span class='flow-link-to-archive'>[[{{{archive}}}]]</span> on {{#time: Y-m-d|{{{date}}}}}.
njhr9sbh7lx81p2xfwikn7amdd3n1zn
ਫਰਮਾ:Archive for converted LQT page
10
2453
4318
2015-10-02T20:08:28Z
Flow talk page manager
1246
/* Automatically created by Flow */
wikitext
text/x-wiki
This page is an archived LiquidThreads page. '''Do not edit the contents of this page'''. Please direct any additional comments to the [[{{{from}}}|current talk page]].
nigyidinm7czjt0s9dq851dwhckapia
ਫਰਮਾ:LQT post imported with supressed user
10
2454
4319
2015-10-02T20:08:28Z
Flow talk page manager
1246
/* Automatically created by Flow */
wikitext
text/x-wiki
This revision was imported from LiquidThreads with a suppressed user. It has been reassigned to the current user.
1pswkbcu7hauadd98nklgf3pku080ee
ਫਰਮਾ:LQT post imported with different signature user
10
2455
4320
2015-10-02T20:08:29Z
Flow talk page manager
1246
/* Automatically created by Flow */
wikitext
text/x-wiki
''This post was posted by [[User:{{{authorUser}}}|{{{authorUser}}}]], but signed as [[User:{{{signatureUser}}}|{{{signatureUser}}}]].''
gr9xg2oo9p9alcaf8usi587bcmsi65s
ਫਰਮਾ:Wikitext talk page converted to Flow
10
2456
4321
2015-10-02T20:08:29Z
Flow talk page manager
1246
/* Automatically created by Flow */
wikitext
text/x-wiki
Previous discussion was archived at <span class='flow-link-to-archive'>[[{{{archive}}}]]</span> on {{#time: Y-m-d|{{{date}}}}}.
ccusakfp9y2sl227h5sbt4ok1ptcsxi
ਫਰਮਾ:Archive for converted wikitext talk page
10
2457
4322
2015-10-02T20:08:29Z
Flow talk page manager
1246
/* Automatically created by Flow */
wikitext
text/x-wiki
This page is an archive. '''Do not edit the contents of this page'''. Please direct any additional comments to the [[{{{from|{{TALKSPACE}}:{{BASEPAGENAME}}}}}|current talk page]].
hd1xxik7k0u7gcb9oq9ddgh20zmhpy4
ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਅਤੇ ਇਸਦੀਆਂ ਬੋਲੀਆਂ
0
2458
5322
4764
2022-11-29T21:07:44Z
Suyash.dwivedi
1854
/* ਸਮੱਗਰੀ */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
{| width=800px align="center" style="border: transparent 0px solid; background-color: transparent"
| width=65% valign="top" align="center" |
<br />
[[File:Seal of Punjab.svg|x300px]]
[[File:Coat_of_arms_of_Punjab.svg|x300px]]
<br />
|}
__NOTOC__
== ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਅਤੇ ਇਸਦੀਆਂ ਬੋਲੀਆਂ (content) ==
=== ਸਮੱਗਰੀ ===
* ਜਾਣ-ਪਛਾਣ:
** [[/ਨਾਮ|ਨਾਮ]]
** [[/ਕਿੱਥੇ ਬੋਲੀ ਜਾਂਦੀ ਹੈ|ਕਿਥੇ ਬੋਲੀ ਜਾਂਦੀ ਹੈ]]
** [[/ਹੱਦਾਂ|ਹੱਦਾਂ]]
** [[/ਬੁਲਾਰੇ|ਬੁਲਾਰੇ]]
** [[/ਗੁਆਂਢੀ ਭਾਸ਼ਾਵਾਂ ਨਾਲ ਸੰਬੰਧ|ਗੁਆਂਢੀ ਭਾਸ਼ਾਵਾਂ ਨਾਲ ਸੰਬੰਧ]]
** [[/ਸਾਹਿਤ|ਸਾਹਿਤ]]
** [[/ਲਿਖਿਤ ਅੱਖਰ|ਲਿਖਿਤ ਅੱਖਰ]]
** [[ਵਿਆਕਰਣ]]
* ਬੋਲੀਆਂ:
=== Appendices ===
* [[/Glossary|Glossary]]
== Resources ==
* Linguistic survey of India
<noinclude>
{{ਭਾਸ਼ਾ}}
1wm304dddtg6zwzeq672kdnmlgb7xot
ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਅਤੇ ਇਸਦੀਆਂ ਬੋਲੀਆਂ/ਨਾਮ
0
2459
4333
4332
2015-11-08T02:43:17Z
Bhvintri
1274
wikitext
text/x-wiki
'''ਪੰਜਾਬੀ''' ਦਾ ਨਾਮ 'ਪੰਜਾਬ' ਖੇਤਰ ਤੋਂ ਪਿਆ ਹੈ।
''''ਪੰਜਾਬ'''' ਫ਼ਾਰਸੀ ਭਾਸ਼ਾ ਦਾ ਸ਼ਬਦ ਹੈ, ਜਿਸਦਾ ਦਾ ਅਰਥ ਹੈ 'ਪੰਜ ਦਰਿਆਵਾਂ ਦੀ ਧਰਤੀ’। ਇਹ ਨਾਮ ਮੁਗ਼ਲ ਕਾਲ ਵਿਚ ਪ੍ਰਸਿਧ ਹੋਇਆ। ਇਹ ਪੰਜ ਦਰਿਆ ਹਨ:- ਸਤਲੁਜ, ਬਿਆਸ, ਰਾਵੀ, ਚਨਾਬ ਅਤੇ ਜਿਹਲਮ।
tseqhki7sglt0qqohso3wssfualyivv
ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਅਤੇ ਇਸਦੀਆਂ ਬੋਲੀਆਂ/ਕਿੱਥੇ ਬੋਲੀ ਜਾਂਦੀ ਹੈ
0
2460
5321
5320
2022-11-29T21:07:40Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
'''ਭਾਰਤ:''' ਪੰਜਾਬ ਰਾਜ ਵਿਚ ਮੁੱਖ ਤੌਰ ਤੇ ਪੰਜਾਬੀ ਹੀ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਪੰਜਾਬ ਦੇ ਦੱਖਣ ਪੱਛਮੀ ਕੋਨੇ, ਅਬੋਹਰ ਤਹਿਸੀਲ ਵਿਚ ਬਾਗੜੀ (ਰਾਜਸਥਾਨੀ) ਅਤੇ ਉੱਤਰੀ ਕੋਨੇ, ਜ਼ਿਲਾ ਪਠਾਨਕੋਟ ਵਿਚ ਕੰਡਿਆਲੀ (ਪਹਾੜੀ) ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਜੰਮੂ ਅਤੇ ਕਸ਼ਮੀਰ ਦੇ ਪੁਣਛ, ਰਾਜੌਰੀ ਜ਼ਿਲਿਆਂ ਅਤੇ ਊੜੀ ਤਹਿਸੀਲ ਵਿਚ ਵੀ ਪੰਜਾਬੀ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਪੰਜਾਬ ਅਤੇ ਹਰਿਆਣਾ ਦੀ ਰਾਜਧਾਨੀ ਚੰਡੀਗੜ੍ਹ ਵੀ ਪੰਜਾਬੀ ਬੋਲਦੇ ਇਲਾਕੇ ਵਿਚ ਹੀ ਹੈ।
'''ਪਾਕਿਸਤਾਨ:''' ਪੰਜਾਬ ਸੂਬੇ ਵਿਚ ਮੁੱਖ ਤੌਰ ਤੇ ਪੰਜਾਬੀ ਹੀ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਬਹਾਵਲਪੁਰ, ਬਹਾਵਲਨਗਰ ਅਤੇ ਰਹੀਮਯਾਰ ਖ਼ਾਂ ਜ਼ਿਲਿਆਂ ਦੇ ਭਾਰਤ ਨਾਲ ਲਗਦੇ ਇਲਾਕਿਆਂ ਵਿਚ ਰਾਜਸਥਾਨੀ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਡੇਰਾ ਗ਼ਾਜ਼ੀ ਖ਼ਾਂ ਦੇ ਬਲੋਚਿਸਤਾਨ ਨਾਲ ਲਗਦੇ ਇਲਾਕੇ ਵਿਚ ਬਲੋਚੀ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਅਜ਼ਾਦ ਕਸ਼ਮੀਰ ਵਿਚ ਵੀ ਮੁੱਖ ਤੌਰ ਤੇ ਪੰਜਾਬੀ ਹੀ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਖ਼ੈਬਰ-ਪਖ਼ਤੂਨਖ਼ੁਆ ਦੇ ਹਰੀਪੁਰ, ਐਬਟਾਬਾਦ, ਮਾਨਸਹਿਰਾ ਅਤੇ ਡੇਰਾ ਇਸਮਾਈਲ ਖ਼ਾਂ ਜ਼ਿਲਿਆਂ ਵਿਚ ਵੀ ਪੰਜਾਬੀ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਪਾਕਿਸਤਾਨ ਦੀ ਰਾਜਧਾਨੀ ਇਸਲਾਮਾਬਾਦ ਵੀ ਪੰਜਾਬੀ ਬੋਲਦੇ ਇਲਾਕੇ ਵਿਚ ਹੀ ਹੈ।
bcfrl0rcj07jk9ncd4l4m30m2gkgnvg
ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਅਤੇ ਇਸਦੀਆਂ ਬੋਲੀਆਂ/ਹੱਦਾਂ
0
2461
4339
4338
2015-11-08T04:02:36Z
Bhvintri
1274
wikitext
text/x-wiki
ਉੱਤਰ-ਪੂਰਬ ਵਿਚ ਪੰਜਾਬੀ ਦੀ ਹੱਦ ਹਿਮਾਲਿਆ ਪਰਬਤ ਹਨ, ਜਿਥੇ ਪਹਾੜੀ ਬੋਲੀ ਜਾਂਦੀ। ਦੱਖਣ-ਪੂਰਬ ਵਿਚ ਘੱਗਰ ਦੇ ਪਾਰ ਹਰਿਆਣਵੀ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਹੋਰ ਦੱਖਣ ਵੱਲ ਪੰਜਾਬੀ ਦੀ ਹੱਦ ਥਾਰ ਮਾਰੂਥਲ ਹੈ, ਜਿਥੇ ਰਾਜਸਥਾਨੀ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਧੁਰ ਦੱਖਣ ਵਿਚ ਪੰਜਾਬੀ ਦੀ ਹੱਦ ਸਾਦਿਕਾਬਾਦ ਤਹਿਸੀਲ ਹੈ, ਜਿਸ ਤੋਂ ਦੱਖਣ ਵੱਲ ਸਿੰਧੀ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਪੰਜਾਬੀ ਦੀ ਪੱਛਮੀ ਹੱਦ ਸੁਲੇਮਾਨ ਪਰਬਤ ਹਨ, ਜਿਥੇ ਬਲੋਚੀ ਅਤੇ ਪਸ਼ਤੋ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਉੱਤਰ-ਪੱਛਮ ਵਿਚ ਸਿੰਧ ਪਾਰ ਵੀ ਪਸ਼ਤੋ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਧੁਰ ਉੱਤਰ, ਹਜ਼ਾਰਾ ਖੇਤਰ ਦੇ ਪਾਰ ਕੋਹਿਸਤਾਨੀ ਅਤੇ ਸ਼ੀਨਾ ਬੋਲੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਪੂਰਬ ਵੱਲ ਪੀਰ ਪੰਜਾਲ ਪਰਬਤਾਂ ਦੇ ਪਾਰ ਕਸ਼ਮੀਰੀ ਬੋਲੀ ਜਾਂਦੀ ਹੈ।
db53p5bxoacoq91l7p4850xxzd01txw
ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਅਤੇ ਇਸਦੀਆਂ ਬੋਲੀਆਂ/ਬੁਲਾਰੇ
0
2464
5311
4349
2022-11-29T21:05:28Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
{| class="wikitable"
|+'''ਭਾਰਤ ਵਿਚ ਪੰਜਾਬੀ ਬੁਲਾਰੇ'''
|-
| ਭਾਰਤ || 2.8%
|-
| ਪੰਜਾਬ || 92%
|-
| ਹਰਿਆਣਾ || 10%
|-
| ਰਾਜਸਥਾਨ || 2%
|-
| ਦਿੱਲੀ || 7%
|-
| ਚੰਡੀਗੜ੍ਹ || 28%
|}
{| class="wikitable"
|+'''ਪਾਕਿਸਤਾਨ ਵਿਚ ਪੰਜਾਬੀ ਬੁਲਾਰੇ'''
|-
| ਪਾਕਿਸਤਾਨ || 44%
|-
| ਪੰਜਾਬ || 93%
|-
| ਸਿੰਧ || 7%
|-
| ਇਸਲਾਮਾਬਾਦ || 71%
|}
sa5gjs95vpsv3ceonav12ed656pt5lo
ਫਰਮਾ:ਮੁੱਖ ਪੰਨਾ ਸੁਆਗਤ
10
2465
5794
4414
2023-06-07T06:28:34Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
{| id="book" style="border:1px solid #ccc; background-repeat:no-repeat; background-position:1% 25%; background-color:#f8f8f8; width:100%; font-size:95%; margin-top:12px;" |
|-
|[[File:Wikibooks-logo.svg|center|90px]]
|style="width:40%;text-align: center;font-size:20px" | [[ਵਿਕੀਬੁਕਸ]]
<div style= "font-size:12px">ਉੱਤੇ ਜੀ ਆਇਆਂ ਨੂੰ!</br>
ਇੱਕ ਆਜ਼ਾਦ ਲਾਇਬ੍ਰੇਰੀ,ਜਿਸ ਵਿੱਚ ਓਹੀ ਪੁਸਤਕਾਂ ਸ਼ਾਮਲ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਜੋ ਬਿਨਾਂ ਕਿਸੇ ਕਾਪੀਰਾਈਟ ਦੇ ਅਜ਼ਾਦ ਸਮੱਗਰੀ ਵਜੋਂ ਜਾਰੀ ਕੀਤੀਆਂ ਹੁੰਦੀਆਂ ਹਨ।</br>
ਪੰਜਾਬੀ ਵਿੱਚ '''[[Special:Allpages|{{NUMBEROFARTICLES}} ਪੰਨਿਆਂ]]''' ਨਾਲ [[Wikibooks Stacks/Departments|{{NUMBEROFBOOKS}} ਕਿਤਾਬਾਂ]] ਹਨ। <br/>
|style="width:60%"|<center>{{ਘਾਤ ਅੰਕ}}<inputbox>type=search2
buttonlabel=ਲੱਭੋ
break=no</inputbox></div>
</center>
{|style="width:100%; background-color: transparent; margin-top:-.75em; margin-bottom:-.75em;"
|}
|}
soqt6uzvznf8sehnevwvxi5gcfr1nzk
ਫਰਮਾ:NUMBEROFBOOKS
10
2466
5795
4359
2023-06-07T06:29:50Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
<includeonly>{{PAGESINCATEGORY:{{PAGENAME:{{BOOKCATEGORY|Wikibooks Stacks}}}}/Books|pages}}</includeonly><noinclude>{{documentation}}</noinclude>
407p90bpjherklvts2rjs13t399wr5e
ਫਰਮਾ:Documentation
10
2467
5469
4360
2023-03-23T13:40:23Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
<templatestyles src="Documentation/styles.css"/>
{{#invoke:documentation|main}}<noinclude>
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
614b1ki2chl6b75cq35jxms3ywth89u
ਫਰਮਾ:Template other
10
2468
4361
2015-12-12T11:17:10Z
Baljeet Bilaspur
1273
"{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower c..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#switch:
<!--If no or empty "demospace" parameter then detect namespace-->
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{#ifeq:{{NAMESPACE}}|{{ns:Template}}
| template
| other
}}
}}
| template = {{{1|}}}
| other
| #default = {{{2|}}}
}}<!--End switch--><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
cvkjlklng1pkwovf929h62cec6yrb8f
ਫਰਮਾ:Documentation/core2
10
2469
4362
2015-12-12T11:17:54Z
Baljeet Bilaspur
1273
"{{documentation/core | heading = {{{heading|¬}}} <!--Empty but defined means no header--> | heading-style = {{{heading-style|}}} | content = {{{cont..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation/core
| heading = {{{heading|¬}}} <!--Empty but defined means no header-->
| heading-style = {{{heading-style|}}}
| content = {{{content|}}}
| docpage =
{{#if: {{{1|}}}
| {{{1|}}}
| {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc
}}
| doc exist =
{{#ifexist:
{{#if: {{{1|}}}
| {{{1|}}} <!--Other docname fed-->
| {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc
}}
| yes
}}
| docname fed =
{{#if: {{{1|}}}
| yes
}}
| sandbox =
{{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/sandbox
| testcases =
{{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/testcases
| template page =
{{NAMESPACE}}:{{{template page|{{PAGENAME}}}}}
| link box = {{{link box|}}} <!--So "link box=off" works-->
| not-docspace = {{{not-docspace|}}}
}}<noinclude>
{{pp-template}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
[[Category:Template subpages|{{PAGENAME}}]]
</noinclude>
j1ofqbjf09s5yle5sn49xbjkaclnb2m
ਫਰਮਾ:Documentation/core
10
2470
4365
4363
2015-12-12T11:19:41Z
Baljeet Bilaspur
1273
wikitext
text/x-wiki
<!--
Start of green doc box
--><div id="template-documentation" class="template-documentation"><!--
Add the heading at the top of the doc box:
-->{{#ifeq: {{{heading|¬}}}
| <!--Defined but empty-->
| <!--"heading=", do nothing-->
| <div style="padding-bottom: 3px; border-bottom:thin solid #aaddff; margin-bottom:1ex;"><span style="{{#if: {{{heading-style|}}}
| {{{heading-style|}}}
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:Template}}
| font-weight: bold; font-size: 125%
| font-size: 150%
}}
}}">{{#switch: {{{heading|¬}}}
| ¬ =
<!--"heading" not defined in this or previous level-->
{{#switch: {{SUBJECTSPACE}}
| {{ns:Template}} = [[File:Office-book.svg|30px|link=|alt=]] Template documentation
| {{ns:File}} = Summary
| #default = Documentation
}}
| #default =
<!--"heading" has data or is empty but defined-->
{{{heading|}}}
}}</span>{{#if: {{{content|}}}
|
| <!--Add the [edit][purge] or [create] links-->
<span class="mw-editsection plainlinks" id="doc_editlinks">{{#if: {{{doc exist|yes}}}
| [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history]] [{{purge|purge}}]
| [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit&preload=Template:Documentation/preload}} create]]
}}</span>
}}</div>
}}<!--
Load the /doc content:
Note: The line breaks between this comment and the if-case
and between the if-case and the following div are necessary so
"=== Headings ===" at the start and end of docs are interpreted.
-->
{{#if: {{{content|}}}
| {{{content|}}}
| {{#if: {{{doc exist|yes}}} | {{ {{{docpage|{{FULLPAGENAME}}/doc}}} }} }}
}}
<div style="clear: both;"></div><!--So right or left floating items don't stick out of the doc box.-->
</div><!--End of green doc box-->
qhaaq96qs1bkev8sbpfc3ms0n2kqa5f
ਫਰਮਾ:Pp-template
10
2471
4364
2015-12-12T11:19:27Z
Baljeet Bilaspur
1273
"<includeonly>{{pp-meta |type={{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{pp-meta
|type={{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}
|semi
|autoconfirmed=semi
|administrator
|full
|sysop=indef
|move=move
|#default=indef<!--fallback value-->}}
|small={{{small|yes}}}
|demospace={{{demospace|}}}
|demolevel={{#ifeq:{{PAGENAME}}/{{NAMESPACE}}|{{SUBPAGENAME}}/{{ns:Template}}|{{{demolevel|undefined}}}|{{#ifeq:{{lc:{{SUBPAGENAME}}}}|sandbox|sysop|{{{demolevel|undefined}}}}}}}
|expiry=<!--not applicable-->
|dispute=no
|icon-text=This {{#ifeq:{{NAMESPACE}}|{{ns:6}}|file, included in a high-risk template or message,|high-risk template}} is indefinitely {{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}
|semi
|autoconfirmed=semi-protected from editing
|move=move-protected
|administrator
|full
|sysop
|#default=<!--fallback value-->protected from editing}} to prevent vandalism.
|reason-text=This {{#switch:{{NAMESPACE}}
|{{ns:image}}=file, used in one or more high-risk templates{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
|semi
|autoconfirmed=
|administrator
|full
|sysop=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]],
|#default=<!--fallback value-->}}
|#default=high-risk template
}} has been {{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}
|semi
|autoconfirmed=semi-
|move=move-
|administrator
|full
|sysop<!--uses default-->
|#default=<!--fallback value-->}}protected{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop||<nowiki> </nowiki>from editing}} to prevent vandalism. {{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
|semi
|autoconfirmed=
|administrator
|full
|sysop<!--uses default-->
|#default={{#switch:{{NAMESPACE}}|{{ns:image}}=<br /><small>'''Do not move this file''' to [[commons:|Wikimedia Commons]].</small>}}}}
|categories={{{categories|{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}
|semi
|autoconfirmed=
|move=
|administrator
|full
|sysop<!--uses default-->
|#default=<!--fallback value-->}}}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
|semi
|autoconfirmed=Semi-protected
|administrator
|full
|sysop<!--uses default-->
|#default=Protected<!--fallback value-->}} files|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
{{documentation}}
</noinclude>
7c6p8e8pwj7u4i7fcc15qu4k9ynsf4c
ਫਰਮਾ:Pp-meta
10
2472
4366
2015-12-12T11:20:41Z
Baljeet Bilaspur
1273
"{{#ifeq:{{#switch:{{lc:{{{type}}}}} |move=<!-- -->{{#ifeq: {{#switch:{{lc:{{{demolevel|undefined}}}}} |semi |autoconfirmed=aut..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#ifeq:{{#switch:{{lc:{{{type}}}}}
|move=<!--
-->{{#ifeq:
{{#switch:{{lc:{{{demolevel|undefined}}}}}
|semi
|autoconfirmed=autoconfirmed
|administrator
|full
|sysop=sysop
|undefined={{PROTECTIONLEVEL:move}}
|#default=<!--fallback value: null
-->}}
|sysop|yes|no
}}
|create=<!--
-->{{#if:
{{#switch:{{lc:{{{demolevel|undefined}}}}}
|semi
|autoconfirmed=autoconfirmed
|administrator
|full
|sysop=sysop
|undefined={{PROTECTIONLEVEL:create}}
|#default=<!--fallback value: null
-->}}
|yes|no
}}
|#default<!--includes all other types-->=<!--
-->{{#if:
{{#switch:{{lc:{{{demolevel|undefined}}}}}
|semi
|autoconfirmed=autoconfirmed
|administrator
|full
|sysop=sysop
|undefined={{PROTECTIONLEVEL:edit}}
|#default=<!--fallback value: null
-->}}
|{{#ifeq:{{#switch:{{lc:{{{disallowlevel|}}}}}
|semi
|autoconfirmed=autoconfirmed
|administrator
|full
|sysop=sysop
|#default=<!--fallback value: null-->}}
|{{#switch:{{lc:{{{demolevel|undefined}}}}}
|semi
|autoconfirmed=autoconfirmed
|administrator
|full
|sysop=sysop
|undefined={{PROTECTIONLEVEL:edit}}
|#default=<!--fallback value: null-->}}
|no|yes
}}
|no}}
}}|yes|{{#ifeq:{{lc:{{{small|}}}}}|yes|
<div class="metadata topicon" id="protected-icon">[[File:{{{image|{{#switch:{{lc:{{{type}}}}}
|full=Padlock.svg
|semi=Padlock-silver.svg
|move=Padlock-olive.svg
|indef=Padlock-red.svg
|office=Padlock-black.svg
|create=Padlock-skyblue.svg
|#default=Transparent.gif
}}}}}|22px|link={{{icon-link|Wikibooks:Protection policy#{{lc:{{{type}}}}}}}}|{{{icon-text|This {{pagetype|subjectspace=yes}} is {{#switch:{{lc:{{{type}}}}}
|semi=semi-
|move=move-
|indef=permanently<nowiki> </nowiki>
|create=creation-
|office=<!--null, but should this have a special tag?-->
|full
|#default=<!--null-->
}}protected{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|<nowiki> </nowiki>until {{#time:F j, Y|{{{expiry}}}}}}}}}{{#if:{{{icon-reason|}}}|<nowiki> </nowiki>{{{icon-reason}}}}}.}}}]]</div>
|<!-- else, not small -->
{{mbox
| demospace = {{{demospace|}}}
| type = protection
| image = [[File:{{{image|{{#switch:{{lc:{{{type}}}}}
|full=Padlock.svg
|semi=Padlock-silver.svg
|move=Padlock-olive.svg
|indef=Padlock-red.svg
|office=Padlock-black.svg
|create=Padlock-skyblue.svg
|#default=Transparent.gif
}}}}}|40px|{{{icon-text|This page is {{#switch:{{lc:{{{type}}}}}
|semi=semi-
|move=move-
|indef=permanently<nowiki> </nowiki>
|create=creation-
|office=<!--null, but should this have a special tag?-->
|full
|#default=<!--null-->
}}protected.}}}|link=]]
| text = '''{{{reason-text|{{#switch:{{lc:{{{type}}}}}
|full=This page is currently protected from editing
|semi=Editing of this {{pagetype|subjectspace=yes}} by new or unregistered users is currently disabled
|move=This {{pagetype|subjectspace=yes}} is currently protected from page moves
|indef=This page is protected from editing ''indefinitely''
|office=This {{pagetype|subjectspace=yes}} is currently protected from editing
|create=Re-creation of this {{pagetype|subjectspace=yes}} has been disabled
}}{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}| until {{#time:F j, Y|{{{expiry}}}}}}}}}{{{reason<includeonly>|</includeonly>}}}.}}}'''<br /> {{{explanation-text|{{#ifeq:{{lc:{{{dispute}}}}}|yes|This protection is '''not''' an endorsement of the {{#ifeq:{{{type}}}|move|[{{fullurl:Special:Log|type=move&page={{FULLPAGENAMEE}}}} current title]|[{{fullurl:{{FULLPAGENAMEE}}|action=history}} current version]}}.}} See the [{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log] for more details. {{#switch:{{lc:{{{type}}}}}
|full|indef=Please discuss any changes on the [[{{TALKPAGENAME}}|discussion page]]; you may use the {{tlx|editprotected}} template to ask an [[Wikibooks:Administrators|administrator]] to make the edit if it is supported by consensus. {{#ifeq:{{NAMESPACE}}|{{ns:8}}<!--MediaWiki-->||You may also [[Wikibooks:Reading room/Administrative Assistance|request]] that this page be unprotected.}}
|semi=If you cannot edit this {{pagetype|subjectspace=yes}} and you wish to make a change, you can {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||[[Template:Editsemiprotected|request an edit]], [[{{TALKPAGENAME}}|discuss changes on the discussion page]],}} [[Wikibooks:Reading room/Administrative Assistance|request unprotection]], [[Special:Userlogin|log in]], or <span class="plainlinks">[http://en.wikibooks.org/w/index.php?title=Special:Userlogin&type=signup <span style="color:#002bb8;" title="Sign in / create account">create an account</span>].
|move=The page may still be edited but cannot be moved until unprotected. Please discuss any suggested moves on the [[{{TALKPAGENAME}}|discussion page]]. You can also [[Wikibooks:Reading room/Administrative Assistance|request]] that the page be unprotected.
|office=If you are able to edit this page, please discuss all changes and additions on the [[{{TALKPAGENAME}}|discussion page]] first.
|create=Please see the {{#if:{{{rfd|}}}|'''[[{{{rfd}}}|deletion discussion]]''' or the}} [{{fullurl:Special:Log|type=delete&page={{FULLPAGENAMEE}}}} deletion log] for details of why this page was deleted. If you would like to create a page at this title, you must first [[Wikibooks:Reading room/Administrative Assistance|request]] for it to be unprotected, or contact the administrator who deleted the page for the deleted material to be restored. If unsuccessful, you can make a [[WB:RFU|request for undeletion]].
}}}}}
}}
}}|}}<!--End if small--><includeonly>{{#ifeq:{{lc:{{{categories|no}}}}}|no||{{{categories|}}}}}</includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
io8uv2gepc0uxu8h9ujzh0gshqkywno
ਫਰਮਾ:Documentation/core/doc
10
2473
4367
2015-12-12T11:21:33Z
Baljeet Bilaspur
1273
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|documentation/core}} sub-template...." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|documentation/core}} sub-template.
Do not use this template directly, use {{tl|documentation}} instead.
{{tl|documentation}} calls {{tl|documentation/core2}} which in turn calls this template. This template holds most of the code for {{tl|documentation}}, while {{tl|documentation}} and {{tl|documentation/core2}} do parameter preprocessing. Thus simplifying the code.
=== Technical details ===
This sub-template currently expects these parameters:
<pre>
{{documentation/core
| heading = {{{heading|¬}}} <!--Note that the "¬" is necessary
so we can detect the difference between empty and undefined-->
| heading-style = {{{heading-style|}}}
| content = {{{content|}}} <!--Text instead of a /doc page-->
| link box = {{{link box|}}} <!--So "link box=off" works-->
| docpage = <!--Full pagename of the doc page-->
| doc exist = <!--"yes" if the doc page exists, empty string if not-->
| docname fed = <!--"yes" if a docname was manually fed-->
| sandbox = <!--Full pagename of the /sandbox-->
| testcases = <!--Full pagename of the /testcases-->
| template page = <!--Full pagename where the {{documentation}}
template is placed, but without ending /sandbox or /testcases.
Note: Unfortunately might not be the "correct" namespace if
the template is in subject space and the {{documentation}}
template is in talk space or the other way around.-->
}}
</pre>
For more documentation see {{tl|documentation}}.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template documentation|{{PAGENAME}}]]
</includeonly>
qy38r199smhhsjkx3cd3dlnh3unvacw
ਫਰਮਾ:Template link
10
2474
5725
5723
2023-04-07T09:10:33Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
{{[[Template:{{{1}}}|{{{1}}}]]}}<noinclude>{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
rf3qx5cilaxlnjqq9fivevkah92ncil
ਫਰਮਾ:Documentation subpage
10
2475
4369
2015-12-12T11:23:27Z
Baljeet Bilaspur
1273
"<includeonly>{{#ifeq: {{lc:{{#titleparts:{{PAGENAME}}||-1}}}} | {{{override|doc}}} | <!-- doc page --> </includeonly>{{ #ifeq: {{{doc-notice|show..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#ifeq: {{lc:{{#titleparts:{{PAGENAME}}||-1}}}} | {{{override|doc}}}
| <!-- doc page -->
</includeonly>{{
#ifeq: {{{doc-notice|show}}} | show
| {{ombox
| type = notice
| image = [[File:Edit-copy green.svg|40px|link=|alt=]]
| text =
'''This is a [[w:Wikipedia:Template documentation|documentation]] [[w:Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{#if:{{#titleparts:{{PAGENAME}}|-1}}|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}]]}}}''' <small>(see that page for the {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template | {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }}}}}} itself)</small>.<br />It contains usage information, categories, and other content that are not part of the original {{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page | {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.
}}
}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
#if: {{{inhibit|}}}
| <!-- skip -->
| [[Category:{{
#if: {{SUBJECTSPACE}}
| {{SUBJECTSPACE}}
| Article
}} documentation<noinclude>| </noinclude>]]
}}<includeonly>
| <!-- if not on a /doc subpage, do nothing -->
}}</includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
b2x02dh0fgfvoi8buag0bck1rilztnb
ਫਰਮਾ:Ombox
10
2476
4370
2015-12-12T11:24:19Z
Baljeet Bilaspur
1273
"{{#ifeq:{{{small|}}}|yes | {{ombox/core | small = yes | type = {{{type|}}} | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#ifeq:{{{small|}}}|yes
| {{ombox/core
| small = yes
| type = {{{type|}}}
| image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
| imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
| style = {{{style|}}}
| textstyle = {{{textstyle|}}}
| text = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
}}
| {{ombox/core
| type = {{{type|}}}
| image = {{{image|}}}
| imageright = {{{imageright|}}}
| style = {{{style|}}}
| textstyle = {{{textstyle|}}}
| text = {{{text}}}
}}
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
0vny1zhwz82la4y098t255kpeag7iys
ਫਰਮਾ:Ombox/core
10
2477
4371
2015-12-13T03:36:52Z
Baljeet Bilaspur
1273
"<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}} | speedy = ombox-speedy | delete = ombox-delete | co..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}}
{{#switch:{{{type|}}}
| speedy = ombox-speedy
| delete = ombox-delete
| content = ombox-content
| style = ombox-style
| move = ombox-move
| protection = ombox-protection
| notice <!-- notice = default -->
| #default = ombox-notice
}}" style="{{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
| <td class="mbox-image">
{{#if:{{{image|}}}
| {{{image}}}
| [[File:{{#switch:{{{type|}}}
| speedy = Ambox warning pn.svg
| delete = Ambox warning pn.svg
| content = Ambox Content.svg
| style = Edit-clear.svg
| move = Merge-split-transwiki default.svg
| protection = Padlock-silver-medium.svg
| notice <!-- notice = default -->
| #default = Information icon4.svg
}} | {{#ifeq:{{{small|}}}|yes
| 30x30px
| 40x40px
}}|link=|alt=]]
}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| <!-- No image. -->
| <td class="mbox-imageright"> {{{imageright}}} </td>
}}
}}
</tr>
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| speedy
| delete
| content
| style
| move
| protection
| notice = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
8u95ns9sow79kjkzhwg61l1fyn1mpby
ਫਰਮਾ:Index
10
2478
4383
2015-12-13T06:04:51Z
Baljeet Bilaspur
1273
" {|align=center cellspacing=0 cellpadding=0 style="border:2px solid #e1eaee; border-collapse:separate;font-size:120%" |- |style="background:#F1FAFF; li..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{|align=center cellspacing=0 cellpadding=0 style="border:2px solid #e1eaee; border-collapse:separate;font-size:120%"
|-
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/੦|੦-੯]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਉ|ਉ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਊ|ਊ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਓ|ਓ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਅ|ਅ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਆ|ਆ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਐ|ਐ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਔ|ਔ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਇ|ਇ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਈ|ਈ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਏ|ਏ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਸ|ਸ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਹ|ਹ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਕ|ਕ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਖ|ਖ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਗ|ਗ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਘ|ਘ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਙ|ਙ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਚ|ਚ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਛ|ਛ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਜ|ਜ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਝ|ਝ]]
|-
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Categories|ਸ਼੍ਰੇਣੀ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਞ|ਞ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਟ|ਟ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਠ|ਠ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਡ|ਡ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਢ|ਢ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2; border-left:0; border-top:0; border-right:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਣ|ਣ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਤ|ਤ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਥ|ਥ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਦ|ਦ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਧ|ਧ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਨ|ਨ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਪ|ਪ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਫ|ਫ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਬ|ਬ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਭ|ਭ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਮ|ਮ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਯ|ਯ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਰ|ਰ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2; border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਲ|ਲ]]
|style="background:#EAF6FD; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ਵ|ਵ]]
|style="background:#F1FAFF; line-height:120%; border:1px solid #C6E4F2;border:1px solid #C6E4F2; border-left:0; border-top:0; border-bottom:0; padding:0px 5px 0px 5px;"|[[Special:Allpages/ੜ|ੜ]]
|}
2mcn819zkeqmn13btc79odc9feor6u4
ਵਿਕੀਬੁਕਸ
0
2479
4986
4985
2020-04-13T21:59:21Z
Hamish
1679
Undid edits by [[Special:Contribs/203.153.127.185|203.153.127.185]] ([[User talk:203.153.127.185|talk]]) to last version by Baljeet Bilaspur: unexplained content removal
wikitext
text/x-wiki
'''ਵਿਕੀਬੁਕਸ''' ਆਜ਼ਾਦ ਸੋਰਸ ਵਿੱਚ ਲਿਖੀਆਂ ਗਈਆਂ ਕਿਤਾਬਾਂ ਦੀ ਲਾਇਬ੍ਰੇਰੀ ਹੈ ਅਤੇ ਇਸਨੂੰ ਵਿਕੀਮੀਡੀਆ ਫਾਊਂਡੇਸ਼ਨ ਦੁਆਰਾ ਸ਼ੁਰੂ ਕੀਤਾ ਗਿਆ ਸੀ। ਇਹ ਪ੍ਰੋਜੈਕਟ ਬਹੁ-ਭਾਸ਼ਾਈ ਹੈ।ਇੱਥੇ ਓਹੀ ਪੁਸਤਕਾਂ ਸ਼ਾਮਲ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਜੋ ਬਿਨਾਂ ਕਿਸੇ ਕਾਪੀਰਾਈਟ ਦੇ ਅਜ਼ਾਦ ਸਮੱਗਰੀ ਵਜੋਂ ਜਾਰੀ ਕੀਤੀਆਂ ਹੁੰਦੀਆਂ ਹਨ।
2x3fa3lnb085jbovlvc0eb3sydmy632
ਫਰਮਾ:ਘਾਤ ਅੰਕ
10
2480
4389
2015-12-13T06:14:24Z
Baljeet Bilaspur
1273
Redirected page to [[ਫਰਮਾ:Index]]
wikitext
text/x-wiki
#redirect:[[ਫਰਮਾ:Index]]
g0tyjnioiskhncfg5ux2py38sb23zmh
ਨਈ ਰੋਸ਼ਨੀ
0
2483
5317
4857
2022-11-29T21:06:22Z
Suyash.dwivedi
1854
/* ਪ੍ਰਾਪਤੀਆਂ */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
'''ਨਈ ਰੋਸ਼ਨੀ'''ਘੱਟ ਗਿਣਤੀਆਂ ਸਰੋਕਾਰ ਵਜ਼ਾਰਤ ਦੀ ਤੀਵੀਆਂ ਵਿੱਚ ਅਗਵਾਈ ਵਾਲੇ ਗੁਣ ਵਿਕਸਿਤ ਕਰਨ ਲਈ ਸਿਖਲਾਈ ਪ੍ਰੋਗਰਾਮ ਚਲਾਉਣ ਵਾਲੇ ਅਦਾਰਿਆਂ ਨੂੰ ਮਾਲੀ ਸਹਾਇਤਾ ਦੇਣ ਦੀ , ਪੂੰਜੀ ਗਰਾਂਟ ਦੇਣ ਦੀ ਸਕੀਮ ਹੈ।
==ਸਿਖਲਾਈ ਅਦਾਰੇ==
*ਕੇਵਲ ਉਹੀ ਸਿਖਲਾਈ ਅਦਾਰੇ ਦਰਖ਼ਾਸਤ ਕਰ ਸਕਦੇ ਹਨ ਜੋ ਸਿਖਲਾਈ ਪ੍ਰੋਗਰਾਮ ਸ਼ਾਮ ਤੌਰ ਤੇ ਚਲਾਂਉਦੇ ਰਹਿੰਦੇ ਹਨ।
*ਰਜਿਸਟਰਡ ਸੁਸਾਇਟੀਆਂ ਜਾਂ ਤੀਵੀਆਂ ਦੇ ਸਵੈ-ਸਹਾਇਤਾ ਗਰੁੱਪ ਲਾਭ ਲੈ ਸਕਦੇ ਹਨ।
==ਮੁੱਖ ਵਿਸ਼ੇਸ਼ਤਾਈਆਂ==
ਸਿਖਲਾਈ ਪ੍ਰੋਗਰਾਮਾਂ<ref>[http://www.minorityaffairs.gov.in/leadership_minority leadership_minority]</ref> ਦੇ ਗੁਣ ਹਨ:
*ਸਿਖਲਾਈ ਪ੍ਰੋਗਰਾਮ ੬ ਦਿਨ ਦੇ ੬ ਘੰਟੇ ਸਮਾਂਕਾਲ ਦੇ ਲਗਭਗ ਹੋਣ।
*ਔਨ ਸਾਈਟ ਜਾਂ ਰੈਜ਼ੀਡੈਂਸ਼ਲ ਦੋਵੇਂ ਤਰਾਂ ਦੇ ਪ੍ਰੋਗਰਾਮ ਚਲਾਣੇ ਜਾ ਸਕਦੇ ਹਨ।
*ਨਿਸ਼ਾਨਾ ਖੇਤਰ ਅਜਿਹਾ ਚੁਣਿਆ ਜਾਵੇ ਜਿੱਥੇ ਪਿੰਡ ਜਾ ਕਸਬੇ ਵਿੱਚ ਜ਼ਿਆਦਾਤਰ ਘੱਟ ਗਿਣਤੀ ਲੋਕ ਰਹਿੰਦੇ ਹੋਣ।
*ਪਿੰਡ/ਕਸਬੇ ਦੇ ਸਰਪੰਚ/ਮੁਖੀਆ ਦੀ ਸਿਖਆਰਥੀ ਚੁਨਣ ਵਿੱਚ ਯੋਗਦਾਨ ਹੋਵੇ।
*ਪ੍ਰਾਜੈਕਟ ਮਨਜ਼ੂਰੀ ਪ੍ਰਾਪਤ ਹੋਣ ਤੋਂ ਬਾਦ ਸਿਖਿਆਰਥੀਆਂ ਦੀਆਂ ਦਰਖ਼ਾਸਤਾਂ ਔਨਲਾਈਨ ਲੜੀਵਾਰ ਜਾਣ।
==ਸਿਖਲਾਈ ਮਾਡਿਊਲ==
ਵਜ਼ਾਰਤ ਵੱਲੋਂ ਕਈ ਮਾਡਿਊਲ ਤਜਵੀਜ਼ ਕੀਤੇ ਗਏ ਹਨ।http://www.minorityaffairs.gov.in/sanction-2014-15<ref>[http://www.minorityaffairs.gov.in/module_hindi modules]</ref>
*ਬੱਚਿਆਂ ਦੀਆਂ ਸ਼ਾਮ ਬਿਮਾਰੀਆਂ ਤੇ ਟੀਕਾਕਰਣ
*ਪਰਵਾਰ ਨਿਯੋਜਨ
*[[ਸਰਕਾਰ]] ਦਾ ਤਾਣਾ-ਬਾਣਾ
*ਤੀਵੀਆਂ ਦੇ ਮੁੱਦੇ
*ਘਰੇਲੂ ਸਵੱਛਤਾ ਤੇ ਸਿਹਤ
*ਔਰਤਾਂ ਵਿੱਚ ਅਗਵਾਈ ਗੁਣ
*ਸਫਲ ਜੀਵਨ ਦੀਆਂ ਮੁਹਾਰਤਾਂ
*ਘੱਟ ਗਿਣਤੀ ਸਰਕਾਰੀ ਸਕੀਮਾਂ
ਤੇ ਹੋਰ ਕਈ
==ਪ੍ਰਾਪਤੀਆਂ==
ਲਗਭਗ ੧੦੦ ਸੰਸਥਾਵਾਂ ਦੇ 4 ਤੋਂ 10 ਲੱਖ ਹਰੇਕ ਦੇ ਪ੍ਰਾਜੈਕਟਾਂ ਨੂੰ ਸਾਲ ੨੦੧੪-੧੫ ਵਿੱਚ ਮਨਜ਼ੂਰੀ ਦਿੱਤੀ ਗਈ ਹੈ ਜਿਸ ਵਿਚੋਂ ੭੦ ਤਾਂ ਸ਼ੁਤਰ ਪ੍ਰਦੇਸ਼ ਵਿੱਚ ਹਨ।ਕਈ ਰਾਜ ਜਿਵੇਂ ਪੰਜਾਬ , ਹਰਿਆਣਾ ਵਿੱਚ ਇੱਕ ਵੀ ਸੰਸਥਾ ਨੇ ਦਿਸ ਸਕੀਮ ਦਾ ਲਾਭ ਪ੍ਰਾਪਤ ਨਹੀਂ ਕੀਤਾ।<ref>http://www.minorityaffairs.gov.in/sanction-2014-15</ref>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
0i0h0nf6w1pewmo22i7v3g03v6kirr9
Wikibooks:ਕਿਤਾਬਾਂ/ਭਾਰਤ ਸਰਕਾਰ ਦੀਆਂ ਘੱਟ ਗਿਣਤੀ ਸਕਾਲਰਸ਼ਿਪ ਸਕੀਮ
4
2485
4497
4447
2015-12-21T13:09:03Z
Guglani
753
wikitext
text/x-wiki
{{saved_book
| setting-papersize = a4
| setting-toc = auto
| setting-columns = 1
}}
== ਭਾਰਤ ਸਰਕਾਰ ਦੀਆਂ ਘੱਟ ਗਿਣਤੀ ਸਕਾਲਰਸ਼ਿਪ ਸਕੀਮ ==
:[[Wikibooks:ਕਿਤਾਬਾਂ/ਭਾਰਤ ਸਰਕਾਰ ਦੀਆਂ ਘੱਟ ਗਿਣਤੀ ਸਕਾਲਰਸ਼ਿਪ ਸਕੀਮਾਂ]]
:[[ਨਈ ਰੋਸ਼ਨੀ]]
:[[ਸੀਖੋ ਔਰ ਕਮਾਓ]]
[[ਸ਼੍ਰੇਣੀ:ਕਿਤਾਬਾਂ|ਭਾਰਤ ਸਰਕਾਰ ਦੀਆਂ ਘੱਟ ਗਿਣਤੀ ਸਕਾਲਰਸ਼ਿਪ ਸਕੀਮ]]
ppclvgizh7od22pigu9lqz8qezy6xi1
ਈਡੋ
0
2486
4547
4542
2015-12-25T04:17:58Z
Satdeep Gill
356
+ਤਸਵੀਰ
wikitext
text/x-wiki
{{ਵਿਕੀਪੀਡੀਆ|ਈਡੋ}}
[[File:Flag of Ido.svg|thumb|ਈਡੋ ਦਾ ਝੰਡਾ]]
ਈਡੋ ਇੱਕ ਬਣਾਉਟੀ ਭਾਸ਼ਾ ਹੈ ਜੋ 1907 ਵਿੱਚ ਐੱਸਪੇਰਾਂਤੋ ਵਿੱਚ ਸੁਧਾਰ ਕਰਕੇ ਬਣਾਈ ਗਈ।
==ਵਰਨਮਾਲਾ==
* [[ਈਡੋ/ਵਰਨਮਾਲਾ|ਵਰਨਮਾਲਾ]]
==ਵਿਆਕਰਨ==
* [[ਈਡੋ/ਪੜਨਾਂਵ|ਨਿੱਜੀ ਪੜਨਾਂਵ]]
* [[ਈਡੋ/ਵਿਸ਼ੇਸ਼ਣ|ਵਿਸ਼ੇਸ਼ਣ]]
* [[ਈਡੋ/ਕਿਰਿਆ|ਕਿਰਿਆ]]
==ਪਾਠ==
===ਪਾਠ ਪਹਿਲਾ===
* [[ਈਡੋ/ਗੱਲ-ਬਾਤ|ਮੁੱਢਲੀ ਗੱਲ-ਬਾਤ]]
* [[ਈਡੋ/ਵਰਣਨ|ਆਪਣੇ ਅਤੇ ਹੋਰਾਂ ਬਾਰੇ ਗੱਲਾਂ ਕਰਨਾ]]
5esdc9exs5l1kgmjdbvtdte5p6gu8rg
ਈਡੋ/ਵਰਨਮਾਲਾ
0
2487
5277
4463
2022-11-29T21:00:14Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
ਈਡੋ ਦੀ ਵਰਨਮਾਲਾ ਅੰਗਰੇਜ਼ੀ ਵਾਲੀ ਹੀ ਹੈ: a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z
ਸਵਰਾਂ ਦਾ ਉਚਾਰਨ ਸਪੇਨੀ ਜਾਂ ਇਤਾਲਵੀ ਵਾਂਗੂੰ ਕੀਤਾ ਜਾਂਦਾ ਹੈ।
{| border="1" cellpadding="2" cellspacing="0"
! colspan="3" | ਸਵਰ
|-
! ਅੱਖਰ
! ਆਈ.ਪੀ.ਏ.
! ਆਵਾਜ਼
|-
| a
| [a]
| '''ਆ'''
|-
| e
| [e]
| '''ਐ'''
|-
| i
| [i]
| '''ਈ'''
|-
| o
| [o]
| '''ਓ'''
|-
| u
| [u]
| '''ਊ'''
|-
|}
ਈਡੋ ਦੇ ਵਿਅੰਜਨ ਇਸ ਤਰ੍ਹਾਂ ਹਨ:
{| border="1" cellpadding="2" cellspacing="0"
! colspan="3" | ਵਿਅੰਜਨ
|-
! ਅੱਖਰ
! ਆਈ.ਪੀ.ਏ.
! ਆਵਾਜ਼
|-
| b
| [b]
| '''ਬ'''
|-
| c
| [ʦ]
| ਦੁੱਤ ਵਿਅੰਜਨ ਦੀ ਤਰ੍ਹਾਂ '''ਤਸ''' ਦਾ ਉਚਾਰਨ
|-
| d
| [d]
| '''ਡ'''
|-
| f
| [f]
| '''ਫ਼'''
|-
| g
| [g]
| '''ਗ'''
|-
| h
| [h]
| '''ਹ'''
|-
| j
| [ʒ]
| '''ਯ਼''', ਇਹ ਧੁਨੀ ਫ਼ਰਾਂਸੀਸੀ ਭਾਸ਼ਾ ਵਾਲੀ ਹੈ
|-
| k
| [k]
| '''ਕ'''
|-
| l
| [l]
| '''ਲ'''
|-
| m
| [m]
| '''ਮ'''
|-
| n
| [n]
| '''ਨ'''
|-
| p
| [p]
| '''ਪ'''
|-
| q
| [k]
| [kw] ('''ਕੁ''') ਲਿੱਖਣ ਸਮੇਂ
|-
| r
| [r]
| '''ਰ'''
|-
| s
| [s]
| '''ਸ'''
|-
| t
| [t]
| '''ਟ'''
|-
| v
| [v]
| '''ਵ'''
|-
| w
| [w]
| '''ਵ'''
|-
| x
| [ks]
| '''ਕਸ''' ਇੱਕ ਦੁੱਤ ਵਿਅੰਜਨ ਵਜੋਂ ਜਿਵੇਂ "ਮਾਰਕਸ" ਵਿੱਚ
|-
| y
| [j]
| '''ਜ'''
|-
| z
| [z]
| '''ਜ਼'''
|}
0xq0fzeizjnpid18v1tugwmkxb9a1gi
ਫਰਮਾ:Ping
10
2493
4479
2015-12-21T08:30:39Z
Satdeep Gill
356
"{{SAFESUBST:<noinclude />#if:{{{1|<noinclude>$</noinclude>}}} |<span class="template-ping">{{{prefix|@}}}:ਵਰਤੋਂਕਾਰ:{{SAFESUBST:<noin..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{SAFESUBST:<noinclude />#if:{{{1|<noinclude>$</noinclude>}}}
|<span class="template-ping">{{{prefix|@}}}[[:ਵਰਤੋਂਕਾਰ:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1|ਉਦਾਹਰਨ}}}}}|{{{label1|{{{label|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{1|ਉਦਾਹਰਨ}}}}}}}}}}}]]{{SAFESUBST:<noinclude />#if:{{{2|}}}
|{{SAFESUBST:<noinclude />#if:{{{3|}}}|,|{{SAFESUBST:<noinclude />#ifeq:{{{c}}}||,| {{{c|and}}}}}}} [[:ਵਰਤੋਂਕਾਰ:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{2}}}}}|{{{label2|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{2}}}}}}}}]]{{SAFESUBST:<noinclude />#if:{{{3|}}}
|,{{SAFESUBST:<noinclude />#if:{{{4|}}}|| {{{c|and}}}}} [[:ਵਰਤੋਂਕਾਰ:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{3}}}}}|{{{label3|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{3}}}}}}}}]]{{SAFESUBST:<noinclude />#if:{{{4|}}}
|,{{SAFESUBST:<noinclude />#if:{{{5|}}}|| {{{c|and}}}}} [[:ਵਰਤੋਂਕਾਰ:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{4}}}}}|{{{label4|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{4}}}}}}}}]]{{SAFESUBST:<noinclude />#if:{{{5|}}}
|,{{SAFESUBST:<noinclude />#if:{{{6|}}}|| {{{c|and}}}}} [[:ਵਰਤੋਂਕਾਰ:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{5}}}}}|{{{label5|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{5}}}}}}}}]]{{SAFESUBST:<noinclude />#if:{{{6|}}}
|,{{SAFESUBST:<noinclude />#if:{{{7|}}}|| {{{c|and}}}}} [[:ਵਰਤੋਂਕਾਰ:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{6}}}}}|{{{label6|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{6}}}}}}}}]]{{SAFESUBST:<noinclude />#if:{{{7|}}}
|, {{{c|and}}} [[:ਵਰਤੋਂਕਾਰ:{{SAFESUBST:<noinclude />BASEPAGENAME:{{{7|ਉਦਾਹਰਨ}}}}}|{{{label7|{{SAFESUBST:<noinclude />BASEPAGENAME:{{{7|ਉਦਾਹਰਨ}}}}}}}}]]
}}
}}
}}
}}
}}
}}{{{p|:}}}</span>
|{{SAFESUBST:<noinclude />Error|Error in [[Template:Replyto]]: ਵਰਤੋਂਕਾਰname not given.}}
}}<noinclude>
{{Documentation}}
</noinclude>
lusfl30p6jgfjjig4q2scl8kd2h6tky
ਈਡੋ/ਪੜਨਾਂਵ
0
2494
4539
4521
2015-12-24T02:37:11Z
Satdeep Gill
356
ਅੱਖਰ ਮੋਟੇ ਕੀਤੇ
wikitext
text/x-wiki
ਈਡੋ ਦੇ ਨਿੱਜੀ ਪੜਨਾਂਵ ਹੇਠ ਮੁਤਾਬਕ ਹਨ:
*'''me''' - ਮੈਂ
*'''tu''' - ਤੂੰ
*'''vu''' - ਤੁਸੀਂ (ਇੱਕ ਵਚਨ)
*'''il/ilu''' - ਉਹ (ਪੁਲਿੰਗ)
*'''el/elu''' - ਉਹ (ਇਲਿੰਗ)
*'''ol/olu''' - ਉਹ (ਵਸਤੂ)
*'''lu''' - ਉਹ
*'''ni''' - ਅਸੀਂ
*'''vi''' - ਤੁਸੀਂ (ਬਹੁ ਵਚਨ)
*'''li (ili/eli/oli)''' - ਉਹ (ਬਹੁ ਵਚਨ)
*'''on''' - ਉਹ/ਲੋਕ
==ਨਿੱਜੀ ਪੜਨਾਂਵ==
*'''mea''' - ਮੇਰਾ
*'''vua''' - ਤੇਰਾ (ਇੱਕ-ਵਚਨ)
*'''ilua''' - ਉਹਦਾ
*'''elua''' - ਉਹਦਾ
*'''olua''' - ਉਹਦਾ
*'''lua''' - ਉਹਦਾ, ਉਹਦੀ, ਉਹਦੇ, ਉਹਦੀਆਂ
*'''nia''' - ਸਾਡਾ, ਆਪਣਾ
*'''via''' - ਤੁਹਾਡਾ (ਬਹੁ-ਵਚਨ)
*'''lia''' - ਉਹਨਾਂ ਦਾ, ਉਹਨਾਂ ਦੀ, ਉਹਨਾਂ ਦੇ, ਉਹਨਾਂ ਦੀਆਂ
icp9g9c80svs77uk759doijba4vcvag
ਫਰਮਾ:Div col
10
2495
4484
2015-12-21T08:43:41Z
Satdeep Gill
356
"<includeonly><div style="{{#if:{{{colwidth|}}}|-moz-column-width:{{{colwidth}}}; -webkit-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};|-moz..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><div style="{{#if:{{{colwidth|}}}|-moz-column-width:{{{colwidth}}}; -webkit-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};|-moz-column-count:{{{1|{{{cols|2}}}}}}; -webkit-column-count:{{{1|{{{cols|2}}}}}}; column-count:{{{1|{{{cols|2}}}}}};}} {{#ifeq:{{lc:{{{small|}}}}}|yes|font-size:90%;}}"></includeonly><noinclude>
{{Documentation}}
</noinclude>
87qhmoy56qnq48fls9bpqr0h07695ex
ਫਰਮਾ:Div column end
10
2496
4485
2015-12-21T08:51:52Z
Satdeep Gill
356
"<includeonly></div></includeonly><noinclude>{{Documentation|Template:Div col/doc}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly></div></includeonly><noinclude>{{Documentation|Template:Div col/doc}}
</noinclude>
3lfmhnq9prifbvajyyqrv6kst0k9wem
ਈਡੋ/ਵਿਸ਼ੇਸ਼ਣ
0
2498
4492
4488
2015-12-21T12:08:07Z
Satdeep Gill
356
This is a part of the Wikibook Ido and it is not an independent book.
wikitext
text/x-wiki
ਈਡੋ ਵਿੱਚ ਸਾਰੇ ਵਿਸ਼ੇਸ਼ਣ 'a' ਨਾਲ ਖ਼ਤਮ ਹੁੰਦੇ ਹਨ ਅਤੇ ਇਹਨਾਂ ਦੇ ਬਹੁ ਵਚਨ ਰੂਪਾਂ ਦੇ ਅੰਤ ਵਿੱਚ "a" ਦੀ ਜਗ੍ਹਾ ਉੱਤੇ "i" ਹੋ ਜਾਂਦਾ ਹੈ।
*'''bona''' - ਚੰਗਾ
*'''bela''' - ਸੁਹਣਾ
ਰੰਗਾਂ ਦੇ ਨਾਂ ਵੀ ਵਿਸ਼ੇਸ਼ਣ ਹਨ:
{{div col|2}}
*'''blanka''' - ਚਿੱਟਾ
*'''blanki''' - ਚਿੱਟੇ
*'''reda''' - ਲਾਲ (ਇਕ ਵਚਨ)
*'''redi''' - ਲਾਲ (ਬਹੁ ਵਚਨ)
*'''blua''' - ਨੀਲਾ
*'''blui''' - ਨੀਲੇ
{{div column end}}
f0asiiww36zzhalv2eii4o1tj6l4zec
ਫਰਮਾ:Saved book
10
2499
4494
2015-12-21T12:50:48Z
Guglani
753
ਫਰਮਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<table class="ombox">
<tr>
<td rowspan="3" style="padding: 5px;">
{|style="background:{{{cover-color|Lavender}}}; color:<!--
-->{{#switch:{{lc:{{{cover-color|}}}}}
|black= {{{text-color|white}}}
|#default= {{{text-color|black}}}
}}; text-align:left; border:1px solid darkgrey; width: 130px;"
|-
| style="background:gray; height: 3px;" |
|-
| style="height: 30px; text-align: right; vertical-align: top;" |<small>{{{title|Title}}}<br /><i>{{{subtitle|Subtitle}}}</i></small>
|-
| style="background:gray;" |
|-
| colspan="5" style="height: 135px; text-align: center; vertical-align: middle;" |[[File:{{{cover-image|Wikipedia-books-missing-cover.svg}}}|125px|<!--
-->{{#switch:{{{cover-image|Wikipedia-books-missing-cover.svg}}}
|Wikipedia-books-missing-cover.svg=Please select an appropriate cover image for this collection. See "Template:Saved book" for instructions."
|#default=
}}]]
|}
</td>
<td style="padding: 5px;"><!--
-->{{#switch:{{NAMESPACE}}
|{{ns:2}}|{{ns:3}}=This is a user-generated '''collection''' of Wikibooks pages that can be easily saved, rendered electronically, and ordered as a printed book. If you are the creator of this collection and need help, see '''[[Help:Collections]]'''.
|{{ns:4}}|{{ns:5}}<noinclude>|{{ns:10}}</noinclude>=This is a '''collection''' of the pages in a Wikibooks book that can be easily saved, rendered electronically, and ordered as a printed book. For information and help on Wikibooks collections, see '''[[Help:Collections]]'''.<includeonly>[[Category:Collections|{{{sort_as|{{PAGENAME}}}}}]]</includeonly>
|#default=This '''collection''' is not located in the correct namespace. Please move it to either [[Wikibooks:Collections/{{SUBPAGENAME}}]] or [[User:Username/Collections/{{SUBPAGENAME}}]]. For information and help on collections, see '''[[Help:Collections]]'''.
}}
</td>
</tr>
<tr style="vertical-align:center; text-align:center;">
<td style="padding: 5px;"><!--
-->{{nowrap|1=<!--
--><div style="font-size: larger;"><span class="plainlinks" title="Download a PDF version of this collection.">[ [{{fullurl:Special:Collection|bookcmd=render_collection&colltitle={{FULLPAGENAMEE}}&writer=rdf2latex}} Download PDF{{#ifexpr: {{{seiten|0}}}>0| ({{{pages}}} pages)}}] ]  </span><!--
--><span class="plainlinks" title="Open this collection using Wikibooks' collection editing tool. The Collection Creator allows you to easily add or remove pages, create or remove chapters, download and print PDF and ODT versions, and more.">[ [{{fullurl:Special:Book|bookcmd=load_collection&colltitle={{FULLPAGENAMEE}}}} Open in Collection Creator] ]  </span><!--
--><span class="plainlinks" title="Preview this collection with PediaPress, choose a cover image, pick a color for the cover, and more. The printed book has professional-quality layout and printing.">[ [{{fullurl:Special:Book|bookcmd=order_collection&colltitle={{FULLPAGENAMEE}}&partner=pediapress}} Order Printed Book] ]  </span></div>}}
</td>
</tr>
<tr style="vertical-align:bottom;">
<td style="text-align:right; padding: 5px;"><small>[ [[Help:Collections/Printed books|About]] ] [ [[Help:Collections/Frequently Asked Questions|FAQ]] ] [ [[Help:Collections/Feedback|Feedback]] ] [ [[Help:Collections|Help]] ] [ <span class="plainlinks" title="See the recent edits made to the pages of this collection.">[{{fullurl:Special:RecentChangesLinked/{{FULLPAGENAMEE}}|&days=30&namespace=0&tagfilter=&hideminor=&hidebots Recent Changes}}] ]</span></small>
</td>
</td>
</table>
{{#if:{{{description|}}}{{{editor|}}}
|{{mbox
|text={{#if:{{{description|}}}
|{{{description|}}}<p>
}}As edited by {{#switch:{{NAMESPACE}}
|{{ns:4}}=Wikibookians
|{{ns:2}}={{{editor|[[User:{{#titleparts:{{PAGENAME}}|1}}]]}}}
}}
}}
}}<noinclude>
{{documentation}}
</noinclude>
taow1phkjdyjh6y7klhdlzdk5odbduc
ਫਰਮਾ:Nowrap
10
2500
5686
4495
2023-04-07T08:36:43Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
<span class="nowrap">{{{1}}}</span><noinclude>
{{documentation}}
<!-- Categories go on the /doc page; interwikis go to Wikidata. -->
</noinclude>
avb5tcymgupik1ikutqclidkj9tnitx
ਮਦਦ:Collections
12
2501
4496
2015-12-21T12:58:58Z
Guglani
753
ਵਿਕੀ ਅੰਗਰੇਜ਼ੀ ਸਫ਼ੇ ਤੇ ਭੇਜਿਆ
wikitext
text/x-wiki
#ਰੀਡਿਰੈਕਟ [[:en:Help:Collections]]
n7xac8824rds3bnn6si8a1q7xptkjhi
ਫਰਮਾ:Div col end
10
2502
4499
2015-12-21T15:14:14Z
Satdeep Gill
356
"<includeonly></div></includeonly><noinclude>{{Documentation|Template:Div col/doc}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly></div></includeonly><noinclude>{{Documentation|Template:Div col/doc}}
</noinclude>
3lfmhnq9prifbvajyyqrv6kst0k9wem
ਈਡੋ/ਕਿਰਿਆ
0
2503
4500
2015-12-21T15:14:40Z
Satdeep Gill
356
"ਈਡੋ ਭਾਸ਼ਾ ਵਿੱਚ ਸਾਰੀਆਂ ਕਿਰਿਆਵਾਂ ਦੀ ਇੱਕ ਹੀ ਨਿਯਮ ਹੈ ਅਤੇ ਇਸ ਵਿ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
ਈਡੋ ਭਾਸ਼ਾ ਵਿੱਚ ਸਾਰੀਆਂ ਕਿਰਿਆਵਾਂ ਦੀ ਇੱਕ ਹੀ ਨਿਯਮ ਹੈ ਅਤੇ ਇਸ ਵਿੱਚ ਕੋਈ ਅਪਵਾਦ ਨਹੀਂ ਹੈ।
ਇਸ ਵਿੱਚ ਮੂਲ ਕਿਰਿਆ ਦੇ ਅੰਤ ਵਿੱਚ ਉੱਤੇ '''-ar''', ਵਰਤਮਾਨ ਕਾਲ ਵਿੱਚ ਅੰਤ ਉੱਤੇ '''-as''', ਭੂਤ ਕਾਲ ਵਿੱਚ ਅੰਤ ਉੱਤੇ '''-is''', ਭਵਿੱਖ ਕਾਲ ਵਿੱਚ ਅੰਤ ਉੱਤੇ '''-os''', ਹੁਕਮੀਆ ਵਾਕਾਂ ਦੇ ਅੰਤ ਵਿੱਚ '''-ez''' ਅਤੇ ਸ਼ਰਤੀਆ ਕਾਲ ਵਿੱਚ ਅੰਤ ਉੱਤੇ '''-us''' ਆਉਂਦਾ ਹੈ।
ਉਦਾਹਰਨ ਵਜੋਂ '''facar''' (ਕਰਨਾ) ਸ਼ਬਦ ਲਿਆ ਜਾ ਸਕਦਾ ਹੈ:
*'''Facar''' - '''ਕਰਨਾ'''
*'''Me facas''' - ਮੈਂ '''ਕਰ ਰਿਹਾ ਹਾਂ'''
* '''Me facis''' - ਮੈਂ '''ਕੀਤਾ'''
*'''Me facos''' - ਮੈਂ '''ਕਰਾਂਗਾ'''
*'''Me facez''' - '''ਕਰਾਂ'''
*'''Me facus''' - ਮੈਂਨੂੰ '''ਕਰਨਾ ਚਾਹੀਦਾ ਸੀ'''
==ਈਡੋ ਕਿਰਿਆਵਾਂ==
{{Div col|2}}
* vidar (ਵੇਖਣਾ)
* flugar (ਉੱਡਣਾ)
* krear (ਬਣਾਉਣਾ)
* debatar (ਬਹਿਸਣਾ)
* parolar (ਬੋਲਣਾ)
* movar (ਹਿਲਾਉਣਾ)
* editar (ਸੰਪਾਦਨ ਕਰਨਾ)
* bakar (ਬੇਕ ਕਰਨਾ)
* konocar (ਜਾਣਨਾ)
{{Div col end}}
f8j75kbte5e94fx9rjeuxrsjv4w99xo
ਮੈਥਿਲੀ
0
2504
4512
4511
2015-12-22T14:18:50Z
Satdeep Gill
356
wikitext
text/x-wiki
{{ਵਿਕੀਪੀਡੀਆ|ਮੈਥਿਲੀ}}
* [[ਮੈਥਿਲੀ/ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ|ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ]]
* [[ਮੈਥਿਲੀ/ਵਰਨਮਾਲਾ|ਵਰਨਮਾਲਾ]]
* [[ਮੈਥਿਲੀ/ਬਾਤ-ਚੀਤ|ਬਾਤ-ਚੀਤ]]
==ਵਿਆਕਰਣ==
* [[ਮੈਥਿਲੀ/ਪੜਨਾਂਵ|ਪੜਨਾਂਵ]]
* [[ਮੈਥਿਲੀ/ਨਾਂਵ|ਨਾਂਵ]]
* [[ਮੈਥਿਲੀ/ਕਿਰਿਆ|ਕਿਰਿਆ]]
* [[ਮੈਥਿਲੀ/ਵਿਸ਼ੇਸ਼ਣ|ਵਿਸ਼ੇਸ਼ਣ]]
* [[ਮੈਥਿਲੀ/ਸੰਬੰਧਕ|ਸੰਬੰਧਕ]]
9rs5mb70twvy9vuh2n4f747vcd8e3pf
ਮੈਥਿਲੀ/ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ
0
2505
4502
2015-12-22T14:10:03Z
Satdeep Gill
356
"ਮੈਥਿਲੀ ਇੱਕ ਜੋ ਪੂਰਬੀ ਨੇਪਾਲ ਅਤੇ ਉੱਤਰੀ ਭਾਰਤ ਵਿੱਚ ਕੁੱਲ 3.47 ਕਰੋੜ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
ਮੈਥਿਲੀ ਇੱਕ ਜੋ ਪੂਰਬੀ ਨੇਪਾਲ ਅਤੇ ਉੱਤਰੀ ਭਾਰਤ ਵਿੱਚ ਕੁੱਲ 3.47 ਕਰੋੜ ਲੋਕਾਂ ਦੁਆਰਾ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਇਤਿਹਾਸਕ ਤੌਰ ਉੱਤੇ ਇਹ ਮਿਥੀਲਾਕਸ਼ਰ (ਤਿਰੂਤਾ) ਲਿਪੀ ਵਿੱਚ ਲਿਖੀ ਜਾਂਦੀ ਸੀ ਪਰ 20ਵੀਂ ਸਦੀ ਤੋਂ ਬਾਅਦ ਇਹ ਜ਼ਿਆਦਾਤਰ ਦੇਵਨਾਗਰੀ ਵਿੱਚ ਹੀ ਲਿਖੀ ਜਾਂਦੀ ਹੈ।
2k3w54pgc82que0u9bf63lljibp8spy
ਫਰਮਾ:ਵਿਕੀਪੀਡੀਆ
10
2506
4506
4504
2015-12-22T14:14:40Z
Satdeep Gill
356
wikitext
text/x-wiki
{{mbox-side|type=notice|image=wikipedia-logo.png|text= [[:pa:|ਵਿਕੀਪੀਡੀਆ]] ਉੱਤੇ {{sec link auto| wikipedia | {{{1| Special:Search/{{PAGENAME}} }}} | '''''{{{1|{{PAGENAME}}}}}''''' }}{{#if:{{{2|}}}|{{#if:{{{3|}}}|,| and}} {{sec link auto| wikipedia | Special:Search/{{{2}}} | '''''{{{2}}}''''' }}}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|,| and}} {{sec link auto| wikipedia | Special:Search/{{{3}}} | '''''{{{3}}}''''' }}}}{{#if:{{{4|}}}| and {{sec link auto| wikipedia | Special:Search/{{{4}}} | '''''{{{4}}}''''' }}}} ਨਾਲ ਸੰਬੰਧਿਤ ਜਾਣਕਾਰੀ ਮੌਜੂਦ ਹੈ।
}}<noinclude>
{{documentation}}
</noinclude>
b5eog261sku77r32lgsm0mqsdwfy40e
ਫਰਮਾ:Mbox-side
10
2507
4505
2015-12-22T14:12:17Z
Satdeep Gill
356
"<table class="plainlinks noprint messagebox {{{type|notice}}}" style="width:250px; float:right; clear:right; margin:0px; margin-left:10px;"> <tr styl..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<table class="plainlinks noprint messagebox {{{type|notice}}}" style="width:250px; float:right; clear:right; margin:0px; margin-left:10px;">
<tr style="vertical-align:middle;">{{#ifeq:{{{image|yes}}}|none
|<!-- no image cell -->
|<td style="padding:0.1em; text-align:center; vertical-align:middle; width:45px; border:none;">
{{#if:{{{image|}}}|[[Image:{{{image}}}|{{{size|40x40px}}}|link=]]|{{#switch:{{{type|notice}}}
| warning = [[Image:Nuvola apps important.svg|{{{size|40x40px}}}|link=]]
| serious = [[Image:Stop hand nuvola.svg|{{{size|40x40px}}}|link=]]
| content = [[Image:Book important2.svg|{{{size|45x45px}}}|link=]]
| style = [[Image:Applications-office.svg|{{{size|40x40px}}}|link=]]
| merge = [[Image:Merge-split-transwiki default.svg|{{{size|40x40px}}}|link=]]
| move = [[Image:Merge-split-transwiki default.svg|{{{size|40x40px}}}|link=]]
| notice = [[Image:Warning icon WikiBooks.svg|{{{size|40x40px}}}|link=]]
| growth = [[Image:Nuvola apps bookcase.svg|{{{size|40x40px}}}|link=]]
| idea = [[Image:Dialog-information on.svg|{{{size|40x40px}}}|link=]]
| query = [[Image:Emblem-question.svg|{{{size|40x40px}}}|link=]]
| blank = <!-- empty image cell -->}}}}</td>}}
<td style="{{{text style|color:black; text-align:left; vertical-align:middle; padding:0.5em; padding-left:0em; border:none;}}}">
{{{1|{{{msg|{{{text|Enter a message}}}}}}}}}
</td></tr></table><noinclude>{{documentation}}</noinclude>
sqzshy81a0z1bewsjiyas59niao0fw1
ਫਰਮਾ:Sec link auto
10
2508
4507
2015-12-22T14:14:52Z
Satdeep Gill
356
"{{#switch: {{lc: {{{padlock|}}} }} | yes <!--Supress CSS icon, to not get double icon--> | no = <span class="plainlinks"> }}[{{sec link/relative..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#switch: {{lc: {{{padlock|}}} }}
| yes <!--Supress CSS icon, to not get double icon-->
| no = <span class="plainlinks">
}}[{{sec link/relative url
| project = {{{1|}}}
| pagename = {{{2|}}}
| lang = {{{lang|}}}
| query = {{{query|}}}
| anchor = {{{anchor|}}}
}} {{sec link/text
| project = {{{1|}}}
| pagename = {{{2|}}}
| text = {{{3|}}}
| lang = {{{lang|}}}
| query = {{{query|}}}
| anchor = {{{anchor|}}}
}}]{{#switch: {{lc: {{{padlock|}}} }}
| no = </span>
| yes = </span>[[File:Lock icon blue.gif|16x13px|link=]]
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
k1a7lwtbp7vzny1xe81121hy8ymnmo6
ਫਰਮਾ:Sec link/text
10
2509
4508
2015-12-22T14:15:27Z
Satdeep Gill
356
"{{#if: {{{text|}}} | {{{text}}} | {{#if: {{{project|}}} | {{{project}}}:{{#if: {{{lang|}}} | {{{lang}}}: }}{{{pagename|}}} | <!--No projec..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#if: {{{text|}}}
| {{{text}}}
| {{#if: {{{project|}}}
| {{{project}}}:{{#if: {{{lang|}}}
| {{{lang}}}:
}}{{{pagename|}}}
| <!--No project, so a local link-->
{{#if: {{{pagename|}}}
| {{{pagename}}}
| {{MediaWiki:Mainpage}} <!--Main page name at the local project-->
}}
}}{{
#if: {{{query|}}}
| ?{{{query|}}}
| {{#if: {{{anchor|}}}
| #{{{anchor}}}
}}
}}
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
i09uy7kjf2sxoakgfjm7roehyq4op69
ਫਰਮਾ:Sec link/relative url
10
2510
4510
2015-12-22T14:17:30Z
Satdeep Gill
356
"//{{#switch: {{lc: {{{project|}}} }} | wikipedia | w = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikipedia | wiktionary | wikt = {{#if:{{{lang|}}}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
//{{#switch: {{lc: {{{project|}}} }}
| wikipedia | w = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikipedia
| wiktionary | wikt = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wiktionary
| wikinews | n = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikinews
| wikibooks | b = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikibooks
| wikiquote | q = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikiquote
| wikiversity | v = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikiversity
| wikisource | s = {{#if:{{{lang|}}}|{{{lang}}}|{{CONTENTLANG}}}}.wikisource
| oldwikisource = wikisource
| wikispecies | species = species.wikimedia
| wikimedia | foundation | wmf = wikimediafoundation
| commons = commons.wikimedia
| meta | metawikipedia | m = meta.wikimedia
| strategy = strategy.wikimedia
| incubator = incubator.wikimedia
| mw = www.mediawiki
| nost = nostalgia.wikimedia
| testwiki = test.wikipedia
| #default =
<!-- Other Wikibooks language fed, or no project fed.
(If copying this template to a non-Wikibooks project,
then update the below code line.) -->
| #default = {{#if:{{{project|{{{lang|}}}}}}|{{{project|{{{lang}}}}}}|{{CONTENTLANG}}}}.wikibooks
}}.org/wiki/{{#if: {{{anchor|}}}
| {{PAGENAMEE:Template:{{{pagename|}}} }}#{{anchorencode:{{{anchor}}} }}
| {{PAGENAMEE:Template:{{{pagename|}}} }}{{#if: {{{query|}}}
| ?{{{query|}}}
}}
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
iqa4lhftir8q1l98mi3d1yc5gmxs5gl
ਮੈਥਿਲੀ/ਪੜਨਾਂਵ
0
2511
4515
4514
2015-12-22T17:07:07Z
Satdeep Gill
356
wikitext
text/x-wiki
{{Div col|2}}
*ਮੈਂ = '''हम''' (ਹਮ)
*ਤੂੰ = '''अहाँ''' (ਅਹਾਂ)
*ਉਹ = '''ओ''' (ਓ)
*ਅਸੀਂ = '''हमसभ''' (ਹਮਸਭ)
*ਤੁਸੀਂ = '''अहाँ''' (ਅਹਾਂ)
*ਉਹ (ਬਹੁ-ਵਚਨ) = '''ओसभ''' (ਓਸਭ)
{{Div col end}}
f4z6diuy4506uxagv2drxzd2m69szs8
ਮੈਥਿਲੀ/ਬਾਤ-ਚੀਤ
0
2512
4758
4756
2016-04-15T03:28:39Z
Satnam S Virdi
1285
wikitext
text/x-wiki
ਆਮ ਗੱਲਬਾਤ (ਬਾਤ-ਚੀਤ) ਨਾਲ ਸਬੰਧਿਤ ਵਾਕ:
* '''प्रणाम''' - ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ
* '''स्वागतम''' - ਜੀ ਆਇਆਂ ਨੂੰ
* '''अहाँक नाम की भेल?''' - ਤੁਹਾਡਾ ਨਾਂ ਕੀ ਹੈ?
* '''हमर नाम _____ छी ।''' - ਮੇਰਾ ਨਾਂ _____ ਹੈ।
* '''अहाँसँ मिल खुसी लागल''' - ਤੁਹਾਨੂੰ ਮਿਲਕੇ ਖੁਸ਼ੀ ਹੋਈ।
* '''कृप्या''' - ਕਿਰਪਾ ਕਰਕੇ
* '''हँ''' - ਹਾਂ
* '''नै''' - ਨਹੀਂ
* '''अहाँक घर कतेक अछि?''' -
* '''अहाँ खाना खेलौ?''' -
* '''हम राजविराजसँ छी ।''' -
9kateakalwy19mnt2pkrrcbd9n814ly
ਮੈਥਿਲੀ/ਵਰਨਮਾਲਾ
0
2513
4517
2015-12-23T03:29:17Z
Satdeep Gill
356
"==ਦੇਵਨਾਗਰੀ== 20ਵੀਂ ਸਦੀ ਤੋਂ ਬਾਅਦ ਇਹ ਜ਼ਿਆਦਾਤਰ ਦੇਵਨਾਗਰੀ ਲਿਪੀ ਵਿ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
==ਦੇਵਨਾਗਰੀ==
20ਵੀਂ ਸਦੀ ਤੋਂ ਬਾਅਦ ਇਹ ਜ਼ਿਆਦਾਤਰ ਦੇਵਨਾਗਰੀ ਲਿਪੀ ਵਿੱਚ ਲਿਖੀ ਜਾਂਦੀ ਹੈ।
{| rules=all style="text-align: center; border: 1px solid darkgray;" cellpadding=4
|'''ਧੁਨੀਮ'''||'''ਉਚਾਰਨ''',<br />transcription||'''example'''<br />(in English)||'''example'''<br />(in Hindi)
|-----
| '''ਸਵਰ'''
|-----
| <font size="+1"> अ </font> || ''a'' (short) || f'''u'''n || <font size="+1">अब</font> (''ab'', now)
|-----
| <font size="+1"> आ </font> || ''â'' (long) || f'''a'''ther || <font size="+1">आठ</font> (''âth'', eight)
|-----
| <font size="+1"> इ </font> || ''i'' (short) || s'''i'''ck || <font size="+1">इमली</font> (''imlï'', Tamarind)
|-----
| <font size="+1"> ई </font> || ''î'' (long) || sh'''ee'''r || <font size="+1">मिठाई</font> (''mithâï'', sweets)
|-----
| <font size="+1"> उ </font> || ''ou'' (short) || p'''u'''t || <font size="+1">उर्दू</font> (Urdū)
|-----
| <font size="+1"> ऊ </font> || ''oû'' (long) || sh'''oo'''t || <font size="+1">ऊन</font> (''oûn'', wool)
|-----
| <font size="+1"> ऋ </font> || ''ri'' || c'''ry'''stal || <font size="+1">ऋषि</font> (''rishi'', wise (person))
|-----
| <font size="+1"> ऍ </font> || ''e'' || sp'''e'''nd || <font size="+1">ऍडवर्द</font> (Edward, English pronunciation)
|-----
| <font size="+1"> ए </font> || ''é'' || (French) n'''é'''e || <font size="+1">एक</font> (''ék'', one)
|-----
| <font size="+1"> ऐ </font> || ''éï'' || h'''i''' || <font size="+1">ऐनक</font> (''éïnak'', glasses)
|-----
| <font size="+1"> ऑ </font> || ''o'' (long, open) || rob'''o'''t || <font size="+1">ऑक्सिजन</font> (oxygen)
|-----
| <font size="+1"> ओ</font> || ''ô'' (closed) || l'''o'''af || <font size="+1">ओड़िया</font> (Oriya)
|-----
| <font size="+1"> औ </font> || ''aô'' (long) || sc'''ou'''t || <font size="+1">औरत</font> (''aôrat'', woman)
|-----
| <font size="+1"> ा </font> || ''â'' (long, middle of a word) || || <font size="+1">सामान</font> (''sâmân'', baggage)
|-----
| <font size="+1"> ि </font> || ''i'' (short, middle of a word) || || <font size="+1">पिता</font> (''pitâ'', father)
|-----
| <font size="+1"> ी </font> || ''i'' (long, middle of a word) || || <font size="+1">घी</font> (''ghî'', butter)
|-----
| <font size="+1"> ु </font> || ''ou'' (short, middle of a word) || || <font size="+1">दुकान</font> (''doukân'', shop)
|-----
| <font size="+1"> ू </font> || ''oû'' (long, middle of a word) || || <font size="+1">जूता</font> (''joûtâ'', shoe)
|-----
| <font size="+1"> ृ </font> || ''ri'' (middle of a word) || || <font size="+1">कृषि</font> (''krichi'', agriculture)
|-----
| <font size="+1"> ॅ </font> || ''e'' (middle of a word) || || <font size="+1">क्रॅडिट (''credit'', credit) </font>
|-----
| <font size="+1"> े </font> || ''é'' (middle of a word) || || <font size="+1">देना</font> (''dénâ'', to give)
|-----
| <font size="+1"> ै </font> || ''éï'' (middle of a word) || || <font size="+1">है</font> (''héï'', is (verb "to be"))
|-----
| <font size="+1"> ॉ </font> || ''o'' (long, open,<br/>middle of a word) || || <font size="+1">कॉलेज</font> (''koléj'', college, university)
|-----
| <font size="+1"> ो </font> || ''ô'' (closed, middle of a word) || || <font size="+1">सोमवार</font> (''sômvâr'', Monday)
|-----
| <font size="+1"> ौ </font> || ''aô'' (middle of a word) || || <font size="+1">नौ</font> (''naô'', nine)
|-----
| <font size="+1"> ं </font> || (''anusvâr'', nasalises the preceding vowel) || || <font size="+1">रंग</font> (''rang'', color)
|-----
| <font size="+1"> ँ </font> || (''chandrabindu'', nasalises the preceding vowel) || ''on'', ''an'' || <font size="+1">फ़्राँसीसी</font> (''fransîsî'', French)
|-----
| <font size="+1"> अः </font> || ''ah'' (in the middle of a word,<br />only the two points are used) || || <font size="+1">दुःख</font> (''duhkh'', sadness)
|-----
| <br />
|-----
| '''ਵਿਅੰਜਨ'''
|-----
| <font size="+1"> क </font> || ''k'' || '''c'''ome || <font size="+1">कमरा</font> (''kamrâ'', room)
|-----
| <font size="+1"> क़ </font> || ''k'' (words of arabic origin) || '''c'''risp ||<font size="+1">क़मीज़</font> (''kamîz'', shirt)
|-----
| <font size="+1"> ख </font> || ''kh'' || '''kh'''aki || <font size="+1">लिखना</font> (''likhnâ'', write)
|-----
| <font size="+1"> ख़ </font> || ''kh'' || '''kh'''aki || <font size="+1">अख़बार</font> (''akhbâr'', Newspaper)
|-----
| <font size="+1"> ग </font> || ''g'' || '''g'''irl || <font size="+1">गाना</font> (''gânâ'', song, to sing)
|-----
| <font size="+1"> ग़ </font> || ''g'' || '''g'''um || <font size="+1">ग़रीब</font> (''garîb'', poor)
|-----
| <font size="+1"> घ </font> || ''gh'' || || <font size="+1">घर</font> (''ghar'', home, dwelling)
|-----
|<font size="+1">ङ्</font> || ''unu'' || fi'''n'''ger || <font size="+1">वाङ्मय </font> (''Vaadmay'', helpful)
|-----
| <font size="+1"> च </font> || ''tch'' || '''Tch'''echen || <font size="+1">चार</font> (''tchâr'', four)
|-----
| <font size="+1"> छ </font> || ''tchh'' || || <font size="+1">छे</font> (''tchhé'', six)
|-----
| <font size="+1"> ज </font> || ''dj'' || '''g'''ene || <font size="+1">जाना</font> (''djânâ'', to go)
|-----
| <font size="+1"> ज़ </font> || ''z'' (words of arabic origin) || '''z'''ero || <font size="+1">मेज़</font> (''méz'', table)
|-----
| <font size="+1"> झ </font> || ''djh'' || || <font size="+1">झूठ</font> (''djhoûth'', lie)
|-----
| <font size="+1"> ञ </font> || ''gn'' (only in combination with <font size="+1">च छ ज झ</font>)|| '''Gn'''arl || <font size="+1">ज्ञान </font> (''Knowledge'')
|-----
| <font size="+1"> ट </font> || ''t'' || '''T'''ommy || <font size="+1">पेट</font> (''pét'', stomach)
|-----
| <font size="+1"> ठ </font> || ''th'' || || <font size="+1">मराठी</font> (Marathi)
|-----
| <font size="+1"> ड </font> || ''d'' || || <font size="+1">एडी</font> (''édî'', ankle)
|-----
| <font size="+1"> ड़ </font> || ''r'' (rolling) || || <font size="+1">भेड़</font> (''bhér'', sheep)
|-----
| <font size="+1"> ढ </font> || ''dh'' || || <font size="+1">ढेर</font> (''dhér'', accumulation)
|-----
| <font size="+1"> ढ़ </font> || ''rh'' || || <font size="+1">डेढ़</font> (''dérh'', one and a half)
|-----
| <font size="+1"> ण </font> || ''n'' || || <font size="+1">अणु</font> (''anou'', atome, molecula)
|-----
| <font size="+1"> त </font> || ''t'' || || <font size="+1">तमिल</font> (''tamil'', Tamil)
|-----
| <font size="+1"> थ </font> || ''th'' || '''th'''ick || <font size="+1">हाथ</font> (''hâth'', hand)
|-----
| <font size="+1"> द </font> || ''d'' || || <font size="+1">दो</font> (''dô'', two)
|-----
| <font size="+1"> ध </font> || ''dh'' || || <font size="+1">दूध</font> (''doûdh'', milk)
|-----
| <font size="+1"> न </font> || ''n'' || '''n'''ame || <font size="+1">नमक</font> (''namak'', salt)
|-----
| <font size="+1"> प </font> || ''p'' || '''p'''apa || <font size="+1">पति</font> (''pati'', husband)
|-----
| <font size="+1"> फ </font> || ''ph'', ''f'' || || <font size="+1">सफेद</font> (''safed'', white)
|-----
| <font size="+1"> फ़ </font> || ''f'' (words of foreign origin) || '''f'''ailure || <font size="+1">फ़ारसी</font> (Farsi)
|-----
| <font size="+1"> ब </font> || ''b'' || '''b'''alloon || <font size="+1">बीस</font> (''bîs'', twenty)
|-----
| <font size="+1"> भ </font> || ''bh'' || || <font size="+1">भारत</font> (''bhârat'', India)
|-----
| <font size="+1"> म </font> || ''m'' || '''m'''om || <font size="+1">माथा</font> (''mâthâ'', forehead)
|-----
| <font size="+1"> य </font> || ''y'' || '''y'''ac || <font size="+1">चाय</font> (''tchây'', tea/chai)
|-----
| <font size="+1"> र </font> || ''r'' || '''r'''ate || <font size="+1">रिववार</font> (''ravivâr'', Sunday)
|-----
| <font size="+1"> ल </font> || ''l'' || '''l'''ake || <font size="+1">लाना</font> (''lânâ'', bring)
|-----
| <font size="+1"> व </font> || ''v'', ''w'' || || <font size="+1">हवा</font> (''hawâ'', air)
|-----
| <font size="+1"> श </font> || ''sh'' (''wet'' ch) || ([[German]]) mi'''ch''' || <font size="+1">शनिवार</font> (''shanivâr'', Saturday)
|-----
| <font size="+1"> ष </font> || ''ch'' || '''sh'''ell || <font size="+1">भाषा</font> (''bhâchâ'', language)
|-----
| <font size="+1"> स </font> || ''s'' || '''s'''ilk || <font size="+1">सात</font> (''sât'', seven)
|-----
| <font size="+1"> ह </font> || ''h'' || '''h'''ill || <font size="+1">होना</font> (''honâ'', to be)
|-----
| <font size="+1"> ़ </font> || || || <font size="+1"> </font>
|-----
| <font size="+1"> ् </font> || (to supress the implicit vowel) || || <font size="+1"> </font>
|-----
| <font size="+1"> ॐ </font> || Ôm || || <font size="+1"> </font>
|-----
| <font size="+1"> । </font> || . (end of phrase) || || <font size="+1"> </font>
|-----
| <font size="+1"> ॥ </font> || (marks the end of the rhyme in poetry) || || <font size="+1"> </font>
|}
0fbe9ake1vw6mc6cryiljvbyo427w6j
ਈਡੋ/ਗੱਲ-ਬਾਤ
0
2514
4520
4519
2015-12-23T04:12:03Z
Satdeep Gill
356
wikitext
text/x-wiki
=== ਵਾਕੰਸ਼===
<table>
<tr><td>'''Bona jorno'''</td> <td>ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ (ਸ਼ੁਭ ਦਿਨ)</td></tr>
<tr><td>'''Bona vespero'''</td> <td>ਸ਼ੁਭ ਸ਼ਾਮ</td></tr>
<tr><td>'''Bona nokto'''</td> <td>ਸ਼ੁਭ ਰਾਤ</td></tr>
<tr><td>'''Til rivido'''</td> <td>ਖ਼ੁਦਾ ਹਾਫ਼ਿਜ਼ (ਫਿਰ ਮਿਲਾਂਗੇ)</td></tr>
<tr><td>'''Quale vu standas?'''</td> <td>ਤੁਹਾਡਾ ਕੀ ਹਾਲ ਹੈ?</td></tr>
<tr><td>'''Tre bone danko'''</td> <td>ਬਹੁਤ ਖ਼ੂਬ, ਸ਼ੁਕਰੀਆ</td></tr>
</table>
===ਗੱਲ-ਬਾਤ===
ਦੋ ਵਿਅਕਤੀਆਂ ਵਿੱਚ ਗੱਲ-ਬਾਤ।<br>
A: '''Bona jorno! Quale vu standas?''' ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ! ਤੁਹਾਡਾ ਕੀ ਹਾਲ ਹੈ?<br>
M: '''Tre bone, danko. Quale vu nomesas?''' ਬਹੁਤ ਖ਼ੂਬ, ਸ਼ੁਕਰੀਆ। ਤੁਹਾਡਾ ਨਾਂ ਕੀ ਹੈ?<br>
A: '''Me nomesas Andre. E vu?'''ਮੇਰਾ ਨਾਂ ਆਂਡਰੇ ਹੈ। ਅਤੇ ਤੁਸੀਂ?<br>
M: '''Me nomesas Parvez. Ube vu habitas?''' ਮੇਰਾ ਨਾਂ ਪਰਵੇਜ਼ ਹੈ। ਤੁਸੀਂ ਕਿੱਥੇ ਰਹਿੰਦੇ ਹੋ?<br>
A: '''Me habitas Paris. Ka vu anke?''' ਮੈਂ ਪੈਰਿਸ ਵਿੱਚ ਰਹਿੰਦਾ ਹਾਂ। ਤੁਸੀਂ ਵੀ?<br>
M: '''No, me habitas Patiala, India. Me lojas en Paris nur por un monato.''' ਨਹੀਂ, ਮੈਂ ਪਟਿਆਲਾ, ਭਾਰਤ ਵਿੱਚ ਰਹਿੰਦਾ ਹਾਂ। ਪੈਰਿਸ ਵਿੱਚ ਮੈਂ ਸਿਰਫ਼ ਇੱਕ ਮਹੀਨੇ ਲਈ ਹਾਂ।<br>
A: '''Bone! Ho! Yen la autobuso. Me mustas irar. Til rivido!''' ਬਹੁਤ ਖ਼ੂਬ! ਬੱਸ ਆ ਰਹੀ ਹੈ। ਮੈਂਨੂੰ ਜਾਣਾ ਪੈਣਾ। ਫਿਰ ਮਿਲਾਂਗੇ!<br>
M: '''Til rivido!''' ਫਿਰ ਮਿਲਾਂਗੇ!<br>
6jaia0w5py3c7z9tmhh9g90bbrx5afz
ਸ਼੍ਰੇਣੀ:ਛੇਤੀ ਮਿਟਾਉਣਯੋਗ ਸਫ਼ੇ
14
2515
4534
2015-12-23T16:14:53Z
Satdeep Gill
356
"ਛੇਤੀ ਮਿਟਾਉਣਯੋਗ ਸਫ਼ੇ" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
ਛੇਤੀ ਮਿਟਾਉਣਯੋਗ ਸਫ਼ੇ
rijd7fs4w779bmnube8oc1tggmenucz
ਐੱਸਪੇਰਾਂਤੋ
0
2516
5292
4548
2022-11-29T21:02:19Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
{{ਵਿਕੀਪੀਡੀਆ|ਐੱਸਪੇਰਾਂਤੋ}}
[[File:Flag of Esperanto.svg|thumb|ਐੱਸਪੇਰਾਂਤੋ ਦਾ ਝੰਡਾ]]
'''ਐੱਸਪੇਰਾਂਤੋ''' ਇੱਕ ਬਣਾਉਟੀ ਭਾਸ਼ਾ ਹੈ ਜੋ ਲੁਦਵਿਕ ਜ਼ਾਮੇਨਹੋਫ਼ ਦੁਆਰਾ ਤਿਆਰ ਕੀਤੀ ਗਈ ਹੈ।
==ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ==
* [[ਐੱਸਪੇਰਾਂਤੋ/ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ|ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ]]
* [[ਐੱਸਪੇਰਾਂਤੋ/ਗੱਲ-ਬਾਤ|ਗੱਲ-ਬਾਤ]]
==ਵਿਆਕਰਨ==
* [[ਐੱਸਪੇਰਾਂਤੋ/ਪੜਨਾਂਵ|ਪੜਨਾਂਵ]]
* [[ਐੱਸਪੇਰਾਂਤੋ/ਨਾਂਵ|ਨਾਂਵ]]
* [[ਐੱਸਪੇਰਾਂਤੋ/ਵਿਸ਼ੇਸ਼ਣ|ਵਿਸ਼ੇਸ਼ਣ]]
* [[ਐੱਸਪੇਰਾਂਤੋ/ਕਿਰਿਆ|ਕਿਰਿਆ]]
suxq32g1ps9chkcwq2z6i5atx839mj5
ਐੱਸਪੇਰਾਂਤੋ/ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ
0
2517
4536
2015-12-23T16:39:15Z
Satdeep Gill
356
"'''ਐੱਸਪੇਰਾਂਤੋ''' ਇੱਕ ਬਣਾਉਟੀ ਭਾਸ਼ਾ ਹੈ ਜਿਸਦਾ ਸਿਰਜਣਹਾਰ ਲੁਦਵਿਕ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
'''ਐੱਸਪੇਰਾਂਤੋ''' ਇੱਕ ਬਣਾਉਟੀ ਭਾਸ਼ਾ ਹੈ ਜਿਸਦਾ ਸਿਰਜਣਹਾਰ ਲੁਦਵਿਕ ਜ਼ਾਮੇਨਹੋਫ ਸੀ। ਉਸਦਾ ਮਕਸਦ ਸੀ ਕਿ ਸੰਸਾਰ ਵਿੱਚ ਇੱਕ ਸਾਂਝੀ ਸੰਚਾਰ ਭਾਸ਼ਾ ਬਣਾਈ ਜਾਵੇ ਜੋ ਸਿੱਖਣ ਵਿੱਚ ਸੌਖੀ ਹੋਵੇ।
acm8mh7h8rfeq6j75lhycstzth7hgf6
ਐੱਸਪੇਰਾਂਤੋ/ਪੜਨਾਂਵ
0
2518
5323
4538
2022-11-29T21:07:55Z
Suyash.dwivedi
1854
/* ਸੰਬੰਧਵਾਚੀ ਪੜਨਾਂਵ */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
==ਨਿੱਜੀ ਪੜਨਾਂਵ==
{| class="wikitable"
!colspan="2"| ਪੁਰਖ
!ਇੱਕ ਵਚਨ !! ਬਹੁ-ਵਚਨ
|-
!colspan="2"| ਪਹਿਲਾ
|mi (ਮੈਂ)
|ni (ਅਸੀਂ, ਆਪਾਂ)
|-
!colspan="2"| ਦੂਜਾ
|colspan="2"| vi (ਤੂੰ, ਤੁਸੀਂ)
|-
!rowspan="3"| ਤੀਜਾ
! ਪੁਲਿੰਗ
| li (ਉਹ)
|rowspan="3"| ili (ਉਹ)
|-
! ਇਲਿੰਗ
| ŝi (ਉਹ)
|-
! ਵਸਤੂ
| ĝi (ਉਹ)
|}
==ਸੰਬੰਧਵਾਚੀ ਪੜਨਾਂਵ==
{| class="wikitable"
|-
! ਐੱਸਪੇਰਾਂਤੋ !! ਪੰਜਾਬੀ
|-
| mia || ਮੇਰਾ, ਮੇਰੀ, ਮੇਰੇ, ਮੇਰੀਆਂ
|-
| via || ਤੇਰਾ, ਤੇਰੀ, ਤੇਰੇ, ਤੇਰੀਆਂ <br /> ਤੁਹਾਡਾ, ਤੁਹਾਡੀ, ਤੁਹਾਡੇ, ਤੁਹਾਡੀਆਂ
|-
| ŝia || ਉਹਦਾ, ਉਹਦੀ, ਉਹਦੇ, ਉਹਦੀਆਂ (ਇਲਿੰਗ)
|-
| lia || ਉਹਦਾ, ਉਹਦੀ, ਉਹਦੇ, ਉਹਦੀਆਂ (ਪੁਲਿੰਗ)
|-
| ĝia || ਉਹਦਾ, ਉਹਦੀ, ਉਹਦੇ, ਉਹਦੀਆਂ (ਵਸਤੂ)
|-
| nia || ਸਾਡਾ, ਸਾਡੀ, ਸਾਡੇ, ਸਾਡੀਆਂ
|-
| ilia || ਉਹਨਾਂ ਦਾ, ਉਹਨਾਂ ਦੀ, ਉਹਨਾਂ ਦੇ, ਉਹਨਾਂ ਦੀਆਂ
|}
jnd0ml5lc6d0d5i544itq61m9w3qr5b
ਈਡੋ/ਵਰਣਨ
0
2519
4563
4562
2015-12-26T04:13:38Z
Baljeet Bilaspur
1273
wikitext
text/x-wiki
==ਆਪਣੇ ਅਤੇ ਹੋਰਾਂ ਬਾਰੇ ਗੱਲਾਂ ਕਰਨਾ==
* '''Ramon es inteligenta, ma ociema.''' ਰਾਮੋਨ ਸਿਆਣਾ ਹੈ ਪਰ ਆਲਸੀ ਹੈ।
* '''La long-hara viro ne es vicino di Ramesh.''' ਲੰਮੇ ਵਾਲਾਂ ਵਾਲਾ ਆਦਮੀ ਰਮੇਸ਼ ਦਾ ਗਵਾਂਢੀ ਨਹੀਂ ਹੈ।
* '''Quante vu evas?''' ਤੁਹਾਡੀ ਉਮਰ ਕੀ ਹੈ?
* '''Elua matro evas sisadek e sep yari.''' ਉਸਦੀ ਮਾਂ ਸਤਾਹਠ ਸਾਲਾਂ ਦੀ ਹੈ।
* '''Sioro Parvez es mez-eva viro.''' ਪਰਵੇਜ਼ ਸਾਹਿਬ ਦਰਮਿਆਨੀ ਉਮਰ ਦੇ ਹਨ।
* '''Lua grand-eva genitori habitas en Chandigarh.''' ਉਸਦੇ ਬਜ਼ੁਰਗ ਚੰਡੀਗੜ੍ਹ ਵਿੱਚ ਰਹਿੰਦੇ ਹਨ।
t2x9bhkjf5ry8d1lji8g1l13ynf4m8z
ਐੱਸਪੇਰਾਂਤੋ/ਨਾਂਵ
0
2520
4544
2015-12-25T03:51:03Z
Satdeep Gill
356
"ਇੱਕ ਵਚਨ ਨਾਂਵਾਂ ਦੇ ਅੰਤ ਵਿੱਚ "o" ਆਉਂਦਾ ਹੈ ਅਤੇ ਬਹੁ-ਵਚਨ ਨਾਂਵਾਂ ਦੇ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
ਇੱਕ ਵਚਨ ਨਾਂਵਾਂ ਦੇ ਅੰਤ ਵਿੱਚ "o" ਆਉਂਦਾ ਹੈ ਅਤੇ ਬਹੁ-ਵਚਨ ਨਾਂਵਾਂ ਦੇ ਅੰਤ ਵਿੱਚ "oj" ਆਉਂਦਾ ਹੈ। ਇਲਿੰਗ ਨਾਂਵਾਂ ਦੇ ਵਿੱਚ "o" ਤੋਂ ਪਹਿਲਾਂ ਇੱਕ "n" ਜੋੜ ਦਿੱਤਾ ਜਾਂਦਾ ਹੈ।
* Hundo (ਕੁੱਤਾ)
* Hundoj (ਕੁੱਤੇ)
* Hundino (ਕੁੱਤੀ)
* Hundinoj (ਕੁੱਤੀਆਂ)
avyudakl92ar0mssb5nw0ix7d6ss50z
ਫ਼ਰਾਂਸੀਸੀ
0
2521
5335
5329
2023-01-15T21:33:14Z
Kwamikagami
1817
wikitext
text/x-wiki
[[file:Detailed SVG map of the Francophone world.svg|right|frameless|upright=2]]
==ਮੁਢਲੀ ਜਾਣਕਾਰੀ==
* [[ਫ਼ਰਾਂਸੀਸੀ/ਮੁਢਲੀ ਜਾਣਕਾਰੀ|ਮੁਢਲੀ ਜਾਣਕਾਰੀ]]
* [[ਫ਼ਰਾਂਸੀਸੀ/ਵਰਨਮਾਲਾ|ਵਰਨਮਾਲਾ ਅਤੇ ਵਿਸ਼ੇਸ਼ ਚਿੰਨ੍ਹ]]
* [[ਫ਼ਰਾਂਸੀਸੀ/ਗੱਲ-ਬਾਤ|ਮੁਢਲੀ ਗੱਲ-ਬਾਤ]]
==ਵਿਆਕਰਨ==
* [[ਫ਼ਰਾਂਸੀਸੀ/ਪੜਨਾਂਵ|ਪੜਨਾਂਵ]]
* [[ਫ਼ਰਾਂਸੀਸੀ/ਨਾਂਵ|ਨਾਂਵ]]
* [[ਫ਼ਰਾਂਸੀਸੀ/ਵਿਸ਼ੇਸ਼ਣ|ਵਿਸ਼ੇਸ਼ਣ]]
* [[ਫ਼ਰਾਂਸੀਸੀ/ਕਿਰਿਆ|ਕਿਰਿਆ]]
* [[ਫ਼ਰਾਂਸੀਸੀ/ਕਿਰਿਆ ਵਿਸ਼ੇਸ਼ਣ|ਕਿਰਿਆ ਵਿਸ਼ੇਸ਼ਣ]]
83v21q07z7rqf3gx1x8zpc1s4jsdj11
ਫ਼ਰਾਂਸੀਸੀ/ਪੜਨਾਂਵ
0
2522
5271
4551
2022-09-04T05:38:11Z
Kwamikagami
1817
/* ਨਿੱਜੀ ਪੜਨਾਂਵ */
wikitext
text/x-wiki
==ਨਿੱਜੀ ਪੜਨਾਂਵ==
* '''je-''', '''moi''' - ਮੈਂ
* '''tu-''', '''toi''' - ਤੂੰ
* '''il-''', '''lui''' - ਉਹ (ਪੁਲਿੰਗ)
* '''elle''' - ਉਹ (ਇਲਿੰਗ)
* '''nous''' - ਅਸੀਂ
* '''vous''' - ਤੁਸੀਂ
* '''ils-''', '''eux''' - ਉਹ (ਪੁਲਿੰਗ - ਬਹੁਵਚਨ)
* '''elles''' - ਉਹ (ਇਲਿੰਗ - ਬਹੁਵਚਨ)
* '''on''' - ਆਪਾਂ
==ਸੰਬੰਧਵਾਚਕ ਪੜਨਾਂਵ==
0bkk28wgkj1ioq4rkgspft4i5ve7zsm
Wikibooks:ਵਿਜ਼ੁਅਲ ਐਡੀਟਰ
4
2523
4552
2015-12-25T04:36:50Z
Satdeep Gill
356
ਨਵਾਂ
wikitext
text/x-wiki
ਵਿਜ਼ੁਅਲ ਐਡੀਟਰ ਇੱਕ ਟੂਲ ਹੈ ਜਿਸਦੀ ਮਦਦ ਨਾਲ ਬਿਨਾ ਵਿਕੀਲਿਖਤ ਤੋਂ ਸੋਧਾਂ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ।
k042xltjs83tfiqn3ljmcmb2lplujph
ਮੀਡੀਆਵਿਕੀ:Gadgets-definition
8
2524
5962
4969
2023-10-26T05:59:52Z
Krinkle
340
Maintenance: remove ineffective rights=purge (all users have this) for HotCat, not needed on this wiki since it isn't enabled by default
wikitext
text/x-wiki
== editing ==
* HotCat[ResourceLoader|rights=edit]|HotCat.js
* ProveIt[ResourceLoader|dependencies=jquery.ui,jquery.textSelection,mediawiki.util]|ProveIt.css|ProveIt.js
plyrpfp8crbu5gjdprflhhw9yu4sm2v
ਮੀਡੀਆਵਿਕੀ:Gadget-HotCat
8
2525
4554
2015-12-25T04:41:45Z
Satdeep Gill
356
"HotCat, ਕੈਟੇਗਰੀਆਂ ਵਿਚ ਤਬਦੀਲੀ ਕਰਨੀ ਆਸਾਨ ਬਣਾਉਂਦਾ ਹੈ।" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
HotCat, ਕੈਟੇਗਰੀਆਂ ਵਿਚ ਤਬਦੀਲੀ ਕਰਨੀ ਆਸਾਨ ਬਣਾਉਂਦਾ ਹੈ।
hiqb4gsn8kt0qtiefpdx623cjuqg078
ਮੀਡੀਆਵਿਕੀ:Gadget-HotCat.js
8
2526
4555
2015-12-25T04:42:26Z
Satdeep Gill
356
"window.hotcat_translations_from_commons = true; /* This imports the latest version of HotCat from Commons. HotCat is a gadget to make changes to cat..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
javascript
text/javascript
window.hotcat_translations_from_commons = true;
/*
This imports the latest version of HotCat from Commons.
HotCat is a gadget to make changes to categories much easier.
Full documentation can be found at http://commons.wikimedia.org/wiki/Help:Gadget-HotCat
*/
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
050rn29344h01x3e9o7x0k5vcs4cj2v
ਮੀਡੀਆਵਿਕੀ:Gadget-ProveIt
8
2527
4556
2015-12-25T04:43:52Z
Satdeep Gill
356
"ProveIt - ਹਵਾਲੇ ਜੋੜਨੇ ਆਸਾਨ ਬਣਾਉਂਦਾ ਹੈ।" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
ProveIt - ਹਵਾਲੇ ਜੋੜਨੇ ਆਸਾਨ ਬਣਾਉਂਦਾ ਹੈ।
bfv42f3dobqv87p4sm7j6l925f42eeb
ਮੀਡੀਆਵਿਕੀ:Gadget-ProveIt.css
8
2528
4557
2015-12-25T04:44:37Z
Satdeep Gill
356
"@import url("//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ProveIt.css&action=raw&debug=true&ctype=text/css");" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
css
text/css
@import url("//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ProveIt.css&action=raw&debug=true&ctype=text/css");
b04779kucmunttfoxolz1fbk9dotoi8
ਮੀਡੀਆਵਿਕੀ:Gadget-ProveIt.js
8
2529
4558
2015-12-25T04:45:04Z
Satdeep Gill
356
"mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ProveIt.js&action=raw&ctype=text/javascript'); // [[:en:User:ProveIt GT]]" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
javascript
text/javascript
mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ProveIt.js&action=raw&ctype=text/javascript');
// [[:en:User:ProveIt GT]]
omjr9uru5pnvzz39h9ft6gujs9ymjjs
ਫਰਮਾ:ਅਧਾਰ
10
2530
4593
4592
2016-01-01T14:39:38Z
Satnam S Virdi
1285
[[Special:Contributions/ਪ੍ਰਚਾਰਕ|ਪ੍ਰਚਾਰਕ]] ([[User talk:ਪ੍ਰਚਾਰਕ|ਗੱਲ-ਬਾਤ]]) ਦੀ ਸੋਧ 4592 ਨਕਾਰੀ - Test Failed
wikitext
text/x-wiki
{{ambox|type=content|text='''ਇਸ ਕਿਤਾਬ ਦਾ ਪੂਰੀ ਤਰਾਂ ਵਿਕਾਸ ਨਹੀਂ ਹੋਇਆ ਹੈ।'''<br/>ਤੁਸੀਂ ਇਸ ਨੂੰ [{{fullurl:{{FULLPAGENAME}}|action=edit}} ਵਧਾ ਕੇ] ਮਦਦ ਕਰ ਸਕਦੇ ਹੋ।}}<includeonly>{{#ifeq:{{{example|no}}}|no|[[Category:{{#ifeq:{{ARTICLESPACE}}|Wikijunior|Wikijunior Stubs|Stubs}}|{{#ifeq:{{ARTICLESPACE}}|Wikijunior|{{PAGENAME}}|{{FULLPAGENAME}}}}]]}}</includeonly><noinclude>
bvbma9w01jvndnb5s5ms5fitspxl3gs
ਫਰਮਾ:Ambox
10
2531
5541
4575
2023-03-24T07:02:05Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Bmbox]]
wikitext
text/x-wiki
#redirect[[Template:Bmbox]]
fvwbqpdabaomazwfb4oetf8m0ib10u9
ਫਰਮਾ:Ambox/core
10
2532
5544
4574
2023-03-24T07:03:33Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Bmbox/core]]
wikitext
text/x-wiki
#redirect[[Template:Bmbox/core]]
3e4ahl0zxmqebb0eqabufhcgceqr4ck
ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਅਤੇ ਇਸਦੀਆਂ ਬੋਲੀਆਂ/ਗੁਆਂਢੀ ਭਾਸ਼ਾਵਾਂ ਨਾਲ ਸੰਬੰਧ
0
2533
5324
4741
2022-11-29T21:08:46Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
[[File:Punjabi Indo Aryan.png|thumb|ਹਿੰਦ-ਆਰਿਆਈ ਭਾਸ਼ਾ ਪਰਿਵਾਰ ਵਿੱਚ ਪੰਜਾਬੀ ਭਾਸ਼ਾ]]
ਪੰਜਾਬੀ ਉੱਤਰ-ਪਛਮੀ ਹਿੰਦ-ਆਰਿਆਈ ਭਾਸ਼ਾ ਹੈ। ਇਸ ਦੀਆਂ ਪੂਰਬੀ ਉਪ-ਬੋਲੀਆਂ ਹਿੰਦੀ ਦੇ ਵਧੇਰੇ ਨੇੜੇ ਹਨ, ਜਦ ਕਿ ਪਛਮੀ ਅਤੇ ਉੱਤਰੀ ਉਪ-ਬੋਲੀਆਂ ਸਿੰਧੀ ਅਤੇ ਦਾਰਦੀ ਬੋਲੀਆਂ ਦੇ ਨਾਲ ਮਿਲਦੀਆਂ ਹਨ।<br />
ਜਿਥੇ ਸੰਸਕ੍ਰਿਤ ਦਾ ''''ਵ'''', ਹਿੰਦੀ ਵਿਚ ''''ਬ'''' ਵਿਚ ਬਦਲ ਗਿਆ ਹੈ, ਪੰਜਾਬੀ ਨੇ ਅਜੇ ਵੀ ਕੁਝ ਹਾਲਤਾਂ ਵਿਚ ''''ਵ'''' ਨੂੰ ਸੰਭਾਲ ਕੇ ਰਖਿਆ ਹੈ।<br />
ਜਿਵੇਂ: '''ਹਿੰਦੀ''': ''ਬੀਚ''; '''ਪੰਜਾਬੀ''': ''ਵਿੱਚ''।<br />
ਪੰਜਾਬੀ ਦੀਆਂ ਕੁਝ ਪੂਰਬੀ ਉਪ-ਬੋਲੀਆਂ 'ਵ' ਨੂੰ 'ਬ' ਵਿਚ ਬਦਲ ਦਿੰਦੀਆਂ ਹਨ, ਜਿਵੇਂ: ''ਬਿਚ''।<br />
<br />
ਇਸ ਤੋਂ ਬਿਨਾ, ਪ੍ਰਾਕ੍ਰਿਤ ਦੇ ਦੂਹਰੇ ਵਿਅੰਜਨ ਜਿੰਨ੍ਹਾਂ ਨੂੰ ਹਿੰਦੀ ਅਤੇ ਹੋਰ ਹਿੰਦ-ਆਰਿਆਈ ਭਾਸ਼ਾਵਾਂ ਨੇ ਦੀਰਘ-ਸੁਰ ਲਗਾਕੇ ਸੌਖਾ ਕਰ ਲਿਆ ਹੈ, ਪੰਜਾਬੀ ਵਿਚ ਅਜੇ ਵੀ ਉਸੇ ਤਰ੍ਹਾਂ ਕਾਇਮ ਹਨ। ਸਿੰਧੀ ਅਤੇ ਦਾਰਦੀ ਭਾਸ਼ਾਵਾਂ ਵਿਚ ਭਾਵੇਂ ਦੂਹਰਾ ਵਿਅੰਜਨ ਨਹੀ ਹੈ ਪਰ ਸੁਰ ਲਘੂ ਹੀ ਹੈ। ਇਹ ਦੀਰਘ ਅਤੇ ਲਘੂ ਸੁਰ ਵਾਲੀ ਵਿਸ਼ੇਸ਼ਤਾ '''ਉੱਤਰ-ਪਛਮੀ ਹਿੰਦ-ਆਰਿਆਈ ਭਾਸ਼ਾਵਾਂ''' ਨੂੰ ਬਾਕੀ '''ਹਿੰਦ-ਆਰਿਆਈ''' ਭਾਸ਼ਾਵਾਂ ਤੋਂ ਵੱਖ ਕਰਦੀ ਹੈ।
ਉਦਾਹਰਣਾਂ:<br />
{| class="wikitable"
|-
| '''ਸੰਸਕ੍ਰਿਤ''' || '''ਪ੍ਰਾਕ੍ਰਿਤ''' || '''ਪੰਜਾਬੀ''' || '''ਸਿੰਧੀ''' || '''ਦਾਰਦੀ''' || '''ਹਿੰਦੀ'''
|-
| ਉੱਚਕਃ || ਉੱਚਉ || ਉੱਚਾ || ਉਚੋ || || ਊਂਚਾ
|-
| ਸਤ੍ਯਃ || ਸੱਚੁ || ਸੱਚ || ਸਚੁ || || ਸਾਂਚ/ਸਚ
|-
| ਰਿਕ੍ਸ਼ਃ || ਰਿੱਛੁ || ਰਿੱਛ || ਰਿਛੁ || ਈਤ੍ਸ || ਰੀਛ
|-
| ਸ਼ਬ੍ਦਃ || ਸੱਦੁ || ਸੱਦ || || ਸਦ || ਸਾਦ
|-
| ਦੁਗ੍ਧੰ || ਦੁੱਧੁ || ਦੁੱਧ || ਡੁਧੁ || ਦੋਦ || ਦੂਧ
|-
| ਅਗ੍ਰੇ || ਅੱਗਹਿ || ਅੱਗੇ || ਅੱਗੇ || || ਆਗੇ
|-
| ਅਦ੍ਯ || ਅੱਜੁ || ਅੱਜ || ਅਜੁ || ਅਜ਼ || ਆਜ
|-
| ਚਕ੍ਰੰ || ਚੱਕੁ || ਚੱਕ || ਚਕੁ || || ਚਾਕ
|-
| ਤਰ੍ਕਯਤਿ || || || || ||
|-
| ਸ਼ੁਸ਼ਕਕਃ || || || || ||
|-
| ਕਰ੍ਮ || || || || ||
|-
| ਚਰ੍ਮ || || || || ||
|-
| ਕਰ੍ਣਃ || || || || ||
|-
| ਸਰ੍ਪਃ || || || || ||
|-
| ਸ਼੍ਵਸ਼੍ਰੂਃ || || || || ||
|-
| ਭਕ੍ਤੰ || || || || ||
|-
| ਰਕ੍ਤਕਃ || || || || ||
|-
| ਕਰ੍ਤਯਤਿ || || || || ||
|-
| ਹਸ੍ਤਃ || || || || ||
|-
| ਪ੍ਰਿਸ਼੍ਠੰ || || || || ||
|}
<br />ਪੰਜਾਬੀ ਦੀ ਸਭ ਤੋਂ ਪ੍ਰਮੁਖ ਵਿਸ਼ੇਸ਼ਤਾ ਹੈ ਸੰਬੰਧ ਕਾਰਕ ਲਈ 'ਦਾ' ਪਿਛੇਤਰ ਦੀ ਵਰਤੋਂ, ਇਸ ਦੀ ਬਜਾਏ ਹਿੰਦੀ ਵਿਚ 'ਕਾ' ਪਿਛੇਤਰ ਦੀ ਵਰਤੋਂ ਹੁੰਦੀ ਹੈ।
<br />ਪੰਜਾਬੀ ਦੇ ਪਹਿਲਾ ਪੁਰਖ ਅਤੇ ਦੂਜਾ ਪੁਰਖ ਪੜ੍ਹਨਾਵਾਂ ਦੇ ਬਹੁ-ਵਚਨ ਹਿੰਦੀ ਦੀ ਬਜਾਏ ਸਿੰਧੀ ਅਤੇ ਦਾਰਦੀ ਭਾਸ਼ਾਵਾਂ ਨਾਲ ਮਿਲਦੇ-ਜੁਲਦੇ ਹਨ, ਜਿਵੇਂ:<br />
{| class="wikitable"
|-
| '''ਪੰਜਾਬੀ''' || ਅਸੀਂ || ਤੁਸੀਂ
|-
| '''ਹਿੰਦੀ''' || ਹਮ || ਤੁਮ
|-
| '''ਸਿੰਧੀ''' || ਅਸੀਂ || ਤੂਹੀਂ
|-
| '''ਕਸ਼ਮੀਰੀ''' || ਅਸਿ || ਤੁਹਿ
|}
<br />'''ਪੜ੍ਹਨਾਂਵੀ ਪਿਛੇਤਰ''' ਪੰਜਾਬੀ, ਸਿੰਧੀ ਅਤੇ ਦਾਰਦੀ ਭਾਸ਼ਾਵਾਂ ਦੀ ਇਕ ਖ਼ਾਸ ਵਿਸ਼ੇਸ਼ਤਾ ਹੈ, ਜਿਵੇਂ: ''ਆਖਿਉਸ'' - ''ਉਸ ਨੂੰ ਆਖ''। ਇਹ ਲੱਛਣ ਹਿੰਦੀ ਵਿਚ ਨਹੀ ਮਿਲਦਾ (ਪੰਜਾਬੀ ਦੀਆਂ ਕੁਝ ਪੂਰਬੀ ਉਪ-ਬੋਲੀਆਂ ਵਿਚ ਵੀ ਇਹ ਲੱਛਣ ਨਹੀਂ ਮਿਲਦਾ)।
<br />
ਸਿੰਧੀ ਅਤੇ ਪੰਜਾਬੀ ਭਾਸ਼ਾਵਾਂ ਇਕ ਦੂਜੇ ਬਹੁਤ ਨੇੜੇ ਹਨ। ਸਿੰਧ ਦੇ ਇਕ ਵੱਡੇ ਹਿੱਸੇ ਵਿਚ ਪੰਜਾਬ ਤੋਂ ਆ ਕੇ ਵਸੇ ਲੋਕ ਅੱਧੀ-ਅੱਧੀ ਭਾਸ਼ਾ ਬੋਲਦੇ ਹਨ, ਭਾਵ ਅੱਧੀ ਪੰਜਾਬੀ-ਅੱਧੀ ਸਿੰਧੀ। ਦੱਖਣੀ ਪੰਜਾਬ ਦੀਆਂ ਉਪਬੋਲੀਆਂ ਦਾ ਉਚਾਰਣ ਵੀ ਸਿੰਧੀ ਨਾਲ ਬਹੁਤ ਮਿਲਦਾ-ਜੁਲਦਾ, ਦੂਹਰੇ-ਵਿਅੰਜਨ ਅਕਸਰ ਸੁਨਣ ਨੂੰ ਮਿਲ ਜਾਂਦੇ ਹਨ ਜੋ ਕੇ ਸਿੰਧੀ ਭਾਸ਼ਾ ਦੀ ਖ਼ਾਸੀਅਤ ਹਨ।
ਉੱਤਰੀ ਅਤੇ ਦੱਖਣੀ ਪੰਜਾਬੀ ਉਪਬੋਲੀਆਂ ਦੇ ਕਾਰਕ ਪਿਛੇਤਰ ਅਤੇ ਮੂਲ ਕਿਰਿਆ ਦਾ ਭੂਤਕਾਲ ਵੀ ਸਿੰਧੀ ਅਤੇ ਦਾਰਦੀ ਭਾਸ਼ਾਵਾਂ ਨਾਲ ਮਿਲਦੇ-ਜੁਲਦੇ ਹਨ। ਜਿਵੇਂ ਕਸ਼ਮੀਰੀ ਵਿਚ ''ਮਾਲੁ'' ਤੋਂ ''ਮੋਲੁ'' (ਪਿਉ) ਅਤੇ ''ਮਾਜੁ'' ਤੋਂ ''ਮੋਜੁ'' (ਮਾਂ); ਇਸੇ ਤਰ੍ਹਾਂ ਮੁਲਤਾਨੀ ਉਪਬੋਲੀ ਵਿੱਚ ''ਕੁੱਕੜੁ'' ਤੋਂ ''ਕੁੱਕੁੜ''; ''ਵਾਹੜੁ'' ਤੋਂ ''ਵਾਹੁੜ'' (ਵਹਿੜਾ); ''ਕੁੱਕੜਿ'' ਤੋਂ ''ਕੁੱਕਿੜ'' ਅਤੇ ''ਵਾਹੜਿ'' ਤੋਂ ''ਵਾਹਿੜ''।
ਇਸੇ ਤਰ੍ਹਾਂ ਮੂਲ ਕਿਰਿਆ ਦਾ ਭੂਤਕਾਲ ਪੰਜਾਬੀ ਵਿਚ ''ਸਾ'', ''ਸੀ''; ਦੱਖਣੀ ਉਪਬੋਲੀਆਂ ਵਿੱਚ ''ਆਹਾ'', ''ਆਹ'', ''ਅਸਾ'', ''ਆਸਾ'', ''ਸਾ'' ਆਦਿ ਹੈ ਅਤੇ ਕਸ਼ਮੀਰੀ ਵਿਚ ''ਓਸੁ'' (''ਅਸੁ'' ਤੋਂ) ਹੈ। ਪਰ ਹਿੰਦੀ ਵਿੱਚ ਮੂਲ ਕਿਰਿਆ ਦਾ ਭੂਤਕਾਲ ''ਥਾ'' ਹੈ।
ਪੰਜਾਬੀ ਦੀਆਂ ਉੱਤਰੀ ਉਪਬੋਲੀਆਂ ਦੀ ਸ਼ਬਦਾਵਲੀ ਵੀ ਕਸ਼ਮੀਰੀ ਨਾਲ ਮਿਲਦੀ ਜੁਲਦੀ ਹੈ, ਜਿਵੇਂ ਪੂਰੇ ਭਾਰਤ ਅਤੇ ਪੰਜਾਬ ਵਿਚ ਜਿੱਥੇ '''''ਜਾਣਾ''''' ਸ਼ਬਦ ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ, ਉਥੇ ਪੋਠੋਹਾਰੀ ਵਿਚ '''''ਗਛਣਾ''''' ਵਧੇਰੇ ਸੁਣੀਦਾ ਹੈ ਜੋ ਕਸ਼ਮੀਰੀ '''''ਗਤ੍ਸ਼ੁਨ''''' ਨਾਲ ਮਿਲਦਾ-ਜੁਲਦਾ ਹੈ। ਕਈ ਵਾਰ ਕਸ਼ਮੀਰੀ ਦੇ ਕੁਝ ਔਖੇ ਸ਼ਬਦਾਂ ਦਾ ਮੂਲ ਸਮਝਣ ਲਈ ਭਾਸ਼ਾ-ਵਿਗਿਆਨੀ ਪੋਠੋਹਾਰੀ ਬੋਲੀਆਂ ਦਾ ਸਹਾਰਾ ਲੈਂਦੇ ਰਹੇ ਹਨ।
jyh3x80dwn589dnjp786wkahbxob0ce
ਅੰਗਰੇਜ਼ੀ
0
2537
4589
2016-01-01T04:30:19Z
Satdeep Gill
356
"* [[ਅੰਗਰੇਜ਼ੀ/ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ|ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ]] * ਅੰਗਰੇਜ਼ੀ/ਵਰਨ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
* [[ਅੰਗਰੇਜ਼ੀ/ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ|ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ]]
* [[ਅੰਗਰੇਜ਼ੀ/ਵਰਨਮਾਲਾ|ਵਰਨਮਾਲਾ]]
r1v563gmg4gvbtxht0kr8hepygjtobn
ਅੰਗਰੇਜ਼ੀ/ਵਰਨਮਾਲਾ
0
2538
4590
2016-01-01T04:37:09Z
Satdeep Gill
356
"ਅੰਗਰੇਜ਼ੀ ਵਿੱਚ 26 ਅੱਖਰ ਹਨ: ਛੋਟੇ ਅੱਖਰ: a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
ਅੰਗਰੇਜ਼ੀ ਵਿੱਚ 26 ਅੱਖਰ ਹਨ:
ਛੋਟੇ ਅੱਖਰ: a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z
ਵੱਡੇ ਅੱਖਰ: A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z
pywr9976mbqsbgpwfv9read09pbcmfl
ਅੰਗਰੇਜ਼ੀ/ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ
0
2539
4591
2016-01-01T04:38:13Z
Satdeep Gill
356
ਨਵਾਂ
wikitext
text/x-wiki
'''ਅੰਗਰੇਜ਼ੀ''' ਦੁਨੀਆਂ ਦੀ ਬਹੁਤ ਮਸ਼ਹੂਰ ਭਾਸ਼ਾ ਹੈ ਜੋ ਲਗਭਗ ਸਾਰੇ ਹੀ ਦੇਸ਼ਾਂ ਵਿੱਚ ਬੋਲੀ ਜਾਂਦੀ ਹੈ। ਅੱਜ ਦੀ ਤਰੀਕ ਵਿੱਚ ਇਸਨੂੰ ਅੰਤਰਰਾਸ਼ਟਰੀ ਭਾਸ਼ਾ ਵੀ ਮੰਨਿਆ ਜਾਂਦਾ ਹੈ।
cyy08xgu0ssdcusvfnynq3mu8x3syfs
ਵਾਤਾਵਰਣ ਚੇਤਨਾ (ਲੇਖ ਸੰਗ੍ਹਿ)
0
2540
5306
4953
2022-11-29T21:04:57Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
'''ਵਾਤਾਵਰਣ ਚੇਤਨਾ (ਲੇਖ ਸੰਗ੍ਰਹਿ)''' ਪੁਸਤਕ ਦੇ ਸਤੀਸ਼ ਕੁਮਾਰ ਵਰਮਾ ਮੁੱਖ ਸੰਪਾਦਕ ਅਤੇ ਡਾ ਬਲਵਿੰਦਰ ਕੌਰ ਬਰਾੜ ਤੇ ਡਾ ਰਾਜਿੰਦਰ ਪਾਲ ਸਿੰਘ ਸੰਪਾਦਕ ਹਨ। ਇਸ ਪੁਸਤਕ ਵਿੱਚ ਕੁੱਲ 11 ਲੇਖ ਹਨ।
Additional References:-
Environmental perception in Sikh faith - Dr. Gopal Singh Puri Tract No. 425, 426, 427
http://sikhdigitallibrary.blogspot.in/2015/01/environmental-perception-in-sikh-faith.html
7sn9pjqzgs6u1x5pc31h310fipusb8u
ਫਰਮਾ:ਸੁਆਗਤ
10
2542
4930
4602
2018-06-08T16:40:02Z
Keymap9
1528
PNG -> SVG
wikitext
text/x-wiki
<h2 style="border-radius: 7px; text-align: left; padding: 5px; background-color: #e0e0f7; color: #505070;">[[Image:Vista-Ym.png|25px]] ਜੀ ਆਇਆਂ ਨੂੰ!</h2>
ਨਮਸਕਾਰ {{BASEPAGENAME}} ਜੀ! ਪੰਜਾਬੀ [[ਵਿਕਿਬੁਕਸ]] ’ਤੇ ਤੁਹਾਡਾ [[ਵਿਕਿਬੁਕਸ:ਸੁਆਗਤ|ਸੁਆਗਤ]] ਹੈ!
ਕਿਸੇ ਵੀ ਲੇਖ ਨੂੰ ਬਦਲਣ ਵਿੱਚ ਹਿਚਕਚਾਓ ਨਹੀਂ! ਗੱਲਬਾਤ, [[ਵਿਕਿਬੁਕਸ:ਭਾਈਚਾਰਕ ਸੱਥ|ਸੱਥ]] ਅਤੇ ਹੋਰ ਪੰਨੇ ’ਤੇ ਆਪਣਾ ਦਸਤਖਤ ਕਰਨ ਲਈ '''<nowiki>~~~~</nowiki>''' ਦਾ ਪ੍ਰਯੋਗ ਕਰੋ।
ਕੁਝ ਉਪਯੋਗੀ ਲਿੰਕ:
: [[File:BasKet icon.svg|25px]] ਆਪਣੇ ਮਨਪਸੰਦ ਵਿਸ਼ਾ ਉੱਤੇ [[Wikibooks:ਇੱਕ ਨਵੀਂ ਕਿਤਾਬ ਕਿਵੇਂ ਬਣਾਈਏ?|ਇੱਕ ਨਵੀਂ ਕਿਤਾਬ ਬਣਾਓ]]
: [[File:Sc-apps-kate.svg|25px]] [[Special:Newpages|ਨਵੀਆਂ ਕਿਤਾਬਾਂ ਦਾ ਸੁਧਾਰ ਕਰੋ]]
: [[File:Oxygen480-categories-preferences-system.svg|25px]] [[:ਸ਼੍ਰੇਣੀ:ਵਿਕਿਬੁਕਸ ਰਖਰਖਾਵ|ਵਿਕਿਬੁਕਸ ਦਾ ਰਖਰਖਾਵ]] ਕਰਨ ਵਿੱਚ ਮਦਦ ਕਰੋ
: [[File:KDE-graphics-viewer-document.svg|25px]] [[ਵਿਕਿਬੁਕਸ:ਆਕਲਨ|ਵਿਕਿਬੁਕਸ ਦੀਆਂ ਕਿਤਾਬਾਂ ਦਾ ਆਕਲਨ]] ਕਰਨ ਵਿੱਚ ਮਦਦ ਕਰੋ
: [[File:Gnome-dialog-question.svg|25px]] [[Wikibooks:ਪੁੱਛ-ਗਿੱਛ|ਪੁੱਛ-ਗਿੱਛ]] ਕੋਈ ਸਵਾਲ ਪੁੱਛੋ
: [[File:Oxygen480-devices-input-keyboard.svg|25px]] [[ਮਦਦ:ਟਾਈਪ|ਗੁਰਮੁਖੀ ਵਿੱਚ ਕਿਵੇਂ ਟਾਈਪ ਸਕਦੇ ਹੈ?]] ([[ਮਦਦ:ਟਾਈਪ|How to view and input Punjabi text?]])
: [[File:KWrite icon.svg|25px]] [[Wikibooks:ਕੱਚਾ-ਖਾਕਾ|ਕੱਚਾ-ਖਾਕਾ]]: ਮਨ ਮਰਜ਼ੀ ਬਦਲਾਵ ਕਰੋ
ਜੇਕਰ ਤੁਹਾਨੂੰ ਕਿਸੇ ਵੀ ਤਰ੍ਹਾਂ ਮਦਦ ਦੀ ਜ਼ਰੂਰਤ ਹੈ ਤਾਂ [[ਵਿਕਿਬੁਕਸ:ਭਾਈਚਾਰਕ ਸੱਥ|ਸੱਥ]] ’ਤੇ ਚਰਚਾ ਕਰੋ। ਉਮੀਦ ਹੈ ਕਿ ਤੁਹਾਨੂੰ ਵਿਕਿਬੁਕਸ ’ਤੇ ਮਜ਼ਾ ਆਵੇਗਾ ਅਤੇ ਤੁਸੀਂ ਵਿਕਿਬੁਸ ਦੇ ਸਰਗਰਮ ਮੈਂਬਰ ਬਣੇ ਰਹੋਂਗੇ!
9r4wqg29mwuzxr85dc3yur2ev7otzzt
ਵਿਕਿਬੁਕਸ:ਭਾਈਚਾਰਕ ਸੱਥ
0
2543
4599
4598
2016-01-04T14:33:19Z
Baljeet Bilaspur
1273
Redirected page to [[Wikibooks:ਸੱਥ]]
wikitext
text/x-wiki
#redirect[[Wikibooks:ਸੱਥ]]
b317u7o946xkww43kwnu3w8812dz4rm
ਪੁਰਾਤਨ ਜਨਮ ਸਾਖੀ
0
2544
5326
4934
2022-11-29T21:08:58Z
Suyash.dwivedi
1854
/* ਪੁਰਾਤਨ ਜਨਮ ਸਾਖੀ ਵਿਚ ਬਾਬੇ ਨਾਨਕ ਦਾ ਚਰਿਤਰ */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
'''ਪੁਰਾਤਨ ਜਨਮ ਸਾਖੀ''' ਪੁਸਤਕ [[ਭਾਈ ਵੀਰ ਸਿੰਘ]] ਦੁਆਰਾ ਸੰਪਾਦਿਕ ਕੀਤੀ ਕਿਤਾਬ ਹੈ।
==ਪੁਰਾਤਨ ਜਨਮ ਸਾਖੀ ਵਿਚ ਬਾਬੇ ਨਾਨਕ ਦਾ ਚਰਿਤਰ==
ਜਨਮਸਾਖੀ ਪੁਰਾਤਨ ਪੰਜਾਬੀ ਵਾਰਤਕ ਦੀ ਇੱਕ ਅਜਿਹੀ ਵੰਨਗੀ ਹੈ ਜਿਸ ਵਿਚ ਕਿਸੇ ਅਧਿਆਤਮਕ ਪੁਰਸ਼ ਨੂੰ ਨਾਇਕ ਦਾ ਦਰਜਾ ਦਿੱਤਾ ਜਾਂਦਾ ਹੈ. ਜਨਮਸਾਖੀ ਦੋ ਸ਼ਬਦਾਂ ਦਾ ਸੁਮੇਲ ਹੈ. ਇਸ ਤਰ੍ਹਾਂ ਇਸ ਸ਼ਬਦ ਦੇ ਅਰਥ ਹਨ ਜਨਮ ਦੀ ਗਵਾਹੀ. ਨਾਇਕ ਦਾ ਜਨਮ ਬਿਆਨ ਕੀਤਾ ਜਾਂਦਾ ਹ ਅਤੇ ਇਸਦੀ ਗਵਾਹੀ ਸਾਖੀਕਾਰ ਆਪ ਭਰ ਦਿੰਦਾ ਹੈ. ਇਸ ਪਰਿਭਾਸ਼ਾ ਤੋਂ ਇਹ ਗੱਲ ਵੀ ਸਪਸ਼ਟ ਹੁੰਦੀ ਹੈ ਕਿ ਇਸ ਰਚਨਾ ਦਾ ਸਾਖੀਕਾਰ ਕੋਈ ਇਤਿਹਾਸਕ ਵਿਅਕਤੀ ਹੁੰਦਾ ਹੈ ਭਾਵ ਉਸ ਕਲਪਨਾ ਦਾ ਪਾਤਰ ਨਾ ਹੋ ਕੇ ਉਸਨੇ ਅਸਲ ਜੀਵਨ ਗੁਜਾਰਿਆ ਹੁੰਦਾ ਹੈ. ਦੂਜੀ ਗੱਲ ਉਹ ਇੱਕ ਪਰਭਾਵਸ਼ਾਲੀ ਵਿਅਕਤੀ ਹੁੰਦਾ ਹੈ. ਇਸਲਈ ਸਾਖੀਕਾਰ ਉਸਨੂੰ ਆਪਣੀ ਲਿਖਤ ਦਾ ਪਾਤਰ ਬਣਾਕੇ ਉਸਦੇ ਸ਼ਰਧਾਲੂਆਂ ਦੇ ਖੇਤਰ ਨੂੰ ਵਧਾਉਦਾ ਹੈ.
ਪੁਰਾਤਨ ਜਨਮਸਾਖੀ ਭਾਈ ਵੀਰ ਸਿੰਘ ਨੇ ਸੰਪਾਦਿਤ ਕਰਕੇ 1926 ਈ. ਵਿਚ ਪ੍ਰਕਾਸ਼ਿਤ ਕੀਤੇ. ਇਸਨੂੰ ਪੁਰਾਤਨ ਦਾ ਦਰਜਾ ਭਾਈ ਵੀਰ ਸਿੰਘ ਨੇ ਹੀ ਦਿੱਤਾ. ਇਸ ਜਨਮਸਾਖੀ ਦੀਆਂ ਦੋ ਆਧਾਰ ਪੋਥੀਆਂ ਹਨ. ਭਾਈ ਵੀਰ ਸਿੰਘ ਨੇ ਦੋਹਾਂ ਨੂੰ ਹੀ ਜਨਮਸਾਖੀ ਤਿਆਰ ਕਰਨ ਲੈ ਅਧਾਰ ਬਣਾਇਆ ਹੈ. ਪੁਰਾਤਨ ਜਨਮਸਾਖੀ ਵਿਚ ਕੁਲ 57 ਜਨਮਸਾਖੀਆਂ ਹਨ ਅਤੇ ਗੁਰੂ ਨਾਨਕ ਦੀਆਂ ਅਧਿਆਤਮਕ ਯਾਤਰਾਵਾਂ ਨੂੰ 5 ਹਿੱਸਿਆਂ ਵਿਚ ਵੰਡ ਲਿਆ ਗਿਆ ਹੈ.
*'''ਪੁਰਾਤਨ ਜਨਮਸਾਖੀ ਵਿਚ ਗੁਰੂ ਨਾਨਕ ਦੇ ਚਰਿੱਤਰ ਦੀ ਪੇਸ਼ਕਾਰੀ''' ਪੁਰਾਤਨ ਜਨਮਸਾਖੀ ਪੁਰਾਤਨ ਵਾਰਤਕ ਦੀ ਇੱਕ ਅਜਿਹੀ ਵੰਨਗੀ ਹੈ ਜੋ ਗੁਰੂ ਨਾਨਕ ਦੀ ਸ਼ਖਸੀਅਤ ਬਾਰੇ ਹੈ. ਇਸ ਵਿਚ ਨਾਨਕ ਦੇ ਚਰਿੱਤਰ ਨੂੰ ਸ਼ਰਧਾ ਅਤੇ ਸਤਿਕਾਰ ਦੀ ਦ੍ਰਿਸ਼ਟੀ ਤੋਂ ਪੇਸ਼ ਕੀਤਾ ਗਿਆ ਹੈ. ਭਾਵੇਂ ਜਨਮਸਾਖੀ ਵਿਚ ਹੋਰ ਵੀ ਪਾਤਰ ਹਨ ਪਰ ਸਾਰੀ ਜਨਮਸਾਖੀ ਵਿਚ ਗੁਰੂ ਨਾਨਕ ਜੀ ਹੀ ਛਾਏ ਰਹਿੰਦੇ ਹਨ. ਬਾਕੀ ਪਾਤਰਾਂ ਦੇ ਮੁਕਾਬਲੇ ਗੁਰੂ ਨਾਨਕ ਜੀ ਦਾ ਚਰਿੱਤਰ ਵਧੇਰੇ ਆਧਿਆਤਾਮਕ ਢੰਗ ਨਾਲ ਪੇਸ਼ ਹੋਇਆ ਹੈ. ਪੁਰਾਤਨ ਜਨਮਸਾਖੀ ਵਿਚ ਗੁਰੂ ਨਾਨਕ ਜੀ ਦੀ ਜੋ ਸ਼ਖਸੀਅਤ ਉਭਰਦੀ ਹੈ, ਉਸ ਉੱਪਰ ਚਰਚਾ ਹੇਠ ਲਿਖੇ ਅਨੁਸਾਰ ਹੈ:
*'''ਵੱਡੇ ਭਗਤ''' ਸਾਖੀ ਦੇ ਸਾਖੀਕਾਰ ਨੇ ਗੁਰੂ ਨਾਨਕ ਦੇ ਚਰਿੱਤਰ ਨੂੰ ਦੂਜੇ ਪਾਤਰਾਂ ਦੇ ਮੁਕਾਬਲੇ ਰੱਬ ਦੇ ਵੱਡੇ ਭਗਤ ਵਜੋਂ ਦਰਸਾਇਆ ਹੈ. ਜਦੋ
ਗੁਰੂ ਨਾਨਕ ਜੀ ਨੂੰ ਪਾਂਧੇ ਕੋਲ ਪੜਨ ਭੇਜਿਆ ਜਾਂਦਾ ਹੈ ਤਾਂ ਪਾਂਧਾ ਗੁਰੂ ਜੀ ਦੇ ਵਿਚਾਰ ਸੁਣਕੇ ਹੈਰਾਨ ਹੋ ਜਾਂਦਾ ਹੈ. ਏਨਾ ਹੀ ਨਹੀਂ, ਸਾਖੀਕਾਰ ਨੇ ਗੁਰੂ ਨਾਨਕ ਜੀ ਨੂੰ ਵੱਡਾ ਸਾਬਿਤ ਕਰਨ ਲਈ ਪਾਂਧੇ ਕੋਲੋਂ ਨਾਨਕ ਨੂੰ ਨਮਸਕਾਰ ਵੀ ਕਰਵਾਈ. ਇਸ ਤੋਂ ਇਲਾਵਾ ਸਾਖੀਕਾਰ ਗੁਰੂ ਨਾਨਕ ਨੂੰ ਬਹੁਤੇ ਥਾਵੇਂ ‘ਗੁਰੂ’ ਜਾਂ ‘ਪਰਮੇਸ਼ਰ’ ਵੀ ਕਹਿੰਦਾ ਹੈ. ਅਜਿਹੀ ਬਿਰਤੀ ਨਾਲ ਕੀਤੀ ਵਡਿਆਈ ਦਾ ਸਬੂਤ ਪੁਰਾਤਨ ਜਨਮਸਾਖੀ ਦੀਆਂ ਸਾਖੀਆਂ 1, 10, 21, 22 ਆਦਿ ਵਿਚ ਮਿਲਦਾ ਹੈ. ਸਾਖੀਕਾਰ ਗੁਰੂ ਨਾਨਕ ਨੂੰ ਹਰ ਵੇਲੇ ਨਾਮ ਖੁਮਾਰੀ ਵਿਚ ਲੀਨ ਦਿਖਾਉਂਦਾ ਹੈ. ਇਸ ਤਰ੍ਹਾਂ ਦੀਆਂ ਬ੍ਰਿਤਾਂਤਕ ਜੁਗਤਾਂ ਰਾਹੀਂ ਸਾਖੀਕਾਰ ਗੁਰੂ ਸਾਹਿਬ ਨੂੰ ਬਾਕੀ ਪਾਤਰਾਂ ਦੇ ਮੁਕਾਬਲੇ ਰੱਬ ਦਾ ਵੱਡਾ ਭਗਤ ਸਾਬਿਤ ਕਰ ਦਿੰਦਾ ਹੈ.
*'''ਕਰਾਮਾਤੀ ਨਾਇਕ''' ਪੁਰਾਤਨ ਜਨਮਸਾਖੀ ਦੇ ਸਾਖੀਕਾਰ ਨੇ ਗੁਰੂ ਨਾਨਕ ਨਾਲ ਕਰਾਮਾਤੀ ਅੰਸ਼ਾਂ ਨੂੰ ਜੋੜਿਆ ਹੈ ਤਾਂ ਜੋ ਉਹਨਾਂ ਦਾ ਚਰਿੱਤਰ ‘ਕਰਨੀ ਵਾਲਾ’ ਸਿਧ ਹੋ ਸਕੇ. ਗੁਰੂ ਨਾਨਕ ਦੀ ਮਰਜੀ ਨਾਲ ਖੇਤ ਹਰਾ ਜਾਂਦਾ ਹੈ. ਦਰਖਤ ਦੀ ਛਾਂ ਫਿਰਨ ਕੀਤੀ ਜਾਂਦੀ ਹੈ. ਮਰੇ ਹਾਥੀਆਂ ਨੂੰ ਜਿੰਦਾ ਕਰ ਦਿੰਦਾ ਹੈ. ਸਹਾਇਕ ਪਾਤਰ ਮਰਦਾਨਾ ਮਾਸੂਮ ਜਿਹਾ ਬਣ ਕੇ ਕੋਈ ਗਲਤੀ ਕਰ ਦਿੰਦਾ ਹੈ ਤਾਂ ਗੁਰੂ ਨਾਨਕ ਆਪਣੀ ਸ਼ਕਤੀ ਨਾਲ ਠੀਕ ਕਰ ਦਿੰਦੇ ਹਨ. ਸਾਖੀ ਨ. 47 ਵਿਚ ਗੁਰੂ ਨਾਨਕ ਮੋਏ ਰਾਜਕੁਮਾਰ ਨੂੰ ਜਿੰਦਾ ਕਰਕੇ ਆਪ ਲੋਪ ਹੋ ਜਾਂਦੇ ਹਨ. ਇੱਕ ਸਾਖੀ ਵਿਚ ਤਾਂ ਸਾਖੀਕਾਰ ਇੱਥੋਂ ਤੱਕ ਕਹੀ ਜਾਂਦਾ ਹੈ ਕਿ ਗੁਰੂ ਨਾਨਕ ਦੀ ਮੌਤ ਤੋਂ ਬਾਅਦ ਹਿੰਦੁਆਂ ਅਤੇ ਮੁਸਲਮਾਨਾਂ ਵਿਚ ਝਗੜਾ ਹੋ ਜਾਂਦਾ ਹੈ. ਮੁਸਲਮਾਨ ਉਹਨਾਂ ਨੂੰ ਦਫਨਾਉਨਾ ਚਾਹੁੰਦੇ ਸਨ ਪਰ ਹਿੰਦੂ ਉਹਨਾਂ ਦਾ ਦਾਹ-ਸੰਸਕਾਰ ਕਰਨਾ ਚਾਹੁੰਦੇ ਸਨ ਪਰ ਇਸਦੇ ਹੱਲ ਲਈ ਜਦੋਂ ਚਾਦਰ ਨੂੰ ਚੁੱਕਿਆ ਗਿਆ ਤਾਂ ਉਸ ਹੇਠਾਂ ਸਿਰਫ ਫੁੱਲ ਸਨ. ਇਸ ਤਰ੍ਹਾਂ ਸਾਖੀਕਾਰ ਗੁਰੂ ਨਾਨਕ ਜੀ ਦੀ ਮੌਤ ਹੋਣ ਤੋਂ ਬਾਅਦ ਵੀ ਉਹਨਾਂ ਕਰਾਮਾਤੀ ਸਿੱਧ ਕਰਨ ਦੀ ਕੋਸ਼ਿਸ਼ ਕਰਦਾ ਹੈ.
*'''ਆਦਰਸ਼ਕ ਭੇਖਧਾਰੀ ਸ਼ਖਸੀਅਤ''' ਗੁਰੂ ਨਾਨਕ ਦੇਵ ਪੁਰਾਨ ਜਨਮਸਾਖੀ ਦੀ ਪੂਰੀ ਲਿਖਤ ਵਿਚ ਛਾਏ ਰਹਿੰਦੇ ਹਨ. ਕਰਤਾ ਦਾ ਇੱਕੋ ਇੱਕ ਟੀਚਾ ਇਹ ਹੈ ਕਿ ਉਹ ਬਾਕੀ ਪਾਤਰਾਂ ਤੋਂ ਅਲੱਗ ਦਿਸਣ. ਇਸ ਮਨੋਰਥ ਦੀ ਪੂਰਤੀ ਲਈ ਉਹ ਕਈ ਬਿਰਤਾਂਤਕ ਜੁਗਤਾਂ ਨੂੰ ਅਪਣਾਉਂਦਾ ਹੈ. ਗੁਰੂ ਸਾਹਿਬ ਦੇ ਸਰੀਰ ਉੱਪਰ ਵੰਨ-ਸੁਵੰਨੇ ਵਸਤਰ ਸਜਾਉਂਦਾ ਹੈ. ਸਾਖੀ ਵਿਚ ਇਹ ਗੱਲ ਵੀ ਧਿਆਨ ਦੇਣ ਵਾਲੀ ਹੈ ਕਿ ਗੁਰੂ ਸਾਹਿਬ ਜਦ ਵੀ ਜਿਸ ਜਗਹ ਉੱਪਰ ਜਾਂਦੇ ਸਨ, ਉੱਥੋਂ ਦਾ ਪਹਿਰਾਵਾ ਪਹਿਨ ਲੈਂਦੇ ਸਨ. ਕਹਿਣ ਤੋਂ ਭਾਵ ਸਾਖੀਕਾਰ ਨੇ ਉਹਨਾਂ ਦੀ ਸ਼ਖਸੀਅਤ ਭੇਖਧਾਰੀ ਦਿਖਾਈ ਹੋਈ ਹੈ. ਸਾਖੀ ਨ. 16 ਵਿਚ ਗੁਰੂ ਨਾਨਕ ਦੀ ਪਹਿਲੀ ਉਦਾਸੀ ਵਿਚ ਉਹਨਾਂ ਦੇ ਸਿਰ ਉੱਪਰ ਕਲੰਦਰੀ ਟੋਪੀ ਪਹਿਨੀ ਹੋਈ ਹੈ. ਦੂਜੀ ਉਦਾਸੀ ਵਿਚ ਉਹਨਾਂ ਦੇ ਪੈਰਾਂ ਵਿਚ ਖੜਾਵਾਂ ਪਾਈਆਂ ਹੋਈਆਂ ਸਨ. ਸਾਖੀ ਨ. 49 ਵਿਚ ਉਹਨਾਂ ਦੇ ਮੱਥੇ ਉੱਪਰ ਤਿਲਕ ਸੀ. ਸਾਖੀ ਨ. 51 ਵਿਚ ਗੁਰੂ ਸਾਹਿਬ ਨੀਲੇ ਵਸਤਰ ਪਾ ਕੇ ਬਾਲਕਾਂ ਸੰਗ ਖੇਡਦੇ ਸਨ ਅਤੇ ਉਹਨਾਂ ਦੇ ਪੈਰਾਂ ਵਿਚ ਚਮ ਦੀਆਂ ਜੁੱਤੀਆਂ ਪਹਿਨੀਆਂ ਹੋਈਆਂ ਸਨ. ਇਸ ਸਾਰੇ ਵਿਵਰਣ ਤੋਂ ਇਹ ਸਿਧ ਹੋ ਜਾਂਦਾ ਹੈ ਕਿ ਗੁਰੂ ਨਾਨਕ ਸਿਰਫ ਸਰੀਰ ਦੇ ਨਹੀਂ ਮਨ ਦੇ ਵੀ ਪ੍ਰਬਲ ਸੀ. ਇਸ ਤਰ੍ਹਾਂ ਸਾਖੀਕਾਰ ਗੁਰੂ ਸਾਹਿਬ ਦੇ ਸਰੀਰਕ ਵਸਤਰਾਂ ਰਾਹੀਂ ਉਹਨਾਂ ਦੀ ਸ਼ਖਸੀਅਤ ਬਾਰੇ ਖਿਚ ਪੈਦਾ ਕਰਨਾ ਚਾਹੁੰਦਾ ਹੈ ਅਤੇ ਗੁਰੂ ਨਾਨਕ ਜੀ ਨੂੰ ਦੂਜੇ ਪਾਤਰਾਂ ਤੋਂ ਅਲੱਗ ਦਿਖਾਉਣ ਦੀ ਕੋਸ਼ਿਸ਼ ਕਰਦਾ ਹੈ.
*'''ਅਣਥੱਕ ਯਾਤਰੀ''' ਗੁਰੂ ਨਾਨਕ ਇੱਕ ਸਦਾਚਾਰਕ ਵਿਚਾਰਧਾਰਾ ਦੇ ਧਾਰਨੀ ਸਨ. ਉਹ ਇਸਨੂੰ ਹੋਰ ਅੱਗੇ ਤੋਰਨਾ ਚਾਹੁੰਦੇ ਸਨ. ਇਸਦੇ ਲਈ ਉਹਨਾਂ ਚਾਰ ਉਦਾਸੀਆਂ ਕੀਤੀਆਂ. ਪੁਰਾਤਨ ਜਨਮਸਾਖੀ ਵਿਚ ਉਹਨਾਂ ਚਾਰਾਂ ਉਦਾਸੀਆਂ ਦਾ ਜ਼ਿਕਰ ਆਉਂਦਾ ਹੈ. ਪਹਿਲੀ ਇਹ ਕਿ ਮੱਧਕਾਲੀ ਯੁੱਗ ਵਿਚ ਭਾਵੇਂ ਆਣ-ਜਾਣ ਵਾਲੇ ਸਾਧਨਾ ਦੇ ਘਾਟ ਸੀ ਪਰ ਉਸ ਵੇਲੇ ਦੇ ਆਧਿਆਤਮਕ ਨਾਇਕਾਂ ਦੇ ਲਈ ਇਹ ਗੱਲ ਪਰਚੱਲਿਤ ਸੀ ਕਿ ਉਹ ਆਪਣੀ ਵਿਚਾਰਧਾਰਾ ਨੂੰ ਘੁੰਮ-ਘੁੰਮ ਕੇ ਹੀ ਪ੍ਰਚਾਰਨ. ਗੁਰੂ ਸਾਹਿਬ ਨੇ ਲਗਭਗ 25,੦੦੦ ਮੀਲ ਦੀ ਯਾਤਰਾ ਕੀਤੀ. ਇਸ ਤਰ੍ਹਾਂ ਸਾਖੀਕਾਰ ਗੁਰੂ ਨਾਨਕ ਨੂੰ ਇੱਕ ਅਣਥੱਕ ਯਾਤਰੀ ਸਾਬਿਤ ਕਰ ਦਿੰਦਾ ਹੈ. ਗੁਰੁ ਨਾਨਕ ਨੂੰ ਹਰ ਤਰ੍ਹਾਂ ਦੇ ਲੋਕਾਂ ਦੀ ਮਦਦ ਕਰਦਿਆਂ ਦਿਖਾਇਆ ਗਿਆ ਹੈ. ਉਹ ਬਾਬਰ ਕੋਲੋਂ ਵੀ ਨਹੀਂ ਡਰਦੇ. ਕਈ ਹੋਰ ਪਾਤਰਾਂ ਨਾਲ ਸੰਵਾਦ ਰਾਹੀਂ ਸਾਖੀਕਾਰ ਗੁਰੂ ਨਾਨਕ ਦੀ ਸ਼ਖਸੀਅਤ ਨੂੰ ਬਾਕੀ ਪਾਤਰਾਂ ਤੋਂ ਅੱਡ ਦਿਖਾਉਂਦਾ ਹੈ.
*'''ਸਿੱਟਾ''' ਇਸ ਤਰ੍ਹਾਂ ਸਾਖੀਕਾਰ ਦਾ ਇੱਕੋ-ਇੱਕ ਮਨੋਰਥ ਜਾਪਦਾ ਹੈ ਕਿ ਉਹ ਬਾਕੀ ਪਾਤਰਾਂ ਨੂੰ ਘੱਟ ਮਹੱਤਵਪੂਰਨ ਦਿਖਾ ਕੇ ਗੁਰੂ ਨਾਨਕ ਦੀ ਸ਼ਖਸੀਅਤ ਉਸਾਰੀ ਨੂੰ ਵੱਧ ਤਰਜੀਹ ਦਿੰਦਾ ਹੈ. ਇਸ ਵਿਚ ਕੋਈ ਸ਼ੱਕ ਨਹੀਂ, ਮੱਧਕਾਲ ਵਿਚ ਗੁਰੂ ਨਾਨਕ ਦਾ ਕੱਦ ਅਧਿਆਤਮਕ ਅਤੇ ਸਾਹਿੱਤਕ ਖੇਤਰ ਵਿਚ ਬਹੁਤ ਉੱਚਾ ਹੈ ਪਰ ਜਿਸ ਤਰ੍ਹਾਂ ਗੁਰੂ ਨਾਨਕ ਦੀ ਸ਼ਖਸੀਅਤ ਨੂੰ ਸਾਖੀ ਵਿਚ ਪੇਸ਼ ਕੀਤਾ ਗਿਆ ਹੈ, ਉਸ ਰਾਹੀਂ ਪੇਸ਼ ਨਾਇਕ ਯਥਾਰਥ ਤੋਂ ਕਿਤੇ ਦੂਰ ਦਾ ਲੱਗਦਾ ਹੈ. ਸਾਖੀਕਾਰ ਦੁਆਰਾ ਜਿਆਦਾ ਜੋਰ ਉਸਦੀ ਰੁਮਾਂਟਿਕ ਪੇਸ਼ਕਾਰੀ ਉੱਪਰ ਹੈ ਜਿਸ ਨਾਲ ਉਸਦੀ ਸਦਾਚਾਰਕ ਅਤੇ ਆਧਿਆਤਮਕ ਦਿਖ ਧੁੰਦਲੀ ਕਰ ਦਿੱਤੀ ਗਈ ਹੈ.
sqpbl2uomnmyst87dycxrk9dd84y2ng
ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਦੇ ਵਾਕ ਦੀ ਬਣਤਰ ਅਤੇ ਵਰਗੀਕਰਨ
0
2545
5304
4622
2022-11-29T21:04:46Z
Suyash.dwivedi
1854
clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
'''ਵਾਕ''' ਭਾਸ਼ਾ ਦੀ ਵਿਆਕਰਨਕ ਪੱਧਰ ਤੇ ਸਭ ਤੋਂ ਵੱਡੀ ਇਕਾਈ ਹੈ ।
===ਵਾਕ ਦੀ ਪਰਿਭਾਸ਼ਾ===
*ਬਲੂਮਫੀਲਡ ਅਨੁਸਾਰ (BLOOMFIELD, LANGUAGE) :- “ ਵਾਕ ਇੱਕ ਸੁਤੰਤਰ ਭਾਸ਼ਕ ਰੂਪ ਹੈ, ਜੋ ਕਿਸੇ ਵੀ ਹੋਰ ਵੱਡੇ ਭਾਸ਼ਾਈ ਰੂਪ ਦਾ ਅੰਗ ਨਹੀਂ ਹੁੰਦਾ ”।
*ਲਾਇਨਜ ਅਨੁਸਾਰ (LYONS, INTRODUCTION TO THEORETICAL LINGUISTICS) :- “ ਵਾਕ ਵਿਆਕਰਨਕ ਵਿਸ਼ਲੇਸ਼ਣ ਦੀ ਸਭ ਤੋਂ ਵੱਡੀ ਇਕਾਈ ਹੈ ” ।
*ਡਾ. ਬਲਦੇਵ ਸਿੰਘ ਚੀਮਾਂ ਅਨੁਸਾਰ :- “ ਵਿਆਕਰਨਕ ਅਧਿਐਨ ਦੀ ਵੱਡੀ ਤੋਂ ਵੱਡੀ ਇਕਾਈ ਨੂੰ ਵਾਕ ਆਖਿਆ ਜਾਂਦਾ ਹੈ । ਵਾਕ ਆਪਣੀ ਸੰਰਚਨਾਤਮਕ ਬਤਰ ਕਰਕੇ ਕਿਸੇ ਦੂਜੀ ਇਕਾਈ ਦੇ ਅਧੀਨ ਨਹੀਂ ਹੁੰਦਾ ” ।
*ਜੋਗਿੰਦਰ ਸਿੰਘ ਪੁਆਰ ਅਨੁਸਾਰ :- “ ਵਾਕ ਸ਼ਬਦਾਂ / ਵਾਕੰਸ਼ਾਂ / ਉਪਵਾਕਾਂ ਦਾ ਸਮੂਹ ਹੁੰਦਾ ਹੈ । ਇਸ ਵਿੱਚ ਸ਼ਬਦ / ਵਾਕੰਸ਼ / ਉਪਵਾਕ ਕਿਸੇ ਖਾਸ ਤਰਤੀਬ ਵਿੱਚ ਵਿਚਰਦੇ ਹਨ ” ।
ਕੋਈ ਸ਼ਬਦ ਲੜੀ ਵਾਕ ਤਦ ਹੀ ਬਣਦੀ ਹੈ ਜਦ ਉਹ ਕਿਸੇ ਕੜੀਦਾਰ ਸੰਬੰਧਾਂ ਵਿੱਚ ਬੱਝ ਕੇ ਕਿਸੇ ਕਾਰਜ ਦਾ ਪ੍ਰਗਟਾਵਾ ਕਾਲ ਵਿੱਚ ਕਰੇ । ਰਵਾਇਤੀ ਵਿਆਕਰਨ ਅਨੁਸਾਰ ਵਾਕ ਉਦੇਸ਼ ਤੇ ਵਿਧੇ ਦੀ ਰਚਨਾ ਵਾਲ਼ਾ ਪ੍ਰਬੰਧ ਹੈ । ਉਦੇਸ਼ ਅਤੇ ਵਿਧੇ ਦੋਵੇਂ ਵਾਕ ਦੇ ਕਾਰਜੀ ਅੰਗ ਹਨ । ਵਾਕ ਵਿੱਚ ਜਿਸ ਬਾਰੇ ਕੁੱਝ ਕਿਹਾ ਗਿਆ ਹੁੰਦਾ ਹੈ ਉਸਨੂੰ ਉਦੇਸ਼ ਕਿਹਾ ਜਾਂਦਾ ਹੈ ਅਤੇ ਜੋ ਕੁੱਝ ਉਦੇਸ਼ ਬਾਰੇ ਕਿਹਾ ਜਾਂਦਾ ਹੈ ਉਸਨੂੰ ਵਿਧੇ ਦਾ ਨਾਂ ਦਿੱਤਾ ਜਾਂਦਾ ਹੈ । ਜਿਵੇਂ:-
ਕੁੜੀ ਖੇਡ ਰਹੀ ਹੈ ।
ਉਦੇਸ਼ ਵਿਧੇ
ਆਧੁਨਿਕ ਭਾਸ਼ਾ ਵਿਗਿਆਨੀ ਉਦੇਸ਼ ਅਤੇ ਵਿਧੇ ਦੀ ਥਾਂ ਉੱਪਰ ਨਾਂਵ ਵਾਕੰਸ਼ ਅਤੇ ਕਿਰਿਆ ਵਾਕੰਸ਼ ਦੀ ਵਰਤੋਂ ਕਰਦੇ ਹਨ । ਅਜੋਕੇ ਵਿਆਕਰਨ ਅਨੁਸਾਰ ਵਾਕ ਦੇ ਵਰਗੀਕਰਨ ਦੇ ਦੋ ਮੁੱਖ ਆਧਾਰ ਸਥਾਪਿਤ ਕੀਤੇ ਗਏ ਹਨ।
*'''ਬਣਤਰ ਦੇ ਆਧਾਰ ਤੇ ਵਰਗੀਕਰਨ'''
*''' ਕਾਰਜ ਦੇ ਆਧਾਰ ਤੇ ਵਰਗੀਕਰਨ'''
*'''ਬਣਤਰ ਦੇ ਆਧਾਰ ਤੇ ਵਰਗੀਕਰਨ''' -ਬਣਤਰ ਦੇ ਪੱਖ ਤੋਂ ਵਾਕਾਂ ਦਾ ਵਿਸ਼ਲੇਸ਼ਣ ਇਹਨਾਂ ਦੀ ਅੰਦਰੂਨੀ ਬਣਤਰ ਦੇ ਆਧਾਰ ਤੇ ਕੀਤਾ ਜਾਂਦਾ ਹੈ । ਵਾਕ ਦੀ ਬਾਹਰੀ, ਅੰਦਰੂਨੀ ਬਣਤਰ ਦੇ ਅੰਤਰਗਤ ਵਾਕ ਵਿੱਚ ਵਿਚਰਨ ਵਾਲ਼ੇ ਤੱਤਾਂ ਦੀ ਆਪਸ ਵਿੱਚ ਜੁੜਨ ਪ੍ਰਕਿਰਿਆ ਅਤੇ ਵਿਚਰਨ ਸਥਾਨ ਨੂੰ ਮਹੱਤਤਾ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ । ਉਹਨਾਂ ਆਪਸ ਵਿੱਚਲੀ ਜੜ੍ਹਤ ਦੇ ਸੰਬੰਧਾਂ ਦਾ ਅਧਿਐਨ ਕੀਤਾ ਜਾਂਦਾ ਹੈ । ਇਸ ਆਧਾਰ ਤੇ ਵਾਕਾਂ ਨੂੰ ਦੋ ਹਿੱਸਿਆਂ ਵਿੱਚ ਵੰਡਿਆ ਜਾਂਦਾ ਹੈ :-
#ਇੱਕ ਕਿਰਿਆਵੀ ਵਾਕ
#ਬਹੁ-ਕਿਰਿਆਵੀ ਵਾਕ
#ਇੱਕ ਕਿਰਿਆਵੀ ਵਾਕ :- ਇੱਕ ਕਿਰਿਆਵੀ ਵਾਕ ਇਕਹਿਰੀ ਬਣਤਰ ਵਾਲ਼ਾ ਹੁੰਦਾ ਹੈ । ਇਸ ਵਿੱਚ ਕੇਵਲ ਇੱਕ ਉਦੇਸ਼ ਤੇ ਇੱਕ ਵਿਧੇ ਹੁੰਦਾ ਹੈ ਜਾਂ ਆਧੁਨਿਕ ਭਾਸ਼ਾ ਵਿਗਿਆਨ ਅਨੁਸਾਰ ਇੱਕ ਵਾਕੰਸ਼ ਅਤੇ ਇੱਕ ਕਿਰਿਆ ਵਾਕੰਸ਼ ਹੁੰਦਾ ਹੈ । ਇੱਕ ਕਿਰਿਆਵੀ ਵਾਕ ਨੂੰ ਸਧਾਰਨ ਵਾਕ ਕਿਹਾ ਜਾਂਦਾ ਹੈ ।
#ਬਹੁ-ਕਿਰਿਆਵੀ ਵਾਕ :- ਜਿਸ ਵਾਕ ਵਿੱਚ ਇੱਕ ਤੋਂ ਵੱਧ ਕਿਰਿਆਵਾਂ ਹੋਣ , ਉਸ ਨੂੰ ਬਹੁ-ਕਿਰਆਵੀ ਵਾਕ ਕਿਹਾ ਜਾਂਦਾ ਹੈ । ਬਹੁ-ਕਿਰਿਆਵੀ ਵਾਕ ਦੋ ਜਾਂ ਦੋ ਤੋਂ ਵੱਧ ਉਪਵਾਕਾਂ ਦੇ ਸੁਮੇਲ ਤੋਂ ਬਣੀ ਵਾਕ ਸੰਰਚਨਾ ਹੁੰਦੀ ਹੈ । ਬਹੁ- ਕਿਰਿਆਵੀ ਵਾਕਾਂ ਵਿੱਚ ਸੰਯੁਕਤ ਤੇ ਮਿਸ਼ਰਤ ਵਾਕਾਂ ਨੂੰ ਰੱਖਿਆ ਜਾਂਦਾ ਹੈ ।
*ਇਸ ਪ੍ਰਕਾਰ ਬਣਤਰ ਦੇ ਪੱਧਰ ਤੇ ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਦੇ ਵਾਕਾਂ ਨੂੰ ਤਿੰਨ ਭਾਗਾਂ ਵਿੱਚ ਵੰਡਿਆ ਗਿਆ ਹੈ :-
#ਸਧਾਰਨ ਵਾਕ
#ਸੰਯੁਕਤ ਵਾਕ
#ਮਿਸ਼ਰਤ ਵਾਕ ।
===ਸਧਾਰਨ ਵਾਕ ਦੀ ਬਣਤਰ ਦੇ ਪੈਟਰਨ===
ਸਧਾਰਨ ਵਾਕ ਵਿੱਚ ਸਿਰਫ ਇੱਕ ਸਵਾਧੀਨ ਉਪਵਾਕ ਹੁੰਦਾ ਹੈ । ਇਸ ਸਵਾਧੀਨ ਉਪਵਾਕ ਵਿੱਚ ਸਿਰਫ ਇੱਕ ਕਿਰਿਆ ਵਾਕੰਸ਼ ਆ ਸਕਦਾ ਹੈ, ਜਿਸਦਾ ਰੂਪ ਕਾਲਕੀ ਹੁੰਦਾ ਹੈ । ਇਸ ਕਿਰਿਆ ਵਾਕੰਸ਼ ਨਾਲ਼ ਹੋਰ ਬਾਕੀ ਕਿਰਿਆ ਵਾਕੰਸ਼ ਆ ਜਾਂਦੇ ਹਨ ਜਿਵੇਂ:- ਨਾਂਵ ਵਾਕੰਸ਼, ਵਿਸ਼ੇਸ਼ਣ ਵਾਕੰਸ਼, ਕਿਰਿਆ ਵਿਸ਼ੇਸ਼ਣ ਵਾਕੰਸ਼ ਆਦਿ ਜੁੜ ਕੇ ਉਪਵਾਕ ਦਾ ਵਿਸਥਾਰ ਕਰ ਸਕਦੇ ਹਨ । ਸਧਾਰਨ ਵਾਕਾਂ ਨੂੰ ਸਮਝਣ ਲਈ ਇਹਨਾਂ ਵਾਕੰਸ਼ਾਂ ਦੇ ਆਪਸ ਵਿੱਚ ਜੁੜਨ ਦੀ ਪ੍ਰਕਿਰਿਆ ਨੂੰ ਸਮਝਣਾ ਜਰੂਰੀ ਹੁੰਦਾ ਹੈ । ਇਹਨਾਂ ਵਾਕੰਸ਼ਾਂ ਦੇ ਆਪਸੀ ਸੰਬੰਧਾਂ ਦੇ ਆਧਾਰ ਤੇ ਸਧਾਰਨ ਵਾਕਾਂ ਦੇ ਕੁੱਝ ਨਿਸ਼ਚਿਤ ਪੈਟਰਨ ਵੇਖੇ ਜਾ ਸਕਦੇ ਹਨ, ਜੋ ਇਸ ਪ੍ਰਕਾਰ ਹਨ:-
*ਕਰਤਾ ਨਾਂਵ ਵਾਕੰਸ਼ + ਕਿਰਿਆ ਵਾਕੰਸ਼
ਇਸ ਪ੍ਰਕਾਰ ਦੇ ਵਾਕਾਂ ਦੀ ਬਣਤਰ ਵਿੱਚ ਇੱਕ ਨਾਂਵ ਵਾਕੰਸ਼ ਹੁੰਦਾ ਹੈ, ਜਿਹੜਾ ਕਿ ਵਾਕ ਦਾ ਕਰਤਾ ਹੁੰਦਾ ਹੈ । ਇਹਨਾਂ ਵਾਕਾਂ ਦੀ ਕਿਰਿਆ ਅਕਰਮਕ ਹੰਦੀ ਹੈ
ਕੁੜੀ(ਕਰਤਾ ਨਾਂਵ ਵਾਕੰਸ਼) ਹੱਸਦੀ ਹੈ(ਕਿਰਿਆ ਵਾਕੰਸ਼) ।
*ਕਰਤਾ ਨਾਂਵ ਵਾਕੰਸ਼ + ਨਾਂਵ ਵਾਕੰਸ਼ + ਕਿਰਿਆ ਵਾਕੰਸ਼
ਇਸ ਪ੍ਰਕਾਰ ਦੇ ਵਾਕਾਂ ਦੀ ਬਣਤਰ ਵਿੱਚ ਦੋ ਨਾਂਵ ਵਾਕੰਸ਼ ਹੁੰਦੇ ਹਨ । ਪਹਿਲਾ ਨਾਂਵ ਵਾਕੰਸ਼ ਵਾਕ ਦਾ ਉਦੇਸ਼ ਹੁੰਦਾ ਹੈ ਅਤੇ ਦੂਜਾ ਨਾਂਵ ਵਾਕੰਸ਼ ਪਹਿਲੇ ਵਾਕ ਦਾ ਹੀ ਪੂਰਕ ਹੁੰਦਾ ਹੈ । ਇਹਨਾਂ ਦੋਹਾਂ ਨਾਂਵ ਵਾਕੰਸ਼ਾਂ ਨੂੰ ਸਹਾਇਕ ਕਿਰਿਆ ਜੋੜਦੀ ਹੈ ।
ਪ੍ਰੋਫੈਸਰ ਦਾ ਮੁੰਡਾ(ਕਰਤਾ ਨਾਂਵ ਵਾਕੰਸ਼) ਡਾਕਟਰ(ਪੂਰਕ ਨਾਂਵ ਵਾਕੰਸ਼) ਬਣ ਗਿਆ(ਕਿਰਿਆ ਵਾਕੰਸ਼) ।
*ਕਰਤਾ ਨਾਂਵ ਵਾਕੰਸ਼ + ਕਰਮ ਨਾਂਵ ਵਾਕੰਸ਼ + ਕਿਰਿਆ ਵਾਕੰਸ਼
ਇਸ ਪ੍ਰਕਾਰ ਦੇ ਵਾਕਾਂ ਦੀ ਬਣਤਰ ਵਿੱਚ ਵੀ ਦੋ ਨਾਂਵ ਵਾਕੰਸ਼ ਹੁੰਦੇ ਹਨ । ਪਹਿਲਾ ਨਾਂਵ ਵਾਕੰਸ਼ ਵਾਕ ਦਾ ਕਰਤਾ ਹੁੰਦਾ ਹੈ ਅਤੇ ਦੂਜਾ ਨਾਂਵ ਵਾਕੰਸ਼ ਵਾਕ ਦਾ ਕਰਮ ਹੁੰਦਾ ਹੈ । ਅਜਿਹੇ ਵਾਕਾਂ ਦੀ ਕਿਰਿਆ ਸਕਰਮਕ ਹੁੰਦੀ ਹੈ ।
ਕੁੜੀ(ਕਰਤਾ ਨਾਂਵ ਵਾਕੰਸ਼) ਰੋਟੀ(ਕਰਮ ਨਾਂਵ ਵਾਕੰਸ਼) ਖਾਂਦੀ ਹੈ(ਕਿਰਿਆ ਵਾਕੰਸ਼) ।
*ਕਰਤਾ ਨਾਂਵ ਵਾਕੰਸ਼ + ਅਪ੍ਰਧਾਨ ਕਰਮ + ਪ੍ਰਧਾਨ ਕਰਮ + ਕਿਰਿਆ ਵਾਕੰਸ਼
ਇਸ ਪੈਟਰਨ ਦੇ ਵਾਕਾਂ ਦੀ ਬਣਤਰ ਵਿੱਚ ਤਿੰਨ ਨਾਂਵ ਵਾਕੰਸ਼ ਹੁੰਦੇ ਹਨ । ਪਹਿਲਾ ਨਾਂਵ ਵਾਕੰਸ਼ ਕਰਤਾ ਨਾਂਵ ਵਾਕੰਸ਼ ਹੁੰਦਾ ਹੈ । ਦੂਜੇ ਦੋਵੇਂ ਕਰਮ ਨਾਂਵ ਵਾਕੰਸ਼ ਹੁੰਦੇ ਹਨ । ਇਹਨਾਂ ਵਿੱਚੋਂ ਇੱਕ ਪ੍ਰਧਾਨ ਕਰਮ ਨਾਂਵ ਵਾਕੰਸ਼ ਹੁੰਦਾ ਹੈ ਅਤੇ ਇੱਕ ਅਪ੍ਰਧਾਨ ਕਰਮ ਨਾਂਵ ਵਾਕੰਸ਼ ਹੁੰਦਾ ਹੈ । ਆਮ ਤੌਰ ਤੇ ਅਪ੍ਰਧਾਨ ਕਰਮ ਨਾਂਵ ਵਾਕੰਸ਼ , ਪ੍ਰਧਾਨ ਕਰਮ ਨਾਂਵ ਵਾਕੰਸ਼ ਤੋਂ ਪਹਿਲਾਂ ਆਉਂਦਾ ਹੈ । ਅਪ੍ਰਧਾਨ ਕਰਮ ਨਾਂਵ ਵਾਕੰਸ਼ ਨਾਲ਼ / ਨੂੰ / ਸੰਬੰਧਕ ਲਗਦਾ ਹੈ ।
ਪਿਤਾ ਨੇ(ਕਰਤਾ ਨਾਂਵ ਵਾਕੰਸ਼) ਧੀ ਨੂੰ(ਅਪ੍ਰਧਾਨ ਕਰਮ ਨਾਂਵ ਵਾਕੰਸ਼) ਪ੍ਰੋਫੈਸਰ(ਪ੍ਰਧਾਨ ਕਰਮ ਨਆਂਵ ਵਾਕੰਸ਼) ਬਣਾਇਆ(ਕਿਰਿਆ ਨਾਂਵ ਵਾਕੰਸ਼) ।
*ਨਾਂਵ ਵਾਕੰਸ਼ + ਵਿਸ਼ੇਸ਼ਣ ਵਾਕੰਸ਼ + ਕਿਰਿਆ ਵਾਕੰਸ਼
ਇਸ ਪ੍ਰਕਾਰ ਦੇ ਵਾਕਾਂ ਦੀ ਬਣਤਰ ਵਿੱਚ ਇੱਕ ਨਾਂਵ ਵਾਕੰਸ਼ ਅਤੇ ਇੱਕ ਵਿਸ਼ੇਸ਼ਣ ਵਾਕੰਸ਼ ਹੁੰਦਾ ਹੈ । ਜੋ ਕਿ ਨਾਂਵ ਦੀ ਹੀ ਵਿਸ਼ੇਸ਼ਤਾ ਦਸਦਾ ਹੈ । ਇਹਨਾਂ ਵਾਕੰਸ਼ਾਂ ਨੂੰ ਸਹਾਇਕ ਕਿਰਿਆ ਜੋੜਦੀ ਹੈ ।
ਕੁੜੀ(ਨਾਂਵ ਵਾਕੰਸ਼ ) ਗੋਰੀ(ਵਿਸ਼ੇਸ਼ਣ ਵਾਕੰਸ਼) ਹੈ(ਕਿਰਿਆ ਵਾਕੰਸ਼) ।
*ਨਾਂਵ ਵਾਕੰਸ਼ + ਕਿਰਿਆ ਵਿਸ਼ੇਸ਼ਣ ਵਾਕੰਸ਼ + ਕਿਰਿਆ ਵਾਕੰਸ਼
ਇਸ ਪ੍ਰਕਾਰ ਦੇ ਵਾਕਾਂ ਦੀ ਬਣਤਰ ਵਿੱਚ ਨਾਂਵ ਵਾਕੰਸ਼ ਦੇ ਨਾਲ਼ ਵਿਸ਼ੇਸ਼ਣ ਵਾਕੰਸ਼ ਦੀ ਥਾਂ ਕਿਰਿਆ ਵਿਸ਼ੇਸ਼ਣ ਵਾਕੰਸ਼ ਵਿਚਰਦਾ ਹੈ । ਇਸ ਤਰਾਂ ਦੇ ਵਾਕਾਂ ਦੀ ਕਿਰਿਆ ਅਕਾਲਕੀ ਹੁੰਦੀ ਹੈ । ਨਾਂਵ ਵਾਕੰਸ਼ ਵਾਕ ਦਾ ਕਰਤਾ ਜਾਂ ਉਦੇਸ਼ ਹੁੰਦਾ ਹੈ ।
ਮੁੰਡਾ(ਨਾਂਵ ਵਾਕੰਸ਼) ਗੱਡੀਓਂ(ਕਿਰਿਆ ਵਿਸ਼ੇਸ਼ਣ ਵਾਕੰਸ਼) ਉੱਤਰਿਆ(ਕਿਰਿਆ ਵਾਕੰਸ਼) ।
*ਕਰਮ ਨਾਂਵ ਵਾਕੰਸ਼ + ਕਿਰਿਆ ਵਾਕੰਸ਼
ਇਸ ਤਰ੍ਹਾਂ ਦੇ ਵਾਕਾਂ ਦੀ ਬਣਤਰ ਵਿੱਚ ਸਿਰਫ ਕਰਮ ਨਾਂਵ ਵਾਕੰਸ਼ ਅਤੇ ਕਿਰਿਆ ਵਾਕੰਸ਼ ਹੀ ਹੁੰਦੇ ਹਨ । ਇਹਨਾਂ ਵਾਕਾਂ ਦਾ ਰੂਪ ਕਰਮਣੀਵਾਚੀ ਹੁੰਦਾ ਹੈ ।
ਅਰਦਾਸ(ਕਰਮ ਨਾਂਵ ਵਾਕੰਸ਼) ਕੀਤੀ ਗਈ(ਕਿਰਿਆ ਵਾਕੰਸ਼) ।
===ਸੰਯੁਕਤ ਵਾਕਾਂ ਦੀ ਬਣਤਰ ਦੇ ਪੈਟਰਨ===
ਜਿਹਨਾਂ ਵਾਕਾਂ ਦੀ ਬਣਤਰ ਵਿੱਚ ਦੋ ਜਾਂ ਦੋ ਤੋਂ ਵੱਧ ਸਵਾਧੀਨ ਉਪਵਾਕ ਆਉਣ ਉਹਨਾਂ ਵਾਕਾਂ ਨੂੰ ਸੰਯੁਕਤ ਵਾਕਾਂ ਦਾ ਨਾਂ ਦਿੱਤਾ ਜਾਂਦਾ ਹੈ । ਇਹ ਉਪਵਾਕ ਇਕੱਲੇ ਤੌਰ ਤੇ ਵਿਚਰ ਸਕਣ ਦੀ ਸਮਰੱਥਾ ਵੀ ਰੱਖਦੇ ਹਨ । ਇਹਨਾਂ ਦੋ ਜਾਂ ਦੋ ਵਧੇਰੇ ਸਵਾਧੀਨ ਉਪਵਾਕਾਂ ਨੂੰ ਕਈ ਵਾਰ ਕਾਮੇ, ਤੇ, ਅਤੇ, ਪਰ ਆਦਿ ਯੋਜਕਾਂ ਨਾਲ਼ ਜੋੜਿਆ ਜਾਂਦਾ ਹੈ ।
*ਮੁਖ ਉਪਵਾਕ + ਕੌਮਾ(,) + ਸਵਾਧੀਨ ਉਪਵਾਕ
ਕੁੜੀ ਖੜੀ ਹੈ(ਸਵਾਧੀਨ ਉਪਵਾਕ) ,(ਯੋਜਕ) ਮੁੰਡਾ ਬੈਠਾ ਹੈ(ਸਵਾਧੀਨ ਉਪਵਾਕ) ।
*ਸਵਾਧੀਨ ਉਪਵਾਕ + ਤੇ + ਸਵਾਧੀਨ ਉਪਵਾਕ
ਮੁੰਡਾ ਲਿਖਦਾ ਹੈ(ਸਵਾਧੀਨ ਉਪਵਾਕ) ਤੇ(ਯੋਜਕ) ਕੁੜੀ ਪੜਦੀ ਹੈ(ਸਵਾਧੀਨ ਉਪਵਾਕ) ।
*ਸਵਾਧੀਨ ਉਪਵਾਕ + ਪਰ + ਸਵਾਧੀਨ ਉਪਵਾਕ
*ਸਵਾਧੀਨ ਉਪਵਾਕ + ਅਤੇ + ਸਵਾਧੀਨ ਉਪਵਾਕ
===ਮਿਸ਼ਰਤ ਵਾਕਾਂ ਦੀ ਬਣਤਰ ਦੇ ਪੈਟਰਨ===
ਮਿਸ਼ਰਤ ਵਾਕਾਂ ਦੀ ਬਣਤਰ ਵਿੱਚ ਘੱਟੋ-ਘੱਟ ਇੱਕ ਸਵਾਧੀਨ ਉਪਵਾਕ ਅਤੇ ਇੱਕ ਜਾਂ ਇੱਕ ਤੋਂ ਵੱਧ ਪਰਾਧੀਨ ਉਪਵਾਕ ਆ ਜਾਂਦੇ ਹਨ । ਸਵਾਧੀਨ ਉਪਵਾਕ ਵਿੱਚ ਵਿਚਰਨ ਵਾਲ਼ਾ ਕਿਰਿਆ ਵਾਕੰਸ਼ ਕਾਲਕੀ ਹੁੰਦਾ ਹੈ । ਜਦੋਂ ਕਿ ਪਰਾਧੀਨ ਉਪਵਾਕਾਂ ਦੀ ਸਿਰਜਣਾ ਅਕਾਲਕੀ ਕਿਰਿਆ ਵਾਕੰਸ਼ ਦੁਆਰਾ ਵੀ ਹੋ ਸਕਦੀ ਹੈ । ਸਵਾਧੀਨ ਇਕੱਲੇ ਤੌਰ ਤੇ ਵਾਕ ਵਜੋਂ ਵਿਚਰ ਸਕਣ ਦੀ ਸਮਰੱਥਾ ਰੱਖਦਾ ਹੈ । ਜਿੱਥੇ ਪਰਾਧੀਨ ਉਪਵਾਕ ਇਕੱਲੇ ਤੌਰ ਤੇ ਨਹੀਂ ਵਿਚਰ ਸਕਦਾ ਕਿਸੇ ਮੁੱਖ ਉਪਵਾਕ ਨਾਲ਼ ਵਿਚਰ ਕੇ ਮਿਸ਼ਰਤ ਵਾਕਾਂ ਦੀ ਸਿਰਜਣਾ ਕਰਨ ਵਿੱਚ ਸਹਾਈ ਹੁੰਦਾ ਹੈ । ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਦੇ ਪਰਾਧੀਨ ਉਪਵਾਕਾਂ ਦੀ ਪਛਾਣ ਇਹਨਾਂ ਦੇ ਆਰੰਭ ਵਿੱਚ ਵਿਚਰਨ ਵਾਲ਼ੇ ਅਧੀਨ ਯੋਜਕਾਂ ਰਾਹੀਂ ਕੀਤੀ ਜਾਂਦੀ ਹੈ । ਪਰਾਧੀਨ ਉਪਵਾਕਾਂ ਦੀ ਸ਼ੁਰੂਆਤ ਕਿ, ਜੋ, ਜਿਵੇਂ, ਜਦੋਂ, ਜੇ, ਜਿਹੜੇ, ਜਿਹਨਾਂ ਆਦਿ ਨਾਲ ਹੁੰਦੀ ਹੈ ।
*ਰੂਪ ਦੇ ਆਧਾਰ ਤੇ ਪਰਾਧੀਨ ਉਪਵਾਕਾਂ ਦੇ ਸ਼ੁਰੂ ਵਿੱਚ ਵਿਚਰਨ ਵਾਲ਼ੇ ਅਧੀਨ ਯੋਜਕਾਂ ਨੂੰ ਤਿੰਨ ਹਿੱਸਿਆਂ ਵਿੱਚ ਵੰਡਿਆ ਜਾਂਦਾ ਹੈ ।
#ਸਧਾਰਨ ਅਧੀਨ ਯੋਜਕ – ਜੋ, ਜਿਵੇਂ, ਜਦੋਂ, ਜੇ, ਕਿ, ਆਦਿ ।
#ਸੰਯੁਕਤ ਯੋਜਕ - ਜਦੋਂ ਕਿ, ਜਿਵੇਂ ਕਿ ਆਦਿ ।
# ਸਹਿ-ਸੰਬੰਧਕੀ ਯੋਜਕ – ਜੇ – ਤਾਂ, ਭਾਵੇਂ -ਫਿਰ ਵੀ ।
ਉਦਾਹਰਣ:- ਭਾਵੇਂ ਉਸਦੇ ਦੋਸਤ ਮੂਰਖ ਹਨ, ਫਿਰ ਵੀ(ਪਰਾਧੀਨ ਉਪਵਾਕ) ਉਹ ਸਿਆਣਾ ਹੈ(ਸਵਾਧੀਨ ਉਪਵਾਕ) ।
===ਕਾਰਜ ਦੇ ਆਧਾਰ ਤੇ ਵਰਗੀਕਰਨ===
*ਕਾਰਜ ਦੇ ਆਧਾਰ ਤੇ ਪੰਜਾਬੀ ਵਾਕਾਂ ਨੂੰ ਤਿੰਨ ਭਾਗਾਂ ਵਿੱਚ ਵੰਡਿਆ ਗਿਆ ਹੈ :-
#ਪ੍ਰਸ਼ਨਵਾਚੀ ਵਾਕ
#ਆਗਿਆਵਾਚੀ ਵਾਕ
#ਬਿਆਨੀਆ ਵਾਕ ।
====ਪ੍ਰਸ਼ਨਵਾਚੀ ਵਾਕ====
ਪ੍ਰਸ਼ਨਵਾਚੀ ਵਾਕ ਦੁਆਰਾ ਕੋਈ ਪ੍ਰਸ਼ਨ ਪੁੱਛਿਆ ਗਿਆ ਹੁੰਦਾ ਹੈ । ਇਹਨਾਂ ਦੀ ਸਿਰਜਣਾ ਦੋ ਪ੍ਰਕਾਰ ਹੁੰਦੀ ਹੈ । ਪਹਿਲੇ ਪ੍ਰਕਾਰ ਦੇ ਪ੍ਰਸ਼ਨਵਾਚਕ ਵਾਕਾਂ ਵਿੱਚ ਕਿਸੇ ਪ੍ਰਸ਼ਨ ਸੂਚਕ ਸ਼ਬਦ ਦੀ ਵਰਤੋਂ ਹੁੰਦੀ ਹੈ । ਜਦੋਂ ਕਿ ਦੂਜੀ ਪ੍ਰਕਾਰ ਦੇ ਪ੍ਰਸ਼ਨਵਾਚਕ ਵਿੱਚ ਇਸ ਪ੍ਰਕਾਰ ਦੀ ਵਰਤੋਂ ਲਾਜਮੀ ਨਹੀਂ ਹੁੰਦੀ । ਦੂਜੀ ਪ੍ਰਕਾਰ ਦੇ ਵਾਕਾਂ ਵਿੱਚ ਵਕਤੇ ਦੇ ਉਚਾਰਨ ਲਹਿਜੇ ਦੇ ਆਧਾਰ ਤੇ ਹੀ ਪ੍ਰਸਨਵਾਚਕ ਵਾਕਾਂ ਦੀ ਸਿਰਜਣਾ ਹੁੰਜੀ ਹੈ ।
*ਕੀ ਤੁਸੀਂ ਕਿਤਾਬ ਪੜ੍ਹ ਲਈ ਹੈ ?
*ਤੁਸੀਂ ਕਿਤਾਬ ਪੜ੍ਹ ਲਈ ਹੈ ?
====ਆਗਿਆਵਾਚੀ ਵਾਕ====
ਆਗਿਆਵਾਚੀ ਵਾਕ ਉਹ ਹੁੰਦੇ ਹਨ ਜਿਹਨਾਂ ਦਾ ਪ੍ਰਤੀਕਰਮ ਕਿਸੇ ਕਾਰਜ ਵਿੱਚ ਹੁੰਦਾ ਹੈ । ਇਹਨਾਂ ਵਾਕਾਂ ਵਿੱਚ ਕਰਤਾ ਦੀ ਆਮ ਤੌਰ ਤੇ ਅਣਹੋਂਦ ਹੁੰਦੀ ਹੈ । ਇਹਨਾਂ ਵਾਕਾਂ ਵਿੱਚ ਕੇਵਲ ਆਗਿਆਬੋਧਕ ਤੇ ਇੱਛਾਬੋਧਕ ਕਿਰਿਆਵਾਂ ਆਉਂਦੀਆਂ ਹਨ । ਕਾਰਜੀ ਪੱਖੋਂ ਇਹਨਾਂ ਵਾਕਾਂ ਦੀ ਸੁਰ ਹੁਕਮੀਆਂ ਜਾਂ ਬੇਨਤੀਵਾਚਕ ਹੁੰਦੀ ਹੈ । ਬੇਨਤੀ ਜਾਂ ਹੁਕਮ ਦਾ ਵਕਤਾ ਦੇ ਉਚਾਰਨ ਲਹਿਜੇ ਜਾਂ ਵਕਤਾ / ਸਰੋਤਾ ਦੇ ਰਿਸ਼ਤੇ ਤੋਂ ਪਤਾ ਚਲਦਾ ਹੈ । ਆਮ ਤੌਰ ਤੇ ਇਸ ਪ੍ਰਕਾਰ ਦੇ ਵਾਕਾਂ ਦੀ ਬਣਤਰ ਤੋਂ ਹੁਕਮ ਜਾਂ ਬੇਨਤੀ ਦਾ ਪਤਾ ਨਹੀਂ ਲਗਦਾ , ਪਰ ਕਿਸੇ ਵਾਕ ਵਿੱਚ ਆਦਰਸੂਚਕ ਸ਼ਬਦਾਂ ਦੀ ਵਰਤੋਂ ਕੀਤੀ ਜਾਵੇ ਜਾਂ ਫਿਰ ਆਦਰਬੋਧਕ ਆਗਿਆਵਾਚੀ ਕਿਰਿਆ ਰੂਪਾਂ ਦੀ ਵਰਤੋਂ ਕੀਤੀ ਜਾਵੇ ਤਾਂ ਵਾਕਾਂ ਦਾ ਬੇਨਤੀਵਾਚਕ ਸਰੂਪ ਨਿਸ਼ਚਿਤ ਹੋ ਜਾਂਦਾ ਹੈ ।
*ਚਾਹ ਲਿਆਓ !
*ਕਿਰਪਾ ਕਰਕੇ ਦੁੱਧ ਲਿਆਓ !
====ਬਿਆਨੀਆ ਵਾਕ====
ਬਿਆਨੀਆ ਵਾਕਾਂ ਵਿੱਚ ਕਿਸੇ ਪ੍ਰਕਾਰ ਦੀ ਹਾਂ ਵਾਚਕ ਜਾਂ ਨਾਂਹ ਵਾਚਕ ਸੂਚਨਾ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ । ਇਹ ਵਾਕ ਵਰਣਨਮੁੱਖ ਹੁੰਦੇ ਹਨ । ਇਹਨਾਂ ਵਾਕਾਂ ਵਿੱਚ ਕਿਸੇ ਤੱਥ ਜਾਂ ਸੱਚਾਈ ਨੂੰ ਬਿਆਨ ਕੀਤਾ ਜਾਂਦਾ ਹੈ ਜਾਂ ਕਿਸੇ ਘਟਨਾ ਵਸਤ ਆਦਿ ਬਾਰੇ ਜਾਣਕਾਰੀ ਦਿੱਤੀ ਗਈ ਹੁੰਦੀ ਹੈ । ਜਿਵੇਂ:-
*ਦਿੱਲੀ ਭਾਰਤ ਦੀ ਰਾਜਧਾਨੀ ਹੈ ।
=====ਸਿੱਟਾ=====
ਇਸ ਤਰ੍ਹਾਂ ਅਸੀਂ ਕਹਿ ਸਕਦੇ ਹਾਂ ਕਿ ਵਾਕ ਵਿਆਕਰਨ ਦੀ ਸਭ ਤੋਂ ਵੱਡੀ ਵਿਆਕਰਨਕ ਇਕਾਈ ਹੈ । ਇਸਨੂੰ ਅਸੀਂ ਬਣਤਰ ਅਤੇ ਕਾਰਜ ਦੇ ਆਧਾਰ ਤੇ ਵੰਡ ਕੇ ਇਸਦਾ ਵਰਗੀਕਰਨ ਕਰ ਸਕਦੇ ਹਾਂ ।
nbzheo6u12ig82re9c2z5axy9h3tpib
ਜੰਗਨਾਮਾ ਸ਼ਾਹ ਮੁਹੰਮਦ
0
2546
4607
2016-01-05T03:04:15Z
Satdeep Gill
356
"* [[ਜੰਗਨਾਮਾ ਸ਼ਾਹ ਮੁਹੰਮਦ/ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ|ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ]] * ਜ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
* [[ਜੰਗਨਾਮਾ ਸ਼ਾਹ ਮੁਹੰਮਦ/ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ|ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ]]
* [[ਜੰਗਨਾਮਾ ਸ਼ਾਹ ਮੁਹੰਮਦ/ਕਲਾਤਮਕ ਅਧਿਐਨ|ਕਲਾਤਮਕ ਅਧਿਐਨ]]
mtm5o7of4lyy7wkcm8txjcjj77v9mk7
ਜੰਗਨਾਮਾ ਸ਼ਾਹ ਮੁਹੰਮਦ/ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ
0
2547
4608
2016-01-05T03:05:29Z
Satdeep Gill
356
ਨਵਾਂ
wikitext
text/x-wiki
ਜੰਗਨਾਮਾ ਸਿੰਘਾਂ ਤੇ ਫ਼ਰੰਗੀਆਂ ਜਾਂ ਅੰਗਰੇਜ਼ਾਂ ਤੇ ਸਿੰਘਾਂ ਦੀ ਲੜਾਈ ਸ਼ਾਹ ਮੁਹੰਮਦ ਦੀ ਰਚਨਾ ਹੈ ਜਿਸ ਵਿੱਚ ਲੇਖਕ ਨੇ ਰਣਜੀਤ ਸਿੰਘ ਦੀ ਮੌਤ ਤੋਂ ਬਾਅਦ 7 ਸਾਲਾਂ ਵਿੱਚ ਹੀ ਸਿੱਖ ਰਾਜ ਦੇ ਤਹਿਸ-ਨਹਿਸ ਹੋਣ ਬਾਰੇ ਗੱਲ ਕੀਤੀ ਹੈ। ਪ੍ਰੋ. ਸੀਤਾ ਰਾਮ ਕੋਹਲੀ ਦਾ ਮੰਨਣਾ ਹੈ ਕਿ ਇਸਦੀ ਰਚਨਾ ਜੂਨ 1846 ਤੋਂ ਨਵੰਬਰ 1846 ਦੇ ਦਰਮਿਆਨ ਹੋਈ। ਇਸ ਰਚਨਾ ਨੂੰ ਕਿੱਸਾ ਸ਼ਾਹ ਮੁਹੰਮਦ, ਸ਼ਾਹ ਮੁਹੰਮਦ ਦੇ ਬੈਂਤ, ਜੰਗਨਾਮਾ ਸ਼ਾਹ ਮੁਹੰਮਦ ਅਤੇ ਵਾਰ ਸ਼ਾਹ ਮੁਹੰਮਦ ਦੇ ਨਾਵਾਂ ਨਾਲ ਵੀ ਜਾਣਿਆ ਜਾਂਦਾ ਹੈ।
ਸ਼ਾਹ ਮੁਹੰਮਦ ਦਾ ਜਨਮ 1780-84 ਵਿੱਚ ਅੰਮ੍ਰਿਤਸਰ ਜ਼ਿਲ੍ਹੇ ਦੇ ਪਿੰਡ ਵਡਾਲਾ ਵੀਰਮ ਵਿੱਚ ਹੋਇਆ ਮੰਨਿਆ ਜਾਂਦਾ ਹੈ। ਕੁਝ ਇਤਿਹਾਸਕਾਰਾਂ ਨੇ ਇਸਦਾ ਜਨਮ ਜ਼ਿਲ੍ਹਾ ਗੁਰਦਾਸਪੁਰ ਵਿੱਚ ਬਟਾਲਾ ਵਿਖੇ ਮੰਨਿਆ ਹੈ। ਜੰਗਨਾਮੇ ਤੋਂ ਬਿਨਾ ਮੰਨਿਆ ਜਾਂਦਾ ਹੈ ਕਿ ਇਸਨੇ “ਸਸੀ ਪੁੰਨੂੰ” ਕਿੱਸੇ ਦੀ ਰਚਨਾ ਵੀ ਕੀਤੀ ਹੈ। ਇਸਦੀ ਮੌਤ 1862-63 ਵਿੱਚ ਹੋਈ ਮੰਨੀ ਜਾਂਦਾ ਹੈ।
ਜੰਗਨਾਮਾ ਸ਼ਾਹ ਮੁਹੰਮਦ ਨੂੰ ਸਤਿੰਦਰ ਸਿੰਘ ਨੂਰ ਨੇ ਆਧੁਨਿਕ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਮੋਢੀ ਰਚਨਾ ਕਿਹਾ ਹੈ। ਰੂਸੀ ਸਿਮੀਖਿਆਕਾਰ ਆਈ. ਸੇਰੇਬਰੀਆਕੋਵ ਆਪਣੀ ਕਿਤਾਬ “ਪੰਜਾਬੀ ਸਾਹਿਤ” ਵਿੱਚ ਇਸ ਰਚਨਾ ਨੂੰ ਰਾਸ਼ਟਰੀ ਦੁਖਾਂਤ ਨੂੰ ਪੂਰੀ ਗਹਿਰਾਈ ਨਾਲ ਸਮਝਣ ਮਹਿਸੂਸਣ, ਉਸਦੇ ਕਾਰਣਾਂ ਦੀ ਬਾਰੀਕਬੀਨੀ ਨਾਲ ਨਿਸ਼ਾਨਦੇਹੀ ਕਰਨ ਅਤੇ ਰਾਸ਼ਟਰੀ ਭਾਵਨਾ ਨੂੰ ਥੀਮ ਵਜੋਂ ਗ੍ਰਹਿਣ ਕਰਨ ਵਾਲੀ ਰਚਨਾ ਦੱਸਦਾ ਹੈ।
2m192evvx6parpyyojng6yowzy8hbab
ਜੰਗਨਾਮਾ ਸ਼ਾਹ ਮੁਹੰਮਦ/ਕਲਾਤਮਕ ਅਧਿਐਨ
0
2548
5291
4609
2022-11-29T21:02:15Z
Suyash.dwivedi
1854
/* ਭਾਸ਼ਾ */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
ਜੰਗਨਾਮਾ ਸ਼ਾਹ ਮੁਹੰਮਦ ਇਤਿਹਾਸਕ ਤੌਰ ਉੱਤੇ ਇੱਕ ਮਹੱਤਵਪੂਰਨ ਰਚਨਾ ਹੈ। ਵਿਸ਼ੇ ਦੇ ਨਾਲ-ਨਾਲ ਇਸ ਰਚਨਾ ਦਾ ਕਲਾ ਪੱਖ ਵੀ ਆਪਣੇ ਆਪ ਵਿੱਚ ਵਿਸ਼ੇਸ਼ ਸਥਾਨ ਰੱਖਦਾ ਹੈ। ਇਸ ਜੰਗਨਾਮੇ ਦੇ ਕਲਾ ਪੱਖ ਨੂੰ ਹੇਠ ਲਿਖੇ ਵੱਖ-ਵੱਖ ਪਹਿਲੂਆਂ ਤੋਂ ਪਰਖਿਆ ਜਾ ਸਕਦਾ ਹੈ।
==ਅਲੰਕਾਰ==
ਅਲੰਕਾਰਾਂ ਨੂੰ ਸਾਹਿਤ ਦੇ ਗਹਿਣੇ ਮੰਨਿਆ ਜਾਂਦਾ ਹੈ ਅਤੇ ਇਹ ਸਾਹਿਤਕ ਰਚਨਾਵਾਂ ਨੂੰ ਨਿਖਾਰਨ ਲਈ ਵਰਤੇ ਜਾਂਦੇ ਹਨ। ਸ਼ਾਹ ਮੁਹੰਮਦ ਨੇ ਵੀ ਇਸ ਜੰਗਨਾਮੇ ਵਿੱਚ ਅਨੇਕ ਅਲੰਕਾਰਾਂ ਦੀ ਵਰਤੋਂ ਕੀਤੀ ਹੈ। ਇਸ ਬਾਰੇ ਸੀਤਾ ਰਾਮ ਕੋਹਲੀ ਕਹਿੰਦਾ ਹੈ,“ਉਸ ਨੇ ਬਹੁਤ ਢੁਕਵੀਆਂ ਉਪਮਾਵਾਂ ਦੇ ਕੇ ਕਵਿਤਾ ਵਿੱਚ ਬਿਆਨੀ ਗੱਲ ਨੂੰ ਬਹੁਤ ਦਿਲ ਖਿੱਚਵੀਂ ਬਣਾ ਦਿੱਤਾ ਹੈ। ਉਸ ਦੀਆਂ ਉਪਮਾਵਾਂ ਢੁਕਵੀਆਂ ਤੇ ਫੱਬਵੀਆਂ ਹੋਣ ਤੋਂ ਛੁਟ ਸੁਝਾਉ ਵੀ ਹਨ।”<ref>ਬਲਬੀਰ ਸਿੰਘ ਪੂਨੀ, ਸ਼ਾਹ ਮੁਹੰਮਦ ਜੰਗ ਸਿੰਘਾਂ ਤੇ ਅੰਗਰੇਜ਼ਾਂ, ਵਾਰਿਸ ਸ਼ਾਹ ਫਾਊਂਡੇਸ਼ਨ, ਪੰਨਾ ਨੰ. 80, ਸਾਲ-1997</ref>
ਜੰਗਨਾਮੇ ਵਿੱਚੋਂ ਉਪਮਾ ਅਲੰਕਾਰ ਦੀ ਇੱਕ ਉਦਾਹਰਨ:
<poem>
ਸ਼ਾਹ ਮੁਹੰਮਦਾ ਸਿੰਘਾਂ ਨੇ ਗੋਰਿਆਂ ਦੇ,
ਵਾਂਗ ਨਿੰਬੂਆਂ ਲਹੂ ਨਿਚੋੜ ਸੁੱਟੇ।
ਸ਼ਾਹ ਮੁਹੰਮਦ ਨੇ ਰੂਪਕ ਅਲੰਕਾਰ ਦੀ ਵੀ ਬਹੁਤ ਵਰਤੋਂ ਕੀਤੀ ਹੈ:
ਕੂੰਜਾਂ ਨਜ਼ਰ ਆਈਆਂ ਬਾਜ਼ਾਂ ਭੁੱਖਿਆਂ ਨੂੰ
ਚੋਟਾਂ ਕੈਸੀਆਂ ਦੇਖੋ ਚਲਾਂਵਦੇ ਨੀ।
</poem>
ਇਸ ਤੋਂ ਬਿਨਾਂ ਸ਼ਾਹ ਮੁਹੰਮਦ ਨੇ ਲੋਕੋਕਤੀ ਅਲੰਕਾਰ, ਅਤਿਕਥਨੀ ਅਲੰਕਾਰ, ਦ੍ਰਿਸ਼ਟਾਂਤ ਅਲੰਕਾਰ ਆਦਿ ਅਲੰਕਾਰਾਂ ਦੀ ਵਰਤੋਂ ਕੀਤੀ ਹੈ।
==ਰਸ==
ਰਸ ਨੂੰ ਕਾਵਿ ਦੀ ਆਤਮਾ ਮੰਨਿਆ ਜਾਂਦਾ ਹੈ। ਜੰਗਨਾਮਿਆਂ ਵਿੱਚ ਬੀਰ ਰਸ ਪ੍ਰਧਾਨ ਹੁੰਦਾ ਹੈ ਅਤੇ ਇਸ ਜੰਗਨਾਮੇ ਵਿੱਚ ਵੀ ਇਸੇ ਤਰ੍ਹਾਂ ਹੈ। ਕਿੱਸੇ ਵਿੱਚ ਪੇਸ਼ ਬੀਰ ਰਸੀ ਸਤਰਾਂ ਦੀ ਉਦਾਹਰਨ ਹੇਠ ਪੇਸ਼ ਹੈ:
ਸਿੰਘ ਸੂਰਮੇ ਆਣ ਮੈਦਾਨ ਲੱਥੇ
ਗੰਜ ਲਾਹ ਸੁੱਟੇ ਉਹਨਾਂ ਗੋਰਿਆਂ ਦੇ।
ਇਸ ਤੋਂ ਬਿਨਾਂ ਇਸ ਜੰਗਨਾਮੇ ਵਿੱਚ ਰੌਦਰ, ਭੀਪਤਸ, ਕਰੁਣਾ ਅਤੇ ਹਾਸ ਰਸ ਦੀਆਂ ਉਦਾਹਰਨਾਂ ਵੀ ਦੇਖੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ। ਰੌਦਰ ਰਸ ਦੀ ਉਦਾਹਰਨ ਪੇਸ਼ ਹੈ:
<poem>
ਰੌਦਰ: ਸ਼ਾਹ ਮੁਹੰਮਦਾ ਲਾਟ ਹੁਣ ਕਹਿਣ ਲਗਾ
ਰੱਤ ਸਿੰਘ ਸਿਪਾਹੀ ਦੀ ਚੱਖਣੀ ਜੀ।
</poem>
==ਭਾਸ਼ਾ==
ਸ਼ਾਹ ਮੁਹੰਮਦ ਦੀ ਭਾਸ਼ਾ ਠੇਠ, ਸਰਲ ਅਤੇ ਕੇਂਦਰੀ ਪੰਜਾਬੀ ਹੈ ਅਤੇ ਇਸ ਵਿੱਚ ਕਿਤੇ-ਕਿਤੇ ਅੰਗਰੇਜ਼ੀ ਸ਼ਬਦਾਂ ਦੀ ਵਰਤੋਂ ਵੀ ਕੀਤੀ ਗਈ ਹੈ।<ref>ਜਗਜੀਤ ਸਿੰਘ, ਕਿੱਸਾ(ਜੰਗਨਾਮਾ) ਸ਼ਾਹ ਮੁਹੰਮਦ, ਪੰਨਾ ਨੰ. 113</ref> ਜੋ ਸ਼ਾਇਦ ਪੰਜਾਬੀ ਸਾਹਿਤ ਵੀ ਪਹਿਲੀ ਵਾਰ ਹੋਈ ਹੈ। ਉਦਾਹਰਨ ਵਜੋਂ ਅਫਸਰ, ਕਰਨੈਲ, ਪਲਟਨ, ਰਜਮੈਂਟ ਆਦਿ ਸ਼ਬਦ ਤਦਭਵ ਰੂਪ ਵਿੱਚ ਲਏ ਗਏ ਹਨ। ਇਹਨਾਂ ਤੋਂ ਬਿਨਾਂ ਕੰਪਨੀ ਅਤੇ ਕੌਂਸਲ ਵਰਗੇ ਸ਼ਬਦ ਲਗਭਗ ਤਤਸਮ ਰੂਪ ਵਿੱਚ ਹੀ ਲਏ ਗਏ ਹਨ।
ਸ਼ਾਹ ਮੁਹੰਮਦ ਵਾਰਤਾਲਾਪ ਲਿਖਦੇ ਸਮੇਂ ਅੰਗਰੇਜ਼ੀ ਅਫਸਰਾਂ ਤੋਂ ਅੰਗਰੇਜ਼ੀ ਦੀ ਜਗ੍ਹਾ ਉੱਤੇ ਹਿੰਦੀ ਬੁਲਵਾਉਂਦਾ ਹੈ। ਜੰਗਨਾਮੇ ਵਿੱਚ ਉਹ ਟੁੰਡੇ ਲਾਟ ਦੇ ਮੂੰਹ ਤੋਂ ਹੇਠ ਲਿਖੀਆਂ ਸਤਰਾਂ ਅਖਵਾਉਂਦਾ ਹੈ:
<poem>
ਟੁੰਡੇ ਲਾਟ ਨੇ ਚੁਕਿਆ ਆਣ ਬੀੜਾ,
ਹਮ ਸਿੰਘ ਜਿਉਂ ਜਾਇ ਲੜੇਗਾ ਜੀ।
ਘੰਟੇ ਤੀਨ ਮੇਂ ਜਾ ਲਾਹੌਰ ਮਾਰਾਂ,
ਇਸ ਬਾਤ ਮੇਂ ਫ਼ਰਕ ਨ ਪੜੇਗਾ ਜੀ।
</poem>
==ਛੰਦ ਵਿਧਾਨ==
ਸ਼ਾਹ ਮੁਹੰਮਦ ਨੇ ਆਪਣੇ ਜੰਗਨਾਮੇ ਵਿੱਚ ਪੰਜਾਬੀਆਂ ਦੇ ਮਨਪਸੰਦ ਛੰਦ ਬੈਂਤ ਦੀ ਵਰਤੋਂ ਕੀਤੀ ਹੈ। ਇਸ ਵਿੱਚ 105 ਬੈਂਤ ਹਨ। ਡਾ. ਸ੍ਰੀਮਤੀ ਵਿਦਿਆਵਤੀ ਕਹਿੰਦੀ ਹੈ ਕਿ “ਇਸਦੀ ਹਰ ਸਤਰ ਹਿਰਦੇ ਨੂੰ ਹਲੂਣ ਦੇਣ ਵਾਲੀ ਹੈ ਅਤੇ ਇਹ ਪਾਠਕ ਅਤੇ ਸਰੋਤੇ ਦੀ ਜੀਭ ਤੇ ਆਪ-ਮੁਹਾਰੀ ਚੜ੍ਹ ਜਾਂਦੀ ਹੈ।”<ref>ਡਾ. ਸ੍ਰੀਮਤੀ ਵਿਦਿਆਵਤੀ, ਸ਼ਾਹ ਮੁਹੰਮਦ ਦਾ ਜੰਗਨਾਮਾ, ਸੰਗਮ ਪਬਲੀਕੇਸ਼ਨਜ਼, ਸਮਾਣਾ, ਪੰਨਾ ਨੰ. 54, ਸਾਲ-2005</ref> ਬੈਂਤ ਵਿੱਚ 4 ਪੰਕਤੀਆਂ ਹੁੰਦੀਆਂ ਹਨ ਅਤੇ ਹਰ ਪੰਕਤੀ ਵਿੱਚ 40 ਮਾਤਰਾਵਾਂ ਹੁੰਦੀਆਂ ਹਨ ਪਰ ਸ਼ਾਹ ਮੁਹੰਮਦ ਕਿਤੇ-ਕਿਤੇ ਇੱਕ ਦੋ ਮਾਤਰਾਵਾਂ ਘੱਟ-ਵੱਧ ਨਾਲ ਵੀ ਪੰਕਤੀ ਪੂਰੀ ਕਰ ਦਿੰਦਾ ਹੈ। ਇਸਦੀਆਂ ਉਦਾਹਰਨਾਂ ਨੀਚੇ ਦੇਖੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ:
<poem>
ਸ਼ਾਹ ਮੁਹੰਮਦਾ ਸਦਾ ਨਾ ਰੂਪ ਦੁਨੀਆਂ,
ਸਦਾ ਰਹਿਣ ਨਾ ਕਾਲੜੇ ਕੇਸ ਮੀਆਂ।
(20+20 ਮਾਤਰਾਵਾਂ)
ਸਦਾ ਨਹੀਂ ਜਵਾਨੀ ਤੇ ਅੰਸ਼ ਮਾਪੇ,
ਸਦਾ ਨਹੀਂ ਜੇ ਬਾਲ ਵਰੇਸ ਮੀਆਂ।
(20+19 ਮਾਤਰਾਵਾਂ)
</poem>
==ਵਿਅੰਗ==
ਵਿਅੰਗ ਕਰਨ ਦੇ ਵਿੱਚ ਸ਼ਾਹ ਮੁਹੰਮਦ ਇੱਕ ਨਿਪੁੰਨ ਕਲਾਕਾਰ ਹੈ। ਸੀਤਾ ਰਾਮ ਕੋਹਲੀ ਅਨੁਸਾਰ ਵੀ ਉਹ ਸਿਰ ਢੁਕਵੀਂ ਟੋਕ ਕਰਨੀ ਜਾਣਦਾ ਹੈ।<ref>ਬਲਬੀਰ ਸਿੰਘ ਪੂਨੀ, ਸ਼ਾਹ ਮੁਹੰਮਦ ਜੰਗ ਸਿੰਘਾਂ ਤੇ ਅੰਗਰੇਜ਼ਾਂ, ਵਾਰਿਸ ਸ਼ਾਹ ਫਾਊਂਡੇਸ਼ਨ, ਪੰਨਾ ਨੰ. 88, ਸਾਲ-1997</ref> ਵਿਅੰਗ ਦੀ ਇੱਕ ਉਦਾਹਰਨ ਜੰਗਨਾਮੇ ਵਿੱਚ ਉਸ ਘਟਨਾ ਵਿੱਚ ਦੇਖੀ ਜਾ ਸਕਦੀ ਹੈ ਜਦੋਂ ਰਾਣੀ ਜਿੰਦਾਂ ਦੇ ਭਰਾ ਜਵਾਹਰ ਸਿੰਘ ਦੇ ਕਤਲ ਤੋਂ ਬਾਅਦ ਉਹ ਰੋ ਰਹੀ ਹੁੰਦੀ ਤਾਂ ਉਸਨੂੰ ਮਿਹਣਾ ਮਾਰਿਆ ਜਾਂਦਾ ਹੈ:
<poem>
ਕਿਹੜਾ ਪਾਤਸ਼ਾਹ ਦਾ ਪੁੱਤ ਮੋਇਆ ਸਾਬੋਣ,
ਜਿਹੜੇ ਡੂੰਘੜੇ ਵੈਣ ਤੂੰ ਪਾਵਨੀ ਹੈ।
</poem>
ਇਸ ਜੰਗਨਾਮੇ ਦੇ ਕਲਾ ਪੱਖ ਵਿੱਚ ਇਹਨਾਂ ਪੱਖਾਂ ਤੋਂ ਬਿਨਾਂ ਕੁਝ ਹੋਰ ਪੱਖਾਂ ਦਾ ਅਧਿਐਨ ਵੀ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੈ ਜਿਵੇਂ ਕਿ ਸ਼ੈਲੀ, ਨਾਟਕੀਅਤਾ, ਕਲਪਨਾ ਆਦਿ।
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
ahqs63xog5l4g4dac50yrvm5bz8bvja
ਜਾਪਾਨੀ
0
2549
4612
4611
2016-01-17T02:42:16Z
Satdeep Gill
356
wikitext
text/x-wiki
==ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ==
* [[ਜਾਪਾਨੀ/ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ|ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ]]
==ਲਿਖਣ ਪ੍ਰਬੰਧ==
* [[ਜਾਪਾਨੀ/ਲਿਖਣ ਪ੍ਰਬੰਧ|ਲਿਖਣ ਪ੍ਰਬੰਧ]]
* [[ਜਾਪਾਨੀ/ਕਾਨਾ|ਕਾਨਾ]]
* [[ਜਾਪਾਨੀ/ਕਾਂਜੀ|ਕਾਂਜੀ]]
==ਵਿਆਕਰਣ==
* [[ਜਾਪਾਨੀ/ਨਾਂਵ|ਨਾਂਵ]]
* [[ਜਾਪਾਨੀ/ਕਿਰਿਆ|ਕਿਰਿਆ]]
* [[ਜਾਪਾਨੀ/ਵਿਸ਼ੇਸ਼ਣ|ਵਿਸ਼ੇਸ਼ਣ]]
[[ਸ਼੍ਰੇਣੀ:ਜਾਪਾਨੀ]]
auzj0hiz2jy4im3zobpiblijyqc8oms
ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਸੰਯੁਕਤ ਇਤਿਹਾਸਕਾਰੀ
0
2550
4623
2016-01-18T10:07:39Z
Stalinjeet Brar
1295
"'''ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਸੰਯੁਕਤ ਇਤਿਹਾਸਕਾਰੀ''' [[ਪੰਜਾਬੀ ਭਾਸ਼ਾ]] ਨੂੰ ਬ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
'''ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਸੰਯੁਕਤ ਇਤਿਹਾਸਕਾਰੀ''' [[ਪੰਜਾਬੀ ਭਾਸ਼ਾ]] ਨੂੰ ਬੋਲਣ ਵਾਲੇ ਸਮੂਹ ਪੰਜਾਬੀਆਂ ਦੇ ਸਾਂਝੇ ਇਤਿਹਾਸ ਨਾਲ ਜੁੜੀ ਹੋਈ ਹੈ। ਪਹਿਲੀ ਪੱਧਰ ਤੇ ਭਾਵੇਂ ਇਹ ਇੱਕ ਸਧਾਰਣ ਅਕਾਦਮਿਕ ਮਸਲਾ ਜਾਪਦਾ ਹੈ। ਪਰੰਤੂ ਇਸ ਦੀ ਤਹਿ ਹੇਠ ਵਿਸ਼ਾਲ ਵਿਚਾਰਧਾਰਕ ਅਰਥ ਸਮਾਏ ਹੋਏ ਹਨ।
ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਸੰਯੁਕਤ ਵਿਤਿਹਾਸਕਾਰੀ ਤੋਂ ਭਾਵ ਦੁਨੀਆਂ ਭਰ ਅੰਦਰ ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਵਿੱਚ ਰਚਿਆ ਜਾ ਰਿਹਾ ਪੰਜਾਬੀ ਸਾਹਿਤ ਭਾਵੇਂ ਇਹ ਕਿਸੇ ਵੀ ਵਿਧਾ ਭਾਵ ਨਾਵਲ, ਨਾਟਕ, ਕਹਾਣੀ, ਕਵਿਤਾ ਆਦਿ ਵਿੱਚ ਮੌਜੂਦ ਹੋਵੇ। ਸਾਝਾਂ ਇਤਿਹਾਸ ਲਿਖਣ ਤੋਂ ਭਾਵ ਜਿਸ ਵਿੱਚ ਭਾਰਤ, ਪਾਕਿਸਤਾਨ ਤੋਂ ਇਲਾਵਾ ਵਿਦੇਸ਼ਾਂ ਵਿੱਚ ਬੈਠੇ ਪੰਜਾਬੀਆਂ ਦੁਆਰਾ ਰਚੇ ਜਾ ਰਹੇ ਸਾਹਿਤ ਨੂੰ ਇਕਮਿਕ ਸੰਗਠਨ ਦੇ ਤੌਰ ਤੇ ਵਿਚਾਰਨਾ, ਭਾਵੇਂ ਕਿ ਭਾਰਤ ਪਾਕਿਸਤਾਨ ਅਤੇ ਵਿਦੇਸ਼ ਵਿੱਚ ਰਚੇ ਜਾ ਰਹੇ ਸਾਹਿਤ ਨੂੰ ਇਕਹਿਰੇ ਕਾਲਕ੍ਰਮ ਵਿੱਚ ਬੰਨਣਾ ਅਤਿਅੰਤ ਗੁੰਝਲਾਦਾਰ ਅਤੇ ਗੰਭੀਰ ਕਾਰਜ ਹੈ।
ਸੰਯੁਕਤ ਇਤਿਹਾਸਕਾਰੀ ਦਾ ਪਿਛੋਕੜ:
ਸੰਯੁਕਤ ਇਤਿਹਾਸਕਾਰੀ ਵਿੱਚ 1947 ਦੀ ਦੇਸ਼ ਵੰਡ ਨੂੰ ਅਹਿਮ ਬਿੰਦੂ ਮੰਨਿਆ ਜਾਂਦਾ ਹੈ। ਇੰਝ ਸੋਚਿਆ ਜਾਂਦਾ ਹੈ ਕਿ ਦੇਸ਼ ਵੰਡ ਤੋਂ ਪਹਿਲਾਂ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦਾ ਇਤਿਹਾਸ ਸੰਯੁਕਤ ਸੀ। ਦੇਸ਼ ਦੀ ਅਜ਼ਾਦੀ ਤੋਂ ਬਾਅਦ ਦੋਹਾਂ ਪੰਜਾਬਾਂ ਵਿੱਚ ਲਿਖੇ ਗਏ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੇ ਇਤਿਹਾਸ ਅੱਧੇ ਅਧੂਰੇ ਹੀ ਹਨ। ਕਿਉਂਕਿ ਪੂਰਬੀ ਪੰਜਾਬ ਵਿੱਚ ਰਚੀਆਂ ਸਾਹਿਤਿਕ ਰਚਨਾਵਾਂ ਨੂੰ ਪੱਛਮੀ ਪੰਜਾਬ ਦੇ ਸਾਹਿਤ ਦੇ ਇਤਿਹਾਸਾਂ ਵਿੱਚ ਨਹੀਂ ਸ਼ਾਮਿਲ ਕੀਤਾ ਗਿਆ ਅਤੇ ਪੱਛਮੀ ਪੰਜਾਬ ਵਿੱਚ ਰਚੀਆ ਜਾ ਰਹੀਆਂ ਰਚਨਾਵਾਂ ਨੂੰ ਪੂਰਬੀ ਪੰਜਾਬ ਦੇ ਸਾਹਿਤ ਦੇ ਇਤਿਹਾਸਾਂ ਵਿੱਚ ਸ਼ਾਮਿਲ ਨਹੀਂ ਕੀਤਾ ਗਿਆ। ਡਾ. ਕਰਨੈਲ ਸਿੰਘ ਥਿੰਦ ਅਤੇ ਡਾ. ਧਰਮ ਸਿੰਘ ਆਪਣੇ ਖੋਜ ਪੱਤਰਾਂ ਵਿੱਚ ਦਰਸਾਉਂਦੇ ਹਨ ਕਿ ਪਾਕਿਸਤਾਨੀ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੇ ਇਤਿਹਾਸਕਰਾਂ ਨੇ ਅਧੂਰੇ ਰੂਪ ਵਿੱਚ ਸਾਹਿਤ ਦਾ ਇਤਿਹਾਸ ਰਚਿਆ ਹੈ ਜਿਸ ਵਿੱਚ ਭਾਰਤੀ ਪੰਜਾਬੀ ਖਾਸ ਕਰ ਕੇ ਸਿੱਖ ਗੁਰੂਆਂ ਦੇ ਸਾਹਿਤ ਨੂੰ ਨਿਗੂਣਾ ਸਥਾਨ ਦਿੱਤਾ ਹੈ ਜਾਂ ਅਣਗੌਲਿਆ ਕੀਤਾ ਹੈ। ਪਰ ਸਾਨੂੰ ਇਹ ਵੀ ਨਹੀਂ ਭੁੱਲਣਾ ਚਾਹੀਦਾ ਕਿ ਉਧਰ ਵੀ ਨਜ਼ਮ ਹੁਸੈਨ ਸੱਯਦ, ਅਹਿਮਦ ਸਲੀਮ, ਅਫ਼ਜਲ ਅਹਿਸਾਨ ਰੰਧਾਵਾ ਅਤੇ ਇਕਬਾਲ ਕੈਸਰ ਵਰਗੇ ਲੇਖਕ, ਚਿੰਤਕ ਵਸਦੇ ਹਨ ਜਿਹੜੇ ਭਾਵੇਂ ਸਿੱਧੇ ਤੌਰ ਤੇ ਇਤਿਹਾਸਕਾਰੀ ਨਾਲ ਨਹੀਂ ਜੁੜੇ ਹੋਏ ਪਰ ਉਨ੍ਹਾਂ ਨੇ ਸਾਂਝੀ ਰਹਿਤਲ ਦੀ ਗੱਲ ਕੀਤੀ ਹੈ। ਇੱਥੋਂ ਤੱਕ ਕੇ ਪਾਕਿਸਤਾਨ ਵਿੱਚ ਉੱਘੇ ਲੇਖਕ ਵਿਦਵਾਨ ਨਜ਼ਮ ਹੁੁਸੈਨ ਸੱਯਦ ਵੱਲੋਂ ਪੂਰਬੀ ਪੰਜਾਬ ਦੇ ਸਾਹਿਤ ਗੁਰਬਾਣੀ ਦੀ ਵਿਆਖਿਆ ਕੀਤੀ ਜਾ ਰਹੀ ਹੈ ਭਾਵੇਂ ਕਿ ਇਧਰਲੇ ਚਿੰਤਕਾਂ ਦਾ ਮੰਨਣਾ ਹੈ ਕਿ ਪੱਛਮੀ ਪੰਜਾਬ ਵਿੱਚ ਗੁਰਬਾਣੀ ਨੂੰ ਸਿੱਖ ਸਾਹਿਤ ਸਮਝ ਦੇ ਅਣਗੋਲਿਆ ਕਾਰਾਰ ਦਿੱਤਾ ਗਿਆ ਹੈ।
ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਵਿੱਚ ਪਰਵਾਸੀ ਸਾਹਿਤ ਦੀ ਸ਼ਮੂਲੀਅਤ:
ਪਰਵਾਸ ਵਿੱਚ ਵਸਦੇ ਪੰਜਾਬੀਆਂ ਵੱਲੋਂ ਜੋ ਸਾਹਿਤ ਦੀ ਰਚਨਾ ਕੀਤੀ ਜਾਂਦੀ ਹੈ, ਉਸਨੂੰ ਅਸੀਂ ਪਰਵਾਸੀ ਸਾਹਿਤ ਦੇ ਵਰਗ ਵਿੱਚ ਰੱਖਦੇ ਹਾਂ। ਪੂਰਬੀ ਪੰਜਾਬੀ ਸਾਹਿਤ, ਪੱਛਮੀ ਪੰਜਾਬੀ ਸਾਹਿਤ ਨਾਲੋਂ ਪਰਵਾਸੀ ਪੰਜਾਬੀ ਸਾਹਿਤ ਵਿੱਚ ਵੱਖਰਤਾ ਪਾਈ ਜਾਂਦੀ ਹੈ ਕਿਉਂਕਿ ਪਰਵਾਸ ਵਿੱਚ ਵਸਦੇ ਪੰਜਾਬੀਆਂ ਨਾਲ ਸਾਡੀ ਸਿਰਫ਼ ਭਾਸ਼ਾਈ ਸਾਂਝ ਹੈ, ਇਤਿਹਾਸਿਕ, ਆਰਥਿਕ, ਸਮਾਜਿਕ, ਰਾਜਨੀਤਿਕ, ਸੱਭਿਆਚਾਰਕ ਸਾਂਝ ਨਹੀਂ ਹੈ। ਇਸ ਲਈ ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਵਿੱਚ ਇਹ ਸਮੱਸਿਆ ਉਪਜਦੀ ਹੈ ਕਿ ਪਰਵਾਸੀ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ, ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਵਿੱਚ ਸ਼ਮੂਲੀਅਤ ਕੀਤੇ ਜਾਵੇ ਜਾਂ ਨਾ। ਪਰੰਤੂ ਜੇਕਰ ਅਸੀਂ ਉੱਪਰੋਕਤ ਵੱਖਰਤਾਵਾਂ ਨੂੰ ਧਿਆਨ ਵਿੱਚ ਰੱਖਦੇ ਹੋਏ ਪਰਵਾਸੀ ਪੰਜਾਬੀ ਸਾਹਿਤ ਨੂੰ ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਵਿੱਚ ਸ਼ਾਮਿਲ ਨਹੀਂ ਕਰਦੇ ਤਾਂ ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਤੇ ਸਵਾਲੀਆ ਚਿੰਨ੍ਹ ਲਗ ਜਾਂਦਾ ਹੈ। ਪਰ ਜਦੋਂ ਅਸੀਂ ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਦੀ ਪਰਿਕਲਪਨਾ ਕਰਦੇ ਹਾਂ ਤਾਂ ਇਸ ਦਾ ਭਾਵ ਸਮੁੱਚੇ ਪੰਜਾਬੀ ਸਾਹਿਤ ਨੂੰ ਕਲਾਵੇ ਵਿੱਚ ਲੈਣਾ ਹੈ।
==ਸੰਭਾਵਨਾਵਾਂ==
ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਰੀ ਕਿਹੋ ਜਿਹੀ ਹੋਵੇ:
#ਸਮੱਚੀਆਂ ਪੰਜਾਬੀ ਸਾਹਿਤਿਕ ਰਚਨਾਵਾਂ (ਭਾਰਤੀ ਪਾਕਿਸਤਾਨੀ, ਪਰਵਾਸੀ) ਦਾ ਵਿਧਾਵਾਂ ਅਨੁਸਾਰ ਨਿਖੇੜਾ ਕਰ ਕੇ ਇਕਹਰੇ ਕਾਲਕ੍ਰਮ ਵਿੱਚ ਬੰਨ੍ਹਣਾ।ਉਦਾਹਰਨ ਦੇ ਤੌਰ ਤੇ 1960 ਤੋਂ 1970 ਤੱਕ ਦੇ ਸਮੁੱਚੇ ਪੰਜਾਬੀ ਨਾਵਲ ਦਾ ਅਧਿਐਨ।
#ਪਾਕਿਸਤਾਨੀ, ਭਾਰਤੀ ਤੇ ਪਰਵਾਸੀ ਸਾਹਿਤਕ ਇਤਿਹਾਸਕ ਸਮਾਂ ਵੱਖਰਾਂ ਹੈ। ਇਸ ਲਈ ਪ੍ਰਵਿਰਤੀਆਂ ਵਿੱਚ ਵੱਖਰਤਾ ਪਾਈ ਜਾਂਦੀ ਹੈ। ਪ੍ਰਵਿਰਤੀਆਂ ਨੂੰ ਇਕਹਰੇ ਕਾਲਕ੍ਰਮ ਵਿੱਚ ਰੱਖ ਕੇ ਇਹਨਾਂ ਵਿਚਲੀਆਂ ਸਮਾਨਤਾਵਾਂ ਅਤੇ ਵਿਭਿੰਨਤਾਵਾਂ ਦਾ ਅਧਿਐਨ ਕਰਨਾ।
#ਇਹ ਧਿਆਨ ਵਿੱਚ ਰੱਖਣਾ ਪਾਏਗਾ ਕਿ ਅਸੀਂ ਇੱਕ ਨਵਾਂ ਮੌਲਿਕ ਇਤਿਹਾਸਕ ਪਰਿਪੇਖ ਉਸਾਰੀਏ ਨਾ ਕਿ ਕਿਸੇ ਪਰੰਪਰਾ ਦੀ ਵੰਡ ਨੂੰ ਕਿਸੇ ਦੂਸਰੇ ਉੱਪਰ ਆਰੋਪਣ ਦੀ ਕਾਹਲ ਕਰੀਏ।
ਸੰਯੁਕਤ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਦੀ ਮਹੱਤਤਾ ਨੂੰ ਧਿਆਨ ਵਿੱਚ ਰੱਖਦੇ ਹੋਏ ਪੰਜਾਬੀ ਵਿਭਾਗ, ਪੰਜਾਬੀ ਯੁਨੀਵਰਸਿਟੀ ਵੱਲੋਂ ਪਹਿਲਾ ਦੋ ਰੋਜਾ ਸੈਮੀਨਾਰ ਕਰਵਾਇਆ ਗਿਆ। ਜਿਸ ਵਿੱਚ ਵੱਖ-ਵੱਖ ਵਿਦਵਾਨਾਂ ਵੱਲੋਂ ਸਾਹਿਤ ਦੀਆਂ ਵੱਖ-ਵੱਖ ਵਿਧਾਵਾਂ ਉੱਪਰ ਪੇਪਰ ਪੜੇ ਗਏ ਅਤੇ ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਦੀ ਸਾਰਥਿਕਤਾ ਅਤੇ ਮਸਲਿਆਂ ਤੇ ਵਿਚਾਰ ਹੋਈ। ਸਾਰੇ ਪੇਪਰਾਂ ਵਿੱਚ ਕੁਝ ਪੇਪਰਾਂ ਵਿੱਚ ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਦੇ ਆਧਾਰ ਯੋਗ ਵਿਚਾਰ ਵਿਅਕਤ ਕੀਤੇ ਹਨ। ਜੋ ਕਿ ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਾਕਰੀ ਲਈ ਮੁੱਢਲਾ ਅਤੇ ਯੋਗ ਕਦਮ ਬਣਦੇ ਹਨ। ਜਦਕਿ ਕੁੱਝ ਪੇਪਰ ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਦੀਆਂ ਸੰਭਾਵਨਾਵਾਂ ਦੀ ਪੈਰਵੀ ਨਹੀਂ ਕਰਦੇ।
==ਸਮੱਸਿਆਵਾਂ==
ਸਮੁੱਚੇ ਤੌਰ ਤੇ ਸੈਮੀਨਾਰ ਵਿੱਚ ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਲਈ ਠੋਸ ਕਦਮ ਪੁੱਟੇ ਜਾਣ ਲਈ ਵਿਚਾਰ ਪੇਸ਼ ਹੋਏ ਪਰੰਤੂ ਅਜੇ ਤੱਕ ਇਸ ਨੂੰ ਅਮਲ ਵਿੱਚ ਨਹੀਂ ਲਿਆਂਦਾ ਗਿਆ।
ਸਮੱਸਿਆਵਾਂ:
===ਲਿਪੀ ਦੀ ਸਮੱਸਿਆ===
ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਸੰਯੁਕਤ ਇਤਿਹਾਸਕਾਰੀ ਲਈ ਦੋ ਲਿਪੀਆਂ ਦਾ ਮਸਲਾ ਵੀ ਇੱਕ ਤਲਖ਼ ਹਕੀਕਤ ਵਾਂਗ ਸਨਮੁਖ ਹੈ। ਸਭ ਤੋਂ ਵੱਡਾ ਮਸਲਾ ਗੁਰਮੁਖੀ ਅਤੇ ਸ਼ਾਹਮੁਖੀ ਦੋਹਾਂ ਲਿਪੀਆਂ `ਚ ਸੰਪੂਰਨ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਉਪਲੱਬਧੀ ਦਾ ਹੈ। ਕਿਉਂਕਿ ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਮੂਲ ਪਾਠਾਂ ਤੋਂ ਬਿਨਾਂ ਸੰਭਵ ਨਹੀਂੇ।
===ਕਾਲਵੰਡ ਦੀ ਸਮੱਸਿਆ===
ਦੇਸ਼ ਵੰਡ ਤੋਂ ਬਾਅਦ ਪੂਰਬੀ ਪੰਜਾਬ ਤੇ ਪੱਛਮੀ ਪੰਜਾਬ ਵਿੱਚ ਸਾਹਿਤ ਦੀਆਂ ਚਲ ਰਹੀਆਂ ਤੇ ਨਵੀਆਂ ਉਪਜ ਰਹੀਆਂ ਵਿਧਾਵਾਂ ਦਾ ਸਮਾਂ ਵੱਖਰਾ ਹੈ ਇਸ ਲਈ ਉਨ੍ਹਾਂ ਨੂੰ ਇੱਕ ਕਾਲ ਵਿੱਚ ਰੱਖਣਾ ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਦੀ ਇੱਕ ਮੁੱਢਲੀ ਸਮੱਸਿਆ ਹੈ।
===ਵੱਖਰੀਆਂ ਵੱਖਰੀਆਂ ਪ੍ਰਵਿਰਤੀਆਂ===
ਅਜ਼ਾਦੀ ਤੋਂ ਬਾਅਦ ਵੱਖ-ਵੱਖ ਸਮੇਂ ਸਾਹਿਤ ਦੀਆਂ ਵੱਖ-ਵੱਖ ਪ੍ਰਵਿਰਤੀਆਂ ਚਲਦੀਆਂ ਰਹੀਆਂ ਹਨ। ਜਿਸ ਕਾਰਨ ਇਨਾਂ ਵਿੱਚ ਕੋਈ ਸਾਂਝ ਨਾ ਹੋਣ ਕਾਰਨ ਸੰਯੁਕਤ ਇਤਿਹਾਸਕਾਰੀ ਕਰਨ ਵਿੱਚ ਸਮੱਸਿਆ ਪੇਸ਼ ਹੁੰਦੀ ਹੈ।
===ਸੱਭਿਆਚਾਰਕ, ਇਤਿਹਾਸ, ਆਰਥਿਕ, ਰਾਜਨੀਤਿਕ ਵਖਰੇਵੇਂ===
ਪੂਰਬੀ ਪੰਜਾਬੀ ਸਾਹਿਤ, ਪਰਵਾਸੀ ਪੰਜਾਬੀ ਸਾਹਿਤ, ਪੱਛਮੀ ਪੰਜਾਬੀ ਸਾਹਿਤ ਵਿੱਚ ਸੱਭਿਆਚਾਰਕ, ਇਤਿਹਾਸਕ, ਆਰਥਿਕ, ਰਾਜਨੀਤਿਕ ਵਖਰੇਵਾਂ ਪਾਇਆ ਜਾਣ ਕਰ ਕੇ ਇਨ੍ਹਾਂ ਦਾ ਪ੍ਰਭਾਵ ਉਥੋਂ ਦੇ ਸਾਹਿਤ ਤੇ ਵੀ ਪਿਆ ਅਤੇ ਉਨ੍ਹਾਂ ਵਿੱਚ ਵੱਖਰਤਾ ਪਾਈ ਜਾਂਦੀ ਹੈ। ਜਿਸ ਕਾਰਨ ਸੰਯੁਕਤ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਇਤਿਹਾਸਕਾਰੀ ਕਰਨ ਵਿੱਚ ਸਮੱਸਿਆ ਆ ਰਹੀ ਹੈ।
ਸਮੁੱਚੇ ਰੂਪ ਵਿੱਚ ਜੇ ਅਸੀਂ ਪੰਜਾਬੀ ਸਾਹਿਤ ਦੀ ਸੰਯੁਕਤ ਇਤਿਹਾਸਕਾਰੀ ਕਰਨੀ ਹੋਵੇ ਤਾਂ ਪਿਛਲੀ ਸਦੀ ਨੂੰ ਇੱਕ ਇਕਾਈ ਮੰਨ ਕੇ ਇਸ ਨੂੰ ਸਾਹਿਤ ਦੇ ਵਿਸ਼ਿਆਂ ਅਨੁਸਰ ਦੋਹਾਂ ਪੰਜਾਬਾਂ ਤੇ ਪਰਵਾਸੀ ਸਾਹਿਤ ਦੀਆਂ ਵਿਧਾਵਾਂ ਦੇ ਹਵਾਲਿਆਂ ਰਾਹੀਂ ਕਾਲਕ੍ਰਮ ਵਿੱਚ ਬੰਨ੍ਹਣ ਦੀ ਲੋੜ ਹੈ। ਇਸ ਪ੍ਰਕਾਰ ਕੁਝ ਸਾਂਝੀਆਂ ਸਮਾਨਤਾਵਾਂ ਅਤੇ ਵਿੰਭਿਨਤਾਵਾਂ ਸਾਹਮਣੇ ਆ ਜਾਣਗੀਆਂ ਜਿਹਨਾਂ ਦੇ ਤੁਲਨਾਤਮਿਕ ਪਰਿਪੇਖ ਤੋਂ ਇਤਿਹਾਸਕਾਰੀ ਦੀ ਗੱਲ ਅੱਗੇ ਤੋਰੀ ਜਾ ਸਕਦੀ ਹੈ।
hmpqu9wky02nampdrdtjtfzc9cqdacv
ਪਹਿਲਾ ਅਧਿਆਪਕ
0
2551
4762
4624
2016-05-09T09:20:17Z
ਸੁਨੀਲ ਸਰਥਲੀ
1330
wikitext
text/x-wiki
'''ਪਹਿਲਾ ਅਧਿਆਪਕ''' [[ਨਾਵਲੈਟ]] [[ਚੰਗੇਜ਼ ਆਇਤਮਾਤੋਵ]] ਦਾ ਲਿਖਿਆ ਹੋਇਆ ਹੈ। ਇਸ ਨਾਵਲੈਟ ਨੂੰ ਪਹਿਲੀ ਵਾਰ [[ਰਾਦੁਗਾ ਪ੍ਰਕਾਸ਼ਨ]] [[ਮਾਸਕੋ]], [[ਸੋਵੀਅਤ ਯੂਨੀਅਨ]] ਨੇ 1989 ਵਿੱਚ ਪ੍ਰਕਾਸ਼ਤ ਕੀਤਾ। ਬਆਦ ਵਿੱਚ 2006 ਵਿੱਚ ਪੰਜਾਬੀ ਵਿੱਚ [[ਦਸਤਕ ਪ੍ਰਕਾਸ਼ਨ]] ਨੇ ਪ੍ਰਕਾਸ਼ਤ ਕੀਤਾ। ਹੁਣ ਇਸ ਨਾਵਲੈਟ ਨੂੰ ਪੰਜਾਬੀ ਵਿੱਚ [[ਪੀਪਲਜ਼ ਫੋਰਮ]] ਨੇ ਪ੍ਰਕਾਸ਼ਿਤ ਕੀਤਾ ਹੈ। ਇਸ੍ ਨਾਵਲੈਟ ਵਿੱਚ ਉਸ ਸਮੇਂ ਦੀ ਸਚੀ ਕਹਾਣੀ ਬਿਆਨ ਕੀਤੀ ਗਏ ਹੈ,ਜਦੋ ਵੀਹਵੀਂ ਸਦੀ ਦੀ ਦੂਜੇ ਦਹਾਕੇ ਕਿਰਗਿਜ ਅੰਦਰ ਸੋਵੀਅਤ ਸਤਾ ਹੋਂਦ ਵਿੱਚ ਆਈ ਸੀ।ਇਕ [[ਅਧਿਆਪਕ]] ਅਤੇ [[ਵਿਦਿਆਰਥੀ]] ਦੇ ਸੁਆਰਥ ਰਹਿਤ ਰਿਸ਼ਤੇ,ਸਮਰਪਣ ਭਾਵਨਾ ਅਤੇ ਸੰਘਰਸ਼ ਦੀ ਜੋ ਤਸਵੀਰ ਇਸ ਨਾਵਲੈਟ ਵਿੱਚ ਮਿਲਦੀ ਹੈ ਓਹ ਹੁਣ ਦੇ ਦੌਰ ਵਿੱਚ ਸਾਡੇ ਸਭ ਲਈ ਮਿਸਾਲ ਹੈ।
f8hzbfpry96y61uzop4mwsyam2vqlll
ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ
0
2552
5338
5284
2023-01-16T03:30:21Z
Kwamikagami
1817
wikitext
text/x-wiki
[[File:Mycomputer.jpg|frameless|right]]
ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਂਬਲ ਕਰਨਾ ਇਹ ਬਹੁਤ ਹੀ ਇਨਾਮ ਦੇਣ ਯੋਗ ਤਜੁਰਬਾ ਹੋ ਸਕਦਾ ਹੈ। ਤੁਸੀਂ ਇਸ ਕਿਤਾਬ ਨੂੰ ਇਸ ਲਈ ਪੜ੍ਹ ਰਹੇ ਕਿਓਕਿ ਤੁਸੀਂ ਕਿਸੇ ਕੰਪਨੀ ਵਲੋਂ ਤਿਆਰ ਕੀਤੇ ਕੰਪਿਊਟਰ ਖਰੀਦਣ ਨਾਲੋਂ ਆਪ ਕੰਪਿਊਟਰ ਬਣਾਉਣ ਬਾਰੇ ਸੋਚ ਰਹੇ ਹੋ। ਇਹ ਅੱਜ ਦੀ ਇਕ ਮੁਮਕਿਨ ਚੋਣ ਹੈ ਤੇ ਤੁਸੀਂ ਇਸਨੂੰ ਅਜਮਾ ਕੇ ਫਾਇਦਾ ਵੀ ਪਾ ਸਕਦੇ ਹੋ; ਆਪ ਕੰਪਿਊਟਰ ਬਣਾਉਣ ਨਾਲ ਤੁਸੀਂ ਕੰਪਿਊਟਰ ਹਾਰਡਵੇਅਰ ਬਾਰੇ ਬਹੁਤ ਸਾਰਾ ਗਿਆਨ ਇਕੱਠਾ ਕਰ ਸਕਦੇ ਹੋ, ਤੁਸੀਂ ਆਪਨੇ ਤਰੀਕੇ ਨਾਲ ਆਪਣਾ ਮਨਪਸੰਦ ਕੰਪਿਊਟਰ ਬਣਾ ਸਕਦੇ ਹੋ, ਤੁਸੀਂ ਆਪਣੀ ਪਸੰਦ ਦੇ ਵਧੀਆ ਕੰਪਿਊਟਰ ਦੇ ਭਾਗ ਚੁਣ ਸਕਦੇ ਹੋ ਅਤੇ ਕਿਸੇ ਕੰਪਨੀ ਦੇ ਬਨਾਏ ਹੋਏ ਕੰਪਿਊਟਰ ਨੂੰ ਚੁਣਨ ਦੀ ਬਜਾਏ ਆਪਣਾ ਕੰਪਿਊਟਰ ਬਣਾ ਕੇ ਪੈਸੇ ਬਚਾ ਸਕਦੇ ਹੋ।
ਇਸ ਤੋ ਇਲਾਵਾ, ਜੇ ਤੁਸੀਂ ਅਜਿਹੇ ਵਿਅਕਤੀ ਹੋ ਜੋ ਇਹ ਸਿੱਖਣ ਦਾ ਚਾਹਵਾਨ ਹੈ ਕੀ ਚੀਜਾਂ ਕਿਵੇਂ ਕੰਮ ਕਰਦੀਆਂ ਹਨ, ਤਾਂ ਤੁਸੀਂ ਬਿਲਕੁਲ ਸਹੀ ਥਾਂ ਤੇ ਹੋ।
== ਸਮੱਗਰੀ ==
# {{stage short|100%|March 26, 2005}} [[/ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ/]]
# {{stage short|100%|March 20, 2005}} [[/ਅਸੈਮਬਲੀ/]]
# {{stage short|100%|March 20, 2005}} [[/ਸਾਫਟਵੇਅਰ/]]
# {{stage short|100%|April 10, 2005}} [[/ਓਵਰਕਲਾਕਿੰਗ/]]
# {{stage short|100%|December 01, 2006}} [[/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ-ਚਪੀਤਾ ਬਣਾਉਣਾ/]]
# {{stage short|100%|March 20, 2005}} [[/ਸਿੱਟਾ/]]
== ਇਹ ਵੀ ਵੇਖੋ ==
* [[ਕੰਪਿਊਟਰ ਬਣਾਉਣ ਲਈ ਖਰੀਦਦਾਰ ਦੇ ਲਈ ਗਾਈਡ]]
[[ਸ਼੍ਰੇਣੀ:ਕੰਪਿਊਟਰ]]
kppadv0tux5fheezh83awra2qr8w727
ਫਰਮਾ:ਉਸਾਰੀ ਹੇਠ
10
2553
4633
4628
2016-01-19T02:48:50Z
Baljeet Bilaspur
1273
wikitext
text/x-wiki
{{#ifexpr:{{lastedit}} > 180|{{ambox|type=notice|text='''This page was last edited {{time ago|{{REVISIONTIMESTAMP}}|magnitude=months}}, and may be abandoned'''[[Category:Pages needing attention]]<br />This page has not been edited since {{REVISIONDAY}} {{MONTHNAME|{{REVISIONMONTH}}}} {{REVISIONYEAR}}, but other pages in this book might have been. Check out [[Special:Recentchangeslinked/{{FULLPAGENAME}}|related changes]] to see what the state of this book is.<br/><small>You can help by editing and updating this book. Remove {{tlx|under construction}} from this page if it is not being actively edited. Ask for help at [[WB:PROJECTS]].}}}} {{#ifexpr:{{lastedit}} < 181|{{ambox|type=notice|text='''This book was last edited on {{REVISIONDAY}} {{MONTHNAME|{{REVISIONMONTH}}}} {{REVISIONYEAR}}, and is still under heavy construction.'''<br />Content that is added is likely to be moved/deleted/edited significantly in a short amount of time. All Wikibookians with knowledge in this subject are welcome to help out. <small>You can remove this tag when the book has become more mature.</small>}}}}<noinclude>[[Category:Under-construction templates|{{PAGENAME}}]]</noinclude>
si4o627vbghoib5llttfu92v5kd4xnk
ਫਰਮਾ:Mbox
10
2554
4629
2016-01-19T02:04:37Z
Baljeet Bilaspur
1273
"{{#invoke:Message box|mbox}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#invoke:Message box|mbox}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
mpflpb6s8l8gaoxaeypyuqyu2w7vc7i
ਮੌਡਿਊਲ:Message box
828
2555
5412
4630
2023-03-23T09:01:52Z
Kuldeepburjbhalaike
1880
Scribunto
text/plain
-- This is a meta-module for producing message box templates, including
-- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}.
-- Load necessary modules.
require('strict')
local getArgs
local categoryHandler = require('Module:Category handler')._main
local yesno = require('Module:Yesno')
-- Get a language object for formatDate and ucfirst.
local lang = mw.language.getContentLanguage()
-- Define constants
local CONFIG_MODULE = 'Module:Message box/configuration'
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function getTitleObject(...)
-- Get the title object, passing the function through pcall
-- in case we are over the expensive function count limit.
local success, title = pcall(mw.title.new, ...)
if success then
return title
end
end
local function union(t1, t2)
-- Returns the union of two arrays.
local vals = {}
for i, v in ipairs(t1) do
vals[v] = true
end
for i, v in ipairs(t2) do
vals[v] = true
end
local ret = {}
for k in pairs(vals) do
table.insert(ret, k)
end
table.sort(ret)
return ret
end
local function getArgNums(args, prefix)
local nums = {}
for k, v in pairs(args) do
local num = mw.ustring.match(tostring(k), '^' .. prefix .. '([1-9]%d*)$')
if num then
table.insert(nums, tonumber(num))
end
end
table.sort(nums)
return nums
end
--------------------------------------------------------------------------------
-- Box class definition
--------------------------------------------------------------------------------
local MessageBox = {}
MessageBox.__index = MessageBox
function MessageBox.new(boxType, args, cfg)
args = args or {}
local obj = {}
-- Set the title object and the namespace.
obj.title = getTitleObject(args.page) or mw.title.getCurrentTitle()
-- Set the config for our box type.
obj.cfg = cfg[boxType]
if not obj.cfg then
local ns = obj.title.namespace
-- boxType is "mbox" or invalid input
if ns == 0 then
obj.cfg = cfg.ambox -- main namespace
elseif ns == 6 then
obj.cfg = cfg.imbox -- file namespace
elseif ns == 14 then
obj.cfg = cfg.cmbox -- category namespace
else
local nsTable = mw.site.namespaces[ns]
if nsTable and nsTable.isTalk then
obj.cfg = cfg.tmbox -- any talk namespace
else
obj.cfg = cfg.ombox -- other namespaces or invalid input
end
end
end
-- Set the arguments, and remove all blank arguments except for the ones
-- listed in cfg.allowBlankParams.
do
local newArgs = {}
for k, v in pairs(args) do
if v ~= '' then
newArgs[k] = v
end
end
for i, param in ipairs(obj.cfg.allowBlankParams or {}) do
newArgs[param] = args[param]
end
obj.args = newArgs
end
-- Define internal data structure.
obj.categories = {}
obj.classes = {}
return setmetatable(obj, MessageBox)
end
function MessageBox:addCat(ns, cat, sort)
if not cat then
return nil
end
if sort then
cat = string.format('[[Category:%s|%s]]', cat, sort)
else
cat = string.format('[[Category:%s]]', cat)
end
self.categories[ns] = self.categories[ns] or {}
table.insert(self.categories[ns], cat)
end
function MessageBox:addClass(class)
if not class then
return nil
end
table.insert(self.classes, class)
end
function MessageBox:setParameters()
local args = self.args
local cfg = self.cfg
-- Get type data.
self.type = args.type
local typeData = cfg.types[self.type]
self.invalidTypeError = cfg.showInvalidTypeError
and self.type
and not typeData
typeData = typeData or cfg.types[cfg.default]
self.typeClass = typeData.class
self.typeImage = typeData.image
-- Find if the box has been wrongly substituted.
self.isSubstituted = cfg.substCheck and args.subst == 'SUBST'
-- Find whether we are using a small message box.
self.isSmall = cfg.allowSmall and (
cfg.smallParam and args.small == cfg.smallParam
or not cfg.smallParam and yesno(args.small)
)
-- Add attributes, classes and styles.
self.id = args.id
if yesno(args.plainlinks) ~= false then
self:addClass('plainlinks')
end
for _, class in ipairs(cfg.classes or {}) do
self:addClass(class)
end
if self.isSmall then
self:addClass(cfg.smallClass or 'mbox-small')
end
self:addClass(self.typeClass)
self:addClass(args.class)
self.style = args.style
self.attrs = args.attrs
-- Set text style.
self.textstyle = args.textstyle
-- Find if we are on the template page or not. This functionality is only
-- used if useCollapsibleTextFields is set, or if both cfg.templateCategory
-- and cfg.templateCategoryRequireName are set.
self.useCollapsibleTextFields = cfg.useCollapsibleTextFields
if self.useCollapsibleTextFields
or cfg.templateCategory
and cfg.templateCategoryRequireName
then
self.name = args.name
if self.name then
local templateName = mw.ustring.match(
self.name,
'^[tT][eE][mM][pP][lL][aA][tT][eE][%s_]*:[%s_]*(.*)$'
) or self.name
templateName = 'Template:' .. templateName
self.templateTitle = getTitleObject(templateName)
end
self.isTemplatePage = self.templateTitle
and mw.title.equals(self.title, self.templateTitle)
end
-- Process data for collapsible text fields. At the moment these are only
-- used in {{ambox}}.
if self.useCollapsibleTextFields then
-- Get the self.issue value.
if self.isSmall and args.smalltext then
self.issue = args.smalltext
else
local sect
if args.sect == '' then
sect = 'This ' .. (cfg.sectionDefault or 'page')
elseif type(args.sect) == 'string' then
sect = 'This ' .. args.sect
end
local issue = args.issue
issue = type(issue) == 'string' and issue ~= '' and issue or nil
local text = args.text
text = type(text) == 'string' and text or nil
local issues = {}
table.insert(issues, sect)
table.insert(issues, issue)
table.insert(issues, text)
self.issue = table.concat(issues, ' ')
end
-- Get the self.talk value.
local talk = args.talk
-- Show talk links on the template page or template subpages if the talk
-- parameter is blank.
if talk == ''
and self.templateTitle
and (
mw.title.equals(self.templateTitle, self.title)
or self.title:isSubpageOf(self.templateTitle)
)
then
talk = '#'
elseif talk == '' then
talk = nil
end
if talk then
-- If the talk value is a talk page, make a link to that page. Else
-- assume that it's a section heading, and make a link to the talk
-- page of the current page with that section heading.
local talkTitle = getTitleObject(talk)
local talkArgIsTalkPage = true
if not talkTitle or not talkTitle.isTalkPage then
talkArgIsTalkPage = false
talkTitle = getTitleObject(
self.title.text,
mw.site.namespaces[self.title.namespace].talk.id
)
end
if talkTitle and talkTitle.exists then
local talkText = 'Relevant discussion may be found on'
if talkArgIsTalkPage then
talkText = string.format(
'%s [[%s|%s]].',
talkText,
talk,
talkTitle.prefixedText
)
else
talkText = string.format(
'%s the [[%s#%s|talk page]].',
talkText,
talkTitle.prefixedText,
talk
)
end
self.talk = talkText
end
end
-- Get other values.
self.fix = args.fix ~= '' and args.fix or nil
local date
if args.date and args.date ~= '' then
date = args.date
elseif args.date == '' and self.isTemplatePage then
date = lang:formatDate('F Y')
end
if date then
self.date = string.format(" <small>''(%s)''</small>", date)
end
self.info = args.info
if yesno(args.removalnotice) then
self.removalNotice = cfg.removalNotice
end
end
-- Set the non-collapsible text field. At the moment this is used by all box
-- types other than ambox, and also by ambox when small=yes.
if self.isSmall then
self.text = args.smalltext or args.text
else
self.text = args.text
end
-- Set the below row.
self.below = cfg.below and args.below
-- General image settings.
self.imageCellDiv = not self.isSmall and cfg.imageCellDiv
self.imageEmptyCell = cfg.imageEmptyCell
if cfg.imageEmptyCellStyle then
self.imageEmptyCellStyle = 'border:none;padding:0px;width:1px'
end
-- Left image settings.
local imageLeft = self.isSmall and args.smallimage or args.image
if cfg.imageCheckBlank and imageLeft ~= 'blank' and imageLeft ~= 'none'
or not cfg.imageCheckBlank and imageLeft ~= 'none'
then
self.imageLeft = imageLeft
if not imageLeft then
local imageSize = self.isSmall
and (cfg.imageSmallSize or '30x30px')
or '40x40px'
self.imageLeft = string.format('[[File:%s|%s|link=|alt=]]', self.typeImage
or 'Imbox notice.png', imageSize)
end
end
-- Right image settings.
local imageRight = self.isSmall and args.smallimageright or args.imageright
if not (cfg.imageRightNone and imageRight == 'none') then
self.imageRight = imageRight
end
end
function MessageBox:setMainspaceCategories()
local args = self.args
local cfg = self.cfg
if not cfg.allowMainspaceCategories then
return nil
end
local nums = {}
for _, prefix in ipairs{'cat', 'category', 'all'} do
args[prefix .. '1'] = args[prefix]
nums = union(nums, getArgNums(args, prefix))
end
-- The following is roughly equivalent to the old {{Ambox/category}}.
local date = args.date
date = type(date) == 'string' and date
local preposition = 'from'
for _, num in ipairs(nums) do
local mainCat = args['cat' .. tostring(num)]
or args['category' .. tostring(num)]
local allCat = args['all' .. tostring(num)]
mainCat = type(mainCat) == 'string' and mainCat
allCat = type(allCat) == 'string' and allCat
if mainCat and date and date ~= '' then
local catTitle = string.format('%s %s %s', mainCat, preposition, date)
self:addCat(0, catTitle)
catTitle = getTitleObject('Category:' .. catTitle)
if not catTitle or not catTitle.exists then
self:addCat(0, 'Articles with invalid date parameter in template')
end
elseif mainCat and (not date or date == '') then
self:addCat(0, mainCat)
end
if allCat then
self:addCat(0, allCat)
end
end
end
function MessageBox:setTemplateCategories()
local args = self.args
local cfg = self.cfg
-- Add template categories.
if cfg.templateCategory then
if cfg.templateCategoryRequireName then
if self.isTemplatePage then
self:addCat(10, cfg.templateCategory)
end
elseif not self.title.isSubpage then
self:addCat(10, cfg.templateCategory)
end
end
-- Add template error categories.
if cfg.templateErrorCategory then
local templateErrorCategory = cfg.templateErrorCategory
local templateCat, templateSort
if not self.name and not self.title.isSubpage then
templateCat = templateErrorCategory
elseif self.isTemplatePage then
local paramsToCheck = cfg.templateErrorParamsToCheck or {}
local count = 0
for i, param in ipairs(paramsToCheck) do
if not args[param] then
count = count + 1
end
end
if count > 0 then
templateCat = templateErrorCategory
templateSort = tostring(count)
end
if self.categoryNums and #self.categoryNums > 0 then
templateCat = templateErrorCategory
templateSort = 'C'
end
end
self:addCat(10, templateCat, templateSort)
end
end
function MessageBox:setAllNamespaceCategories()
-- Set categories for all namespaces.
if self.invalidTypeError then
local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText
self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort)
end
if self.isSubstituted then
self:addCat('all', 'Pages with incorrectly substituted templates')
end
end
function MessageBox:setCategories()
if self.title.namespace == 0 then
self:setMainspaceCategories()
elseif self.title.namespace == 10 then
self:setTemplateCategories()
end
self:setAllNamespaceCategories()
end
function MessageBox:renderCategories()
-- Convert category tables to strings and pass them through
-- [[Module:Category handler]].
return categoryHandler{
main = table.concat(self.categories[0] or {}),
template = table.concat(self.categories[10] or {}),
all = table.concat(self.categories.all or {}),
nocat = self.args.nocat,
page = self.args.page
}
end
function MessageBox:export()
local root = mw.html.create()
-- Add the subst check error.
if self.isSubstituted and self.name then
root:tag('b')
:addClass('error')
:wikitext(string.format(
'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.',
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
end
-- Create the box table.
local boxTable = root:tag('table')
boxTable:attr('id', self.id or nil)
for i, class in ipairs(self.classes or {}) do
boxTable:addClass(class or nil)
end
boxTable
:cssText(self.style or nil)
:attr('role', 'presentation')
if self.attrs then
boxTable:attr(self.attrs)
end
-- Add the left-hand image.
local row = boxTable:tag('tr')
if self.imageLeft then
local imageLeftCell = row:tag('td'):addClass('mbox-image')
if self.imageCellDiv then
-- If we are using a div, redefine imageLeftCell so that the image
-- is inside it. Divs use style="width: 52px;", which limits the
-- image width to 52px. If any images in a div are wider than that,
-- they may overlap with the text or cause other display problems.
imageLeftCell = imageLeftCell:tag('div'):css('width', '52px')
end
imageLeftCell:wikitext(self.imageLeft or nil)
elseif self.imageEmptyCell then
-- Some message boxes define an empty cell if no image is specified, and
-- some don't. The old template code in templates where empty cells are
-- specified gives the following hint: "No image. Cell with some width
-- or padding necessary for text cell to have 100% width."
row:tag('td')
:addClass('mbox-empty-cell')
:cssText(self.imageEmptyCellStyle or nil)
end
-- Add the text.
local textCell = row:tag('td'):addClass('mbox-text')
if self.useCollapsibleTextFields then
-- The message box uses advanced text parameters that allow things to be
-- collapsible. At the moment, only ambox uses this.
textCell:cssText(self.textstyle or nil)
local textCellSpan = textCell:tag('span')
textCellSpan
:addClass('mbox-text-span')
:wikitext(self.issue or nil)
if (self.talk or self.fix) and not self.isSmall then
textCellSpan:tag('span')
:addClass('hide-when-compact')
:wikitext(self.talk and (' ' .. self.talk) or nil)
:wikitext(self.fix and (' ' .. self.fix) or nil)
end
textCellSpan:wikitext(self.date and (' ' .. self.date) or nil)
if self.info and not self.isSmall then
textCellSpan
:tag('span')
:addClass('hide-when-compact')
:wikitext(self.info and (' ' .. self.info) or nil)
end
if self.removalNotice then
textCellSpan:tag('small')
:addClass('hide-when-compact')
:tag('i')
:wikitext(string.format(" (%s)", self.removalNotice))
end
else
-- Default text formatting - anything goes.
textCell
:cssText(self.textstyle or nil)
:wikitext(self.text or nil)
end
-- Add the right-hand image.
if self.imageRight then
local imageRightCell = row:tag('td'):addClass('mbox-imageright')
if self.imageCellDiv then
-- If we are using a div, redefine imageRightCell so that the image
-- is inside it.
imageRightCell = imageRightCell:tag('div'):css('width', '52px')
end
imageRightCell
:wikitext(self.imageRight or nil)
end
-- Add the below row.
if self.below then
boxTable:tag('tr')
:tag('td')
:attr('colspan', self.imageRight and '3' or '2')
:addClass('mbox-text')
:cssText(self.textstyle or nil)
:wikitext(self.below or nil)
end
-- Add error message for invalid type parameters.
if self.invalidTypeError then
root:tag('div')
:css('text-align', 'center')
:wikitext(string.format(
'This message box is using an invalid "type=%s" parameter and needs fixing.',
self.type or ''
))
end
-- Add categories.
root:wikitext(self:renderCategories() or nil)
return tostring(root)
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p, mt = {}, {}
function p._exportClasses()
-- For testing.
return {
MessageBox = MessageBox
}
end
function p.main(boxType, args, cfgTables)
local box = MessageBox.new(boxType, args, cfgTables or mw.loadData(CONFIG_MODULE))
box:setParameters()
box:setCategories()
return box:export()
end
function mt.__index(t, k)
return function (frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return t.main(k, getArgs(frame, {trim = false, removeBlanks = false}))
end
end
return setmetatable(p, mt)
3ded09mm4ngrijcxqrgmzpvbz0u5iib
ਫਰਮਾ:Stage short
10
2556
5621
4631
2023-03-24T08:26:39Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
<includeonly><span class="noprint">[[File:{{#switch:{{{1|}}}
|0|00|0%|00%=00 percent
|25|25%=25 percents
|50|50%=50 percents
|75|75%=75 percents
|100|100%=100 percents
|#default=00%
}}.svg|9x9px|{{#switch:{{{1|}}}
|0|00|0%|00%=0%
|25|25%=25%
|50|50%=50%
|75|75%=75%
|100|100%=100%
|#default=0%
}} developed{{#if:{{{2|}}}| as of {{{2}}}}}|link=Help:Development stages]]</span></includeonly><noinclude>{{documentation}}</noinclude>
o1klye1n2lfuk3cincme2uw0ria7a7l
ਫਰਮਾ:Underconstruction
10
2557
4632
2016-01-19T02:47:36Z
Baljeet Bilaspur
1273
Redirected page to [[ਫਰਮਾ:ਉਸਾਰੀ ਹੇਠ]]
wikitext
text/x-wiki
#redirect[[ਫਰਮਾ:ਉਸਾਰੀ ਹੇਠ]]
90fc01noryby2h4bufwkz9j65e8gqas
ਫਰਮਾ:Print version
10
2558
4639
2016-01-19T10:18:22Z
Baljeet Bilaspur
1273
"{{mbox-side|type=growth|image=Printer.svg|text=A ''''':{{existlist|{{{1}}}|/Print version|/Printable version|../Print version|../Printable version|{{..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{mbox-side|type=growth|image=Printer.svg|text=A '''''[[:{{existlist|{{{1}}}|/Print version|/Printable version|../Print version|../Printable version|{{FULLPAGENAME}}}}|printable version]]''''' of {{{3|{{BOOKNAME}}}}} is available. <small>{{{2|}}} ([{{fullurl:{{existlist|{{{1}}}|/Print version|/Printable version|../Print version|../Printable version|{{FULLPAGENAME}}}}|action=edit}} edit it])</small>}}<includeonly>{{#ifeq:{{{example|no}}}|no|[[Category:Books with print version|{{SUBPAGENAME}}]]}}</includeonly><noinclude>{{documentation}}</noinclude>
ntjzqehu7x3u2dp3y2241rsfuihcxmm
ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ
0
2559
4646
2016-01-19T12:01:19Z
Baljeet Bilaspur
1273
"{{ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ}}" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ}}
51nv37lnb66ee5qgb8xw77kdjgfg062
ਫਰਮਾ:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ
10
2560
4649
4648
2016-01-19T12:08:47Z
Baljeet Bilaspur
1273
wikitext
text/x-wiki
<div class="noprint">
{| width="80%" cellspacing="0" class="top" align="center"
|style="background-color: #efffef; border: 1px solid #bafaba; padding: 0px; font-size: small; text-align: center;" valign=top|
<font size="+1">[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ]]</font>
----
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ|ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ]] · [[:Media:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ.pdf|PDF ਸੰਸਕਰਣ]] ·{{navbar|ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਮੱਗਰੀ|nodiv=1}}
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ|ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਅਸੈਮਬਲੀ|ਅਸੈਮਬਲੀ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਾਫਟਵੇਅਰ|ਸਾਫਟਵੇਅਰ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਓਵਰਕਲਾਕਿੰਗ|ਓਵਰਕਲਾਕਿੰਗ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ|ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਿੱਟਾ|ਸਿੱਟਾ]]
|}</div><includeonly>{{BookCat}}</includeonly><noinclude>
[[Category:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ| ]]</noinclude>
7rrlvsk474gtg48qdih6tveazj8jnv9
ਫਰਮਾ:Navbar
10
2561
5737
4658
2023-04-07T09:25:47Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
<includeonly>{{#if:{{{nodiv|}}}| <span|<div}} class="noprint plainlinks navbar" style="background:none; padding:0; font-weight:normal;{{{fontstyle|}}}; font-size:xx-small; {{{style|}}}"><!--
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
-->This box: }}<!--
-->{{#if:{{{brackets|}}}|[}}<!--
-->[[{{transclude|{{{1}}}}}|<span title="View this template" style="{{{fontstyle|}}}"><!--
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!--
--> <span style="font-size:80%;">•</span> [[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span title="Discuss this template" style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|d|talk}}</span>]]<!--
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
--> <span style="font-size:80%;">•</span> [{{fullurl:{{transclude|{{{1}}}}}|action=edit}}<span title="Edit this template" style="{{{fontstyle|}}};">{{#if:{{{mini|}}}|e|edit}}</span>]<!--
-->}}<!--
-->{{#if:{{{brackets|}}}|]}}<!--
-->{{#if:{{{nodiv|}}}|<!--then:
--></span> |<!--else:
--></div>}}</includeonly><noinclude>
{{documentation}}
</noinclude>
cwblw95numv7mcddz0ty3crb2ji0y9e
ਫਰਮਾ:BookCat
10
2562
5799
4651
2023-06-07T06:44:48Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
<includeonly>{{#invoke:TScope|shiftLeft|BookCat/core|1
|namespace ={{#if:{{{1|}}}|{{NAMESPACE:{{{1}}}}}|{{NAMESPACE}}}}
|pagename ={{#if:{{{1|}}}|{{PAGENAME:{{{1}}}}}|{{PAGENAME}}}}
|fullpagename={{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}}
|sortkey ={{{sort|{{{sortkey|}}}}}}
}}{{#if:{{{1|}}} |[[Category:Pages passing page name to BookCat]]}}<!--
-->{{#if:{{{sort|{{{sortkey|}}}}}}|[[Category:Pages passing sort key to BookCat]]}}</includeonly><noinclude>
{{documentation}}
</noinclude>
nw1barqxaok3ax2jtswg2fq40n07xkm
ਫਰਮਾ:Transclude
10
2563
4652
2016-01-19T12:27:32Z
Baljeet Bilaspur
1273
"{{#switch: {{NAMESPACE: {{{1}}} }} |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> |{{ns:0}} = {{#ifeq: {{NAMESPACE: {{{1}}} }} |..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#switch: {{NAMESPACE: {{{1}}} }}
|#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" -->
|{{ns:0}} =
{{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }}
| Template:{{{1}}} <!-- no leading colon, eg "Foo" -->
| {{PAGENAME: {{{1}}} }} <!-- leading colon, eg ":Foo", so we want the article -->
}}
}}<noinclude>
{{documentation}}
</noinclude>
ob9m2b913drxlie5tgekieudupfrl9n
ਫਰਮਾ:FULLBOOKNAME
10
2564
4653
2016-01-19T12:28:12Z
Baljeet Bilaspur
1273
"<includeonly>{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1}}</includeonly><noinclude>{{documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1}}</includeonly><noinclude>{{documentation}}</noinclude>
p6elrbww9zt8w5vven8h68v7asswoj9
ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਅਸੈਮਬਲੀ
0
2565
5337
5336
2023-01-16T03:29:13Z
Kwamikagami
1817
/* ਮਦਰਬੋਰਡ */
wikitext
text/x-wiki
{{ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਅਸੈਮਬਲੀ}}
ਹੁਣ ਜਦੋਂ ਤੁਸੀਂ ਸਾਰੇ ਹਿੱਸੇ ਇੱਕਠੇ ਕਰ ਲਏ ਹਨ, ਇਸਤੋ ਬਾਅਦ ਵਿੱਚ ਦਾ ਕੰਮ ਇਹਨਾਂ ਨੂੰ ਜੋੜਨਾ ਹੈ;
== ਸੰਦ ==
[[Image:Cross slot screw.jpg|thumb|right|upright|ਫਿਲਿਪਸ ਸਿਰੇ ਵਾਲੇ ਪੇਚ, ਜੋ ਕੀ ਕੰਪਿਊਟਰਾਂ ਵਿੱਚ ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ।]]
ਕੰਪਿਊਟਰ ਅਸੈਮਬਲ ਕਰਨ ਲਈ ਤੁਹਾਨੂੰ ਪੇਚਕਸ ਤੋ ਇਲਾਵਾ ਹੋਰ ਸੰਦਾਂ ਦੀ ਜਰੂਰਤ ਨਹੀ ਹੈ, ਪਰ ਜੇ ਤੁਸੀਂ ਇਹ ਥੱਲੇ ਦਿੱਤੇ ਹੋਏ ਸੰਦਾਂ ਨੂੰ ਇਕੱਠਾ ਕਰ ਲਵੋਂਗੇ ਤਾਂ, ਤੁਹਾਨੂੰ ਕੰਪਿਊਟਰ ਦੇ ਪੁਰਜਿਆਂ ਨੂੰ ਆਪਸ ਵਿੱਚ ਜੋੜਨਾ ਸੌਖਾ ਹੋ ਜਾਵੇਗਾ।
=== ਆਮ ਸੰਦ ===
ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਰਨ ਤੋ ਪਿਹਲਾਂ, ਤੁਹਾਡੇ ਕੋਲ ਇਹ ਆਮ ਸੰਦ ਹੋਣੇ ਚਾਹੀਦੇ ਹਨ:
# #2 ਫਿਲਿਪਸ ਸਿਰੇ ਵਾਲੇ ਪੇਚਕਸ
# ਸੂਈ-ਨੱਕ ਵਾਲੇ ਪਲਾਸ
# ਐਂਟੀ-ਸਟੈਟਿਕ ਗੁੱਟ ਤਣੀ
# ਇੱਕ ਸਾਫ਼ ਕੀਤੀ ਹੋਈ ਜਗਾਹ
[[Image:Antistatic_wrist_strap.jpg|thumb|right|upright|ਇੱਕ ਐਂਟੀ-ਸਟੈਟਿਕ ਗੁੱਟ ਤਣੀ, ਜੋ ਕਿ ਰਗੜ ਤੋਂ ਪੈਦਾ ਹੋਣ ਵਾਲੀ ਬਿਜਲੀ ਤੋਂ ਬਚਨ ਲਈ ਹੁੰਦੀ ਹੈ।]]
=== ਚੋਣਵੀ, ਪਰ ਫਾਇਦੇਮੰਦ ਸੰਦ ===
ਕੁਝ ਹੋਰ ਸੰਦ, ਜੋ ਬਹੁਤੇ ਜਰੂਰੀ ਨਹੀਂ ਹਨ:
# ਸਪਰਿੰਗ ਅੈਕਸਨ ਪਾਰਟ ਗ੍ਰੈਬਰ.
# ਬਿਜਲੀ ਵਾਲੀ ਟੇਪ
# ਵਾਇਰ ਜਾ ਨਾਈਲੋਨ ਸਬੰਧ
# ਫਲੈਸ਼ਲਾਇਟ
# ਇੱਕ ਹੋਰ ਕੰਪਿਊਟਰ ਤਾਂ ਕਿ ਉਸਦੇ ਜੁੜੇ ਹੋਏ ਪੁਰਜਿਆਂ ਨੂੰ ਵੇਖ ਕੇ ਕੁਝ ਮਦਦ ਲੀਤੀ ਜਾ ਸਕੇ।
# ਇੱਕ ਵੈਕੁਮ ਕਲੀਨਰ, ਜੋ ਕੀ ਬਿਜਲੀ ਵਾਲੇ ਪੁਰਜਿਆਂ ਨੂੰ ਸਾਫ਼ ਕਰਨ ਲਈ ਬਣਿਆ ਹੋਵੇ।
# ਚੁੰਬਕੀ ਪੇਚਕਸ
# ਕੇਬਲ ਪ੍ਰਬੰਧਨ ਲਈ ਜ਼ਿੱਪ ਸਬੰਧ ਜਾ ਵੈਲਕਰਰੋਸ਼ਾਮਲ ਸਬੰਧ
== ਤਿਆਰੀ ==
ਇੱਕ ਚੰਗੀ ਤਿਆਰੀ ਇੱਕ ਵਧੀਆ ਅਸੈਮਬਲ ਲਈ ਜਰੂਰੀ ਹੈ. ਇਸਤੋ ਤੋਂ ਪਿਹਲਾਂ, ਧਿਆਨ ਰੱਖੋ ਕੀ ਤੁਹਾਡੇ ਕੋਲ ਸਾਰੇ ਜਰੂਰੀ ਸੰਦ ਹਨ, ਫਿਰ ਆਪਨੇ ਸਾਰੇ ਸਮਾਨ ਨੂੰ ਉਹਨਾਂ ਦੇ ਡੱਬਿਆਂ ਵਿਚੋਂ ਕੱਢ ਕੇ ਇਕ ਜਗਾਹ ਤੇ ਰੱਖ ਲਵੋ, ਅਤੇ ਇੱਕ ਵਾਰ ਧਿਆਨ ਨਾਲ ਨਜਰ ਮਾਰੋ ਕੀ ਸਾਰਾ ਸਮਾਨ ਇੱਕਠਾ ਹੋ ਗਿਆ ਹੈ ਕਿ ਨਹੀ. ਕੰਪਿਊਟਰ ਦੇ ਹਿਸਿਆਂ ਨੂੰ ਬਿਲਕੁਲ ਨੰਗਾ ਕਰਕੇ ਨਾ ਰੱਖੋ, ਉਹਨਾਂ ਨੂੰ ਨਾਲ ਆਏ ਰਗੜ ਤੋ ਪੈਦਾ ਹੋਣ ਵਾਲੀ ਬਿਜਲੀ ਤੋ ਬਚਾਉਣ ਵਾਲੇ ਲਿਫਾਫੇ ਵਿੱਚ ਹੀ ਰੱਖੋ. ਯਾਦ ਰਖੋ ਕਿ ਰਗੜ ਨਾਲ ਪੈਦਾ ਹੋਈ ਬਿਜਲੀ ਤੁਹਾਡੇ ਸਮਾਨ ਨੂੰ ਖਰਾਬ ਕਰ ਸਕਦੀ ਹੈ. ਫਿਰ ਸਾਰੇ ਹਿਸਿਆਂ ਦੀ ਗਾਇਡਾਂ ਨੂੰ ਇਕੱਠਾ ਕਰ ਲਵੋ. ਤੁਸੀਂ ਕੰਪਿਊਟਰ ਤੇ ਹਿਸਿਆਂ ਨੂੰ ਜੋੜਨ ਤੋ ਪਿਹਲਾਂ ਉਹਨਾਂ ਦੀਆਂ ਗਾਇਡਾਂ ਜਰੂਰ ਪੜ ਲਵੋ ਤਾਂ ਜੋ ਤੁਹਾਨੂੰ ਉਹਨਾਂ ਦੀ ਬਣਤਰ ਦੀ ਕੁਝ ਆਮ ਜਾਣਕਾਰੀ ਮਿਲ ਸਕੇ. ਇਹਨਾਂ ਨੂੰ ਪੜਨ ਨਾਲ ਤੁਹਾਡਾ ਸਮਾਂ ਤਾਂ ਬਰਬਾਦ ਹੋਵੇਗਾ ਪਰ ਤੁਸੀਂ ਆਪਨੇ ਖਰੀਦੇ ਹੋਏ ਸਮਾਂ ਨੂੰ ਖਰਾਬ ਹੋਣ ਤੋਂ ਬਚਾ ਸਕਦੇ ਹੋ. ਨਿੱਕੀ ਜਿਹੀ ਗ਼ਲਤੀ ਕੰਪਿਊਟਰ ਦੇ ਹਿਸਿਆਂ ਨੂੰ ਖਰਾਬ ਕਰ ਸਕਦੀ ਹੈ ਕਿਓਂਕਿ ਇਸਦੇ ਸਾਰੇ ਹਿੱਸੇ ਬਹੁਤ ਹੀ ਨਾਜ਼ੁਕ ਅਤੇ ਕਮਜੋਰ ਹੁੰਦੇ ਹਨ. ਇਸ ਲਈ ਕਿਸੇ ਵੀ ਪੁਰਜੇ ਨੂੰ ਹੱਥ ਲਗਾਉਣ ਤੋ ਪਿਹਲਾਂ ਉਸਦੇ ਨਾਲ ਆਈ ਗਾਇਡ ਨੂੰ ਪੜਨ ਤੋਂ ਨਾ ਝਿਜਕੋ.
ਆਪਨੇ ਕੰਮ ਨੂੰ ਕਰਨ ਲਈ ਇਕ ਸਾਫ਼ ਕੀਤੀ ਹੋਈ ਅਤੇ ਸੁੱਕੀ ਜਗਾਹ ਦੀ ਤਲਾਸ਼ ਕਰੋ. ਤੁਹਾਡੇ ਕੋਲ ਰੌਸ਼ਨੀ ਦੀ ਸੁਵਿਧਾ ਹੋਣੀ ਚਾਹੀਦੀ ਹੈ ਅਤੇ ਜੇ ਸੰਭਬ ਹੋਵੇ ਤਾਂ, ਇਜੀਹੀ ਥਾਂ ਲੱਭੋ ਜਿੱਥੇ ਫ਼ਰਸ਼ ਦੇ ਉੱਤੇ ਇੱਕ ਤੱਪੜ ਵਿਸ਼ਿਆ ਹੋਵੇ ਜੋ ਕੀ ਰਗੜ ਨਾਲ ਪੈਦਾ ਹੋਣ ਵਾਲੀ ਬਿਜਲੀ ਜਿਸਨੂੰ ਸਟੈਟਿਕ ਬਿਜਲੀ ਵੀ ਕਿਹਾ ਜਾਂਦਾ ਹੈ, ਨੂੰ ਘੱਟ ਉਤਸਰਜਿਤ ਕਰੇਗਾ. ਇੱਕ ਸਾਫ਼ ਜਗਾਹ ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਰਨ ਲਈ ਵਧੀਆ ਹੈ.
{{DecoratedTextBox|image=Bulbgraph.png|
ਸੁਰੱਖਿਆ ਸਾਵਧਾਨੀਆਂ ਤੁਹਾਡੀ ਸੁਰੱਖਿਆ ਦੇ ਲਈ ਬਹੁਤ ਜਰੂਰੀ ਹਨ. ਕਿਰਪਾ ਕਰਕੇ ਸੁਰੱਖਿਆ ਸਾਵਧਾਨੀਆਂ ਨੂੰ ਧਿਆਨ ਨਾਲ ਪੜੋ।
}}
=== ਸੁਰੱਖਿਆ ਸਾਵਧਾਨੀਆਂ ===
# ਸਟੈਟਿਕ ਬਿਜਲੀ ਤੁਹਾਡੇ ਇਕੱਠੇ ਕੀਤੇ ਹੋਏ ਸਮਾਨ ਲਈ ਸਭ ਤੋ ਵੱਡਾ ਖਤਰਾ ਹੈ, ਇਹ ਬਣੇ ਹੋਏ ਬਿਜਲਈ ਸਰਕਟਾਂ ਨੂੰ ਮਿਟਾ ਸਕਦਾ ਹੈ, ਜੋ ਕੀ ਮਨੁੱਖੀ ਵਾਲ ਤੋਂ ਵੀ ਛੋਟੇ ਹੁੰਦੇ ਹਨ। ਇਹਨਾਂ ਸਰਕਟਾਂ ਨਾਲ ਹੀ ਸੀਪੀਯੂ, ਰੈਮ ਅਤੇ ਹੋਰ ਚਿੱਪਾਂ ਉਸਰੀਆਂ ਹੁੰਦੀਆਂ ਹਨ। ਇਸ ਲਈ ਕੰਪਿਊਟਰ ਦੇ ਹਿਸਿਆਂ ਨੂੰ ਹੱਥ ਲਗਾਉਣ ਤੋਂ ਪਿਹਲਾਂ ਤੁਹਾਡੇ ਕੋਲ ਇੱਕ ਐਂਟੀ-ਸਟੈਟਿਕ ਗੁੱਟ ਤਣੀ ਹੋਣੀ ਜ਼ਰੂਰੀ ਹੈ। ਇੱਕ ਵਾਰੀ ਜਦੋਂ ਤੁਸੀਂ ਪਾਵਰ ਸਪਲਾਈ ਕੰਪਿਊਟਰ ਕੇਸ ਵਿੱਚ ਲਗਾ ਦਿਤੀ ਹੈ ਤਾਂ ਐਂਟੀ-ਸਟੈਟਿਕ ਗੁੱਟ ਤਣੀ ਦਾ ਕਲਿਪ ਜੋ ਕੀ ਉਸਦੇ ਸਿਰੇ ਉੱਤੇ ਹੁੰਦਾ ਹੈ ਉਸਨੂੰ ਪਾਵਰ ਸਪਲਾਈ ਨਾਲ ਲਗਾ ਦੇਵੋ. (ਆਪਨੇ ਕੰਪਿਊਟਰ ਨੂੰ ਕਦੇ ਵੀ ਬਿਜਲੀ ਪ੍ਰਦਾਨ ਨਾ ਕਰੋ ਜਦੋ ਤੁਸੀਂ ਕੰਪਿਊਟਰ ਨਾਲ ਐਂਟੀ-ਸਟੈਟਿਕ ਗੁੱਟ ਤਣੀ ਜੁੜੇ ਹੁੰਦੇ ਹੋ)। ਹੁਣ ਤੁਹਾਨੂ ਰਗੜ ਨਾਲ ਪੈਦਾ ਹੋਣ ਵਾਲੀ ਬਿਜਲੀ ਤੋਂ ਕੋਈ ਦਰ ਨਹੀ ਰਹੇਗਾ। ਇਸ ਲਈ ਕੰਪਿਊਟਰ ਅਸੈਮਬਲ ਕਰਨ ਤੋਂ ਪਿਹਲਾਂ ਇਹ ਗੱਲ ਧਿਆਨ ਵਿੱਚ ਜਰੂਰ ਰਖੋ।
# ਜੇ ਤੁਸੀਂ ਸਟੈਟਿਕ ਬਿਜਲੀ ਨਾਲ ਆਪਣੇ ਕੰਪਿਊਟਰੀ ਸਮਾਨ ਨੂੰ ਖਰਾਬ ਕਰ ਲੈਂਦੇ ਹੋ ਤਾਂ ਐਂਟੀ-ਸਟੈਟਿਕ ਗੁੱਟ ਤਣੀ ਨੂੰ ਚੈਕ ਕਰੋ . Make sure that you take the precautions in the previous paragraph to ground yourself from static electricity. (Note: if you really must work on a computer and have not got proper anti-static equipment, it is ''usually'' OK if you make sure that you do not move about much; are not wearing any static-prone clothing; handle components by the edges; and regularly (once a minute or so), touch a grounded object.). The ''case metal'' of your PC's power supply will usually be a suitable grounded object. As noted above, touch it every few minutes while you are working on your PC if you haven’t got a wrist strap.
#Turn off your computer and switch off your Power Supply at the wall before installing or removing any components - if power is flowing to components as they are installed or removed, they can be seriously damaged. In order to have a computer properly grounded, you need it plugged in at the wall but turned off at the power supply and at the wall. The neutral line may be earthed
# Never cut the grounding pin off your power cord. This "safety ground" stands between you and potentially lethal voltages inside the power supply.
# Be wary of sharp edges! Many lower-end PC cases have sharp, unfinished edges. This is especially so on interior surfaces, and where the case has been cut or punched-out. Use care and take your time to avoid cutting your hands. If your case has this problem, a little time with some sandpaper before you begin construction can spare you a lot of pain. Be extra careful not to cut yourself when installing the I/O Shield.
# Dismantling discrete electronic components such as your Power Supply or Monitor is dangerous. They contain high voltage capacitors, which can cause a severe electric shock if you touch them. These hold a charge even when the unit is not plugged in and are capable of delivering a fatal shock.
== ਉਸਾਰੀ ==
ਮਦਰਬੋਰਡ ਦੇ ਡੱਬੇ ਨੂੰ ਆਪਣੇ ਚੁਣੀ ਹੋਈ ਜਗਾਹ ਤੇ ਖੋਲੋ, ਧਿਆਨ ਰੱਖੋ ਕਿ ਡੱਬੇ ਦਾ ਮੂੰਹ ਉੱਪਰਲੇ ਪਾਸੇ ਨੂੰ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।
=== ਮਦਰਬੋਰਡ ===
[[Image:ASRock_K7VT4A_Pro_Mainboard_Labeled_English.svg|center|frameless|upright=3]]
Find the [[w:ਮਦਰਬੋਰਡ|ਮਦਰਬੋਰਡ]] standoffs (spacers) that should have come with the case. They are screws, usually brass, with large hexagonal heads that are tapped so you can fasten screws into the top. These hold the motherboard up off the case preventing a short-circuit. Set these aside.
[[Image:Mainboard_Slotblende_V1a.JPG|thumb|right|I/O Panel Shield of an ATX Motherboard]]
Remove the I/O Shield from the back of the case where the ports on the back of the motherboard will fit, and put in the I/O Shield that came with your motherboard. There may be small metal tabs on the inside of this face plate, if so you may have to adjust them to accommodate the ports on the back of the motherboard.
Some case styles make it difficult to install the motherboard or the CPU with the power supply installed. If the power supply is in your way, take it out and set it aside (we'll put it back in later).
Now locate the screw holes on your motherboard and find the corresponding holes on the motherboard plate (or tray) in the case. Put a standoff in each of these holes on the tray and position the motherboard so that you can see the holes in the top of the standoffs through the screw holes in the motherboard.
Now is the time to make sure the ports on the motherboard are mating with the backplate you just installed, and make any necessary adjustments. The small metal tabs are intended to make contact with the metal parts of the connections on the back of the motherboard and ground them, but you may have to bend these tabs a bit to get the ports all properly mounted, this is where those needle-nose pliers may come in handy.
{{DecoratedTextBox|image=Bulbgraph.png|
If you have trouble lining up the screw holes, double check that you have the standoffs in the proper holes on the tray. With lower quality cases there are sometimes alignment problems and you may have to forgo one or two screws. If this is the case, make sure you remove the corresponding standoffs. Some combinations of motherboards and cases may also use different types of screws in different places or provide non-matching screw holes that cannot be used in a specific case.
The motherboard can possibly be damaged if you try to push it into position with the wrong set of standoffs underneath or when trying to use the wrong set of screw holes.
}}
Now fasten a screw through each of the motherboard screw holes into the standoffs underneath. These screws should be snug but not tight, there is no reason to torque down on them, hand tight is fine, otherwise you can damage the motherboard.
Once the motherboard is installed, it is time to plug the other components.
=== ਸੀਪੀਯੂ ===
[[Image:Intel_Socket_1150_IMGP8593_smial_wp.jpg|thumb|An example of a CPU socket, LGA1150. This is the current processors for consumer Haswell desktop CPU's and some Xeons.]]
[[Image:Socket_2011_IMGP3918.jpg|thumb|LGA2011 socket. These processors are used by i7 Extreme and most Xeons. Note that LGA 2011 CPU's are not comparable with its successor(LGA 2011-3) even though they look similar and have the same number of pins.]]
Installing the CPU, and the CPU’s [[w:Heat sink|heat-sink]] and fan, are by far the most difficult steps you’ll have to complete during your build. Here, more than anywhere else, it will pay to read the instructions carefully, look at the parts, study the diagrams that came with your CPU and/or third party cooling solution, and make sure you thoroughly understand what you are going to do ''before you try to do it''. During the process, if anything does not seem to fit or make sense, put the parts down and look things over carefully before you proceed. Some operations, especially installing the heat-sink/fan combination, can require pretty firm pressure, so don’t be afraid to push a little harder if you’re sure everything is set up correctly.
The details of the installation process differ in slight but important ways for each manufacturer’s processors, and even within a manufacturer's product line. Therefore, for these details, you should rely on the instructions that are provided with the CPU.
The two things that go wrong the most often and most expensively (minimum of a killed CPU, sometimes more) in building one's own computer are both related to the CPU and its cooler:
#Switching the computer on "just to see if it works" before adding any CPU cooling unit. Without cooling, CPUs heat up at extreme rates (a CPU heats up anywhere between ten times and a thousand times as fast as a cooking area on your stove!) By the time you see the first display on the screen, your CPU will already be severely overheating and might be damaged beyond repair.
#Mounting the CPU cooler improperly. Read the instructions that came with your CPU and cooler very carefully and ensure you are using all components in the correct order and correct place.
If you buy a third party cooling solution for your CPU make sure you get one that is compatible with the CPU you have. "Compatibility" here just means, "Can you fit it in next to your RAM or whatever else is sticking up in the neighborhood." Most brands come with multiple mounting brackets that will suit many different chipsets, but it is best to check for compatibility just in case.
After the CPU is installed in the socket and secured in place, it's time to add thermal paste and then install the cooler. The plain metal back of the CPU, which is what you're now seeing, is exactly matched by the bottom plate of the cooler. You add thermal paste ''only'' on the CPU, ''never'' on the cooler's surface. Very little is needed. The two flat metallic surfaces will spread the paste between them, and it will spread a bit more when it becomes hot. (The cooler surface may have a protective piece of film over it; don't forget to remove it. But see below for the possibility of "thermal pad" being supplied, instead of paste. This is rare nowadays, but ''read the instructions.'') A pea-sized dot is the amount usually advised, though some people make a thin "X" on the CPU surface, and some draw a line. (There are numerous videos on Youtube advocating one or another, some with photos using glass plates.) Don't overdo—you don't want paste squeezing out the edges. Some people suggest spreading paste over the whole surface, then cleaning it off with a razor blade, then adding the pea. The idea is to close invisible imperfections in the metal. This is probably overkill, and involves extra handling of the CPU, never a good idea. Try not to touch the mating surfaces of the CPU and cooler—the oils from your skin will impede heat transfer. You should receive a tube or applicator of thermal paste in the CPU or cooler package. If you didn't, it's readily available, and in any event will come with instructions.
''See [http://www.arcticsilver.com/instructions.htm Arctic Silver Instructions] for more info on how to apply and remove thermal paste/grease. (It was written to be specifically for Arctic Silver paste, but the same techniques can be applied to other brands of thermal paste.)''
If using a thermal pad supplied with your cooler, make sure you remove any protective tape from the die just before installing and do not get it dirty - and do not combine thermal pads with thermal paste, it is either one or the other. Then, check that you install the cooler in the right orientation and that you set it flat on the CPU die without exerting undue pressure on any edges or corners - the latter can make small pieces of the die break off, killing the CPU.
One option you may consider, before installing the heat-sink, is to "lap" the heat-sink, which means to smooth out the bottom surface. To do this, you will need a very flat surface; a piece of thick window glass will work. Fasten your sandpaper on the flat surface, invert the heat-sink on the sandpaper and sand in small circles, applying minimum pressure. Check frequently and when you see a uniform pattern of scratches, switch to finer grained sandpaper (the numbers go up as the sandpaper is finer, so something such as 220 is coarse while 2000 will be very fine.) Remember that you are not trying to remove any material, just polish out surface irregularities. If you get it right, you should have a surface which feels completely smooth to the touch (but don’t touch it, the oil in your fingers can cause corrosion of the fresh surface) with a mirror finish. Some companies producing heat-sinks lap the surface themselves, so if the surface already looks like a perfect mirror, leave it alone. A lapped heat-sink is more effective as it will have better surface contact with the chip.
Tighten the cooler using only the specified holding devices - if you did everything right, they will fit. If they do not fit, check your setup - most likely something is wrong. After mounting the cooler, connect any power cables for the fan that is attached to the cooler.
As an aside to the instructions above, it has been my personal experience that fitting the CPU and heat sink is best done on a supportive surface (a telephone directory on a table in my case) prior to installation, to avoid excessive flexing of the motherboard.
A last note: if something goes wrong and the cooler has to be removed (like maybe you realize you didn't take the protective film off the cooler surface), the paste will have to be removed from the CPU for the restart. ''Don't panic!'' All it takes is a coffee filter (not paper towels or anything else that will leave fibers) and a little isopropyl alcohol (from the drugstore). Thermal paste removes easily with a little gentle rubbing. Work from the outside edge in.
If you've got the CPU and its cooler installed, and the motherboard in the case, you’re over the hump, there are just a few more easy pieces to go before that momentous first power-up.
=== ਮੈਮਰੀ ਸਲਾਟ ===
[[Image:DDR2_ram_mounted.jpg|thumb|left|upright=1.25|RAM module in a socket]]
Next, you will need to install your RAM (random access memory). Find the RAM slots on your motherboard; they will look something like the picture on your left. To install the RAM modules, first push on the levers (white plastic in the picture) on either side of the DIMM socket, so that they move to the sides. Do not force them, they should move fairly easily. <!--(They are the white 'handles' you see in the picture.)-->
Put the RAM module in the socket. Line up the notch in the center of the module with the small bump in the center of the RAM socket, making sure to insert it the right way. Push down on the module until both levers move up into the notches on the sides of the module. There should be a small "snap" when the module is fully seated. Although this does require a fair bit of force, do not overdo it or you may break the RAM module.
[[Image:RAM n.jpg|thumb|right|Different types of RAM modules]]
Take a good look at your seated RAM, if one side seems to be higher than the other, odds are it is improperly seated - take it out and try again. As you handle the RAM, try not to touch the copper stripes you can see along the bottom edge, as doing so is the best way to damage the part.
Start adding RAM at the slot labeled "Bank 0" or "DIMM 1". If you do not have a stick in "Bank 0" or "DIMM 1" the system will think there is no RAM and will not boot.
On newer motherboards with 4 slots, you'll see alternating colours. For example, slot 1 is blue, slot 2 is black, slot 3 is blue, slot 4 is black.
If you were to put 1 gigabyte of RAM in your personal computer, it is best to use dual channel 512MBx2 sticks. Put the first 512MB stick in '''slot 1''', and put the 2nd stick in '''slot 3''' (the two slots that are blue) - leaving slot 2 empty. This will give you better performance, vs. putting 1GB in slot 1, or two 512MB sticks in slot 1 and 2.
=== ਪਾਵਰ ਸਪਲਾਈ ===
ਪਾਵਰ ਸਪਲਾਈ ਦੀ ਸਥਾਪਨਾ ਬਹੁਤ ਸਪੱਸ਼ਟ ਹੈ, ਜੇ ਇਹ ਤੁਹਾਡੇ ਕੇਸ ਨਾਲ ਪਿਹਲਾਂ ਤੋ ਹੀ ਪਾਈ ਹੋਈ ਸੀ ਅਤੇ ਜੇ ਤੁਸੀਂ ਇਸ ਨੂੰ ਮਦਰਬੋਰਡ ਲਗਾਉਣ ਲਈ ਉਤਾਰ ਲਿਆ ਸੀ, ਫਿਰ ਹੁਣ ਇਸਨੂੰ ਵਾਪਸ ਲਗਾਉਣ ਦਾ ਸਮਾਂ ਹੈ। ਆਮ ਤੌਰ 'ਤੇ ਇੱਕ ਕੇਸ ਦੇ ਸਿਖਰ' ਤੇ ਇਕ ਬਰੈਕਟ ਹੋਵੇਗਾ ਜਿੱਥੇ ਪਾਵਰ ਸਪਲਾਈ ਮਾਊਂਟ ਕੀਤੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਕੁਝ ਸਕ੍ਰਿਊ ਇਸ ਨੂੰ ਠੀਕ ਤਰਾਂ ਲਗਾਉਣ ਲਈ ਵਰਤੇ ਜਾਂਦੇ ਹਨ। ਕੁਝ ਕੇਸ ਪਾਵਰ ਸਪਲਾਈ ਨੂੰ ਵੱਖਰੇ ਰੂਪ ਵਿੱਚ ਲਗਾਉਂਦੇ ਹਨ, ਕੇਸ ਨਾਲ ਆਏ ਦਸਤਾਵੇਜ਼ ਜਰੂਰ ਵੇਖੋ।
ਕੁਝ ਸਪਲਾਈ ਸਪਲਾਈ ਮੌਡਿਊਲਰ ਕੇਬਲ ਦੇ ਨਾਲ ਆਉਂਦੀ ਹੈ, ਇਸ ਲਈ ਤੁਸੀਂ ਸਿਰਫ਼ ਉਨ੍ਹਾਂ ਨੂੰ ਹੀ ਇਸਤੇਮਾਲ ਕਰ ਸਕਦੇ ਹੋ ਜਿਹਨਾਂ ਨੂੰ ਤੁਸੀਂ ਵਰਤਣਾ ਚਾਹੁੰਦੇ ਹੋ, ਹੁਣ ਇਹ ਪਤਾ ਲਗਾਉਣ ਦਾ ਵਧੀਆ ਸਮਾਂ ਹੈ ਕਿ ਤੁਹਾਨੂੰ ਕੀ ਚਾਹੀਦਾ ਹੈ ਅਤੇ ਉਹਨਾਂ ਨੂੰ ਪਲੱਗ ਵਿੱਚ ਲਗਾਓ। ਹੋਰ ਪਾਵਰ ਸਪਲਾਈ ਵਿੱਚ ਸਾਰੀਆਂ ਤਰਾਂ ਹਾਰਡਵਾਈਰਡ ਹੁੰਦੀਆਂ ਹਨ, ਤਸੀਂ ਉਨ੍ਹਾਂ ਨੂੰ ਬਾਹਰ ਕੱਢਣਾ ਚਾਹੋਗੇ ਜਿਨ੍ਹਾਂ ਦੀ ਤੁਹਾਨੂੰ ਜ਼ਰੂਰਤ ਹੋਵੇਗੀ ਅਤੇ ਬਾਕੀ ਬਚੀਆਂ ਹੋਈਆਂ ਨੂੰ ਕਿਸੇ ਵੀ ਤਰੀਕੇ ਨਾਲ ਕੁਸ਼ਲਤਾ ਨਾਲ ਕੋਇਲ ਕਰੋ।
ਜੇ ਤੁਹਾਡੀ ਬਿਜਲੀ ਸਪਲਾਈ ਵਿੱਚ 115v ਜਾਂ 220v ਦੀ ਚੋਣ ਕਰਨ ਲਈ ਇੱਕ ਸਵਿੱਚ ਹੈ ਤਾਂ ਇਹ ਯਕੀਨੀ ਬਣਾਓ ਕਿ ਇਹ ਸਹੀ ਢੰਗ ਨਾਲ ਸੈੱਟ ਕੀਤਾ ਗਿਆ ਹੈ, ਇਹ ਮਹੱਤਵਪੂਰਨ ਹੈ। ਕਈ ਨਵੀਆਂ ਪਾਵਰ ਸਪਲਾਈ ਆਪ ਹੀ ਚੁਣ ਲੈਂਦੀਆਂ ਹੈ ਅਤੇ ਅਜਿਹੀ ਕੋਈ ਸਵਿੱਚ ਨਹੀਂ ਹੁੰਦੀ।
ਇੱਕ ਵਾਰ ਜਦੋਂ ਤੁਸੀਂ ਪਾਵਰ ਸਪਲਾਈ ਨੂੰ ਪ੍ਰਾਪਤ ਕਰਦੇ ਹੋ ਤਾਂ ਯਕੀਨੀ ਬਣਾਓ ਕਿ ਤੁਸੀਂ ਪਾਵਰ ਸਾਕਟਾਂ ਦੇ ਸਥਾਨ ਲਈ ਮਦਰਬੋਰਡ ਦਸਤਾਵੇਜ਼ ਦੀ ਧਿਆਨ ਨਾਲ ਜਾਂਚ ਕੀਤੀ ਹੈ ਜਾ ਨਹੀਂ। ਫਿਰ ਤੁਸੀਂ ਮੁੱਖ ਪਾਵਰ, 20 ਜਾਂ 24 ਪਿਨ ਪਲੱਗ ਨੂੰ ਮਦਰਬੋਰਡ ਵਿਚ ਜੋੜ ਸਕਦੇ ਹੋ। ਇੱਥੇ ਵਾਧੂ ਚਾਰ ਜਾਂ ਅੱਠ ਪਿੰਨ ਦੀ ਪਾਵਰ ਲੀਡ ਵੀ ਹੋ ਸਕਦੀ ਹੈ ਜਿਸ ਨੂੰ ਮਦਰਬੋਰਡ (ਸੀਪੀਯੂ ਪਾਵਰ ਕਨੈਕਟਰ) ਵਿੱਚ ਜੋੜਨ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ ਜੋ ਆਮ ਤੌਰ 'ਤੇ ਪ੍ਰੋਸੈਸਰ ਸਾਕਟ ਦੇ ਕੋਲ ਸਥਿਤ ਹੁੰਦੀ ਹੈ।
=== ਗ੍ਰਾਫਿਕ ਕਾਰਡ ===
[[Image:Fitting-expansion-card.JPG|thumb|right|upright=1.25|Insert the card into a matching slot on the motherboard.]]
ਜੇ ਤੁਹਾਡੇ ਮਦਰਬੋਰਡ ਵਿੱਚ ਪਿਹਲਾਂ ਤੋਂ ਹੀ ਗ੍ਰਾਫਿਕ ਮੈਮਰੀ ਹਾਈ ਤਾਂ, ਇਸ ਭਾਗ ਨੂੰ ਛੱਡ ਦੇਵੋ।
If you have an AGP video card:
Install the video card into the AGP socket. This is always the top expansion slot near the back of the computer. AGP slots are often brown, but can also be strange colours such as fluorescent green. Check the motherboard for levers (or similar devices) that are part of the AGP slot to help hold the card in place. These must be retracted before insertion of the card. Check the motherboard's manual for information on how to use these devices (if your motherboard has one.) Push the card into the socket (AGP slots are often pretty tight, do not be afraid to push it until it is well inserted), then screw it in at the top of the metal bracket. If it has a power connector, connect it to a 4-pin molex connector. If it has a pass through, do not connect it to a hard drive.
If you have a PCI Express video card, install it the same way as an AGP video card, however the slot where it goes looks a little different having an extra spot on the slot as opposed to the 2 slot parts on an AGP slot. PCI Express slots used for video cards are commonly 16x as opposed to AGP 8x.
When your card is properly installed the line formed by the top of the card will be exactly parallel to the motherboard, if one side seems to be higher than the other, chances are that it is not fully inserted, press a little harder on the high side or pull it out and try again.
=== ਡਰਾਈਵ ਜੰਮਪਰਾਂ ਦੀ ਇੰਸਟਾਲੇਸ਼ਨ ===
[[Image:P-ata_and_80pin-cable.jpg|thumb|right|upright=1.25|The drive jumpers are in the middle (between the connector for the cable and the power connector) but the location may vary.]]
If you are using SATA drives there is no need to adjust jumpers—you can skip this section.
Before you install IDE/ATA (PATA) drives, you will need to set the drives jumpers.
Each IDE/ATA channel can handle two drives, a master and a slave.
Consult your drive's instructions on how to set the jumpers. The jumper configurations are usually either printed on the back, or on the top of the drive. Drives can be configured in 2 ways: Drive Select or Cable Select.
[[Image:Jumper_(comp)_ubt.jpeg|thumb|left|upright|A jumper]]
* "Cable select": Use this if you have 80-pin cables. Cable select automatically assigns slave/master based on the plug on the IDE cable the drive is plugged into. Put the jumper on CS.
* "Drive select": If you are using a 40 pin cable, you must use "drive select". Master/slave status is determined by the jumper. In this mode, configure the drive on the end connector as the master, and the drive connected to the middle connector as the slave. If the IDE channel has only one drive, check your motherboard documentation for the appropriate setting, which is usually master.
Note that Drive Select will always work, while Cable Select will only work if you have the proper cable.
=== ਡਰਾਇਵਰਾਂ ਦੀ ਇੰਸਟਾਲੇਸ਼ਨ ===
Next install the hard drive and optical drives.
How a drive is physically installed will depend on the case.
[[Image:SATA_Data_Cable.jpg|thumb|right|upright|A Serial ATA connector]]
[[Image:Floppy Drive Cable-1.jpg|thumb|left|upright|Floppy Disk Drive Cable]]
Most new drives are SATA (Serial ATA) which use simple, small cables for a data connection. The ends of the cables are L shaped, just look carefully at the cable ends and the connector on the drive and match them up. Only one drive can be connected to each SATA port on the motherboard. Some SATA drives have two different power ports - make sure you connect ONLY ONE of these ports to the power supply, connecting both can damage the drive.
Older drives have PATA (Parallel ATA) connections which use a flat ribbon (IDE) cable for data connection. When using an IDE cable, plug the two connectors that are closer together into the 2 drives, and the third to the controller or motherboard. The connector furthest from the board should be attached to the drive set as Master. Make sure the drive that you will install your OS on is the primary master. This is the master drive on the Primary IDE bus which is usually the IDE 40 pin port on the motherboard labeled “Primary” or “IDE 1”..
{{NOTE|IDE connectors are often keyed, as to prevent inserting them backwards. It does not take much force to bypass this and possibly ruin your motherboard. Look carefully at the drive and the cable connection before you try to connect them. You should see a "missing" pin on the drive, and a corresponding blocked socket on the connector. If you break a pin on the drive, you will probably have a worthless drive.
Most parallel IDE cables have a colored stripe down one side. That colored stripe signifies "pin 1" - and usually will line up next to the molex power connection on your drive. Use this rule of thumb if your connectors are not keyed.}}
Next, plug a 4 pin molex power connector into each hard drive and optical drive. If you are installing the power connector to a SATA drive, some drives have the option of using either the SATA power connector (a flat about 1" wide connector) or the standard molex connector; use one or the other, ''not both''. Connecting both can break your hard drive. For better data transfer, you can purchase heat-protected high-end data cables at your nearest electronics store.
If you install a floppy disk drive, the cable is very similar to the IDE cable, but with fewer wires, and a strange little twist in the middle. Floppy drives do not have master/slave configurations. The floppy disk connector is not usually keyed, making it all too easy to plug it in the wrong way! One wire in the IDE cable will be colored differently: this is pin 1. There is usually some indication on the floppy drive as to which side this is. The power plug for a floppy is 4 pins in a line, but rather smaller than the standard hard drive power connector. Plug the end of the cable with the twist into the floppy drive ("drive A:"). Plug the other end of the floppy ribbon cable into the motherboard. If you install a second floppy drives, plug the middle connector into "drive B:". The twist between drive A: (on the end) and drive B (in the middle) helps the computer distinguish between them.<ref>[http://www.pcguide.com/ref/fdd/confCable-c.html PC Guide]</ref>
=== ਹੋਰ ਕੁਨੈਕਸ਼ਨ ===
[[Image:Mainboard_pins.png|thumb|right|upright=1.25|Some cables are attached to pins on a board (e.g. motherboard or extension card)]]
In order to turn the computer on, you will need to connect the power button and while you are at it, you might as well do the reset buttons and front panel lights as well.
There will be a set of pins, usually near the front edge of the motherboard to which you will attach the cables sometimes already connected to the front of the case, or if needed supplied with the motherboard. Most of the time the plugs will be labeled as the pins they will connect to in the motherboard, there they can be difficult to read since the print is very small or you may not be in the right orientation to do so. The documentation that came with your case and motherboard should tell where these connectors are.
{{NOTE|The front panel LEDs are polarized: usually the positive wire is a color while the negative wire is white or black, this may be important if you have to do alterations or do not have the proper cables.}}
In addition, you can connect any case-specific ports if they are supported by the motherboard. Many cases have front mounted USB, Firewire and/or sound ports.
{{DecoratedTextBox|image=Bulbgraph.png|
Other connections of this type to remember can be power for the CPU fans, various temperature sensors and [[w:Wake-on-LAN|Wake-on-LAN]] cables (if the feature is supported) from the network card to the motherboard.
}}
=== ਬਿਜਲੀ ਦੇਣ ਦੇ ਲਈ ਤਿਆਰੀ ===
Some people will put power to a system several times during assembly and for experienced builders this may serve some purpose. For first timers though, it’s best to assemble a minimal complete system before powering up. Minimal because that way there are comparatively few potential sources of trouble, complete so that you can test everything at once and because the fewer times you have to put power to an open machine, the better..
If you’ve been working along with us you should now have such a minimal system put together. Briefly this includes a case with a motherboard in it, a processor (and its cooling unit) and some RAM plugged into the motherboard, hard and floppy drives installed, and some kind of video available. If your motherboard has built-in video, you might want to use that for this first try, even if you are going to install a video card later.
For this test, you’ll want to have the computer open, so that you can see all of the fans, and you’ll need to connect a monitor and a keyboard and a mouse (OK, you don’t really need the mouse . . .)
[[File:Connection screen.jpg|thumb|Comparison of VGA, DVI and HDMI]]
Monitors will either have a VGA, DVI, or a new HDMI plug (see picture, as they are a lot less apparent than PS/2 / USB by comparison). Most monitors use VGA connectors, and so most graphics cards have VGA output. If you have one type of plug and the graphics card has another, you can easily buy an adapter. Some cards even come with one.
There are two standard connectors for mice and keyboards; PS/2 connectors and the more modern USB connectors. Plug the mouse and keyboard in the appropriate slot.
Note: If you intend to install an operating system from a boot CD or floppy, or modify BIOS settings you will need to use either a PS/2 keyboard, a USB to PS/2 converter, or a motherboard that supports USB devices. Otherwise your keyboard will not work until the operating system has loaded USB drivers.
Once you have this all set up, it’s time to double check, then triple check that you have made all the necessary connections and that you haven’t left any foreign objects (where’s that screwdriver?) in the case.
== ਬਿਜਲੀ ਦੇਣ ਦਾ ਕਾਰਜ ==
Take a moment to check one more time that everything is as it should be. Make sure you've removed your wrist strap, turn on the monitor, then press the power button, and observe the inside of the open machine. (''Do not touch any part of the inside of the machine while it is powered up – you will NOT die but your computer might.'') The first thing to look for is that the CPU cooler fan spins up, if it does not, cut the power immediately. This fan should start up right away; something is wrong if it doesn’t and your CPU is in danger of overheating so stop now and troubleshoot.
'''ਨੋਟ:''' If you have a Gigabyte brand motherboard, the CPU fan may twitch and stop turning. Wait 10–15 seconds and it should start. If it does not, there is a problem and you should immediately cut power as stated above. Other fans such as case fans should turn on and spin.
If the CPU fan spins up, check that all the other fans that should be spinning – case fans and fans on the power supply and video card (if installed) are also spinning. Some of these fans may not spin up until a temperature threshold is passed, check your documentation if anything is not spinning.
If the fans spin, you can turn your attention to the monitor, what you are hoping to see is the motherboard’s splash-screen, usually featuring the manufacturer’s logo. If you see this, take a moment to bask in the glow, you’ve built a computer!
If this happy event does not occur, if smoke appears, or if the computer does not do anything, unplug the power cord immediately and check the steps above to make sure you have not missed anything. Give special attention to the cables and power connections. If the computer does appear to come on, but, you hear beeps, listen carefully to the beeps, turn the computer off, and refer to your motherboard's manual for the meaning of the beeps. Some boards have an optional diagnostic device, usually a collection of LEDs, which when properly plugged in will inform you of the nature of the problem. Instructions for installing this as well as the meaning of its display should be in the manual for the motherboard. If the computer turns on but the only thing that comes on is your power supply, turn it off. This probably means something is shorted, and leaving it on could damage the parts.
If all is well it is time to turn the computer off, and close it up. Then you may want to turn it on again and set certain options in the Computer's BIOS (usually by pressing 'F1' or 'Del' a few seconds after boot.) These options will be explained in the motherboard manual. In general, the default options are OK, but you may wish to set the computer's hardware clock to the correct time and date. The BIOS is also where you determine the default boot order of the system, typically Floppy, then CD-ROM, then Hard Disc.
If you want a further quick test, before you install an operating system, you may find a bootable CD-ROM such as [http://www.knoppix.net Knoppix] extremely useful.
== ਵਧੀਕ ਹਾਰਡਵੇਅਰ ਅਤੇ ਪੈਰੀਫਿਰਲ ==
ਹੁਣ ਜਦੋਂ ਤੁਸੀਂ ਕੰਪਿਊਟਰ ਦੇ ਹਿਸਿਆਂ ਨੂੰ ਅਸੈਮਬਲ ਕਰ ਲਿਆ ਹੈ ਇਸਤੋ ਬਾਅਦ ਦਾ ਕੰਮ ਉਸ ਵਿੱਚ ਓਪੇਰਾਟਿੰਗ ਸਿਸਟਮ ਇੰਸਟਾਲ ਕਰਨ ਦਾ ਹੈ, ਜੋ ਕੀ ਇਸ ਕਿਤਾਬ ਤੇ ਅਗਲੇ ਭਾਗ (ਸਾਫਟਵੇਅਰ) ਵਿੱਚ ਦੱਸਿਆ ਗਿਆ ਹੈ। ਓਪੇਰਾਟਿੰਗ ਸਿਸਟਮ ਨੂੰ ਇੰਸਟਾਲ ਕਰਨ ਤੋਂ ਪਿਹਲਾਂ ਇਹ ਚੰਗਾ ਰਹੇਗਾ ਕਿ ਤੁਸੀਂ ਵਧੀਕ ਹਾਰਡਵੇਅਰ ਅਤੇ ਕੰਪਿਊਟਰ ਪੈਰੀਫਿਰਲਾਂ (ਜਿਵੇਂ ਕਿ ਸਾਉਂਡ ਕਾਰਡ, ਮੌਡਮ, ਗ੍ਰਾਫਿਕ ਕਾਰਡ ਪ੍ਰਿੰਟਰ, ਜੁਆਏਸਟਿਕ, ਆਦਿ) ਨੂੰ ਕੰਪਿਊਟਰ ਨਾਲ ਨਾ ਜੋੜੋ। ਇਹਨਾਂ ਨੂੰ ਓਪੇਰਾਟਿੰਗ ਸਿਸਟਮ ਦੇ ਇੰਸਟਾਲ ਹੋਣ ਤੋਂ ਬਾਅਦ ਵਿੱਚ ਹੀ ਲਗਾਓ।
== ਹਵਾਲੇ ==
{{ਹਵਾਲੇ}}
suxx7fl0xzrsuhiossl9l5yq0hn7lpk
ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਾਫਟਵੇਅਰ
0
2566
4655
2016-01-19T12:29:13Z
Baljeet Bilaspur
1273
"{{ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਾਫਟਵੇਅਰ}}" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਾਫਟਵੇਅਰ}}
nzaodb5krmq1nu9vi3875i8nbi8wjxp
ਫਰਮਾ:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਮੱਗਰੀ
10
2567
4656
2016-01-20T02:02:58Z
Baljeet Bilaspur
1273
"<div class="noprint"> {| width="80%" cellspacing="0" class="top" align="center" |style="background-color: #efffef; border: 1px solid #bafaba; padding:..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="noprint">
{| width="80%" cellspacing="0" class="top" align="center"
|style="background-color: #efffef; border: 1px solid #bafaba; padding: 0px; font-size: small; text-align: center;" valign=top|
<font size="+1">[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ]]</font>
----
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ|ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ]] · [[:Media:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ.pdf|PDF ਸੰਸਕਰਣ]] ·{{navbar|ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਮੱਗਰੀ|nodiv=1}}
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ|ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਅਸੈਮਬਲੀ|ਅਸੈਮਬਲੀ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਾਫਟਵੇਅਰ|ਸਾਫਟਵੇਅਰ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਓਵਰਕਲਾਕਿੰਗ|ਓਵਰਕਲਾਕਿੰਗ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ|ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਿੱਟਾ|ਸਿੱਟਾ]]
|}</div><includeonly>{{BookCat}}</includeonly><noinclude>
[[Category:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ| ]]</noinclude>
7rrlvsk474gtg48qdih6tveazj8jnv9
ਫਰਮਾ:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਾਫਟਵੇਅਰ
10
2568
4659
2016-01-20T02:06:59Z
Baljeet Bilaspur
1273
"<div class="noprint"> {| width="80%" cellspacing="0" class="top" align="center" |style="background-color: #efffef; border: 1px solid #bafaba; padding:..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="noprint">
{| width="80%" cellspacing="0" class="top" align="center"
|style="background-color: #efffef; border: 1px solid #bafaba; padding: 0px; font-size: small; text-align: center;" valign=top|
<font size="+1">[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ]]</font>
----
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ|ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ]] · [[:Media:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ.pdf|PDF ਸੰਸਕਰਣ]] ·{{navbar|ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਮੱਗਰੀ|nodiv=1}}
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ|ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਅਸੈਮਬਲੀ|ਅਸੈਮਬਲੀ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਾਫਟਵੇਅਰ|ਸਾਫਟਵੇਅਰ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਓਵਰਕਲਾਕਿੰਗ|ਓਵਰਕਲਾਕਿੰਗ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ|ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਿੱਟਾ|ਸਿੱਟਾ]]
|}</div><includeonly>{{BookCat}}</includeonly><noinclude>
[[Category:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ| ]]</noinclude>
7rrlvsk474gtg48qdih6tveazj8jnv9
ਫਰਮਾ:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਅਸੈਮਬਲੀ
10
2569
4728
4660
2016-02-06T11:46:05Z
Baljeet Bilaspur
1273
wikitext
text/x-wiki
<div class="noprint">
{| width="80%" cellspacing="0" class="top" align="center"
|style="background-color: #efffef; border: 1px solid #bafaba; padding: 0px; font-size: small; text-align: center;" valign=top|
<font size="+1">[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ]]</font>
----
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ|ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ]] · [[:Media:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ.pdf|ਪੀਡੀਐਫ ਸੰਸਕਰਣ]] ·{{navbar|ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਮੱਗਰੀ|nodiv=1}}
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ|ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਅਸੈਮਬਲੀ|ਅਸੈਮਬਲੀ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਾਫਟਵੇਅਰ|ਸਾਫਟਵੇਅਰ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਓਵਰਕਲਾਕਿੰਗ|ਓਵਰਕਲਾਕਿੰਗ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ|ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਿੱਟਾ|ਸਿੱਟਾ]]
|}</div><includeonly>{{BookCat}}</includeonly><noinclude>
[[Category:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ| ]]</noinclude>
gxtjzmx532cqthfaxu2mm2bs5byaqdy
ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਓਵਰਕਲਾਕਿੰਗ
0
2570
4661
2016-01-20T02:10:26Z
Baljeet Bilaspur
1273
"{{ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਓਵਰਕਲਾਕਿੰਗ}}" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਓਵਰਕਲਾਕਿੰਗ}}
m7dzj9x5n8blmd12xud5t25c8kdfz8y
ਫਰਮਾ:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਓਵਰਕਲਾਕਿੰਗ
10
2571
4662
2016-01-20T02:10:45Z
Baljeet Bilaspur
1273
"<div class="noprint"> {| width="80%" cellspacing="0" class="top" align="center" |style="background-color: #efffef; border: 1px solid #bafaba; padding:..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="noprint">
{| width="80%" cellspacing="0" class="top" align="center"
|style="background-color: #efffef; border: 1px solid #bafaba; padding: 0px; font-size: small; text-align: center;" valign=top|
<font size="+1">[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ]]</font>
----
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ|ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ]] · [[:Media:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ.pdf|PDF ਸੰਸਕਰਣ]] ·{{navbar|ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਮੱਗਰੀ|nodiv=1}}
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ|ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਅਸੈਮਬਲੀ|ਅਸੈਮਬਲੀ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਾਫਟਵੇਅਰ|ਸਾਫਟਵੇਅਰ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਓਵਰਕਲਾਕਿੰਗ|ਓਵਰਕਲਾਕਿੰਗ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ|ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਿੱਟਾ|ਸਿੱਟਾ]]
|}</div><includeonly>{{BookCat}}</includeonly><noinclude>
[[Category:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ| ]]</noinclude>
7rrlvsk474gtg48qdih6tveazj8jnv9
ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ
0
2572
4663
2016-01-20T02:11:08Z
Baljeet Bilaspur
1273
"{{ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ}}
liykg1vnqd5usoxz73qludygt9us816
ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਿੱਟਾ
0
2573
4664
2016-01-20T02:11:25Z
Baljeet Bilaspur
1273
"{{ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਿੱਟਾ}}" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਿੱਟਾ}}
qorlg0muauyv9imz1klrasded7zalz1
ਫਰਮਾ:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ
10
2574
4665
2016-01-20T02:12:13Z
Baljeet Bilaspur
1273
"<div class="noprint"> {| width="80%" cellspacing="0" class="top" align="center" |style="background-color: #efffef; border: 1px solid #bafaba; padding:..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="noprint">
{| width="80%" cellspacing="0" class="top" align="center"
|style="background-color: #efffef; border: 1px solid #bafaba; padding: 0px; font-size: small; text-align: center;" valign=top|
<font size="+1">[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ]]</font>
----
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ|ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ]] · [[:Media:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ.pdf|PDF ਸੰਸਕਰਣ]] ·{{navbar|ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਮੱਗਰੀ|nodiv=1}}
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ|ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਅਸੈਮਬਲੀ|ਅਸੈਮਬਲੀ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਾਫਟਵੇਅਰ|ਸਾਫਟਵੇਅਰ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਓਵਰਕਲਾਕਿੰਗ|ਓਵਰਕਲਾਕਿੰਗ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ|ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਿੱਟਾ|ਸਿੱਟਾ]]
|}</div><includeonly>{{BookCat}}</includeonly><noinclude>
[[Category:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ| ]]</noinclude>
7rrlvsk474gtg48qdih6tveazj8jnv9
ਫਰਮਾ:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਿੱਟਾ
10
2575
4666
2016-01-20T02:12:17Z
Baljeet Bilaspur
1273
"<div class="noprint"> {| width="80%" cellspacing="0" class="top" align="center" |style="background-color: #efffef; border: 1px solid #bafaba; padding:..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="noprint">
{| width="80%" cellspacing="0" class="top" align="center"
|style="background-color: #efffef; border: 1px solid #bafaba; padding: 0px; font-size: small; text-align: center;" valign=top|
<font size="+1">[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ]]</font>
----
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ|ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ]] · [[:Media:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ.pdf|PDF ਸੰਸਕਰਣ]] ·{{navbar|ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਮੱਗਰੀ|nodiv=1}}
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ|ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਅਸੈਮਬਲੀ|ਅਸੈਮਬਲੀ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਾਫਟਵੇਅਰ|ਸਾਫਟਵੇਅਰ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਓਵਰਕਲਾਕਿੰਗ|ਓਵਰਕਲਾਕਿੰਗ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ|ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਿੱਟਾ|ਸਿੱਟਾ]]
|}</div><includeonly>{{BookCat}}</includeonly><noinclude>
[[Category:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ| ]]</noinclude>
7rrlvsk474gtg48qdih6tveazj8jnv9
ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ-ਚਪੀਤਾ ਬਣਾਉਣਾ
0
2576
4667
2016-01-20T02:52:23Z
Baljeet Bilaspur
1273
"{{ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ-ਚਪੀ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ-ਚਪੀਤਾ ਬਣਾਉਣਾ}}
2xgn4rg2dp2f7wmbnhbfxtwehmjbvx4
ਫਰਮਾ:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ-ਚਪੀਤਾ ਬਣਾਉਣਾ
10
2577
4668
2016-01-20T02:53:03Z
Baljeet Bilaspur
1273
"<div class="noprint"> {| width="80%" cellspacing="0" class="top" align="center" |style="background-color: #efffef; border: 1px solid #bafaba; padding:..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="noprint">
{| width="80%" cellspacing="0" class="top" align="center"
|style="background-color: #efffef; border: 1px solid #bafaba; padding: 0px; font-size: small; text-align: center;" valign=top|
<font size="+1">[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ]]</font>
----
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ|ਛਾਪਨਯੋਗ ਸੰਸਕਰਣ]] · [[:Media:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ.pdf|PDF ਸੰਸਕਰਣ]] ·{{navbar|ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਮੱਗਰੀ|nodiv=1}}
[[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ|ਹਿੱਸਿਆਂ ਦੀ ਚੋਣ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਅਸੈਮਬਲੀ|ਅਸੈਮਬਲੀ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਾਫਟਵੇਅਰ|ਸਾਫਟਵੇਅਰ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਓਵਰਕਲਾਕਿੰਗ|ਓਵਰਕਲਾਕਿੰਗ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ|ਕੰਪਿਊਟਰ ਨੂੰ ਚੁੱਪ ਚਪੀਤਾ ਬਣਾਉਣਾ]] · [[ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ/ਸਿੱਟਾ|ਸਿੱਟਾ]]
|}</div><includeonly>{{BookCat}}</includeonly><noinclude>
[[Category:ਕੰਪਿਊਟਰ ਨੂੰ ਅਸੈਮਬਲ ਕਿਵੇਂ ਕੀਤਾ ਜਾਵੇ| ]]</noinclude>
7rrlvsk474gtg48qdih6tveazj8jnv9
ਫਰਮਾ:ਹਵਾਲੇ
10
2578
4680
4678
2016-01-20T11:54:49Z
Baljeet Bilaspur
1273
wikitext
text/x-wiki
<div class="reflist {{#if:{{{1|}}}|{{#iferror:{{#ifexpr:{{{1|1}}} > 1}}
|references-column-width
|references-column-count references-column-count-{{#if:1|{{{1}}}}}}}|{{#if: {{{colwidth|}}}|references-column-width}}}}" style=" {{#if:{{{1|}}}|{{#iferror:{{#ifexpr:{{{1|1}}} > 1}}
|{{column-width|{{#if:1|{{{1}}}}}}}
|{{column-count|{{#if:1|{{{1}}}}}}}}}
|{{#if:{{{colwidth|}}}
|{{column-width|{{{colwidth}}}}}}}}} list-style-type: {{{liststyle|{{#switch:{{{group|}}}
|upper-alpha
|upper-roman
|lower-alpha
|lower-greek
|lower-roman = {{{group}}}
|#default = decimal}}}}};">
{{#tag:references|{{{refs|}}}|group={{{group|}}}}}</div>
rnepv8jtl3e88ea1klrjg1n54wq2qlu
ਫਰਮਾ:Chapter navigation
10
2579
4679
2016-01-20T11:53:26Z
Baljeet Bilaspur
1273
"<includeonly><span id="top-navigation" class="noprint" {{#ifeq:{{SUBPAGENAME}}|Print version| style="display: none;"}}><!-- -->{{#if:{{{1|}}}|← ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><span id="top-navigation" class="noprint" {{#ifeq:{{SUBPAGENAME}}|Print version| style="display: none;"}}><!--
-->{{#if:{{{1|}}}|← [[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1}}}|{{{1}}}]] }}<!--
-->{{#if:{{{1|}}}|{{#if:{{{2|}}}| · }}}}<!--
-->{{#if:{{{2|}}}| [[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{2}}}|{{{2}}}]] →}}</span><!--
--><div id="bottom-navigation" style="float: none; text-align: center; {{#ifeq:{{SUBPAGENAME}}|Print version|display: none;}}" class="noprint"><!--
--><span style="border-top: 1px solid rgb(170, 170, 170);"><!--
-->{{#if:{{{1|}}}|← [[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1}}}|{{{1}}}]] · }}<!--
-->'''[[{{NAMESPACE}}:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]'''<!--
-->{{#if:{{{2|}}}| · [[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{2}}}|{{{2}}}]] →}}<!--
--></span></div><!--
-->{{DEFAULTSORT:{{SUBPAGENAME}}}}[[Category:{{{3|{{BASEPAGENAME}}}}}]]</includeonly><noinclude>{{documentation}}</noinclude>
fg0n1i7m9aty00t5rzwpsp2c42fazdy
ਸੱਤ ਬਗਾਨੇ
0
2581
4950
4693
2019-05-07T11:20:51Z
Mulkh Singh
1512
wikitext
text/x-wiki
'''ਸੱਤ ਬਗਾਨੇ''' ਪੰਜਾਬੀ ਨਾਟਕਕਾਰ [[ਅਜਮੇਰ ਸਿੰਘ ਔਲਖ]] ਦੁਆਰਾ [[1988]] ਵਿੱਚ ਲਿਖਿਆ ਇੱਕ [[ਨਾਟਕ]] ਹੈ।<ref>[http://www.ajmeraulakh.in/Nat_Rachna.html ਅਜਮੇਰਔਲਖ.ਇਨ ਨਾਟ ਰਚਨਾ]</ref> ਇਹ ਨਾਟਕ [[ਮਾਲਵਾ|ਮਾਲਵੇ]] ਦੀ ਨਿਮਨ ਕਿਸਾਨੀ ਦੀ ਤ੍ਰਾਸਦੀ ਦੇ ਆਰਥਿਕ, ਸਮਾਜੀ, ਰਾਜਸੀ ਅਤੇ ਮਾਨਸਿਕ ਪਰਿਪੇਖ ਪੇਸ਼ ਕਰਦਾ ਹੈ। ਇਸ ਵਿੱਚ ਔਰਤ ਦੀ ਤ੍ਰਾਸਦੀ ਵੀ ਪੇਸ਼ ਹੁੰਦੀ ਹੈ। ਜੈ ਕੁਰ ਨੂੰ ਆਪਣੇ ਦਿਓਰ ਨਾਲ ਸਬੰਧ ਬਣਾਉਣੇ ਪੈਂਦੇ ਹਨ ਤਾਂ ਕਿ ਉਹਦੇ ਪੁੱਤਾਂ ਦੀ ਜ਼ਮੀਨ ਵੰਡੀ ਨਾ ਜਾਵੇ। ਜਦ ਸ਼ਰੀਕੇਬਾਜ਼ ਭੰਗੇ ਨੂੰ ਭੜਕਾ ਦਿੰਦੇ ਹਨ ਤਾਂ ਭੰਗਾ ਅੱਡ ਹੋ ਜਾਂਦਾ ਹੈ ਅਤੇ ਇਸ ਦੁੱਖ ਨਾਲ ਜੈ ਕੁਰ ਮਰ ਜਾਂਦੀ ਹੈ।
ਇਹ ਨਾਟਕ ਅਜਮੇਰ ਸਿੰਘ ਔਲਖ ਦੇ ਇਕਾਂਗੀ ਨਾਟਕ [[ਤੂੜੀ ਵਾਲਾ ਕੋਠਾ]] ਦਾ ਵਿਸਥਾਰ ਹੈ।
==ਕਥਾਨਕ==
ਇਸ ਨਾਟਕ ਨੂੰ ਕੁੱਲ ਤਿੰਨ ਐਕਟ ਅਤੇ 8 ਝਾਕੀਆਂ ਵਿੱਚ ਵੰਡਿਆ ਗਿਆ ਹੈ।
*ਐਕਟ ਪਹਿਲਾ - 5 ਝਾਕੀਆਂ
*ਐਕਟ ਦੂਜਾ - 2 ਝਾਕੀਆਂ
*ਐਕਟ ਤੀਜਾ - 1 ਝਾਕੀ
[[ਐਪਿਕ ਥੀਏਟਰ]] ਦਾ ਪ੍ਰਭਾਵ ਸਿਰਜਣ ਲਈ ਨਾਟਕਕਾਰ ਨੇ ਹਰ ਝਾਕੀ ਦੇ ਅੰਤ ਵਿੱਚ ਬੋਲੀਆਂ ਪਾਉਂਦੇ ਦੋ ਗੱਭਰੂ ਵਰਤੇ ਹਨ।
==ਪਾਤਰ==
ਇਸ ਨਾਟਕ ਦੇ ਸਾਰੇ ਹੀ ਪਾਤਰ ਮਾਲਵੇ ਦੀ ਨਿਮਨ ਕਿਸਾਨੀ ਨਾਲ ਸਬੰਧਿਤ ਹਨ ਅਤੇ ਇਹਨਾਂ ਦੀ ਭਾਸ਼ਾ ਵੀ ਠੇਠ ਮਲਵਈ ਹੈ।
ਜੈ ਕੁਰ, ਬਚਨਾ, ਭੰਗਾ, ਨਾਹਰੀ, ਮਿੰਦੋ, ਕਰਮਾ, ਧਰਮਾ, ਧਿੰਦੀ, ਘੋਗਾ, ਚੰਦੂ ਚੁਗਲ, ਲੱਕੜਚੱਬ, ਮਰਾਝੋ, ਬਲਵੰਤ, ਇੰਦਰ, ਦੋ ਸੂਤਰਧਾਰ ਗੱਭਰੂ, ਪੁਲਿਸ - ਇੱਕ ਥਾਣੇਦਾਰ, ਇੱਕ ਹੌਲਦਾਰ, ਦੋ ਸਿਪਾਹੀ।<ref>ਅਜਮੇਰ ਸਿੰਘ ਔਲਖ, ਸੱਤ ਬਗਾਨੇ, 2011, ਲੋਕਗੀਤ ਪ੍ਰਕਾਸ਼ਨ, xvi</ref>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
3bfpw8v45hwq6g1hxzcvbvfp5jqgtxa
ਲੋਹਾ ਕੁੱਟ
0
2582
4954
4786
2019-05-07T11:34:09Z
Mulkh Singh
1512
wikitext
text/x-wiki
'''ਲੋਹਾ ਕੁੱਟ''' ਬਲਵੰਤ ਗਾਰਗੀ ਦਾ ਲਿਖਿਆ ਅਤੇ 1944 ਵਿੱਚ ਛਪਿਆ ਪੰਜਾਬੀ ਦਾ ਪੂਰਾ ਨਾਟਕ ਹੈ। ਬਲਵੰਤ ਗਾਰਗੀ ਨੇ ਆਪਣਾ ਇਹ ਪਹਿਲਾ<ref name="aj">{{cite web | url=http://www.ajitjalandhar.com/20120328/mags/magazine1.htm | title=ਕਿੱਥੇ ਕੁ ਪੁੱਜਾ ਹੈ ਸਾਡਾ ਪੰਜਾਬੀ ਰੰਗਮੰਚ? | publisher=[[ਰੋਜ਼ਾਨਾ ਅਜੀਤ]] | date=ਮਾਰਚ 28, 2012 | accessdate=ਨਵੰਬਰ 14, 2012}}</ref> ਨਾਟਕ ਪ੍ਰੀਤ ਨਗਰ ਵਿੱਚ ਬੈਠ ਕੇ ਲਿਖਿਆ ਅਤੇ ਉਥੇ ਹੀ ਤਾਲਾਬ ਵਿੱਚ ਬਣਾਏ ਓਪਨ ਏਅਰ ਥੀਏਟਰ ਵਿੱਚ ਖੇਡਿਆ। ਇਸ ਨੂੰ ਨਵਯੁਗ ਪਬਲਿਸ਼ਰਜ਼ ਨੇ ਪ੍ਰਕਾਸ਼ਤ ਕੀਤਾ ਹੈ।
==ਨਾਟਕ ਦੇ ਪਾਤਰ==
* ਕਾਕੂ ਲੋਹਾਰ
* ਸੰਤੀ (ਕਾਕੂ ਲੋਹਾਰ ਦੀ ਪਤਨੀ)
* ਬੈਣੋ (ਕਾਕੂ ਲੋਹਾਰ ਦੀ ਬੇਟੀ)
* ਦੀਪਾ (ਕਾਕੂ ਲੋਹਾਰ ਦਾ ਪੁੱਤਰ)
* ਸਰਵਣ (ਪਿੰਡ ਦਾ ਇੱਕ ਨੌਜਵਾਨ, ਬੈਣੋ ਦਾ ਪ੍ਰੇਮੀ)
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
{{ਅਧਾਰ}}
diyqq9y2q7vkhy7t6t9jyf1rqjljuby
ਪਰੀਆਂ (ਨਾਟਕ)
0
2583
4696
2016-01-22T16:37:40Z
Stalinjeet Brar
1295
"'''ਪਰੀਆਂ''' [[ਗੁਰਚਰਨ ਸਿੰਘ ਜਸੂਜਾ]] ਦੁਆਰਾ ਲਿਖਿਆ ਇੱਕ ਪੰਜਾਬੀ [[ਨਾਟਕ]]..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
'''ਪਰੀਆਂ''' [[ਗੁਰਚਰਨ ਸਿੰਘ ਜਸੂਜਾ]] ਦੁਆਰਾ ਲਿਖਿਆ ਇੱਕ ਪੰਜਾਬੀ [[ਨਾਟਕ]] ਹੈ ਜੋ ਸੰਨ 2000 ਵਿੱਚ ਪਹਿਲੀ ਵਾਰ ਆਰਸੀ ਪਬਲਿਸ਼ਰਜ ਦੁਆਰਾ ਪ੍ਰਕਾਸ਼ਿਤ ਕੀਤਾ ਗਿਆ। ਇਸ 5 ਅੰਕੀ ਨਾਟਕ ਵਿੱਚ ਨਾਟਕਕਾਰ [[ਫੈਂਟਸੀ]] ਦੀ ਜੁਗਤ ਦੀ ਵਰਤੋਂ ਕਰ ਕੇ [[ਔਰਤਾਂ ਦੇ ਹੱਕ|ਔਰਤਾਂ ਦੇ ਹੱਕਾਂ]] ਦੀ ਗੱਲ ਕਰਦਾ ਹੈ।
ਇਸ ਦੀ ਭੂਮਿਕਾ "ਪਰੀਆਂ ਦਾ ਸਵਾਗਤ" ਵਿੱਚ ਨਰਿੰਦਰ ਸਿੰਘ ਕਪੂਰ ਕਹਿੰਦਾ ਹੈ,"ਇਸ ਨਾਟਕ ਵਿੱਚ ਜਸੂਜਾ ਜੀ ਦੀ ਪ੍ਰਮੁੱਖ ਪਛਾਣ ਬਣਨ ਦੀਆਂ ਵਿਸ਼ਾਲ ਸੰਭਾਵਨਾਵਾਂ ਛੁਪੀਆਂ ਪਈਆਂ ਹਨ।"
==ਪਾਤਰ==
{{Div col|3}}
*ਰਮੇਸ਼
*ਮਿਸਿਜ਼ ਮਹਿਤਾ
*ਲਲਿਤ ਸੇਠ
*ਮਨੀਸ਼ਾ
*ਜਗਦੀਸ਼
*ਵਰਸ਼ਾ
*ਰਾਜੀ - ਸਬਜ਼ ਪਰੀ
*ਮੋਹਣੀ - ਲਾਲ ਪਰੀ
*ਸਰੋਜ
*ਡਾਕਟਰ ਡੈਸ਼
* ਸਰੋਜ ਦੇ ਮਾਤਾ ਪਿਤਾ
*ਸਰੋਜ ਦੀ ਸੱਸ ਤੇ ਸਹੁਰਾ
*ਉਪਾਸਨਾ - ਨੀਲਮ ਪਰੀ
* ਬਲਵੰਤ
*ਨਾਟਕਕਾਰ
*ਇੱਕ ਦਰਸ਼ਕ ਤੇ ਕੁਝ ਹੋਰ ਮਰਦ ਤੀਵੀਆਂ
{{Div col end}}
skg3ihybr2h221jkqbnayvi99nhy9mu
ਰੱਤਾ ਸਾਲੂ
0
2584
4697
2016-01-22T16:39:45Z
Stalinjeet Brar
1295
"'''ਰੱਤਾ ਸਾਲੂ''' (ਸ਼ਾਬਦਿਕ ਅਰਥ: ਲਾਲ ਰੰਗ ਜਾਂ ਲਹੂ ਵਿੱਚ ਭਿੱਜਿਆ ਕੱਪੜ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
'''ਰੱਤਾ ਸਾਲੂ''' (ਸ਼ਾਬਦਿਕ ਅਰਥ: ਲਾਲ ਰੰਗ ਜਾਂ ਲਹੂ ਵਿੱਚ ਭਿੱਜਿਆ ਕੱਪੜਾ) [[ਹਰਚਰਨ ਸਿੰਘ]] ਦੁਆਰਾ 1957 ਵਿੱਚ ਲਿਖਿਆ ਇੱਕ ਨਾਟਕ ਹੈ। ਇਸ ਨਾਟਕ ਦਾ ਸਮਾਂ ਪਰਜਾਮੰਡਲ ਲਹਿਰ ਦੇ ਸਮੇਂ ਦਾ ਹੈ ਜਿਸ ਵਿੱਚ ਬਿਸਵੇਦਾਰੀ ਦਾ ਵਿਰੋਧ ਕੀਤਾ ਗਿਆ ਸੀ। ਇਸਨੂੰ 4 ਅੰਗਾਂ ਵਿੱਚ ਵੰਡਿਆ ਗਿਆ ਹੈ।
==ਕਥਾਨਕ==
===ਨਾਟ ਪਹਿਲਾ===
ਨਾਟਕ ਦੇ ਪਹਿਲੇ ਅੰਗ ਦੀ ਸ਼ੁਰੁਆਤ ਜਗੀਰਦਾਰ ਨੌਨਿਹਾਲ ਸਿੰਘ ਦੀ ਕੋਠੀ ਵਿੱਚ ਹੁੰਦੀ ਹੈ ਜਿੱਥੇ ਮੁਜਰੇ ਅਤੇ ਸ਼ਰਾਬ ਦੇ ਨਾਲ ਜਗੀਰਦਾਰ ਦੇ ਪਿੰਡ ਵਿੱਚ ਮੁੜ ਆਉਣ ਕਰ ਕੇ ਜਸ਼ਨ ਮਨਾਇਆ ਜਾ ਰਿਹਾ ਹੈ।
==ਪਾਤਰ==
* ਜੋਗਾ (ਮੁੱਖ ਪਾਤਰ)
* ਮਾਲਣ (ਜੋਗੇ ਦੀ ਮਾਂ)
* ਲਖਬੀਰ (ਜੋਗੇ ਦੀ ਭੈਣ)
* ਝੰਡਾ (ਜੋਗੇ ਦਾ ਪਿਓ)
* ਜੈਲਾ
* ਨੌਨਿਹਾਲ ਸਿੰਘ (ਬਿਸਵੇਦਾਰ)
mrq3upwxjo8dcrqegdcjsej4zpeduow
ਫਰਮਾ:DecoratedTextBox
10
2585
4698
2016-01-23T11:28:36Z
Baljeet Bilaspur
1273
"<div style="clear:{{{clr|both}}}; width:{{{W|90%}}}; margin:5px auto; padding:0px;">{{#if:{{{image|}}}| <div style="float:left; padding-right:1em; vert..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div style="clear:{{{clr|both}}}; width:{{{W|90%}}}; margin:5px auto; padding:0px;">{{#if:{{{image|}}}|
<div style="float:left; padding-right:1em; vertical-align:top;">[[File:{{PAGENAME:{{{image}}}}}|{{{size|25x25px}}}]]</div>}}
<div class="PrettyTextBox" style="vertical-align:{{{VA|middle}}}; margin:{{{M|0px 25px}}}; padding:{{{P|5px 20px;}}} {{#if:{{{BG|}}}|background:{{{BG}}}; }}">
{{{1}}}
</div>
</div><noinclude>
Parameters:
* The first parameter is the text inside the box.
:* The <code>| BG= </code> option may be given to specify a different background color.
:* The <code>| W= </code> option may be given to adjust the width from default 90%.
:* The <code>| P= </code> option may be given to change the padding from 0px 25px.
:* The <code>| VA= </code> option may be given to change vertical-align:bottom to middle or top for text.
:* The <code>| clr= </code> option may be given to change the clearance to left or right so to float the template beside other table elements. Default is ''''both''''.
* '''image''' (optional) : the image to be used.
:*The <code>| size= </code> option may be given to override the default 25x25px size.
[[Category:Self-documenting templates|{{PAGENAME}}]]
[[Category:Box templates|Textbox]]
</noinclude>
a066hh6v1jgvd4s33tgiifdsi8z2bk9
ਕੋਠੇ ਖੜਕ ਸਿੰਘ
0
2586
5094
5037
2021-05-05T17:29:36Z
Mulkh Singh
1512
wikitext
text/x-wiki
'''ਕੋਠੇ ਖੜਕ ਸਿੰਘ''' [[ਰਾਮ ਸਰੂਪ ਅਣਖੀ]] ਦਾ ਲਿਖਿਆ ਇੱਕ ਪੰਜਾਬੀ ਨਾਵਲ ਹੈ। ਇਸ ਨਾਵਲ ਤੇ ਅਣਖੀ ਨੂੰ 1987 ਵਿੱਚ [[ਸਾਹਿਤ ਅਕਾਦਮੀ ਪੁਰਸਕਾਰ]] ਮਿਲਿਆ ਸੀ। <ref>[http://beta.ajitjalandhar.com/supplement/20130210/80.cms# ਕੋਠੇ ਖੜਕ ਸਿੰਘ-ਕਿਵੇਂ ਲਿਖਿਆ ਅਣਖੀ ਨੇ ਸਾਹਿਤ ਅਕਾਦਮੀ ਇਨਾਮ ਜੇਤੂ ਨਾਵਲ?]</ref> ਇਸ ਨਾਵਲ ਦੇ ਅਧਾਰ ਤੇ ਇੱਕ ਟੈਲੀ ਫਿਲਮ 'ਕਹਾਨੀ ਏਕ ਗਾਂਉ ਕੀ' ਬਣ ਚੁੱਕੀ ਹੈ।
== ਪਾਤਰ==
ਗਿੰਦਰ, ਹਰਨਾਮੀ, ਅਰਜਨ, ਝੰਡਾ, ਹਰਦਿੱਤ, ਚਰਨਦਾਸ, ਨੰਦ ਕੁਰ, ਮੀਤੋ, ਜੀਤੋ, ਮੱਲਣ,ਸੱਜਣ, ਪੁਸ਼ਪਿੰਦਰ, ਮੁਕੰਦ, ਜਲ ਕੁਰ, ਗ੍ਹੀਰਾ, ਹਰਿੰਦਰ, ਨਸੀਬ, ਬਦਰੀ ਨਾਰਾਇਣ
==ਕਥਾਨਕ==
''ਕੋਠੇ ਖੜਕ ਸਿੰਘ'' ਦੀ ਕਹਾਣੀ ਭਾਰਤੀ [[ਪੰਜਾਬ, ਭਾਰਤ|ਪੰਜਾਬ]] ਦੇ ਮਾਲਵੇ ਖੇਤਰ ਦੇ ਪ੍ਰਤਿਨਿਧ ਇੱਕ ''ਪਿੰਡ'' ਦੀ ਕਹਾਣੀ ਹੈ।
ਰਾਮ ਸਰੂਪ ਅਣਖੀ ਦਾ ਕਥਨ ਹੈ: "ਕੋਠੇ ਖੜਕ ਸਿੰਘ ਪਿੰਡ ਮੈਂ ਆਪਣੀ ਕਲਪਨਾਂ ਨਾਲ ਵਸਾਇਐ। ਨਾਵਲ ਲਿਖਣ ਵੇਲੇ ਸੁਪਨਿਆਂ ਚ ਮੈਂ ਹਰ ਰੋਜ ਇਸ ਪਿੰਡ ਦੀ ਗਲੀ ਗਲੀ ਗਾਹੀ ਤੇ ਆਲਾ ਦੁਆਲਾ ਵੀ। ਹਕੀਕਤ ਵਿੱਚ ਵੀ ਮੈਂ ਤਖਤੂਪੁਰਾ, ਸਲਾਬਤਪੁਰਾ, ਫੂਲ, ਮਹਿਰਾਜ ਪਿੰਡਾਂ ਦਾ ਸਾਇਕਲ ਤੇ ਦੌਰਾ ਕੀਤਾ ਸੀ।"
(ਕੋਠੇ ਖੜਕ ਸਿੰਘ ਪਿੰਡ ਮੈਂ ਆਪਣੀ ਕਲਪਨਾਂ ਨਾਲ ਵਸਾਇਐ। ਨਾਵਲ ਲਿਖਣ ਵੇਲੇ ਸੁਪਨਿਆਂ ਚ ਮੈਂ ਹਰ ਰੋਜ ਇਸ ਪਿੰਡ ਦੀ ਗਲੀ ਗਲੀ ਗਾਹੀ ਤੇ ਆਲਾ ਦੁਆਲਾ ਵੀ। ਹਕੀਕਤ ਵਿੱਚ ਵੀ ਮੈਂ ਤਖਤੂਪੁਰਾ, ਸਲਾਬਤਪੁਰਾ, ਫੂਲ, ਮਹਿਰਾਜ ਪਿੰਡਾਂ ਦਾ ਸਾਇਕਲ ਤੇ ਦੌਰਾ ਕੀਤਾ ਸੀ।"
==ਆਲੋਚਨਾ==
[[ਡਾ. ਜੋਗਿੰਦਰ ਸਿੰਘ ਰਾਹੀ]] ਆਪਣੇ ਲੇਖ ‘ਕੋਠੇ ਖੜਕ ਸਿੰਘ’ ਵਿੱਚ ਇਸ ਨਾਵਲ ਨੂੰ ਇੱਕ ਅਹਿਮ ਰਚਨਾ ਮੰਨਦਾ ਹੈ। ਉਹ ਕਹਿੰਦਾ ਹੈ ਕਿ ਇਹ ਨਾਵਲ ਸਮੱਸਿਆ ਦੇ ਚਿਤ੍ਰਣ ਅਤੇ ਨਾਵਲ ਦੀ ਕਲਾ ਦੇ ਪੱਧਰ ਉੱਤੇ ਰਾਮ ਸਰੂਪ ਅਣਖੀ ਦੇ ਪਹਿਲੇ ਨਾਵਲਾਂ ਨਾਲੋਂ ਵਡੇਰੀ ਪ੍ਰਤਿਭਾ ਦਾ ਪ੍ਰਭਾਵ ਦਿੰਦੀ ਹੈ। ਉਸ ਅਨੁਸਾਰ ਇਸ ਨਾਵਲ ਵਿੱਚ ਪੰਜਾਬ ਦੀ ਇਤਿਹਾਸਿਕ ਦੁਖਾਂਤ ਸਥਿਤੀ ਦੇ ਮੁਖ਼ਤਲਿਫ਼ ਪਹਿਲੂਆਂ ਨੂੰ ਨਾਵਲ ਵਿੱਚ ਕਿਰਸਾਣੀ, ਸਿਆਸਤ, ਸ਼ਾਹੂਕਾਰੇ, ਕਰਾਂਤੀ, ਧਾਰਮਿਕ ਡੇਰਿਆਂ, ਵਿਦਿਆਰਥੀਆਂ, ਅਧਿਆਪਕਾਂ ਅਤੇ ਇਸਤਰੀਆਂ ਦੇ ਵਿਭਿੰਨ ਵਰਗ ਰੂਪਾਂ ਦੇ ਪ੍ਰਤੀਨਿਧ ਪਾਤਰਾਂ ਰਾਹੀਂ ਸਿਰਜਿਆ ਗਿਆ ਹੈ।<ref>{{cite book| title=ਗਲਪਕਾਰ ਅਣਖੀ (ਸੰਦਰਭ: ਕੋਠੇ ਖੜਕ ਸਿੰਘ)| publisher=ਨੈਸ਼ਨਲ ਬੁਕ ਸ਼ਾਪ, ਦਿੱਲੀ| author=ਪ੍ਰੋ. ਰਵਿੰਦਰ ਭੱਠਲ| year=1988| pages=134-136| isbn=81-7116-033-6}}</ref>
[[ਗੁਰਬਖ਼ਸ਼ ਸਿੰਘ ਫਰੈਂਕ]] ਆਪਣੇ ਲੇਖ ‘ਅਣਖੀ ਦੀ ਰਚਨਾ: ਕੋਠੇ ਖੜਕ ਸਿੰਘ’ ਵਿੱਚ ਇਸ ਰਚਨਾ ਨੂੰ ਪੰਜਾਬੀ ਨਾਵਲ ਦੇ ਖੇਤਰ ਵਿੱਚ ਇੱਕ ਵਰਣਨ ਯੋਗ ਘਟਨਾ ਅਤੇ ਨਾਲ ਹੀ ਇਸਨੂੰ ਵਾਰਤਕ ਵਿੱਚ ਲਿਖਿਆ ਮਹਾਂਕਾਵਿ ਵੀ ਕਹਿੰਦਾ ਹੈ।<ref>{{cite book| title=ਗਲਪਕਾਰ ਅਣਖੀ (ਸੰਦਰਭ: ਕੋਠੇ ਖੜਕ ਸਿੰਘ)| publisher=ਨੈਸ਼ਨਲ ਬੁਕ ਸ਼ਾਪ, ਦਿੱਲੀ| author=ਪ੍ਰੋ. ਰਵਿੰਦਰ ਭੱਠਲ| year=1988| pages=137-140| isbn=81-7116-033-6}}</ref>
[[ਡਾ. ਸਤਿੰਦਰ ਸਿੰਘ ਨੂਰ]] ਆਪਣੇ ਲੇਖ ‘ਕੋਠੇ ਖੜਕ ਸਿੰਘ ਬਾਰੇ’ ਵਿੱਚ ਇਸ ਨਾਵਲ ਨੂੰ ਨਵੇਂ ਪ੍ਰਤਿਮਾਨ ਪੇਸ਼ ਕਰਨ ਵਾਲੀ ਰਚਨਾ ਮੰਨਦਾ ਹੈ ਅਤੇ ਇਸਨੂੰ ਇੱਕ ਐਪਿਕ-ਨਾਵਲ ਕਹਿੰਦਾ ਹੈ।<ref>{{cite book| title=ਗਲਪਕਾਰ ਅਣਖੀ (ਸੰਦਰਭ: ਕੋਠੇ ਖੜਕ ਸਿੰਘ)| publisher=ਨੈਸ਼ਨਲ ਬੁਕ ਸ਼ਾਪ, ਦਿੱਲੀ| author=ਪ੍ਰੋ. ਰਵਿੰਦਰ ਭੱਠਲ| year=1988| pages=141-143| isbn=81-7116-033-6}}</ref>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
{{ਅਧਾਰ}}
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ ਨਾਵਲ]]
[[ਸ਼੍ਰੇਣੀ:ਰਾਮ ਸਰੂਪ ਅਣਖੀ ਦੇ ਨਾਵਲ]]
rqmr9wfilizfysmjs4yv24uu6k5y2p6
ਪਰਸਾ
0
2587
4718
2016-01-28T01:24:58Z
Stalinjeet Brar
1295
"'''''ਪਰਸਾ''''' [[ਗਿਆਨਪੀਠ ਪੁਰਸਕਾਰ]] ਜੇਤੂ ਪੰਜਾਬੀ ਨਾਵਲਕਾਰ ਗੁਰਦਿਆਲ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
'''''ਪਰਸਾ''''' [[ਗਿਆਨਪੀਠ ਪੁਰਸਕਾਰ]] ਜੇਤੂ ਪੰਜਾਬੀ ਨਾਵਲਕਾਰ [[ਗੁਰਦਿਆਲ ਸਿੰਘ]] ਦਾ 1992 ਵਿੱਚ ਪ੍ਰਕਾਸ਼ਿਤ ਨਾਵਲ ਹੈ। ਇਹ ਨਾਵਲ ਸਮਕਾਲੀ ਯਥਾਰਥ ਦੀਆਂ ਸਦੀਵੀ ਅਤੇ ਵਿਆਪਕ ਸੱਚਾਈਆਂ ਦੇ ਨਾਲ ਸੰਬੰਧਿਤ ਹੈ। ਇਹ ਨਾਵਲ ਗੁਰਦਿਆਲ ਸਿੰਘ ਦੇ ਹੋਰ ਨਾਵਲਾਂ ਦੇ ਮੁਕਾਬਲੇ ਵਧੇਰੇ ਦਾਰਸ਼ਨਿਕ ਹੈ। ਇਸ ਦਾ ਬਿਰਤਾਂਤ ਵਧੇਰੇ ਗੁੰਝਲਦਾਰ ਅਤੇ ਬਹੁਪੱਖੀ ਹੈ। ਲੇਖਕ ਨੇ ਇਸ ਨੂੰ ਲਿਖਣ ਲਈ ਕਾਫ਼ੀ ਚਿਰ ਲਾਇਆ।<ref>http://shodhganga.inflibnet.ac.in/bitstream/10603/23715/6/06_chapter%20i.pdf</ref>
==ਪਾਤਰ==
#ਪਰਸਾ (ਮੁੱਖ ਪਾਤਰ)
#ਬਸੰਤਾ (ਪਰਸੇ ਦਾ ਪੁੱਤਰ)
#ਮੁਖਤਿਆਰ ਕੌਰ
#ਸਵਿਤਰੀ
#ਪਾਲਾ ਰਾਗੀ (ਪਰਸੇ ਦਾ ਦੋਸਤ)
#ਸੰਤ ਨਾਰੰਗ ਦਾਸ (ਮਹੰਤ)
==ਪਲਾਟ==
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
{{ਅਧਾਰ}}
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ ਨਾਵਲ]]
[[ਸ਼੍ਰੇਣੀ:ਗੁਰਦਿਆਲ ਸਿੰਘ ਦੇ ਨਾਵਲ]]
rpny04p3s96bj28eudo0rd9nnpgniy5
ਪੈੜਾਂ ਦੇ ਆਰ ਪਾਰ
0
2588
4720
4719
2016-01-28T01:28:47Z
Stalinjeet Brar
1295
wikitext
text/x-wiki
'''ਪੈੜਾਂ ਦੇ ਆਰ ਪਾਰ''' [[ਦਰਸ਼ਨ ਸਿੰਘ ਧੀਰ]] ਦੁਆਰਾ ਲਿਖਿਆ ਇੱਕ [[ਨਾਵਲ]] ਹੈ ਜੋ 2001 ਵਿੱਚ ਪ੍ਰਕਾਸ਼ਿਤ ਹੋਇਆ।<ref>http://webopac.puchd.ac.in/w27/Result/Dtl/w21OneItem.aspx?xC=283091</ref> ਲੇਖਕ ਇਸ ਨਾਵਲ ਰਾਹੀਂ ਨਵਜੋਤ ਪਾਤਰ ਦੀ ਗੱਲ ਕਰਦੇ ਹੋਏ [[ਵਿਆਹ]] ਦੀ ਸੰਸਥਾ ਉੱਤੇ ਪ੍ਰਸ਼ਨ ਖੜ੍ਹੇ ਕਰਦਾ ਹੈ।
==ਪਲਾਟ==
ਨਾਵਲ ਦੀ ਸ਼ੁਰੁਆਤ ਵਿੱਚ ਨਵਜੋਤ ਅਤੇ ਜਾਹਨ ਕੀਥ [[ਮਾਨਚੈਸਟਰ]] ਸ਼ਹਿਰ ਦੇ ਇੱਕ ਕੈਫੇ ਵਿੱਚ ਬੈਠੇ ਕਾਫੀ ਪੀ ਰਹੇ ਹਨ ਅਤੇ ਆਪਸ ਵਿੱਚ ਗੱਲਾਂ ਕਰ ਰਹੇ ਹਨ।
==ਪਾਤਰ==
* ਨਵਜੋਤ
* ਜਾਹਨ ਕੀਥ
* ਤਲਵਿੰਦਰ
* ਮਨਜੀਤ
* ਸਰਨ ਕੌਰ
* ਸੁਖਵਿੰਦਰ
* ਲਖਬੀਰ ਸਿੰਘ
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
mwy5b98ggsrsd5h6yqkicjbsc20bd1e
ਪਿੰਜਰ (ਨਾਵਲ)
0
2589
5913
4721
2023-08-20T10:01:59Z
106.220.105.236
/* ਮੁੱਖ ਪਾਤਰ */ ਪੂਰੋ
wikitext
text/x-wiki
'''ਪਿੰਜਰ''' [[ਅੰਮ੍ਰਿਤਾ ਪ੍ਰੀਤਮ]] ਦਾ ਲਿਖਿਆ ਇੱਕ [[ਪੰਜਾਬੀ ਬੋਲੀ|ਪੰਜਾਬੀ]] ਨਾਵਲ ਹੈ ਜੋ ਪਹਿਲੀ ਵਾਰ 1950 ਵਿੱਚ ਛਪਿਆ।<ref name="ti">{{cite news | url=http://www.tribuneindia.com/2005/20050220/spectrum/book3.htm | title=Pinjar: a novel ahead of its times | date=ਫ਼ਰਵਰੀ 20, 2005 | agency=[[ਦ ਟ੍ਰਿਬਿਊਨ]] | accessdate=ਅਕਤੂਬਰ 25, 2012 | location=[[ਚੰਡੀਗੜ੍ਹ]]}}</ref><ref name="fk">{{cite web | url=http://flipkart.com/pinjar-8180590127/p/9788180590122 | title=Pinjar (PaperBack, Punjabi) | publisher=[http://flipkart.com FilpKart.com] | work=ਆੱਨਲਾਈਨ ਕਿਤਾਬ ਖ਼ਰੀਦੋ | accessdate=ਅਕਤੂਬਰ 25, 2012}}</ref>
ਇਹ ਇੱਕ ਹਿੰਦੂ ਕੁੜੀ, ਪੂਰੋ ਦੀ ਕਹਾਣੀ ਹੈ ਜੋ ਕਿ ਇੱਕ ਮੁਸਲਮਾਨ ਆਦਮੀ, ਰਸ਼ੀਦ, ਦੁਆਰਾ ਜ਼ਬਰਦਸਤੀ ਅਗ਼ਵਾ ਕਰ ਲਈ ਜਾਂਦੀ ਹੈ<ref name="ti2">{{cite news | url=http://www.tribuneindia.com/2005/20051105/saturday/main1.htm | title=Always Amrita, Always Pritam | date=ਨਵੰਬਰ 5, 2005 | agency=ਦ ਟ੍ਰਿਬਿਊਨ | accessdate=ਅਕਤੂਬਰ 25, 2012 | location=ਚੰਡੀਗੜ੍ਹ}}</ref> ਅਤੇ ਜਦੋਂ ਉਹ ਕੁਝ ਵਕਤ ਬਾਅਦ ਉਸ ਤੋਂ ਬਚ ਕੇ ਵਾਪਸ ਆਉਂਦੀ ਹੈ ਤਾਂ ਉਸ ਦੇ ਮਾਪੇ ਇੱਕ ਨਾਪਾਕ ਕੁੜੀ ਨੂੰ ਅਪਣਾਉਣ ਤੋਂ ਇਨਕਾਰ ਕਰ ਦਿੰਦੇ ਹਨ।
ਇਸ ਦਾ ਅੰਗਰੇਜ਼ੀ ਤਰਜਮਾ ਖ਼ੁਸ਼ਵੰਤ ਸਿੰਘ<ref name="pt">{{cite web | url=http://punjabitribuneonline.com/2011/08/%E0%A8%87%E0%A8%95-%E0%A9%99%E0%A8%A4-%E0%A8%87%E0%A8%AE%E0%A8%B0%E0%A9%8B%E0%A9%9B-%E0%A8%A6%E0%A8%BE | title=ਇਕ ਖ਼ਤ ਇਮਰੋਜ਼ ਦਾ | publisher=[[ਪੰਜਾਬੀ ਟ੍ਰਿਬਿਊਨ]] | date=ਅਗਸਤ 28, 2010 | accessdate=ਅਕਤੂਬਰ 25, 2012}}</ref> ਅਤੇ ਫ਼੍ਰੈਂਚ ਤਰਜਮਾ ਡੈਨਿਸ ਮਾਰਟ੍ਰਿੰਗ ਨੇ ਕੀਤਾ।
== ਮੁੱਖ ਪਾਤਰ ==
* ਪੂਰੋ (ਬਾਅਦ ਵਿੱਚ, ਹਮੀਦਾ)
* ਰਸ਼ੀਦ
* ਰਾਮ ਚੰਦ
* ਲਾਜੋ
* ਤ੍ਰਿਲੋਕ
* ਰੱਜੋ
* ਤਾਰਾ (ਪੂਰੋ ਦੀ ਮਾਤਾ)
* ਮੋਹਨ ਲਾਲ ( ਪੂਰੋ ਦਾ ਪਿਤਾ)
* ਸ਼ਿਆਮ ਲਾਲ (ਰਾਮ ਚੰਦ ਦਾ ਪਿਤਾ)
* ਪਗਲੀ
* ਜਾਵੇਦ
==ਕਹਾਣੀ ਅਪਣਾਈ==
[[ਤਸਵੀਰ:Pinjar film poster.jpg|right|200px|ਬਾਲੀਵੁੱਡ ਫ਼ਿਲਮ ਪਿੰਜਰ]]
ਇਸ ਦੀ ਕਹਾਣੀ ਨੂੰ 2003 ਦੀ ਇੱਕ ਇਸੇ ਨਾਮ ਦੀ ਬਾਲੀਵੁੱਡ ਫ਼ਿਲਮ ਵਿੱਚ ਅਪਣਾਇਆ ਗਿਆ ਜਿਸ ਵਿੱਚ ਮੁੱਖ ਕਿਰਦਾਰ ਉਰਮਿਲਾ ਮਾਤੌਂਡਕਰ, ਮਨੋਜ ਬਾਜਪਾਈ ਅਤੇ ਸੰਜੇ ਸੂਰੀ ਨੇ ਨਿਭਾਏ ਹਨ।<ref name=imdb>{{IMDb|0347779|Pinjar}}</ref> ਇਸ ਫ਼ਿਲਮ ਨੂੰ ਕੌਮੀ ਏਕਤਾ ਬਾਰੇ ਸਭ ਤੋਂ ਵਧੀਆ ਫ਼ੀਚਰ ਫ਼ਿਲਮ ਦਾ ਇਨਾਮ ਮਿਲਿਆ।<ref name=imdb/>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ ਨਾਵਲ]]
532vfclsqqy0r5s7q83zqno2qtamoui
ਫਰਮਾ:NOTE
10
2590
4726
2016-01-30T09:27:00Z
Baljeet Bilaspur
1273
"<includeonly><span class="citation wikicite" id="endnote_{{{1}}}"><b>[[#ref_{{{1}}}|^{{{2|}}}]]</b>{{#if:{{{3|}}}| {{{3|}}}}}</span> </includeonly..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><span class="citation wikicite" id="endnote_{{{1}}}"><b>[[#ref_{{{1}}}|^{{{2|}}}]]</b>{{#if:{{{3|}}}| {{{3|}}}}}</span> </includeonly><noinclude>
{{Documentation|Template:Ref/doc}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
acev7uympo84wrkjg07622yadstkatr
ਹਾਸ਼ੀਏ ਦੇ ਹਾਸਲ
0
2591
5287
4949
2022-11-29T21:01:32Z
Suyash.dwivedi
1854
/* ਕਵੀ ਅਤੇ ਕਵਿਤਾਵਾਂ */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
'''ਹਾਸ਼ੀਏ ਦੇ ਹਾਸਲ ''' ਇਕ ਅਜਿਹਾ ਕਾਵਿ ਸੰਗ੍ਰਹਿ ਹੈ ਜਿਸ ਵਿੱਚ ਉਹਨਾਂ ਕਵੀਆਂ ਦੀਆਂ ਰਚਨਾਵਾਂ ਨੂੰ ਸ਼ਾਮਿਲ ਕੀਤਾ ਗਿਆ ਹੈ ਜੋ ਸ਼ੁਰੂ ਤੋ ਹੀ ਹਾਸ਼ੀਏ ਤੇ ਧੱਕੇ ਗਏ ਹਨ। ਇਹ ਕਾਵਿ ਸੰਗ੍ਰਹਿ ਡਾ. ਰਾਜਿੰਦਰ ਪਾਲ ਸਿੰਘ ਅਤੇ ਡਾ.ਜੀਤ ਸਿੰਘ ਜੋਸ਼ੀ ਦੁਆਰਾ ਸੰਪਾਦਿਤ ਕੀਤਾ ਗਿਆ ਹੈ। ਇਹ ਪੁਸਤਕ 2013 ਵਿੱਚ ਪਬਲੀਕੇਸ਼ਨ ਬਿਊਰੋ ਪੰਜਾਬੀ ਯੂਨੀਵਰਸਿਟੀ ਪਟਿਆਲਾ ਰਾਹੀਂ ਛਾਪੀ ਗਈ। ਇਸ ਵਿੱਚ 30 ਕਵੀਆਂ ਦੀਆਂ ਰਚਨਾਵਾਂ ਸ਼ਾਮਿਲ ਹਨ। '''ਹਾਸ਼ੀਏ ਦੇ ਹਾਸਲ''' ਪੁਸਤਕ ਵਿੱਚ [[ਗਦਰ ਲਹਿਰ]] [[ਬੱਬਰ ਅਕਾਲੀ ਲਹਿਰ]],[[ਅਕਾਲੀ ਲਹਿਰ]] ਆਦਿ ਨਾਲ ਸੰਬੰਧਿਤ ਰਚਨਾਵਾਂ ਸ਼ਾਮਿਲ ਹਨ। ਇਸ ਵਿੱਚ ਔਰਤਾਂ ਦੇ ਸਾਹਿਤ ਨੂੰ ਵੀ ਵਿਸ਼ੇਸ਼ ਸਥਾਨ ਮਿਲਿਆ ਹੈ। ਇਸ ਕਾਵਿ ਸੰਗ੍ਰਹਿ ਵਿੱਚ ਕਿਰਸਾਨੀ, ਦਲਿਤ ਵਰਗ, ਸਮਰਾਜਵਾਦ, ਜੀਵਨ ਸੇਧ, ਅਤੇ ਔਰਤ ਦੀ ਸਥਿਤੀ ਨਾਲ ਸਬੰਧਿਤ ਵਿਸ਼ਿਆ ਨੂੰ ਸ਼ਾਮਿਲ ਕੀਤਾ ਗਿਆ ਹੈੋ।
==ਕਵੀ ਅਤੇ ਕਵਿਤਾਵਾਂ==
*[[ਪੀਰੋ ਪ੍ਰੇਮਣ|ਪੀਰੋ]] - ਕਾਫ਼ੀਆਂ
*[[ਲਾਲਾ ਬਾਂਕੇ ਦਿਆਲ]] - ਪਗੜੀ ਸੰਭਾਲ ਜੱਟਾ
*[[ਸੰਤ ਵਿਸਾਖਾ ਸਿੰਘ]] - ਸਟੋਕਟੋਨ ਗੁਰਦੁਆਰਾ ਬਨਾਉਣ ਦਾ ਹਾਲ
*[[ਗਿਆਨੀ ਭਗਵਾਨ ਸਿੰਘ ਪ੍ਰੀਤਮ]] -ਗੁਲਾਮ ਬਨਾਮ ਗਦਰੀ
*[[ਇਕ ਪੰਜਾਬੀ ਸਿੰਘ (ਹਰਨਾਮ ਸਿੰਘ ਟੁੰਡੀਲਾਟ) ]] - ਗਦਰ ਦਾ ਹੋਕਾ
*[[ਫ਼ਿਰੋਜ਼ਦੀਨ ਸ਼ਰਫ]] ਜੱਲ੍ਹਿਆਂ ਵਾਲਾ ਬਾਗ
*[[ਗੁਰਮੁਖ ਸਿੰਘ ਮੁਸਾਫਰ ]]-ਸਾਡਾ ਗੁਰੂ ਤੇ ਗੁਰੂ ਦਾ ਬਾਗ ਸਾਡਾ
*[[ਕਿਸ਼ਨ ਸਿੰਘ ਗੜਗੱਜ]] - ਸੂਰਬੀਰ ਅਕਾਲੀ ਬਹਾਦਰੋ ਜੀ
*[[ਬਾਬੂ ਰਜਬ ਅਲੀ]] - ਭੇਜੇ ਤਾਰ ਵੈਸਰਾ ਜੀ
*[[ਤਾਹਿਰ]] - ਸ਼ਹੀਦ ਭਗਤ ਸਿੰਘ ਦੀ ਘੋੜੀ
*[[ਭਾਈਆ ਈਸ਼ਰ ਸਿੰਘ]] - ਮਜ਼ਬ ਤੇ ਮੋਹੱਬਤ
*[[ਸਾਧੂ ਦਯਾ ਸਿੰਘ ਆਰਫ਼]] - ਜ਼ਿੰਦਗੀ ਦਾ ਹਾਲ
*[[ਬੂਟਾ ਸਿੰਘ]] - ਝਗੜਾ ਚਾਹ ਤੇ ਲੱਸੀ ਦਾ
*[[ਵਿਧਾਤਾ ਸਿੰਘ ਤੀਰ]] - ਅਛੂਤ
*[[ਪੰਡਤ ਬ੍ਰਹਮਾ ਨੰਦ]] - ਪਤੀ ਜੀ ਘੜੋਲਾ ਮੈ ਚਕਾ ਨਾ ਸਕਦੀ
*[[ਸੋਹਣ ਸਿੰਘ ਸੀਤਲ]] - ਢਾਡੀ ਪ੍ਰਸੰਗ -ਭਾਈ ਡੱਲੇ ਦਾ ਸਿਦਕ
*[[ਉਸਤਾਦ ਦਾਮਨ|ਚਰਾਗਦੀਨ ਦਾਮਨ]] - ਤੂੰ ਆਪਣੀ ਮਾਂ ਛੱਡ ਦੇ, ਰੋਏ ਅਸੀਂ ਵੀ ਆਂ
*[[ਗੁਰਦਾਸ ਰਾਮ ਆਲਮ]] - ਆਜ਼ਾਦੀ
*[[ਕਰਨੈਲ ਸਿੰਘ ਪਾਰਸ]] - ਗੱਡੀ
*[[ਇੰਦਰਜੀਤ ਹਸਨਪੁਰੀ]] - ਕਿਥੇ ਗਏ ਓਹ ਦਿਨ
*[[ਸੁਖਵੰਤ ਕੌਰ ਮਾਨ]] - ਕਰਮੋ ਕਮਲੀ
*[[ਸੰਤ ਰਾਮ ਉਦਾਸੀ]] - ਕੰਮੀਆ ਦਾ ਵਿਹੜਾ
*[[ਬਾਬੂ ਸਿੰਘ ਮਾਨ]] - ਬੁਝ ਮੇਰੀ ਮੁਠੀ ਵਿੱਚ ਕੀ
*[[ਭੂਸ਼ਣ ਧਿਆਨਪੁਰੀ]] - ਹੱਸ ਨਈ ਸਕਦਾ
*[[ਅਮਿਤੋਜ]] - ਲਾਹੋਰ ਦੇ ਨਾਂ ਇਕ ਖਤ
*[[ਬਾਬਾ ਨਜਮੀ]] - ਗਜ਼ਲ
*[[ਅੱਬਾਸ ਮਿਰਜਾ]] - ਬੈਂਤ
*[[ਮਿੰਦਰਪਾਲ ਭੱਠਲ]] - ਫਰਜ਼
*[[ਜਨਕ ਸ਼ਰਮੀਲਾ]] - ਮੈ ਕਲਾਬਾਜੀਆਂ ਖਾ ਬੈਠੀ
*[[ਧਰਮ ਕੰਮੇਆਣਾ]] - ਮਿੱਟੀ ਦਾ ਮੋਰ
asgnye1st6ropsk42fnpywksy0vnm4j
ਟਾਵਾਂ ਟਾਵਾਂ ਤਾਰਾ
0
2593
4744
2016-02-27T03:06:00Z
Stalinjeet Brar
1295
"'''ਟਾਵਾਂ ਟਾਵਾਂ ਤਾਰਾ''' [[ਪਾਕਿਸਤਾਨੀ ਲੋਕ|ਪਾਕਿਸਤਾਨੀ]] ਲੇਖਕ ਮੁਹੰਮ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
'''ਟਾਵਾਂ ਟਾਵਾਂ ਤਾਰਾ''' [[ਪਾਕਿਸਤਾਨੀ ਲੋਕ|ਪਾਕਿਸਤਾਨੀ]] ਲੇਖਕ [[ਮੁਹੰਮਦ ਮਨਸ਼ਾ ਯਾਦ]] ਦੁਆਰਾ ਲਿਖਿਆ ਇੱਕ [[ਪੰਜਾਬੀ ਭਾਸ਼ਾ|ਪੰਜਾਬੀ]] ਨਾਵਲ ਹੈ ਜੋ 1997 ਵਿੱਚ ਪ੍ਰਕਾਸ਼ਿਤ ਹੋਇਆ।<ref>{{cite web | url=http://diglib.numl.edu.pk/cgi-bin/koha/opac-detail.pl?biblionumber=1664 | title=NUML Main Library | accessdate=17 ਦਸੰਬਰ 2014}}</ref> ਲੇਖਕ ਇਸ ਰਾਹੀਂ ਪਾਕਿਸਤਾਨ ਦੀ ਸਮਾਜਿਕ ਸਭਿਆਚਾਰਕ ਸਥਿਤੀ ਨੂੰ ਬਿਆਨ ਕਰਦਾ ਹੈ ਜੋ ਹਨੇਰੇ ਵਿੱਚ ਹੈ ਅਤੇ ਕਿਤੇ ਕਿਤੇ ਖ਼ਾਲਿਦ ਦੇ ਪਾਤਰ ਵਰਗੇ ਤਾਰੇ ਚਮਕਦੇ ਹਨ ਪਰ ਜਲਦੀ ਹੀ ਹਨੇਰੇ ਦੀ ਗਰਿਫਤ ਵਿੱਚ ਆ ਜਾਂਦੇ ਹਨ। ਇਸ ਨਾਵਲ ਨੂੰ ਗੁਰਮੁਖੀ ਵਿੱਚ [[ਲਿਪੀਆਂਤਰ]] [[ਜਤਿੰਦਰਪਾਲ ਸਿੰਘ ਜੌਲੀ]] ਅਤੇ [[ਜਗਜੀਤ ਕੌਰ ਜੌਲੀ]] ਨੇ ਕੀਤਾ।
==ਪਾਤਰ==
ਖ਼ਾਲਿਦ, ਜ਼ੀਨਤ ਆਪਾ, ਫ਼ਰਹਾਨਾ, ਫ਼ਰਗਾਨਾ, ਰਿਜ਼ਵਾਨਾ, ਬਾਸੂ, ਨੂਰਾ, ਗਫ਼ੂਰਾ, ਸਰਵਰ, ਸਲਮਾ, ਚਾਂਦਾ, ਨੱਜੀ, ਪ੍ਰਵੀਨ ੳਰਫ਼ ਨੈਨਤਾਰਾ, ਰੂਬੀ,
ਮਲਿਕ ਮੁਰਾਦ ਅਲੀ, ਸਲੀਮ, ਸ਼ਹਿਨਾਜ਼, ਮਲਿਕ ਅੱਲਾ ਯਾਰ, ਸਕੀਨਾ, ਬਸ਼ੀਰਾ ਚੰਦੜ, ਸ਼ੀਸ਼ਮ ਸਿੰਘ, ਕੁੱਬਾ ਜੁਲਾਹਾ, ਮਲਿਕ ਖ਼ੁਸ਼ੀ ਮੁਹੰਮਦ, ਤੀਫ਼ਾ, ਆਦਿ
==ਆਲੋਚਨਾ==
ਜਤਿੰਦਰਪਾਲ ਸਿੰਘ ਜੌਲੀ ਇਸ ਨਾਵਲ ਬਾਰੇ ਕਹਿੰਦੇ ਹਨ ਕਿ "'ਪਾਕਿਸਤਾਨੀ ਪੰਜਾਬੀ ਨਾਵਲ' ਕਹਿ ਕੇ ਇਸ ਰਚਨਾ ਨੂੰ ਸੀਮਾਬੱਧ ਕਰਨਾ ਵੀ ਇਸ ਨਾਲ ਬੇਇਨਸਾਫ਼ੀ ਹੋਵੇਗੀ। ਸਮੁੱਚੇ ਪੰਜਾਬੀ ਨਾਵਲ ਵਿੱਚ ਇਹ ਇਤਿਹਾਸਿਕ ਵਾਧਾ ਹੈ।"<ref>{{cite book | title=ਟਾਵਾਂ ਟਾਵਾਂ ਤਾਰਾ | publisher=ਲੋਕਗੀਤ ਪ੍ਰਕਾਸ਼ਨ | author=ਮੁਹੰਮਦ ਮਨਸ਼ਾ ਯਾਦ; ਲਿਪੀਆਂਤਰ: ਜਤਿੰਦਰਪਾਲ ਸਿੰਘ ਜੌਲੀ ਅਤੇ ਜਗਜੀਤ ਕੌਰ ਜੌਲੀ | year=2013 | pages=16 | isbn=978-93-5068-408-5}}</ref>
==ਹਵਾਲੇ==
9an305i9ai8hlshrpy83aswsyp5tizk
ਧੂਣੀ ਦੀ ਅੱਗ
0
2594
5027
4746
2020-10-06T08:38:27Z
Mulkh Singh
1512
wikitext
text/x-wiki
'''ਧੂਣੀ ਦੀ ਅੱਗ''' (1977) [[ਬਲਵੰਤ ਗਾਰਗੀ]] ਦਾ ਲਿਖਿਆ ਪੰਜਾਬੀ ਦੇ ਸਭ ਤੋਂ ਵਧ ਖੇਡੇ ਗਏ ਨਾਟਕਾਂ ਵਿੱਚੋਂ ਇੱਕ ਹੈ। ਇਹ ਦੋ ਔਰਤਾਂ ਨਾਲ ਪ੍ਰੇਮ ਕਰਨ ਵਾਲੇ ਇੱਕ ਨੌਜਵਾਨ ਨਿਰਦੇਸ਼ਕ ਦੀ ਕਹਾਣੀ ਹੈ ਜਿਸ ਨੂੰ ਦੋਨਾਂ ਵਿੱਚੋਂ ਇੱਕ ਈਰਖਾ ਨਾਲ ਧੁਖਦੀ ਉਸ ਨੂੰ ਕਤਲ ਕਰ ਦਿੰਦੀ ਹੈ।<ref>{{cite web | url=http://books.google.co.in/books?id=WLAwnSA2uwQC&pg=PA620&lpg=PA620&dq=dhuni+di+agg&source=bl&ots=piejDX4H_J&sig=DU53ppw1zrrOOSXgYHJivX3yV3o&hl=en&sa=X&ei=8dTnUNWhBcqhlQWw4ICABg&ved=0CEwQ6AEwBg#v=onepage&q=dhuni%20di%20agg&f=false | title=Punjabi Literature: A-L edited by R. P. Malhotra, Kuldeep Arora | accessdate=January 05, 2013 | pages=119}}</ref>
ਇਸ ਤੋਂ ਪਹਿਲਾਂ ਗਾਰਗੀ '[[ਲੋਹਾ ਕੁੱਟ]]', ‘[[ਬੇਬੇ]]’, ‘[[ਕੇਸਰੋ]]’ ਅਤੇ '[[ਕਣਕ ਦੀ ਬੱਲੀ]]' ਚਾਰ ਨਾਟਕ ਲਿਖ ਚੁੱਕੇ ਸਨ ਅਤੇ ਕਣਕ ਦੀ ਬੱਲੀ ਤੋਂ ਬਾਰਾਂ ਸਾਲ ਦੇ ਵਕਫੇ ਦੇ ਬਾਅਦ 'ਧੂਣੀ ਦੀ ਅੱਗ' ਸਾਹਮਣੇ ਆਇਆ। ਉਸ ਦੇ ਆਪਣੇ ਸ਼ਬਦਾਂ ਵਿੱਚ,“ਕਣਕ ਦੀ ਬੱਲੀ ਪਿਛੋਂ ਬਾਰਾਂ ਸਾਲ ਮੈਂ ਕੋਈ ਨਾਟਕ ਨਾ ਲਿਖਆ। ਮੇਰੇ ਅੰਦਰ ਕਈ ਨਾਟਕ ਜਨਮੇ ਤੇ ਮਰ ਗਏ ਕਿਉਂ ਜੁ ਉਹ ਇੱਕ ਨਵਾਂ ਰੂਪ ਅਤੇ ਨਵੀਂ ਮੰਚ- ਵਿਧੀ ਭਾਲਦੇ ਸਨ। ਮੈਂ ਕਈ ਤੀਬਰ ਸਮੱਸਿਆਵਾਂ ਤੇ ਕਈ ਮਾਨਿਸਕ
ਪ੍ਰਵਿਰਤੀਆਂ ਇਸ ਸਾਦਾ ਯਥਾਰਥਵਾਦ ਦੇ ਢਾਂਚੇ ਪੇਸ਼ ਨਹੀਂ ਸੀ ਕਰ ਸਕਦਾ।”<ref>[https://docs.google.com/viewer?a=v&q=cache:oueVhgVbvQsJ:www.panjabialochana.com/yahoo_site_admin1/assets/docs/Balwant_Gargi_da_Natak_Dhuni_di_Agg.272101434.pdf+&hl=en&gl=in&pid=bl&srcid=ADGEESgRE02-LW9vc_QoM0bknkqA5A-67jht7XUD8nGHl1HhtkmBjGUXHT8jgckBKsCHpp969tyLkcS2ZTcGx4sSHtq0U9yzcyoh5dK7xZIke7b5pbsiCAxWGoYpnSHPlsuolFR9FH-J&sig=AHIEtbRBfFrrctlPJSKfVyFZWVk4c2aslA ਬਲਵੰਤ ਗਾਰਗੀ ਰਿਚਤ ਨਾਟਕ 'ਧੂਣੀ ਦੀ ਅੱਗ]</ref>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
{{ਅਧਾਰ}}
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ ਨਾਟਕ]]
[[ਸ਼੍ਰੇਣੀ:ਬਲਵੰਤ ਗਾਰਗੀ ਦੇ ਨਾਟਕ]]
ir9umpotycj5tldywv13o22a5qw0xr4
ਚੌਥੀ ਕੂਟ
0
2595
5030
4848
2020-10-06T08:41:50Z
Mulkh Singh
1512
wikitext
text/x-wiki
'''''ਚੌਥੀ ਕੂਟ''''' ਪੰਜਾਬੀ ਸਾਹਿਤਕਾਰ [[ਵਰਿਆਮ ਸਿੰਘ ਸੰਧੂ]] ਦਾ ਕਹਾਣੀ ਸੰਗ੍ਰਹਿ ਹੈ ਜੋ ਪਹਿਲੀ ਵਾਰ [[1998]] ਵਿੱਚ ਪ੍ਰਕਾਸ਼ਤ ਹੋਇਆ ਸੀ। ਇਸਨੂੰ [[2000]] ਵਿੱਚ [[ਸਾਹਿਤ ਅਕਾਦਮੀ ਇਨਾਮ]] ਮਿਲਿਆ ਸੀ। ਇਸ ਕਿਤਾਬ ਵਿੱਚ ਪੰਜ ਕਹਾਣੀਆਂ ਸ਼ਾਮਿਲ ਹਨ।
==ਕਹਾਣੀਆਂ==
*''[[ਚੌਥੀ ਕੂਟ (ਕਹਾਣੀ)|ਚੌਥੀ ਕੂਟ]]''
*''[[ਮੈਂ ਹੁਣ ਠੀਕ ਠਾਕ ਹਾਂ]]''
*''ਪਰਛਾਵੇਂ''
*'' ਨੌਂ ਬਾਰਾਂ ਦਸ''
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
{{ਅਧਾਰ}}
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ ਕਹਾਣੀ ਸੰਗ੍ਰਹਿ]]
[[ਸ਼੍ਰੇਣੀ:ਵਰਿਆਮ ਸਿੰਘ ਸੰਧੂ ਦੀਆਂ ਕਹਾਣੀਆਂ]]
1pp7s04g9aimhwd2hh2jn9anvyvym5i
ਫਰਮਾ:Cite web
10
2604
4787
2017-04-11T09:15:08Z
Satpal Dandiwal
1275
new
wikitext
text/x-wiki
<includeonly>{{Citation/core
|Citation class=web
|Surname1 = {{#if:{{{last|}}}
|{{{last}}}
|{{#if:{{{last1|}}}
|{{{last1}}}
|{{{author|}}}
}}
}}
|Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}
|Surname3 = {{{last3|}}}
|Surname4 = {{{last4|}}}
|Surname5 = {{{last5|}}}
|Surname6 = {{{last6|}}}
|Surname7 = {{{last7|}}}
|Surname8 = {{{last8|}}}
|Surname9 = {{{last9|}}}
|Given1 = {{#if:{{{first|}}}|{{{first}}}|{{{first1|}}}}}
|Given2 = {{{first2|}}}
|Given3 = {{{first3|}}}
|Given4 = {{{first4|}}}
|Given5 = {{{first5|}}}
|Given6 = {{{first6|}}}
|Given7 = {{{first7|}}}
|Given8 = {{{first8|}}}
|Given9 = {{{first9|}}}
|Authorlink1 = {{#if:{{{authorlink|}}}|{{{authorlink}}}|{{{authorlink1|}}}}}
|Authorlink2 = {{{authorlink2|}}}
|Authorlink3 = {{{authorlink3|}}}
|Authorlink4 = {{{authorlink4|}}}
|Authorlink5 = {{{authorlink5|}}}
|Authorlink6 = {{{authorlink6|}}}
|Authorlink7 = {{{authorlink7|}}}
|Authorlink8 = {{{authorlink8|}}}
|Authorlink9 = {{{authorlink9|}}}
|Coauthors = {{{coauthor|{{{coauthors|}}}}}}
|EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor1|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}}}}
|EditorSurname2 = {{{editor2-last|{{{editor2-surname|{{{editor2|}}}}}}}}}
|EditorSurname3 = {{{editor3-last|{{{editor3-surname|{{{editor3|}}}}}}}}}
|EditorSurname4 = {{{editor4-last|{{{editor4-surname|{{{editor4|}}}}}}}}}
|EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
|EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
|EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
|EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
|Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
|Editorlink2={{{editor2-link|}}}
|Editorlink3={{{editor3-link|}}}
|Editorlink4={{{editor4-link|}}}
|Year={{#if:{{{year|}}}|{{{year}}} <!-- attempt to derive year from date, if possible -->
|{{#if: {{{date|}}}
|{{#iferror: {{#time:Y|{{{date|}}} }}
|{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
|{{#time:Y|{{{date|}}} }}
}}
|{{{publication-date|}}} <!-- last resort -->
}}
}}
|Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}}
|Title={{{work|}}}
|TransTitle={{{trans_title|}}}
|At = {{#if:{{{page|}}}|p. {{{page}}}|{{#if:{{{pages|}}}|pp. {{{pages|}}}|{{{at|}}} }} }}
|IncludedWorkTitle = {{
#if:{{{title|}}}
|{{{title}}}
|{{
#if:{{{trans_title|}}}
|
|{{Citation error|no <code>|title=</code> specified|Cite web}}
}}
}}
|IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
|PublicationPlace = {{{location|}}}
|Publisher = {{{publisher|}}}
|language = {{{language|}}}
|format = {{{format|}}}
|DOI={{{doi|{{{DOI|}}}}}}
|AccessDate={{#if:{{{accessdate|}}}
|{{#if: {{{accessyear|}}}
|{{{accessdate}}} {{{accessyear}}}
|{{{accessdate}}}
}}
|{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}
}}
|DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}}
|quote = {{{quote|}}}
|Ref={{{ref|}}}
|Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|;|{{{separator|{{{seperator|.}}} }}} }}
|PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}
|ArchiveURL = {{{archiveurl|}}}
|OriginalURL = {{{url|}}}
|ArchiveDate= {{{archivedate|}}}
}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
2gp8ea9tjh9vkfl8nufahdy47b6i8k1
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ
0
2605
5340
5302
2023-01-31T03:36:59Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="width: 100%; text-align: center; font-size: xx-large;">'''ਵਰਣਮਾਲਾ'''</div>
{{center|[[File:TransMilenio Estacion A Caracas.svg|frameless]] [[File:TransMilenio Estacion B Autonorte.svg|frameless]] [[File:TransMilenio Estacion C Suba.svg|frameless]]}}
<noinclude><div style="font-size: x-large; text-align: center; margin: 0px auto 0px auto;">— [[/A/]] [[/B/]] [[/C/]] [[/D/]] [[/E/]] [[/F/]] [[/G/]] [[/H/]] [[/I/]] [[/J/]] [[/K/]] [[/L/]] [[/M/]] [[/N/]] [[/O/]] [[/P/]] [[/Q/]] [[/R/]] [[/S/]] [[/T/]] [[/U/]] [[/V/]] [[/W/]] [[/X/]] [[/Y/]] [[/Z/]] —
</div>
iqlmdwb6fouysi4qnca0khybjtfwfzu
ਫਰਮਾ:Center
10
2606
4789
2017-04-11T09:50:55Z
Satpal Dandiwal
1275
new
wikitext
text/x-wiki
<noinclude><div style={{TRS-style}}><tt>
;usage syntax
<nowiki>{{center|your text goes here}}</nowiki></tt></noinclude><div style="text-align:center; margin:1em;">
<span style="padding:0.75em;">
{{{1|}}}
</span>
</div><noinclude>
;Purpose
This utility template centers text inside an HTML <div style=...> container and internal <span style=... >...</span>> wrapper with 0.75em padding, and a margin of 1em.
* This can be desirable in many cases as it sets off the text nicely, but assumes it is the last (only) text on a line--which can adversely affect wikimarkup using '||' seperators in tables.
* It can also have undesirable 'enlarging' effects, again, especially in tables.
'''See also the alternative:''' <nowiki>{{</nowiki>{{#if:|[[Help:Templates#Substitution|subst]]:}}{{#ifeq:{{NAMESPACE:Cen}}||<!--
this is intended to be either a page in the main namespace or in the template namespace
-->{{#ifeq:Cen|:{{PAGENAME:Cen}}<!--
this is intended to be in the main namespace
-->|<nowiki>:</nowiki>[[:Cen|{{PAGENAME:Cen}}]]<!--
this is intended to be in the template namespace
-->|[[:Template:Cen|Cen]]}}<!--
namespace was included
-->|[[:Cen|Cen]]
}}<nowiki>}}</nowiki> - which wraps the text in wikimarkup <center>> tags, making tighter presentation in tables, and not forcing unwanted newlines.
[[Category:typing-aid templates|{{PAGENAME}}]]
[[category:utility templates|{{PAGENAME}}]]
[[Category:Text formatting templates|{{PAGENAME}}]]
</div>
</noinclude>
oaybrwu3m0w7xsm32pkkxwi2ag5hc2x
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/A
0
2607
5342
5280
2023-01-31T03:38:05Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''A''' ਦੇ ਲਈ '''A'''pple</div>
[[File:Fuji_apple.jpg|center|frameless|upright=2]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = A is for apple.ogg
| title = A ਦੇ ਲਈ Apple
}}
h86orvrlxuo2vpo8a2bx0cxznexykrd
ਫਰਮਾ:BOOKTEMPLATE
10
2608
5461
4791
2023-03-23T13:35:23Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
<includeonly>Template:{{BOOKNAME|{{{1|{{FULLPAGENAME}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
nzm8p3buypshr59b0dsygejda3bzcd5
ਫਰਮਾ:ROOTBOOKNAME
10
2609
5436
4792
2023-03-23T13:19:20Z
Kuldeepburjbhalaike
1880
Replaced content with "{{delete}}"
wikitext
text/x-wiki
{{delete}}
35r2j9t4ectnt1cmb7mlgcqvwz6h5k6
ਫਰਮਾ:ROOTBOOKNAME/core
10
2610
5442
4793
2023-03-23T13:24:18Z
Kuldeepburjbhalaike
1880
Replaced content with "{{delete}}"
wikitext
text/x-wiki
{{delete}}
35r2j9t4ectnt1cmb7mlgcqvwz6h5k6
ਮੌਡਿਊਲ:TScope
828
2611
4794
2017-04-11T10:00:08Z
Satpal Dandiwal
1275
new
Scribunto
text/plain
local export = {}
export.override = function( frame )
local title = frame.args[1]
local args = {}
for v, k in pairs( frame:getParent().args ) do
args[v] = k
end
for v, k in pairs( frame.args ) do
if type( v ) == "number" then
if v ~= 1 then
args[ v - 1 ] = k
end
else
args[v] = k
end
end
return frame:expandTemplate{ title = title, args = args }
end
export.prepend = function( frame )
local title = frame.args[1]
local args = {}
local displace = 0;
for v, k in pairs( frame.args ) do
if (type( v ) == "number") and (v ~= 1) then
args[ v - 1 ] = k
displace = math.max( displace, (v - 1) )
end
end
for v, k in pairs( frame:getParent().args ) do
if type( v ) == "number" then
args[ displace + v ] = k
else
args[v] = k
end
end
for v, k in pairs( frame.args ) do
if type( v ) ~= "number" then
args[v] = k
end
end
return frame:expandTemplate{ title = title, args = args }
end
export.append = function( frame )
local title = frame.args[1]
local args = {}
local displace = 0;
for v, k in pairs( frame:getParent().args ) do
if type( v ) == "number" then
displace = math.max( displace, v )
end
args[v] = k
end
for v, k in pairs( frame.args ) do
if type( v ) == "number" then
if v ~= 1 then
args[ displace + v - 1 ] = k
end
else
args[v] = k
end
end
return frame:expandTemplate{ title = title, args = args }
end
export.drop = function( frame )
local title = frame.args[1]
local args = {}
for v, k in pairs( frame:getParent().args ) do
if type( v ) ~= "number" then
args[v] = k
end
end
for v, k in pairs( frame.args ) do
if type( v ) == "number" then
if v ~= 1 then
args[ v - 1 ] = k
end
else
args[v] = k
end
end
return frame:expandTemplate{ title = title, args = args }
end
export.shiftLeft = function( frame )
local title = frame.args[1]
local args = {}
local displace = tonumber( frame.args[2] )
if displace == nil then displace = 0 end
for v, k in pairs( frame:getParent().args ) do
if type( v ) == "number" then
if v >= displace then
args[ v - displace ] = k
end
else
args[v] = k
end
end
for v, k in pairs( frame.args ) do
if type( v ) == "number" then
if v > 2 then
args[ v - 2 ] = k
end
else
args[v] = k
end
end
return frame:expandTemplate{ title = title, args = args }
end
export.map = function( frame )
local title = frame.args[1]
local displace = frame.args[2]
if displace == nil then
displace = 0
else
displace = tonumber( displace )
end
local args = {}
local data = {}
local maxv = 0
for v, k in pairs( frame:getParent().args ) do
if (type( v ) ~= "number") then
args[v] = k
elseif v <= displace then
args[v + 1] = k
else
data[v] = k
maxv = math.max( v, maxv )
end
end
for v, k in pairs( frame.args ) do
if type( v ) ~= "number" then
args[v] = k
elseif v > 2 then
args[v - 1] = k
end
end
local result = ""
for v = 1, maxv do
if data[v] ~= nil then
args[1] = data[v]
result = result .. frame:expandTemplate{ title = title, args = args }
end
end
return result
end
export.static = function( frame )
return frame:getParent():getTitle()
end
local function tabulate( args )
local s = ''
for k, v in pairs( args ) do
s = s .. '|-\n| ' .. k .. '\n| <code>' .. v .. '</code>\n'
end
if s ~= '' then
s = '{| class="wikitable"\n|-\n! key\n! value\n' .. s .. '|}'
end
return s
end
export.echo = function( frame )
local mp = tabulate( frame.args )
local cp = tabulate( frame:getParent().args )
if mp ~= '' then
mp = 'module parameters:\n' .. mp .. '\n'
end
if cp ~= '' then
cp = 'context parameters:\n' .. cp .. '\n'
else
cp = 'no context parameters.\n'
end
return mp .. cp
end
return export
n3blx1g9jcetmcolf1n2fiuhyaql9nh
ਫਰਮਾ:ROOTBOOKNAME/inbook
10
2612
5444
4795
2023-03-23T13:25:22Z
Kuldeepburjbhalaike
1880
Replaced content with "{{delete}}"
wikitext
text/x-wiki
{{delete}}
35r2j9t4ectnt1cmb7mlgcqvwz6h5k6
ਫਰਮਾ:Listen
10
2613
4801
4796
2017-04-11T10:19:15Z
Satpal Dandiwal
1275
fixed
wikitext
text/x-wiki
{{side box
|position = {{{pos|}}}
|style = {{#ifeq:{{{plain|}}}|yes|border:none; background:transparent; float:none;}}{{#ifeq:{{{pos|}}}|left|float:left;}}{{{style|}}}
|textstyle = line-height:1.1em;
|image = {{#ifeq:{{{plain|}}}|yes||{{#if:{{{image|}}}|{{{image}}}|[[File:{{#switch:{{lc:{{{type|}}}}}
| sound = Gnome-mime-sound-openclipart.svg
| speech = Audio-input-microphone.svg
| music
| #default = Gnome-mime-audio-openclipart.svg
}}|65x50px|center|link=|alt=]]}}}}
|text = {{#if:{{{header|}}}|<div style="background:transparent; text-align:left; padding:2px;">{{{header}}}</div>}}
{{listen/core
|filename = {{{filename|}}}
|title = {{{title|}}}
|description = {{{description|}}}
|alt = {{{alt|}}}
|play = {{{play|}}}
}} {{#if:{{{filename2|}}}|
{{listen/core
|filename = {{{filename2|}}}
|title = {{{title2|}}}
|description = {{{description2|}}}
|alt = {{{alt2|}}}
|play = {{{play2|}}}
}}}}{{#if:{{{filename3|}}}|
{{listen/core
|filename = {{{filename3|}}}
|title = {{{title3|}}}
|description = {{{description3|}}}
|alt = {{{alt3|}}}
|play = {{{play3|}}}
}}}}{{#if:{{{filename4|}}}|
{{listen/core
|filename = {{{filename4|}}}
|title = {{{title4|}}}
|description = {{{description4|}}}
|alt = {{{alt4|}}}
|play = {{{play4|}}}
}}}}{{#if:{{{filename5|}}}|
{{listen/core
|filename = {{{filename5|}}}
|title = {{{title5|}}}
|description = {{{description5|}}}
|alt = {{{alt5|}}}
|play = {{{play5|}}}
}}}}{{#if:{{{filename6|}}}|
{{listen/core
|filename = {{{filename6|}}}
|title = {{{title6|}}}
|description = {{{description6|}}}
|alt = {{{alt6|}}}
|play = {{{play6|}}}
}}}}{{#if:{{{filename7|}}}|
{{listen/core
|filename = {{{filename7|}}}
|title = {{{title7|}}}
|description = {{{description7|}}}
|alt = {{{alt7|}}}
|play = {{{play7|}}}
}}}}{{#if:{{{filename8|}}}|
{{listen/core
|filename = {{{filename8|}}}
|title = {{{title8|}}}
|description = {{{description8|}}}
|alt = {{{alt8|}}}
|play = {{{play8|}}}
}}}}{{#if:{{{filename9|}}}|
{{listen/core
|filename = {{{filename9|}}}
|title = {{{title9|}}}
|description = {{{description9|}}}
|alt = {{{alt9|}}}
|play = {{{play9|}}}
}}}}{{#if:{{{filename10|}}}|
{{listen/core
|filename = {{{filename10|}}}
|title = {{{title10|}}}
|description = {{{description10|}}}
|alt = {{{alt10|}}}
|play = {{{play10|}}}
}}}}
|below = {{#ifeq:{{{plain|}}}|yes||{{#ifeq:{{{help|}}}|no||<span style="font-size:smaller;">''{{#if:{{{filename2|}}}{{{filename3|}}}{{{filename4|}}}{{{filename5|}}}{{{filename6|}}}{{{filename7|}}}{{{filename8|}}}{{{filename9|}}}{{{filename10|}}}|these files|ਇਸ ਫ਼ਾਈਲ}} ਨੂੰ ਸੁਣਨ ਵਿੱਚ ਪਰੇਸ਼ਾਨੀ ਆ ਰਹੀ ਹੈ? ਤਾਂ ਵੇਖੋ [[w:Wikipedia:Media help|ਮੀਡੀਆ ਮਦਦ]].''</span>}}}}
}}<noinclude>{{documentation}}</noinclude>
et2awrvveqg0brjjffp14a3v9uxzp32
ਫਰਮਾ:Side box
10
2614
4797
2017-04-11T10:05:52Z
Satpal Dandiwal
1275
new
wikitext
text/x-wiki
<table class="metadata plainlinks mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}}" style="border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
<tr>
{{#switch:{{{image|}}}
|<!--BLANK-->|none={{td}}
|#default=<td class="mbox-image">{{{image}}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright">{{{imageright}}}</td>
}}
</tr>
{{#if:{{{below|}}}
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr>
}}
</table><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
nyjbtuj9j58ne6vpqzffly0qwrdofwp
ਫਰਮਾ:Listen/core
10
2615
4798
2017-04-11T10:07:46Z
Satpal Dandiwal
1275
new
wikitext
text/x-wiki
<div class="haudio">
<div style="padding:2px 0;" class="fn">[[:File:{{{filename}}}|{{{title}}}]]</div>
<div style="padding-right:4px;>{{#ifeq:{{{play|}}}|no||[[File:{{{filename}}}|220px|noicon|alt={{{alt|}}}]]}}</div>
<div style="padding:0;" class="description">{{{description|}}}</div>
</div>
<hr><noinclude>[[Category:Template subpages|{{PAGENAME}}]]</noinclude>
jzkvs3gpwm2xhlr79ip8s95utjudd3v
ਫਰਮਾ:ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ
10
2616
4799
2017-04-11T10:11:58Z
Satpal Dandiwal
1275
new
wikitext
text/x-wiki
<div style="font-size: x-large; text-align: center; margin: 0px auto 0px auto;">— [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/A|A]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/B|B]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/C|C]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/D|D]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/E|E]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/F|F]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/G|G]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/H|H]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/I|I]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/J|J]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/K|K]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/L|L]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/M|M]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/N|N]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/O|O]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/P|P]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/Q|Q]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/R|R]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/S|S]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/T|T]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/U|U]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/V|V]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/W|W]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/X|X]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/Y|Y]] [[ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/Z|Z]] —<br/>
o1jg2ivaw3996ogykfaxy87z01n11uc
ਫਰਮਾ:Td
10
2617
4800
2017-04-11T10:15:18Z
Satpal Dandiwal
1275
new
wikitext
text/x-wiki
<includeonly><td style="width:1px;"></td></includeonly><noinclude>{{documentation}}</noinclude>
5ys9phlg8qmic82t3awvi5js5hp1779
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/B
0
2618
5341
4802
2023-01-31T03:37:45Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''B''' ਦੇ ਲਈ '''B'''all</div>
[[File:Generic_football.png|frameless|upright=1.5|center]]
{{ {{BOOKTEMPLATE}} }}
a38n2rwe2eu055kc3imud8o8jd0vga0
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/C
0
2619
5343
5282
2023-01-31T03:38:27Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''C''' ਦੇ ਲਈ '''C'''at</div>
[[File:Black hills cat-tochichi.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = C is for cat.ogg
| title = C ਦੇ ਲਈ Cat
}}
pxptxk73a177ymaqbbeqw8iib5jgs59
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/D
0
2620
5344
5300
2023-01-31T03:38:39Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''D''' ਦੇ ਲਈ '''D'''uck</div>
[[File:Coin-img_2219.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
pmmh1whvb29q4ackftgdeyuvqqsrfzf
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/E
0
2621
5345
5283
2023-01-31T03:38:56Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''E''' ਦੇ ਲਈ '''E'''gg</div>
[[File:Natural Easter Colored Eggs.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = E is for egg.ogg
| title = E ਦੇ ਲਈ egg
}}
ih4hpygreaf5wf0hwa565m9yrkv7zxa
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/F
0
2622
5346
5305
2023-01-31T03:39:16Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''F''' ਦੇ ਲਈ '''F'''ish</div>
[[File:Pseudorasbora parva(edited version).jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = F is for fish.ogg
| title = F ਦੇ ਲਈ fish
}}
tahf1ezt2aprl1n0ess7ufx9wigqbdn
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/G
0
2623
5347
5328
2023-01-31T03:39:34Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''G''' ਦੇ ਲਈ '''G'''ate</div>
[[File:Hargimont 051030 (5).JPG|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = G is for gate.ogg
| title = G ਦੇ ਲਈ gate
}}
npmzicgivzil4kq7xe8ks6fjcvvmtvg
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/H
0
2624
5372
5297
2023-01-31T03:46:15Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''H''' ਦੇ ਲਈ '''H'''orse</div>
[[File:Bess2.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = H is for horse.ogg
| title = H ਦੇ ਲਈ horse
}}
7r9ibzmdu2fot28rcmuzdm6x6d9k4u2
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/I
0
2625
5371
5295
2023-01-31T03:46:06Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''I''' ਦੇ ਲਈ '''I'''gloo</div>
[[File:Igloo_outside.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = I is for igloo.ogg
| title = I ਦੇ ਲਈ igloo
}}
mj2to8dzmu1bs6o7nckhq86jbtpho56
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/J
0
2626
5370
5315
2023-01-31T03:45:55Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''J''' ਦੇ ਲਈ '''J'''am</div>
[[File:Marmeladesorten.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = J is for jam.ogg
| title = J ਦੇ ਲਈ jam
}}
qxhne8wxv7sarr5b2v7pd89snfjkk8g
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/K
0
2627
5352
5298
2023-01-31T03:42:05Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''K''' ਦੇ ਲਈ '''K'''angaroo</div>
[[File:Kangaroo1.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = K is for kangaroo.ogg
| title = K ਦੇ ਲਈ kangaroo
}}
agf5y003u8hhn9l1x0yl95igbwfcyvo
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/L
0
2628
5353
5294
2023-01-31T03:42:10Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''L''' ਦੇ ਲਈ '''L'''ion</div>
[[File:Lion-1.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = L is for lion.ogg
| title = L ਦੇ ਲਈ lion
}}
k0vqbooiduplz2ct6m9sn92vqa8raqa
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/M
0
2629
5354
5275
2023-01-31T03:42:17Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''M''' ਦੇ ਲਈ '''M'''ouse</div>
[[File:Apodemus_sylvaticus_bosmuis.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = M is for mouse.ogg
| title = M ਦੇ ਲਈ mouse
}}
2hth0k7jfqtcszcf5tfds2qik990yyk
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/N
0
2630
5355
5319
2023-01-31T03:42:22Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''N''' ਦੇ ਲਈ '''N'''est</div>
[[File:Hausrotschwanz_Brutpflege_2006-05-24_211.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = N is for nest.ogg
| title = N ਦੇ ਲਈ nest
}}
k03tiuwdmwymtveqxl0ig0hy0kkbcvx
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/O
0
2631
5356
5301
2023-01-31T03:42:28Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''O''' ਦੇ ਲਈ '''O'''ctopus (ऑक्टोपस)</div>
[[File:Expl0717 - Flickr - NOAA Photo Library.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = O is for octopus.ogg
| title = O ਦੇ ਲਈ octopus
}}
o7hf12slqqv63uq0vp74sd4xw6zu7gq
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/P
0
2632
5364
5357
2023-01-31T03:43:50Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''P''' ਦੇ ਲਈ '''P'''ig (सुअर)</div>
[[File:Pig_USDA01c0116.jpg|frameless|upright=1.5|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = P is for pig.ogg
| title = P ਦੇ ਲਈ pig
}}
qemfxwhz0k99u0c1do5txzkhvmwcdi8
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/Q
0
2633
5366
5365
2023-01-31T03:44:24Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''Q''' ਦੇ ਲਈ '''Q'''ueen (रानी)</div>
[[File:Queen_Victoria_1887.jpg|frameless|upright=1.5|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = Q is for queen.ogg
| title = Q ਦੇ ਲਈ queen
}}
oh469xnolg3o4r3u7aofxlq8mtxn43d
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/R
0
2634
5360
5316
2023-01-31T03:42:49Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''R''' ਦੇ ਲਈ '''R'''oad (सड़क)</div>
[[ਤਸਵੀਰ:Road in Norway.jpg|frameless|upright=2|border|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = R is for road.ogg
| title = R ਦੇ ਲਈ road
}}
[[ਸ਼੍ਰੇਣੀ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ]]
adffb6t9d1c4ug47uhqkm4pxbwv8jtz
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/S
0
2635
5361
5303
2023-01-31T03:42:54Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''S''' ਦੇ ਲਈ '''S'''un (ਸੂਰਜ)</div>
[[ਤਸਵੀਰ:April dawn.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = S is for sun.ogg
| title = S ਦੇ ਲਈ sun
}}
[[ਸ਼੍ਰੇਣੀ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ]]
m8uksmis3h41g9agcz1o8oxeqy2ogpv
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/T
0
2636
5362
5276
2023-01-31T03:42:59Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''T''' ਦੇ ਲਈ '''T'''urtle (ਕੱਛੂਕੁੰਮਾ)</div>
[[ਤਸਵੀਰ:Sea_Turtle.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = T is for turtle.ogg
| title = T ਦੇ ਲਈ turtle
}}
[[ਸ਼੍ਰੇਣੀ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ]]
pjsd2984tw9502qe0x1jfis2nrkdz0v
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/U
0
2637
5369
5368
2023-01-31T03:45:17Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''U''' ਦੇ ਲਈ '''U'''mbrella (ਛੱਤਰੀ)</div>
[[ਤਸਵੀਰ:Umbrella.png|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = U is for umbrella.ogg
| title = U ਦੇ ਲਈ umbrella
}}
[[ਸ਼੍ਰੇਣੀ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ]]
c4fvczmoi2i695muomjvba5f8k32kyl
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/V
0
2638
5350
5274
2023-01-31T03:41:10Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''V''' ਦੇ ਲਈ '''V'''olcano (ਜਵਾਲਾਮੁਖੀ)</div>
[[ਤਸਵੀਰ:Augustine_Volcano_Jan_12_2006.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = V is for volcano.ogg
| title = V ਦੇ ਲਈ volcano
}}
[[ਸ਼੍ਰੇਣੀ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ]]
fruhm5zoz873j75gxzkj6026ke2qijh
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/W
0
2639
5351
5313
2023-01-31T03:41:17Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''W'''ਦੇ ਲਈ '''W'''indow (खिड़की)</div>
[[ਤਸਵੀਰ:Gordijnen_aan_venster.JPG|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = W is for window.ogg
| title = W ਦੇ ਲਈ window
}}
[[ਸ਼੍ਰੇਣੀ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ]]
le8oszavue47mg902hpv0hex8k6xasb
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/X
0
2640
5349
5290
2023-01-31T03:40:34Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''X''' ਦੇ ਲਈ '''X'''ylophone (ਜੀਲੋਫ਼ੋਨ)</div>
[[ਤਸਵੀਰ:Toy xylophone.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = X is for xylophone.ogg
| title = X ਦੇ ਲਈ xylophone
}}
[[ਸ਼੍ਰੇਣੀ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ]]
p2kt5em1kpbpkdflv33af0x8n4e9htr
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/Y
0
2641
5367
5348
2023-01-31T03:44:39Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''Y''' ਦੇ ਲਈ '''Y'''o-yo (ਯੋ-ਯੋ)</div>
[[ਤਸਵੀਰ:Wooden yo-yo.jpg|frameless|upright=1.5|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = Y is for yoyo.ogg
| title = Y ਦੇ ਲਈ yo-yo
}}
[[ਸ਼੍ਰੇਣੀ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ]]
rvu4jlg3tcy0dxtyo3tgsert81vfk2m
ਵਿਕੀਜੂਨੀਅਰ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ/Z
0
2642
5358
5279
2023-01-31T03:42:39Z
Kwamikagami
1817
wikitext
text/x-wiki
<div style="text-align: center; font-size: 400%;">'''Z''' ਦੇ ਲਈ '''Z'''ebra (ਜ਼ੈਬਰਾ)</div>
[[ਤਸਵੀਰ:Zebra_rownikowa_Equus_burchelli_boehmi_RB3.jpg|frameless|upright=2|center]]
{{ {{BOOKTEMPLATE}} }}
<br/>
{{listen
| filename = Z is for zebra.ogg
| title = Z ਦੇ ਲਈ zebra
}}
[[ਸ਼੍ਰੇਣੀ:ਅੰਗਰੇਜ਼ੀ ਵਰਣਮਾਲਾ]]
2byuou3ij4lbedp8j7jitrsq6ujjtwg
ਲੋਕਧਾਰਾ ਦੇ ਕੁਝ ਪੱਖ
0
2643
4829
4828
2017-04-15T16:01:51Z
ਰਾਜਵੀਰ ਕੌਰ
1335
wikitext
text/x-wiki
ਲੇਖਕ ਡਾ.ਗੁਰਮੀਤ ਸਿੰਘ
ਦੇਸ਼ ਭਾਰਤ
ਵਿਸ਼ਾ ਲੋਕਧਾਰਾ ਦੇ ਵੱਖ ਵੱਖ ਪੱਖਾਂ ਦਾ ਅਧਿਐਨ
ਪਬਲੀਕੇਸ਼ਨ ਬਿਊਰੋ/ਪ੍ਰਕਾਸ਼ਕ
6y8qowk6qq81c9jzab390o59at1dsff
ਚੌਥੀ ਕੂਟ (ਕਹਾਣੀ)
0
2658
4931
2018-06-25T02:38:53Z
59.89.78.140
"'ਚੌਥੀ ਕੂਟ' ਪੰਜਾਬੀ ਕਹਾਣੀਕਾਰ ਵਰਿਆਮ ਸਿੰਘ ਸੰਧੂ ਦਾ ਕਹਾਣੀ ਸੰਗ੍ਰ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
'ਚੌਥੀ ਕੂਟ' ਪੰਜਾਬੀ ਕਹਾਣੀਕਾਰ ਵਰਿਆਮ ਸਿੰਘ ਸੰਧੂ ਦਾ ਕਹਾਣੀ ਸੰਗ੍ਰਹਿ ਹੈ ਜੋ ਪਹਿਲੀ ਵਾਰ 1998 ਵਿੱਚ ਪ੍ਰਕਾਸ਼ਤ ਹੋਇਆ ਸੀ। ਇਸਨੂੰ 2000 ਵਿੱਚ ਸਾਹਿਤ ਅਕਾਦਮੀ ਇਨਾਮਮਿਲਿਆ ਸੀ। ਇਸ ਕਿਤਾਬ ਵਿੱਚ ਪੰਜ ਕਹਾਣੀਆਂ ਸ਼ਾਮਿਲ ਹਨ। ਇਸ ਵਿਚਲੀਆਂ ਕਹਾਣੀਆਂ ਚੌਥੀ ਕੂਟ ਅਤੇ ਮੈਂ ਹੁਣ ਠੀਕ ਠੀਕ ਹਾਂ ਦੇ ਅਧਾਰ ਤੇ ਪੰਜਾਬੀ ਵਿੱਚ ਚੌਥੀ ਕੂਟ ਨਾਂ ਦੀ ਫ਼ਿਲਮ ਵੀ ਬਣ ਚੁੱਕੀ ਹੈ ਜਿਸਨੂੰ ਗੁਰਵਿੰਦਰ ਸਿੰਘ ਨੇ ਨਿਰਦੇਸ਼ਿਤ ਕੀਤਾ ਹੈ।
nbhqi2icli61c60qwhbz83c66wcqret
ਪਰਦਾ ਤੇ ਰੌਸ਼ਨੀ
0
2663
5033
4955
2020-10-06T08:44:35Z
Mulkh Singh
1512
wikitext
text/x-wiki
{{Infobox book
| name = ਪਰਦਾ ਤੇ ਰੌਸ਼ਨੀ
| title_orig =
| translator =
| image =
| image_caption =
| author = [[ਰਾਮ ਸਰੂਪ ਅਣਖੀ]]
| illustrator =
| cover_artist =
| country =
| language = ਪੰਜਾਬੀ
| series =
| subject =20ਵੀਂ ਸਦੀ ਦਾ ਮਲਵਈ ਪੰਜਾਬ ਜੀਵਨ
| genre = ਨਾਵਲ
| publisher =
| pub_date =
| english_pub_date =
| media_type =
| pages =
| isbn =
| oclc =
| dewey =
| congress =
| preceded_by =
| followed_by =
}}
'''ਪਰਦਾ ਤੇ ਰੌਸ਼ਨੀ''' [[ਰਾਮ ਸਰੂਪ ਅਣਖੀ]] ਦਾ ਲਿਖਿਆ ਇੱਕ ਪੰਜਾਬੀ ਨਾਵਲ ਹੈ।
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
{{ਅਧਾਰ}}
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ ਨਾਵਲ]]
[[ਸ਼੍ਰੇਣੀ:ਰਾਮ ਸਰੂਪ ਅਣਖੀ ਦੇ ਨਾਵਲ]]
rvyewjzwm36fgyp7nxlaud0ceue1q6d
ਪਰਤਾਪੀ
0
2664
5032
4956
2020-10-06T08:43:56Z
Mulkh Singh
1512
wikitext
text/x-wiki
{{Infobox book
| name =ਪਰਤਾਪੀ
| title_orig =
| translator =
| image =
| image_caption =
| author = [[ਰਾਮ ਸਰੂਪ ਅਣਖੀ]]
| illustrator =
| cover_artist =
| country =
| language = ਪੰਜਾਬੀ
| series =
| subject =
| genre = ਨਾਵਲ
| publisher =
| pub_date =
| english_pub_date =
| media_type =
| pages =
| isbn =
| oclc =
| dewey =
| congress =
| preceded_by =
| followed_by =
}}
'''ਪਰਤਾਪੀ''' [[ਰਾਮ ਸਰੂਪ ਅਣਖੀ]] ਦਾ ਲਿਖਿਆ ਇੱਕ ਪੰਜਾਬੀ ਨਾਵਲ ਹੈ। ਇਸ੍ ਉੱਤੇ ਫਿਲਮ ਵੀ ਬਣੀ ਹੈ। <ref>[http://www.punjabinewsonline.com/related-stories.php?related=%E0%A8%AA%E0%A9%B0%E0%A8%9C%E0%A8%BE%E0%A8%AC%E0%A9%80%20%E0%A8%B2%E0%A9%87%E0%A8%96%E0%A8%95%E0%A8%BE%E0%A8%82 ਪੰਜਾਬੀ ਦੇ ਚਮਤਕਾਰੀ ਲੇਖਕ - 1]</ref>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
{{ਅਧਾਰ}}
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ ਨਾਵਲ]]
[[ਸ਼੍ਰੇਣੀ:ਰਾਮ ਸਰੂਪ ਅਣਖੀ ਦੇ ਨਾਵਲ]]
hv5mbdv675gsbtizhhcrc87mcigggg2
ਦੁੱਲੇ ਦੀ ਢਾਬ
0
2665
5028
5026
2020-10-06T08:39:20Z
Mulkh Singh
1512
wikitext
text/x-wiki
{{Infobox book
| name =ਦੁੱਲੇ ਦੀ ਢਾਬ
| title_orig =
| translator =
| image =
| image_caption =
| author = [[ਰਾਮ ਸਰੂਪ ਅਣਖੀ]]
| illustrator =
| cover_artist =
| country =
| language = ਪੰਜਾਬੀ
| series =
| subject =20ਵੀਂ ਸਦੀ ਦੇ ਮਲਵਈ ਪੰਜਾਬ ਦਾ ਜੀਵਨ
| genre = ਨਾਵਲ
| publisher =
| pub_date =
| english_pub_date =
| media_type =
| pages =
| isbn =
| oclc =
| dewey =
| congress =
| preceded_by =
| followed_by =
}}
'''ਦੁੱਲੇ ਦੀ ਢਾਬ ''' [[ਰਾਮ ਸਰੂਪ ਅਣਖੀ]] ਦਾ ਲਿਖਿਆ ਇੱਕ ਪੰਜਾਬੀ ਨਾਵਲ ਹੈ। ਇਹ ਵੱਡ-ਆਕਾਰੀ ਅਤੇ ਮਹਾ-ਕਾਵਿਕ ਪਲਾਟ ਵਾਲਾ ਨਾਵਲ ਕਿਹਾ ਜਾ ਸਕਦਾ ਹੈ।<ref>[http://www.likhari.org/archive/Likhari%20Pages%202010/5642%20maqsoodpuri%2044_ram%20sarup%20ankhee%20da%20duley%20dee%20dhaab%20%2021%20April%202010.htm ]</ref> ਅਸਲ ਵਿੱਚ ਅਣਖੀ ਨੇ ਪੰਜ ਨਾਵਲਾਂ ਨੂੰ ਇੱਕ ਲੜੀਵਾਰ ਢੰਗ ਨਾਲ ਲਿਖਿਆ ਜੋ ਆਪਣੇ-ਆਪ ਵਿੱਚ ਵੀ ਪੂਰੇ ਨਾਵਲ ਹਨ ਅਤੇ "ਦੁੱਲੇ ਦੀ ਢਾਬ" ਵਿੱਚ ਇਕੋ ਕਹਾਣੀ ਬਣ ਜਾਂਦੇ ਹਨ।ਇਹ ਪੰਜੇ ਨਾਵਲ ਪਹਿਲਾਂ "[[ਸਰਦਾਰੋ]], [[ਹਮੀਰਗੜ੍ਹ]], [[ਜੱਸੀ ਸਰਪੰਚ ]], [[ਅੱਛਰਾ ਦਾਂਦੂ]] ਅਤੇ [[ਸਲਫਾਸ]] ਨਾਂਵਾਂ ਹੇਠ ਪ੍ਰਕਾਸ਼ਿਤ ਹੋਏ।
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
{{ਅਧਾਰ}}
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ ਨਾਵਲ]]
[[ਸ਼੍ਰੇਣੀ:ਰਾਮ ਸਰੂਪ ਅਣਖੀ ਦੇ ਨਾਵਲ]]
js7819padlal93cwcn6c808cr0t139m
ਜੱਸੀ ਸਰਪੰਚ
0
2666
5281
5031
2022-11-29T21:00:57Z
Suyash.dwivedi
1854
/* ਹਵਾਲੇ */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
{{Infobox book
| name = ਜੱਸੀ ਸਰਪੰਚ
|title_orig =
| translator =
| image =
| image_caption =
| author = [[ਰਾਮ ਸਰੂਪ ਅਣਖੀ]]
| illustrator =
| cover_artist =
| country = ਭਾਰਤ
| language = ਪੰਜਾਬੀ
| series = ਦੁੱਲੇ ਦੀ ਢਾਬ
| subject =20ਵੀਂ ਸਦੀ ਦੇ ਮਗਰਲੇ ਅਧ ਦੇ ਸਮੇਂ ਮਲਵਈ ਪੰਜਾਬ ਦਾ ਜੀਵਨ
| genre = ਨਾਵਲ
| publisher =
| pub_date =
| english_pub_date =
| media_type =
| pages =
| isbn =
| oclc =
| dewey =
| congress =
| preceded_by =
| followed_by =
}}
'''ਜੱਸੀ ਸਰਪੰਚ''' [[ਰਾਮ ਸਰੂਪ ਅਣਖੀ]] ਦਾ ਲਿਖਿਆ ਹੋਇਆ [[ਦੁੱਲੇ ਦੀ ਢਾਬ]] ਲੜੀ ਦੇ ਪੰਜ ਨਾਵਲਾਂ ਵਿੱਚੋਂ ਤੀਜਾ ਨਾਵਲ ਹੈ।
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
{{ਅਧਾਰ}}
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ ਨਾਵਲ]]
[[ਸ਼੍ਰੇਣੀ:ਰਾਮ ਸਰੂਪ ਅਣਖੀ ਦੇ ਨਾਵਲ]]
[[ਸ਼੍ਰੇਣੀ:ਨਾਵਲ]]
hhm9ydvmhmxn6xx6f7xmk0ckd6tjhmi
ਗੇਲੋ
0
2667
5029
4959
2020-10-06T08:40:19Z
Mulkh Singh
1512
wikitext
text/x-wiki
{{Infobox book
| name =ਗੇਲੋ
| title_orig =
| translator =
| image =
| image_caption =
| author = [[ਰਾਮ ਸਰੂਪ ਅਣਖੀ]]
| illustrator =
| cover_artist =
| country =
| language = ਪੰਜਾਬੀ
| series =
| subject =ਪੰਜਾਬ ਦੀ ਇੱਕ ਔਰਤ ਦੀ ਕਹਾਣੀ
| genre = ਨਾਵਲ
| publisher =
| pub_date =
| english_pub_date =
| media_type =
| pages =
| isbn =
| oclc =
| dewey =
| congress =
| preceded_by =
| followed_by =
}}
'''ਗੇਲੋ''' [[ਰਾਮ ਸਰੂਪ ਅਣਖੀ]] ਦਾ ਲਿਖਿਆ ਇੱਕ ਪੰਜਾਬੀ ਨਾਵਲ ਹੈ।
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
{{ਅਧਾਰ}}
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ ਨਾਵਲ]]
[[ਸ਼੍ਰੇਣੀ:ਰਾਮ ਸਰੂਪ ਅਣਖੀ ਦੇ ਨਾਵਲ]]
rgbs41ffsdxhf1pei6fmj1mj6iozdr7
ਸ਼੍ਰੇਣੀ:ਛੇਤੀ ਹਟਾਉਣਯੋਗ ਪੰਨੇ
14
2676
5852
4998
2023-06-14T14:21:14Z
Syunsyunminmin
1827
fix link
wikitext
text/x-wiki
__EXPECTUNUSEDCATEGORY__
This category is used by [[m:Global sysops/Speedy delete requests]] until local administrators are available.
bw74qu302fsg4dt9hvnypygsmmxq6f0
ਸ਼੍ਰੇਣੀ:Candidates for speedy deletion
14
2677
4999
2020-05-31T19:17:50Z
Samuele2002
1692
Samuele2002 ਨੇ ਸਫ਼ਾ [[ਸ਼੍ਰੇਣੀ:Candidates for speedy deletion]] ਨੂੰ [[ਸ਼੍ਰੇਣੀ:ਛੇਤੀ ਹਟਾਉਣਯੋਗ ਪੰਨੇ]] ’ਤੇ ਭੇਜਿਆ
wikitext
text/x-wiki
#ਰੀਡਿਰੈਕਟ [[:ਸ਼੍ਰੇਣੀ:ਛੇਤੀ ਹਟਾਉਣਯੋਗ ਪੰਨੇ]]
lagc0fotybt46bvg9p5f04lyuwgkjgs
ਪੰਜਾਬੀ ਵਿਆਕਰਨ
0
2691
5289
5196
2022-11-29T21:02:07Z
Suyash.dwivedi
1854
/* ਕਿਤਾਬ ਦੀ ਵਿਆਖਿਆ */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
== ਕਿਤਾਬ ਦੀ ਵਿਆਖਿਆ ==
* '''ਮੰਤਵ''': ਇਹ ਪੁਸਤਕ ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਦੇ ਬੱਚਿਆਂ ਲਈ ਬਣਾਈ ਜਾ ਰਹੀ ਹੈ। ਇਸ ਵਿੱਚ ਇਹ ਵਿਆਕਰਨ ਦੇ ਸਾਰੇ ਨਿਯਮਾਂ ਨੂੰ ਆਪਣੇ ਦਾਇਰੇ ਵਿੱਚ ਲਵੇਗੀ।
* '''ਉਦੇਸ਼:''' ਇਸ ਪੁਸਤਕ ਦਾ ਉਦੇਸ਼ ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਪੱਧਰ ਦੇ ਵਿਦਿਆਰਥੀਆਂ ਲਈ ਆਸਾਨ ਅਤੇ ਰੌਚਕ, ਚਿੱਤਰਾਂ ਨਾਲ ਭਰਪੂਰ ਪੰਜਾਬੀ ਵਿਆਕਰਨ ਦੀ ਕਿਤਾਬ ਤਿਆਰ ਕਰਨਾ ਹੈ।
== ਵਿਸ਼ਾ ਸੂਚੀ ==
# [[/ਭਾਸ਼ਾ ਅਤੇ ਵਿਆਕਰਨ]]
# [[/ਲਿਪੀ ਅਤੇ ਵਰਨਮਾਲਾ]]
# [[/ਅੱਖਰ ਜਾਂ ਵਰਨ-ਬੋਧ]]
# [[/ਲਗਾਂ-ਮਾਤਰਾਂ ਅਤੇ ਲਗਾਖਰ]]
# [[/ਸ਼ਬਦ-ਬੋਧ]]
# [[/ਵਾਕ-ਬੋਧ]]
# [[/ਨਾਂਵ]]
# [[/ਲਿੰਗ]]
# [[/ਵਚਨ]]
# [[/ਪੜਨਾਂਵ]]
# [[/ਵਿਸ਼ੇਸ਼ਣ]]
# [[/ਕਿਰਿਆ]]
# [[/ਵਿਰੋਧੀ ਸ਼ਬਦ]]
# [[/ਸਮਾਨ-ਅਰਥ ਵਾਲ਼ੇ ਸ਼ਬਦ]]
# [[/ਬਹੁਤੇ ਸ਼ਬਦਾਂ ਦੀ ਥਾਂ ਇੱਕ ਸ਼ਬਦ]]
# [[/ਅਸ਼ੁੱਧ-ਸ਼ੁੱਧ]]
# [[/ਮੁਹਾਵਰੇ]]
# [[/ਚਿੱਤਰ-ਵਰਨਣ]]
# [[/ਲੇਖ ਰਚਨਾ]]
# [[/ਪੱਤਰ ਅਤੇ ਅਰਜ਼ੀਆਂ]]
# [[/ਕਹਾਣੀ-ਰਚਨਾ]]
# [[/ਮਾਡਲ ਟੈੱਸਟ ਪੇਪਰ]]
[[ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਭਾਸ਼ਾ ਅਤੇ ਵਿਆਕਰਨ|ਭਾਸ਼ਾ ਅਤੇ ਵਿਆਕਰਨ]] →
aipkyrwn71orvpk35g0q5tw4s9pvskw
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਭਾਸ਼ਾ ਅਤੇ ਵਿਆਕਰਨ
0
2692
5966
5850
2024-02-01T07:24:14Z
Mulkh Singh
1512
wikitext
text/x-wiki
[[ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਲਿਪੀ ਅਤੇ ਵਰਨਮਾਲਾ|ਲਿਪੀ ਅਤੇ ਵਰਨਮਾਲਾ]] →
<gallery>
Brownback-reading (original).png
Write for the right training sessions, Marseille 06.jpg
</gallery>
ਆਓ ਇਹਨਾਂ ਚਿੱਤਰਾਂ ਨੂੰ ਦੇਖੀਏ ਅਤੇ ਸਮਝੀਏ।
==ਭਾਸ਼ਾ==
ਵਿਆਕਰਨ ਦੀ ਕਿਤਾਬ
t3294fp8yqbdqmti5akg60x65i29ued
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਲਿਪੀ ਅਤੇ ਵਰਨਮਾਲਾ
0
2693
5327
5213
2022-11-29T21:09:04Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
←[[ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਭਾਸ਼ਾ ਅਤੇ ਵਿਆਕਰਨ|ਭਾਸ਼ਾ ਅਤੇ ਵਿਆਕਰਨ]]
[[ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਅੱਖਰ ਜਾਂ ਵਰਨ-ਬੋਧ|ਅੱਖਰ ਜਾਂ ਵਰਨ-ਬੋਧ]] →
ਪਹਿਲੇ ਚਿੱਤਰ ਵਿੱਚ
tdgek3kvfdrx1al0an66rs3um5qk6o5
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਅੱਖਰ ਜਾਂ ਵਰਨ-ਬੋਧ
0
2694
5211
5208
2022-06-05T14:14:12Z
Mulkh Singh
1512
wikitext
text/x-wiki
←[[ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਲਿਪੀ ਅਤੇ ਵਰਨਮਾਲਾ|ਲਿਪੀ ਅਤੇ ਵਰਨਮਾਲਾ]]{{Right}}
[[ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਲਗਾਂ-ਮਾਤਰਾਂ ਅਤੇ ਲਗਾਖਰ|ਲਗਾਂ-ਮਾਤਰਾਂ ਅਤੇ ਲਗਾਖਰ]] →
[[ਤਸਵੀਰ:Ghar(1).jpg|thumb|ਭਾਰਤੀ ਪੰਜਾਬ ਦਾ ਇੱਕ ਘਰ]]
ਘਰ ਸ਼ਬਦ ਬਣਿਆ ਹੈ : ਘ + ਰ ਤੋਂ
bqkusza4k29fs6zkoe47fo9fkxd5wyy
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਲਗਾਂ-ਮਾਤਰਾਂ ਅਤੇ ਲਗਾਖਰ
0
2695
5293
5205
2022-11-29T21:02:23Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
←[[ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਅੱਖਰ ਜਾਂ ਵਰਨ-ਬੋਧ|ਅੱਖਰ ਜਾਂ ਵਰਨ-ਬੋਧ]]
ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਨੂੰ ਲਿਖਣ ਸਮੇਂ
i71arpr4cmos4q9puegv4ql7kepwof7
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਸ਼ਬਦ-ਬੋਧ
0
2696
5155
5154
2022-06-05T07:24:07Z
Mulkh Singh
1512
wikitext
text/x-wiki
[[File:Maceta.jpg|thumb|ਗਮਲਾ]]
ਗ +ਮ +ਲਾ = ਗਮਲਾ
a1c2p3p6suo4k0yljakpbk4s8e4nweg
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਵਾਕ-ਬੋਧ
0
2697
5156
2022-06-05T07:30:30Z
Mulkh Singh
1512
"[[Image:Lightning animation.gif|ਅਸਮਾਨੀ ਬਿਜਲੀ ਲਿਸ਼ਕਨ ਦਾ ਦ੍ਰਿਸ਼]] ਬੱਦਲ ਗਰਜ ਰਹੇ ਹਨ।" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
[[Image:Lightning animation.gif|ਅਸਮਾਨੀ ਬਿਜਲੀ ਲਿਸ਼ਕਨ ਦਾ ਦ੍ਰਿਸ਼]]
ਬੱਦਲ ਗਰਜ ਰਹੇ ਹਨ।
04d0p24a2ql5vdlvjfppwcwlsme2i5n
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਨਾਂਵ
0
2698
5157
2022-06-05T07:32:38Z
Mulkh Singh
1512
"'''ਸ਼ਾਮ''' ਦਾ ਸਮਾਂ ਹੈ। '''ਦਾਦਾ ਜੀ''' '''ਸੋਫ਼ੇ''' 'ਤੇ ਬੈਠੇ '''ਪੁਸਤਕ''' ਪੜ੍ਹ ਰਹੇ ਹਨ।" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
'''ਸ਼ਾਮ''' ਦਾ ਸਮਾਂ ਹੈ। '''ਦਾਦਾ ਜੀ''' '''ਸੋਫ਼ੇ''' 'ਤੇ ਬੈਠੇ '''ਪੁਸਤਕ''' ਪੜ੍ਹ ਰਹੇ ਹਨ।
t7o1e0nrizvdmjdn9qxq0cnpfexb1nx
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਲਿੰਗ
0
2699
5159
5158
2022-06-05T07:34:03Z
Mulkh Singh
1512
wikitext
text/x-wiki
ਪਿਤਾ ਜੀ ਅਖ਼ਬਾਰ ਪੜ੍ਹ ਰਹੇ ਹਨ।
ਮਾਤਾ ਜੀ ਟੀ.ਵੀ ਵੇਖ ਰਹੇ ਹਨ।
kf44njkd7grspmh012r6i12zhe5gz4g
ਫਰਮਾ:BOOKTEMPLATE/doc
10
2700
5462
5161
2023-03-23T13:35:43Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template generates the conventional name for the main template of the book associated with the current page; this is also conventionally a prefix for the names of the book's other templates. As of this writing, this name is {{nowrap|<code>Template:{{tl|BOOKNAME}}</code>}}.
=== Usage ===
Simply place <code><nowiki>{{BOOKTEMPLATE}}</nowiki></code> on a page to get the output. To call the template, use {{nowrap|<code><nowiki>{{{{BOOKTEMPLATE}}|...}}</nowiki></code>}}. To call a subtemplate <code>Foo</code>, use {{nowrap|<code><nowiki>{{{{BOOKTEMPLATE}}/Foo|...}}</nowiki></code>}}.
Optionally specify a page as a parameter to see the output for a different page than the current one.
:<code><nowiki>{{BOOKTEMPLATE|<full pagename>}}</nowiki></code>
=== Examples ===
{{magic word templates/book page examples}}
=== See also ===
{{magic word templates/book page see also}}
{{magic word templates/subject page see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Magic word templates|{{PAGENAME}}]]
</includeonly>
hx0mpjbv6jmzp9yuxkk0a30ihiuyvos
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਵਚਨ
0
2701
5286
5167
2022-11-29T21:01:26Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
[[File:Zebra, Belfast Zoo - geograph.org.uk - 1847924.jpg|Zebra, Belfast Zoo - geograph.org.uk - 1847924]]
[[File:Zebra in Newquay Zoo - geograph.org.uk - 2155964.jpg|Zebra in Newquay Zoo - geograph.org.uk - 2155964]]
[[File:Giraffes, Belfast Zoo - geograph.org.uk - 1847922.jpg|Giraffes, Belfast Zoo - geograph.org.uk - 1847922]]
ਉਪਰ ਦਿੱਤੇ ਚਿੱਤਰਾਂ ਨੂੰ ਧਿਆਨ ਨਾਲ ਦੇਖੋ। ਇਹ ਚਿੜਿਆਘਰ ਵਿੱਚੋਂ ਲਏ ਗਏ ਹਨ।
5bsayr62mssn24qobiap8ss6pfnr9hr
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਪੜਨਾਂਵ
0
2702
5168
2022-06-05T09:44:40Z
Mulkh Singh
1512
"ਉਹ ਸ਼ਬਦ ਜੋ ਨਾਂਵ ਦੀ ਥਾਂ 'ਤੇ ਵਰਤੇ ਜਾਂਦੇ ਹਨ, ਪੜਨਾਂਵ ਅਖਵਾਉਂਦੇ ਹਨ।" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
ਉਹ ਸ਼ਬਦ ਜੋ ਨਾਂਵ ਦੀ ਥਾਂ 'ਤੇ ਵਰਤੇ ਜਾਂਦੇ ਹਨ, ਪੜਨਾਂਵ ਅਖਵਾਉਂਦੇ ਹਨ।
8xppxmz3xret2stcndcjxhn7d14tnqm
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਵਿਸ਼ੇਸ਼ਣ
0
2703
5314
5176
2022-11-29T21:06:04Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
[[ਤਸਵੀਰ:Doll (AM 1970.273-2).jpg|largepx|frameless|center|ਗੁੱਡੀ]]
ਇਹ ਬਹੁਤ ਸੋਹਣੀ ਗੁੱਡੀ ਹੈ। ਇਸ ਦੇ ਘੁੰਗਰਾਲੇ ਵਾਲ਼ ਹਨ। ਇਸ ਦੀਆਂ ਗੱਲ੍ਹਾਂ ਲਾਲ ਹਨ।
pxplwiate69csfsobw5qyvejkdlf5ri
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਕਿਰਿਆ
0
2704
5318
5177
2022-11-29T21:06:31Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
[[ਤਸਵੀਰ:Nidhogg video game animated gameplay.gif|extra largepx|frameless|center|ਵੀਡੀਓ ਗੇਮ]]
[[ਤਸਵੀਰ:A boy smiling.jpg|frameless|left|ਮੁੰਡਾ]]
c2nzhksntkeoc3woshu924pu3tj5gnh
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਵਿਰੋਧੀ ਸ਼ਬਦ
0
2705
5310
5179
2022-11-29T21:05:19Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
[[ਤਸਵੀਰ:Black cat and white cat, both lying on the floor.jpg|largepx|frameless|center|ਕਾਲ਼ੀ ਅਤੇ ਚਿੱਟੀ ਬਿੱਲੀ]]
ਮੇਰੀ ਬਿੱਲੀ ਕਾਲ਼ੀ ਹੈ।
ਤੇਰੀ ਬਿੱਲੀ ਚਿੱਟੀ ਹੈ।
t0mcn3q7ilvfvov7va7zlgt2v69pvn1
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਸਮਾਨ-ਅਰਥ ਵਾਲ਼ੇ ਸ਼ਬਦ
0
2706
5181
5180
2022-06-05T10:11:17Z
Mulkh Singh
1512
wikitext
text/x-wiki
[[ਤਸਵੀਰ:Lazarus and the Rich Man MET DP818354.jpg|largepx|frameless|centre]]
ਉਹ '''ਮਨੁੱਖ''' ਬਹੁਤ '''ਅਮੀਰ''' ਹੈ।
ਉਹ '''ਆਦਮੀ''' ਬਹੁਤ '''ਦੌਲਤਮੰਦ''' ਹੈ।
gmc1i55mpi494956phhsdur4ukzp2ug
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਬਹੁਤੇ ਸ਼ਬਦਾਂ ਦੀ ਥਾਂ ਇੱਕ ਸ਼ਬਦ
0
2707
5182
2022-06-05T10:21:26Z
Mulkh Singh
1512
"[[ਤਸਵੀਰ:Teacher at blackboard (1924).jpg|largepx|frameless|center]] ਜੋ ਸਕੂਲ ਵਿੱਚ ਪੜ੍ਹਾਉਂਦਾ ਹੈ---- '''ਅਧਿਆਪਕ''' [[ਤਸਵੀਰ:Doctor uses a stethoscope to examine a young patient.JPEG|xllpx|frameless|center]] ਜੋ ਬਿਮਾਰ ਦਾ ਇਲਾਜ ਕਰੇ -- '''ਡਾਕਟਰ'''" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
[[ਤਸਵੀਰ:Teacher at blackboard (1924).jpg|largepx|frameless|center]]
ਜੋ ਸਕੂਲ ਵਿੱਚ ਪੜ੍ਹਾਉਂਦਾ ਹੈ---- '''ਅਧਿਆਪਕ'''
[[ਤਸਵੀਰ:Doctor uses a stethoscope to examine a young patient.JPEG|xllpx|frameless|center]]
ਜੋ ਬਿਮਾਰ ਦਾ ਇਲਾਜ ਕਰੇ -- '''ਡਾਕਟਰ'''
3zportio5ywfrwctkne1ttk8kkhe7cr
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਅਸ਼ੁੱਧ-ਸ਼ੁੱਧ
0
2708
5184
5183
2022-06-05T10:47:41Z
Mulkh Singh
1512
wikitext
text/x-wiki
ਭਾਸ਼ਾ ਨੂੰ ਬੋਲਣ ਅਤੇ ਲਿਖਣ ਲਈ ਇਹ ਬਹੁਤ ਜ਼ਰੂਰੀ ਹੈ ਕਿ ਸ਼ਬਦ-ਜੋੜ ਸ਼ੁੱਧ ਹੋਣ। ਹੋਠਾਂ ਕੁਝ ਸ਼ਬਦ ਜੋੜ ਦਿੱਤੇ ਜਾ ਰਹੇ ਹਨ ਜਿਹੜੇ ਅਸ਼ੁੱਧ ਤੋਂ ਸ਼ੁੱਧ ਕੀਤੇ ਗਏ ਹਨ:
{| class="wikitable"
|+ ਅਸ਼ੁੱਧ-ਸ਼ੁੱਧ
|-
! ਅਸ਼ੁੱਧ !! ਸ਼ੁੱਧ !! ਅਸ਼ੁੱਧ !! ਸ਼ੁੱਧ
|-
| ਓਰਤ || ਔਰਤ || ਕੇਸ਼ || ਕੇਸ
|-
| ਅੱਦਾ || ਅੱਧਾ || ਖੇਡਨਾ || ਖੇਡਣਾ
|-
| ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ
|-
| ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ
|-
| ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ
|-
| ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ
|-
| ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ
|-
| ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ
|-
| ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ
|-
| ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ
|-
| ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ
|-
| ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ
|-
| ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ
|-
| ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ
|-
| ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ || ਮਿਸਾਲ
|}
eyr42nrid1wt553ohe21eyfy05i7n7l
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਮੁਹਾਵਰੇ
0
2709
5185
2022-06-05T12:16:59Z
Mulkh Singh
1512
"[[ਤਸਵੀਰ:2016-08-20 14-29-56 reconst.jpg|largepx|frameless|left]] ਰਿਸ਼ਭ, ਤੂੰ ਬੜੇ ਦਿਨਾਂ ਬਾਅਦ ਮਿਲਿਆ ਹੈਂ, ਤੂੰ ਤਾਂ '''ਈਦ ਦਾ ਚੰਨ ਹੀ ਹੋ ਗਿਆ''' ਹੈਂ।" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
[[ਤਸਵੀਰ:2016-08-20 14-29-56 reconst.jpg|largepx|frameless|left]]
ਰਿਸ਼ਭ, ਤੂੰ ਬੜੇ ਦਿਨਾਂ ਬਾਅਦ ਮਿਲਿਆ ਹੈਂ, ਤੂੰ ਤਾਂ '''ਈਦ ਦਾ ਚੰਨ ਹੀ ਹੋ ਗਿਆ''' ਹੈਂ।
kda4vui6tu92vflb5ms0nzq8x8quxji
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਚਿੱਤਰ-ਵਰਨਣ
0
2710
5307
5186
2022-11-29T21:05:01Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
[[File:Sebastiaan Vrancx - Autumn, market scene in the heart of a village.jpg|Sebastiaan Vrancx - Autumn, market scene in the heart of a village]]
fotw9afgjefay7g3ek5cws2pm969lly
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਲੇਖ ਰਚਨਾ
0
2711
5309
5187
2022-11-29T21:05:14Z
Suyash.dwivedi
1854
/* top */clean up ਦੀ ਵਰਤੋਂ ਨਾਲ [[Project:AWB|AWB]]
wikitext
text/x-wiki
[[ਤਸਵੀਰ:Mural painting of Guru Nanak from Gurdwara Baba Atal Rai.jpg|largepx|frameless|center]]
<big>'''ਸ੍ਰੀ ਗੁਰੂ ਨਾਨਕ ਦੇਵ ਜੀ'''
</big>
6tcnvb4h23hpu9pmhgezu1zrqpsciqx
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਪੱਤਰ ਅਤੇ ਅਰਜ਼ੀਆਂ
0
2712
5188
2022-06-05T12:33:01Z
Mulkh Singh
1512
"== ਚਿੱਠੀ ਪੱਤਰ ਦੀਆਂ ਕਿਸਮਾਂ == ਚਿੱਠੀ-ਪੱਤਰ ਕਈ ਕਿਸਮਾਂ ਦੇ ਹੁੰਦੇ ਹਨ; ਜਿਵੇਂ === (ਉ) ਬਿਨੈ-ਪੱਤਰ ਜਾਂ ਅਰਜ਼ੀਆਂ ===" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
== ਚਿੱਠੀ ਪੱਤਰ ਦੀਆਂ ਕਿਸਮਾਂ ==
ਚਿੱਠੀ-ਪੱਤਰ ਕਈ ਕਿਸਮਾਂ ਦੇ ਹੁੰਦੇ ਹਨ; ਜਿਵੇਂ
=== (ਉ) ਬਿਨੈ-ਪੱਤਰ ਜਾਂ ਅਰਜ਼ੀਆਂ ===
e1vzfto5wpqtl1pd369efq89uu5js9n
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਕਹਾਣੀ-ਰਚਨਾ
0
2713
5190
5189
2022-06-05T12:37:41Z
Mulkh Singh
1512
wikitext
text/x-wiki
[[ਤਸਵੀਰ:Frontispiece, An Argosy of Fables.jpg|largepx|frameless|center]]
== ਸ਼ੇਰ ਅਤੇ ਚੂਹਾ ==
fp0y2me161apr4wzztbgjo9ej3orqo1
ਪੰਜਾਬੀ ਵਿਆਕਰਨ/ਮਾਡਲ ਟੈੱਸਟ ਪੇਪਰ
0
2714
5191
2022-06-05T12:40:23Z
Mulkh Singh
1512
"ਜਮਾਤ ਤੀਜੀ ਸਮਾਂ: 1 ਘੰਟਾ 30 ਮਿੰਟ 1. ਹੇਠ ਲਿਖੇ ਅੱਖਰਾਂ ਨੂੰ ਉਹਨਾਂ ਦੇ ਵਰਗਾਂ ਨਾਲ ਮਿਲ਼ਾਓ-" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
ਜਮਾਤ ਤੀਜੀ
ਸਮਾਂ: 1 ਘੰਟਾ 30 ਮਿੰਟ
1. ਹੇਠ ਲਿਖੇ ਅੱਖਰਾਂ ਨੂੰ ਉਹਨਾਂ ਦੇ ਵਰਗਾਂ ਨਾਲ ਮਿਲ਼ਾਓ-
sk8rrfv04s8dsy4oiad7td8bpoo6xby
ਫਰਮਾ:Right
10
2715
5210
5209
2022-06-05T14:12:21Z
Mulkh Singh
1512
wikitext
text/x-wiki
<noinclude>
<templatedata>
{
"params": {
"text move to right": {}
},
"description": {
"pa": "ਟੈਕਸਟ ਪੰਨੇ ਦੇ ਸੱਜੇ ਪਾਸੇ ਜਾਂਦਾ ਹੈ।",
"en": "Text move to Right Side"
},
"paramOrder": [
"text move to right"
]
}
</templatedata>
</noinclude>
dpduphxtm4dr5nmbm14bdv8y9opy6l9
ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ
0
2716
5657
5573
2023-03-29T08:03:22Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
== ਵਿਸ਼ਾ-ਸੂਚੀ ==
[[File:Geometry for elementary school cover.png|right]]
* [[{{BOOKNAME}}/ਜਾਣ-ਪਛਾਣ|ਜਾਣ-ਪਛਾਣ (Introduction)]]
* [[{{BOOKNAME}}/ਧਾਰਨਾਵਾਂ|ਧਾਰਨਾਵਾਂ (Concepts)]]
** [[{{BOOKNAME}}/ਬਿੰਦੂ|ਬਿੰਦੂ (Points)]]
** [[{{BOOKNAME}}/ਰੇਖਾਵਾਂ|ਰੇਖਾਵਾਂ (Lines)]]
** [[{{BOOKNAME}}/ਕੋਣ|ਕੋਣ (Angles)]]
** [[{{BOOKNAME}}/ਸਮਤਲ ਆਕਾਰ|ਸਮਤਲ ਆਕਾਰ (Plane shapes)]]
** [[{{BOOKNAME}}/ਠੋਸ ਚੀਜ਼ਾਂ|ਠੋਸ ਚੀਜ਼ਾਂ (Solids)]]
** [[{{BOOKNAME}}/ਨਾਪ|ਨਾਪ (Measurements)]]
** [[{{BOOKNAME}}/ਸਮਾਨਾਂਤਰ ਰੇਖਾਵਾਂ|ਸਮਾਨਾਂਤਰ ਰੇਖਾਵਾਂ (Parallel lines)]]
** [[{{BOOKNAME}}/ਸਮਰੂਪਤਾ|ਸਮਰੂਪਤਾ (Symmetry)]]
** [[{{BOOKNAME}}/ਪਰਿਵਰਤਨ|ਪਰਿਵਰਤਨ (Transformation)]]
** [[{{BOOKNAME}}/ਤੁਲਨਾ ਕਰਨਾ|ਤੁਲਨਾ ਕਰਨਾ (Coordinates)]]
{{ਅਲਮਾਰੀ|ਗਣਿਤ}}
[[ਸ਼੍ਰੇਣੀ:ਅਲਮਾਰੀ ਗਣਿਤ]]
0bwrd28855k3a5u2ewljsbt6s4hvew7
ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਜਾਣ-ਪਛਾਣ
0
2717
5571
5431
2023-03-24T07:43:02Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
{{Navigate|Next=ਧਾਰਨਾਵਾਂ}}
== ਰੇਖਾ-ਗਣਿਤ ਕਿਉਂ? ==
ਰੇਖਾ-ਗਣਿਤ ਜਾਂ ਜਿਓਮੈਟਰੀ (Geometry) ਗਣਿਤ ਦੇ ਸਭ ਤੋਂ ਸ਼ਾਨਦਾਰ ਖੇਤਰਾਂ ਵਿੱਚੋਂ ਇੱਕ ਹੈ। ਇਹ ਦਰਸ਼ਨੀ ਆਕਾਰਾਂ ਨਾਲ ਸੰਬੰਧਿਤ ਹੈ ਜੋ ਅਸੀਂ ਰੋਜ਼ਾਨਾ ਜੀਵਨ ਤੋਂ ਜਾਣਦੇ ਹਾਂ।
== ਇਸ ਕਿਤਾਬ ਦੀ ਵਰਤੋਂ ਕਿਸ ਨੂੰ ਕਰਨੀ ਚਾਹੀਦੀ ਹੈ? ==
ਇਹ ਕਿਤਾਬ ਮਾਤਾ-ਪਿਤਾ (ਜਾਂ ਅਧਿਆਪਕ ਜਾਂ ਨਿਗਰਾਨ) ਅਤੇ ਬੱਚੇ ਦੁਆਰਾ ਵਰਤਣ ਲਈ ਤਿਆਰ ਕੀਤੀ ਗਈ ਹੈ। ਇਹ ਸਿਫਾਰਸ਼ ਕੀਤੀ ਜਾਂਦੀ ਹੈ ਕਿ ਮਾਤਾ-ਪਿਤਾ ਰੇਖਾ-ਗਣਿਤ ਨਾਲ ਕੁਝ ਜਾਣੂ ਹੋਣ, ਪਰ ਇਹ ਜ਼ਰੂਰੀ ਨਹੀਂ ਹੈ। ਮਾਪੇ ਬੱਚੇ ਨੂੰ ਸਿਖਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਅਧਿਆਇ ਪੜ੍ਹ ਸਕਦੇ ਹਨ ਅਤੇ ਫਿਰ ਇਕੱਠੇ ਸਿੱਖ ਸਕਦੇ ਹਨ।
== ਕਿਤਾਬ ਲਈ ਦਿਸ਼ਾ ਨਿਰਦੇਸ਼ ==
[[wikisource:The Elements of Euclid|Euclid's ''Elements'']] ਰੇਖਾ-ਗਣਿਤ ਬਾਰੇ ਟਕਸਾਲੀ ਕਿਤਾਬ ਹੈ। ਇਸ ਕਿਤਾਬ ਨੇ ਸੈਂਕੜੇ ਸਾਲਾਂ ਤੱਕ ਜਿਓਮੈਟਰੀ ਸਿਖਾਉਣ ਵਿੱਚ ਮਦਦ ਕੀਤੀ, ਇਸ ਲਈ ਅਸੀਂ ਮਹਿਸੂਸ ਕਰਦੇ ਹਾਂ ਕਿ ਤੱਤ ਦੇ ਅਧਾਰ ਤੇ ਇਸ ਕਿਤਾਬ ਨੂੰ ਲਿਖਣਾ ਇੱਕ ਸਹੀ ਕਦਮ ਹੈ।
ਅਸੀਂ ਕਿਤਾਬ ਦੇ ਕੁਝ ਹਿੱਸਿਆਂ ਨੂੰ ਬੱਚਿਆਂ ਲਈ ਅਨੁਕੂਲ ਬਣਾਵਾਂਗੇ ਅਤੇ ਕਿਤਾਬ ਨੂੰ ਸਪਸ਼ਟ ਬਣਾਉਣ ਲਈ ਕੁਝ ਵਿਸ਼ਿਆਂ ਦੇ ਕ੍ਰਮ ਨੂੰ ਸੋਧਾਂਗੇ।
ਸਿਖਲਾਈ '''ਉਸਾਰੀ''' ਅਤੇ '''ਸਬੂਤਾਂ''' 'ਤੇ ਅਧਾਰਤ ਹੋਵੇਗੀ। ਸਾਧਨਾਂ ਦੇ ਇੱਕ ਸਮੂਹ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਇੱਕ ਜਿਓਮੈਟ੍ਰਿਕ ਵਸਤੂ (ਜਿਵੇਂ ਕਿ ਇੱਕ ਤਿਕੋਣ) ਬਣਾਉਣ ਦਾ ਤਰੀਕਾ ਇੱਕ ਉਸਾਰੀ ਹੈ।
ਇਸ ਕਿਤਾਬ ਦੇ ਮਾਮਲੇ ਵਿੱਚ, ਅਸੀਂ ਜਿਨ੍ਹਾਂ ਸਾਧਨਾਂ ਦੀ ਵਰਤੋਂ ਕਰਾਂਗੇ ਉਹ ਇੱਕ ਕੰਪਾਸ ਅਤੇ ਇੱਕ ਪੈਮਾਨਾ ਹਨ। ਇੱਕ ਸਬੂਤ ਇੱਕ ਤਰਕਪੂਰਨ ਖੋਜ ਹੁੰਦੀ ਹੈ ਜਿੱਥੇ ਅਸੀਂ ਕੁਝ ਦਿੱਤੀ ਗਈ ਜਾਣਕਾਰੀ ਨਾਲ ਸ਼ੁਰੂ ਕਰਕੇ ਇੱਕ ਤੱਥ ਨੂੰ ਪ੍ਰਮਾਣਿਤ ਕਰ ਸਕਦੇ ਹਾਂ ਅਤੇ ਉਸ ਜਾਣਕਾਰੀ ਦੇ ਅਧਾਰ ਤੇ ਸਿੱਟਿਆਂ ਦੀ ਇੱਕ ਲੜੀ ਬਣਾ ਸਕਦੇ ਹਾਂ। ਕਈ ਵਾਰ ਨਤੀਜਾ ਲੱਭਣ ਨਾਲੋਂ ਨਤੀਜਾ ਪ੍ਰਮਾਣਿਤ ਕਰਨਾ ਵਧੇਰੇ ਮੁਸ਼ਕਲ ਹੁੰਦਾ ਹੈ।
ਉਸਾਰੀ (ਰਚਨਾ) ਬੱਚੇ ਲਈ ਜਿਓਮੈਟ੍ਰਿਕ (ਰੇਖਾ-ਗਣਿਤੀ) ਵਿਚਾਰਾਂ ਦਾ ਅਨੁਭਵ ਕਰਨ ਅਤੇ ਦਰਸ਼ਨੀ ਨਤੀਜੇ ਪ੍ਰਾਪਤ ਕਰਨ ਲਈ ਉਪਯੋਗੀ ਹੈ।
ਪ੍ਰਮਾਣ ਰੇਖਾਗਣਿਤ ਨੂੰ ਸਮਝਣ ਦਾ ਇੱਕ ਵਧੀਆ ਤਰੀਕਾ ਹਨ ਅਤੇ ਭਵਿੱਖ ਵਿੱਚ ਤਰਕ ਦੇ ਅਧਿਐਨ ਲਈ ਇੱਕ ਚੰਗਾ ਆਧਾਰ ਹਨ।
ਕਿਉਂਕਿ ਇਹ ਕਿਤਾਬ ਬੱਚਿਆਂ ਲਈ ਹੈ, ਇਸ ਲਈ ਅਸੀਂ ਪ੍ਰਮਾਣ ਦੇ ਕੁਝ ਵੇਰਵਿਆਂ ਨੂੰ ਛੱਡ ਦਿੰਦੇ ਹਾਂ ਅਤੇ ਸਹੀ ਪਰਿਭਾਸ਼ਾ ਦੀ ਬਜਾਏ ਅਨੁਭਵ ਦੀ ਵਰਤੋਂ ਕਰਦੇ ਹਾਂ। ਦੂਜੇ ਪਾਸੇ, ਅਸੀਂ ਸਹੀ ਅਤੇ ਸ਼ਾਨਦਾਰ ਸਬੂਤਾਂ 'ਤੇ ਜ਼ੋਰ ਦਿੰਦੇ ਹਾਂ। ਸਟੀਕ ਪਰਿਭਾਸ਼ਾਵਾਂ ਅਤੇ ਸਟੀਕ ਪ੍ਰਮਾਣ ਨਿਯਮਤ ਜਿਓਮੈਟਰੀ ਕਿਤਾਬਾਂ ਵਿੱਚ ਲੱਭੇ ਜਾ ਸਕਦੇ ਹਨ ਅਤੇ ਇਹਨਾਂ ਦੀ ਵਰਤੋਂ ਕੁਝ ਬੱਚਿਆਂ ਲਈ ਸਮੱਗਰੀ ਵਿਸਥਾਰ ਵਿੱਚ ਪਹੁੰਚਾਉਣ ਲਈ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ।
== ਸੰਕੇਤ ਲਿਪੀ ==
ਕਿਤਾਬ ਵਿੱਚ ਪਹਿਲੀ ਵਾਰ ਵਰਤੇ ਗਏ ਸੰਕੇਤਾਂ ਨੂੰ ਪਰਿਭਾਸ਼ਿਤ ਕੀਤਾ ਜਾਂਦਾ ਹੈ। ਹਾਲਾਂਕਿ, ਇਸਦੀ ਵਰਤੋਂ ਨੂੰ ਸਰਲ ਬਣਾਉਣ ਲਈ, ਇਸ ਨੂੰ ਕਿਤਾਬ ਦੇ ਅਖੀਰ ਵਿੱਚ ਸੰਮੇਲਨ ਅਧਿਆਇ ਦੇ ਸੰਕੇਤ ਭਾਗ ਵਿੱਚ ਵੀ ਸੰਖੇਪ ਕੀਤਾ ਗਿਆ ਹੈ।
== ਇਸ ਕਿਤਾਬ ਵਿੱਚ ਕਿਵੇਂ ਯੋਗਦਾਨ ਪਾਉਣਾ ਹੈ ==
ਇਸ ਕਿਤਾਬ ਦਾ ਅੰਗਰੇਜ਼ੀ ਭਾਸ਼ਾ ਦੀ ਕਿਤਾਬ [https://en.wikibooks.org/wiki/Geometry_for_Elementary_School Geometry for Elementary School] ਤੋਂ ਅਨੁਵਾਦ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੈ। ਇਸ ਵਿੱਚ ਪੰਜਾਬੀ (ਗੁਰਮੁਖੀ) ਨੂੰ ਆਪਣੀ ਮੁੱਢਲੀ ਭਾਸ਼ਾ ਵਜੋਂ ਵਰਤਿਆ ਗਿਆ ਹੈ। ਤੁਸੀਂ ਅਨੁਵਾਦ ਇਸ ਦਾ ਕਰਨ ਵਿੱਚ ਮਦਦ ਕਰ ਸਕਦੇ ਹੋ।
== ਇਸ ਕਿਤਾਬ ਦੀ ਵਰਤੋਂ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ==
ਇਸ ਕਿਤਾਬ ਦੀ ਵਰਤੋਂ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਯਕੀਨੀ ਬਣਾਓ ਕਿ ਹੇਠ ਦਿੱਤੇ ਸਾਧਨ ਉਪਲਬਧ ਹੋਣ:
* ਇੱਕ ਕੋਣ ਮਾਪ ਯੰਤਰ, ਪਰੋਟ੍ਰੈਕਟਰ
* ਇੱਕ ਕੰਪਾਸ
* ਇੱਕ ਪੈਮਾਨਾ, ਰੂਲਰ (ਜਿਸ ਨਾਲ ਲਕੀਰਾਂ ਵਾਹੀਆਂ ਜਾਂਦੀਆਂ ਹਨ)
* ਗ੍ਰਾਫ਼ ਪੇਪਰ
* ਸਿੰਗਲ-ਕਤਾਰ ਵਾਲਾ ਕਾਗਜ਼
d74llnmb2at39rs5udmz8elqpv05k2q
ਫਰਮਾ:ਅਲਮਾਰੀ
10
2718
5221
2022-06-06T11:01:41Z
Mulkh Singh
1512
" <noinclude> <templatedata> { "params": { "book cat": {} } } </templatedata> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude>
<templatedata>
{
"params": {
"book cat": {}
}
}
</templatedata>
</noinclude>
1w7rmn3k1sqklqkgkg3w5e8da484fr8
ਸ਼੍ਰੇਣੀ:ਅਲਮਾਰੀ ਗਣਿਤ
14
2719
5225
2022-06-06T11:03:54Z
Mulkh Singh
1512
"= ਸ਼੍ਰੇਣੀ:ਅਲਮਾਰੀ ਗਣਿਤ = [[:ਸ਼੍ਰੇਣੀ:ਅਲਮਾਰੀ ਗਣਿਤ#mw-head|Jump to navigation]][[:ਸ਼੍ਰੇਣੀ:ਅਲਮਾਰੀ ਗਣਿਤ#searchInput|Jump to search]]" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
= ਸ਼੍ਰੇਣੀ:ਅਲਮਾਰੀ ਗਣਿਤ =
[[:ਸ਼੍ਰੇਣੀ:ਅਲਮਾਰੀ ਗਣਿਤ#mw-head|Jump to navigation]][[:ਸ਼੍ਰੇਣੀ:ਅਲਮਾਰੀ ਗਣਿਤ#searchInput|Jump to search]]
518q17wz0zguulketha6kdbhs8d80xh
ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਰੇਖਾ-ਗਣਿਤ ਕਿਉਂ?
0
2720
5233
2022-06-06T12:38:42Z
Mulkh Singh
1512
Mulkh Singh ਨੇ ਸਫ਼ਾ [[ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਰੇਖਾ-ਗਣਿਤ ਕਿਉਂ?]] ਨੂੰ [[ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਜਾਣ-ਪਛਾਣ]] ’ਤੇ ਭੇਜਿਆ
wikitext
text/x-wiki
#ਰੀਡਿਰੈਕਟ [[ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਜਾਣ-ਪਛਾਣ]]
m71sfg6dfhbcm06uwerk554bo3z7so5
ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਧਾਰਨਾਵਾਂ
0
2721
5570
5565
2023-03-24T07:41:25Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
{{Navigate|Prev=ਜਾਣ-ਪਛਾਣ|Curr=ਧਾਰਨਾਵਾਂ|Next=ਬਿੰਦੂ}}
ਇਸ ਭਾਗ ਵਿੱਚ, ਅਸੀਂ ਜਿਓਮੈਟਰੀ ਦੀਆਂ ਮੂਲ ਧਾਰਨਾਵਾਂ (basic concepts of geometry) ਬਾਰੇ ਸਿੱਖਾਂਗੇ।
== ਇਸ ਤੋਂ ਪਹਿਲਾਂ ਕਿ ਤੁਸੀਂ ਸ਼ੁਰੂ ਕਰੋ ==
ਆਪਣੇ ਆਪ ਨੂੰ ਇਹ ਸਵਾਲ ਪੁੱਛੋ:
ਜਿਓਮੈਟਰੀ ਕੀ ਹੈ?
ਜਿਓਮੈਟਰੀ ਬਾਰੇ ਮੈਂ ਸਭ ਤੋਂ ਬੁਨਿਆਦੀ ਚੀਜ਼ਾਂ ਕੀ ਸਿੱਖੀਆਂ ਹਨ?
== ਵਿਸ਼ਾ - ਸੂਚੀ ==
ਇਸ ਭਾਗ ਵਿੱਚ, ਅਸੀਂ ਬਹੁਤ ਸਾਰੀਆਂ ਚੀਜ਼ਾਂ ਬਾਰੇ ਗੱਲ ਕਰਾਂਗੇ। ਇਹ ਸਭ ਤੋਂ ਥਕਾਉਣ ਵਾਲੀ ਇਕਾਈ ਹੈ ਅਤੇ ਨਾਲ ਹੀ ਸਭ ਤੋਂ ਮਹੱਤਵਪੂਰਨ ਵੀ; ਇੱਕ ਵਾਰ ਜਦੋਂ ਤੁਸੀਂ ਇਸ ਨੂੰ ਚੰਗੀ ਤਰ੍ਹਾਂ ਸਮਝ ਲੈਂਦੇ ਹੋ, ਤਾਂ ਬਾਕੀ ਸਭ ਕੁਝ ਆਸਾਨ ਲੱਗੇਗਾ। ਇਹ ਇਸ ਲਈ ਹੈ ਕਿਉਂਕਿ ਇਸ ਇਕਾਈ ਵਿੱਚ ਅਸੀਂ ਬੁਨਿਆਦੀ ਸੰਕਲਪਾਂ ਬਾਰੇ ਗੱਲ ਕਰਾਂਗੇ, ਬੁਨਿਆਦ ਜੋ ਤੁਹਾਨੂੰ ਹੋਰ ਦਿਲਚਸਪ ਭਾਗਾਂ ਤੱਕ ਪਹੁੰਚਣ ਤੋਂ ਪਹਿਲਾਂ ਬਣਾਉਣੀ ਚਾਹੀਦੀ ਹੈ। ਅਸੀਂ ਬਿੰਦੂਆਂ, ਰੇਖਾਵਾਂ, ਕੋਣਾਂ, ਸਮਤਲ ਅਤੇ ਠੋਸ ਆਕਾਰਾਂ ਬਾਰੇ ਗੱਲ ਕਰਾਂਗੇ। ਫਿਰ ਅਸੀਂ ਕੁਝ ਬੁਨਿਆਦੀ ਮਾਪਾਂ ਵਿੱਚੋਂ ਲੰਘਾਂਗੇ ਜੋ ਸਾਨੂੰ ਜਾਣਨ ਦੀ ਲੋੜ ਹੈ। ਅਸੀਂ ਇਸਨੂੰ ਜਿੰਨਾ ਸੰਭਵ ਹੋ ਸਕੇ ਸੰਖੇਪ ਵਿੱਚ ਰੱਖਾਂਗੇ। ਫਿਰ ਅਸੀਂ ਕੁਝ ਸਖ਼ਤ ਚੀਜ਼ਾਂ ਵਿੱਚੋਂ ਲੰਘਾਂਗੇ ਜਿਵੇਂ: ਸਮਾਨਾਂਤਰ ਰੇਖਾਵਾਂ, ਸਮਰੂਪਤਾ, ਪਰਿਵਰਤਨ, ਅਤੇ ਸਮਾਨਤਾ ਦੇਖਣੀ ਜਾਂ ਤੁਲਨਾ ਕਰਨਾ।
* [[{{BOOKNAME}}/ਬਿੰਦੂ|ਬਿੰਦੂ (Points)]]
* [[{{BOOKNAME}}/ਰੇਖਾਵਾ|ਰੇਖਾਵਾ (Lines)]]
* [[{{BOOKNAME}}/ਕੋਣ|ਕੋਣ (Angles)]]
* [[{{BOOKNAME}}/ਸਮਤਲ ਆਕਾਰ|ਸਮਤਲ ਆਕਾਰ (Plane shapes)]]
* [[{{BOOKNAME}}/ਠੋਸ ਚੀਜ਼ਾਂ|ਠੋਸ ਚੀਜ਼ਾਂ (Solids)]]
* [[{{BOOKNAME}}/ਨਾਪ|ਨਾਪ (Measurements)]]
* [[{{BOOKNAME}}/ਸਮਾਨਾਂਤਰ ਰੇਖਾਵਾਂ|ਸਮਾਨਾਂਤਰ ਰੇਖਾਵਾਂ (Parallel lines)]]
* [[{{BOOKNAME}}/ਸਮਰੂਪਤਾ|ਸਮਰੂਪਤਾ (Symmetry)]]
* [[{{BOOKNAME}}/ਪਰਿਵਰਤਨ|ਪਰਿਵਰਤਨ (Transformation)]]
* [[{{BOOKNAME}}/ਤੁਲਨਾ ਕਰਨਾ|ਤੁਲਨਾ ਕਰਨਾ (Coordinates)]]
oqctdbd4nt3vvmmiaaoggbekscjfgiw
Wikibooks:Bot policy
4
2724
5266
2022-08-20T06:17:48Z
Rschen7754
815
Redirected page to [[Wikibooks:ਸੱਥ]]
wikitext
text/x-wiki
#REDIRECT [[Wikibooks:ਸੱਥ]]
6fqkoyj19vwho68q3jahhmp1gqymmrk
ਫਰਮਾ:PDF version
10
2727
5380
2023-03-23T08:20:09Z
Kuldeepburjbhalaike
1880
"<includeonly>{{mbox-side|type=growth|image=Gnome-mime-application-pdf.svg|msg=A '''''{{#ifexist:Media:{{{1|{{{3|{{#ifeq:{{NAMESPACE}}|Wikijunior|Wikijunior-|}}{{BASEPAGENAME}}}}}}}}.pdf |[[Media:{{{1|{{{3|{{#ifeq:{{NAMESPACE}}|Wikijunior|Wikijunior-|}}{{BASEPAGENAME}}}}}}}}.pdf|PDF version]]{{#ifeq:{{{example|no}}}|no|{{#ifeq:{{NAMESPACE}}||[[Category:Books with PDF version]]}}}} |PDF version{{#ifeq:{{{example|no}}}|no|{{#ifeq:{{NAMESPACE}}||Cat..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{mbox-side|type=growth|image=Gnome-mime-application-pdf.svg|msg=A '''''{{#ifexist:Media:{{{1|{{{3|{{#ifeq:{{NAMESPACE}}|Wikijunior|Wikijunior-|}}{{BASEPAGENAME}}}}}}}}.pdf
|[[Media:{{{1|{{{3|{{#ifeq:{{NAMESPACE}}|Wikijunior|Wikijunior-|}}{{BASEPAGENAME}}}}}}}}.pdf|PDF version]]{{#ifeq:{{{example|no}}}|no|{{#ifeq:{{NAMESPACE}}||[[Category:Books with PDF version]]}}}}
|PDF version{{#ifeq:{{{example|no}}}|no|{{#ifeq:{{NAMESPACE}}||[[Category:Books with PDF version required]]}}}}
}}'''''{{#if:{{{3|}}}| of {{{3}}}}} is available. <small>{{{2|}}} ({{#ifexist:Media:{{{1|{{{3|{{#ifeq:{{NAMESPACE}}|Wikijunior|Wikijunior-|}}{{BASEPAGENAME}}}}}}}}.pdf|[[:File:{{{1|{{{3|{{#ifeq:{{NAMESPACE}}|Wikijunior|Wikijunior-|}}{{BASEPAGENAME}}}}}}}}.pdf|info]]|[[Help:Print versions#PDF versions|info]]}}) {{#ifexist:{{{1|{{{3|{{#ifeq:{{NAMESPACE}}|Wikijunior|Wikijunior-|}}{{BASEPAGENAME}}}}}}}}/LaTeX | ([[{{{1|{{{3|{{#ifeq:{{NAMESPACE}}|Wikijunior|Wikijunior-|}}{{BASEPAGENAME}}}}}}}}/LaTeX|source]]) }}</small>}}</includeonly><noinclude>{{documentation}}</noinclude>
7ipyzwbe0qpjnuqu01h4j4toxoqtb6q
ਫਰਮਾ:PDF version/doc
10
2728
5381
2023-03-23T08:20:53Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template provides a link to a PDF file that contains all the content in a book for easy downloading and printing. ===Usage=== {{tlx|PDF version|filename (w/o "Media:" or ".pdf", if you add nothing, this will be the name of the page)|optional info (such as version number, last update, or file size)|optional "of ___ is available" (if you add not..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template provides a link to a PDF file that contains all the content in a book for easy downloading and printing.
===Usage===
{{tlx|PDF version|filename (w/o "Media:" or ".pdf", if you add nothing, this will be the name of the page)|optional info (such as version number, last update, or file size)|optional "of ___ is available" (if you add nothing, this will be the name of the page)}}
{| class="wikitable" cellpadding="3"
! What to type
! What it looks like
|-
| {{tlx|PDF version|<nowiki>||Guitar</nowiki>}}
| {{PDF version|||Guitar|example=1}}
|-
| {{tlx|PDF version|Guitar}}
| {{PDF version|Guitar|example=1}}
|-
| {{tlx|PDF version|Guitar|File size: 2.43 MB}}
| {{PDF version|Guitar|File size: 2.43 MB|example=1}}
|}
===Example===
{{tl|PDF version}} gives the output shown above.
===See also===
*[[Help:Print versions#PDF versions]] – information on creating a PDF version of a book
*[[Template:Print version]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Exclude in print]]
[[Category:Books with PDF version| ]]
</includeonly>
nixal1vvqv7kshyp8z7hhao1n77e81j
ਫਰਮਾ:Tlx
10
2729
5382
2023-03-23T08:21:41Z
Kuldeepburjbhalaike
1880
"<includeonly>{{{{{|safesubst:}}}#invoke:template|example}}{{{{{|safesubst:}}}#ifeq:{{{LANG|+}}}|{{{LANG|-}}}|[[Category:Pages needing tl updated]]}}{{{{{|safesubst:}}}#ifeq:{{{SISTER|+}}}|{{{SISTER|-}}}|[[Category:Pages needing tl updated]]}}{{{{{|safesubst:}}}#ifeq:{{{subst|+}}}|{{{subst|-}}}|[[Category:Pages needing tl updated]]}}</includeonly><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{{{{|safesubst:}}}#invoke:template|example}}{{{{{|safesubst:}}}#ifeq:{{{LANG|+}}}|{{{LANG|-}}}|[[Category:Pages needing tl updated]]}}{{{{{|safesubst:}}}#ifeq:{{{SISTER|+}}}|{{{SISTER|-}}}|[[Category:Pages needing tl updated]]}}{{{{{|safesubst:}}}#ifeq:{{{subst|+}}}|{{{subst|-}}}|[[Category:Pages needing tl updated]]}}</includeonly><noinclude>
{{documentation}}
</noinclude>
s8ka91auad3igthhd2r9y1xbptffl7f
ਫਰਮਾ:Tlx/doc
10
2730
5383
2023-03-23T08:22:20Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} {{high-risk|10,000+}} {{Lua|Module:Template}} {{tlx|tlx|template|first parameter|second|third|fourth|etc}} becomes → <br/>{{tlx|template|first parameter|second|third|fourth|etc}} '''<big>Purpose and naming:</big>''' [[wikt:mnemonic|Mnemonically]] ''''T'''emplate '''l'''ist e'''x'''panded'... named after {{tlx|tl}} 'Template list' === Usage === :<kbd>{{{{PAGENAME}}|template name}}</kbd> :<kbd>{{{{PAGE..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
{{high-risk|10,000+}}
{{Lua|Module:Template}}
{{tlx|tlx|template|first parameter|second|third|fourth|etc}} becomes → <br/>{{tlx|template|first parameter|second|third|fourth|etc}}
'''<big>Purpose and naming:</big>''' [[wikt:mnemonic|Mnemonically]] ''''T'''emplate '''l'''ist e'''x'''panded'... named after {{tlx|tl}} 'Template list'
=== Usage ===
:<kbd>{{{{PAGENAME}}|template name}}</kbd>
:<kbd>{{{{PAGENAME}}|template name|param}}</kbd>
:<kbd>{{{{PAGENAME}}|template name|param=value}}</kbd>
:<kbd>{{{{PAGENAME}}|template name|param&#61;value}}</kbd>
* This template takes a ''template-name'' and an optional number of associated parameters (or 'pass parameters'), and aggregates them into an 'example demonstration' of how the template might be used. It's primary use is in instruction and documentation such as this passage.
* Additionally, tlx can be used to demonstrate templates on other sister projects.
=== Examples ===
{| class="wikitable" style="width:100%"
! Markup
! Displays
! Remarks
|-
| {{tlx|tlx|tlx}}
| {{tlx|tlx}}
|  
|-
| {{tlx|tlx|w:tlx}}
| {{tlx|w:tlx}}
| align="right" | Interwiki template example
|-
| {{tlx|tlx|subst:tlx}}
| {{tlx|subst:tlx}}
| align="right" | Template substitution example
|-
| {{Tlx|tlx|tlx| |two}}
| {{tlx|tlx| |two}}
| align="right" | Empty parameter example
|-
| {{tlx|tlx|tlx|example=true}}
| {{tlx|tlx|example=true}}
| align="right" | Named parameter example
|-
| {{tlx|tlx|tlx|2=1}}
| {{tlx|tlx|2=1}}
| align="right" | Parameter shown without number parameter name
|-
| {{tlx|tlx|tlx|2&#61;1}}
| {{tlx|tlx|2=1}}
| align="right" | Use <kbd>&#61;</kbd> to display number parameter names
|-
| {{tlx|tlx|tlx|2{{=}}1}}
| {{tlx|tlx|2{{=}}1}}
| align="right" | <kbd>{{=}}</kbd> also works
|-
| {{tlx|tlx|tlx|2<nowiki>=</nowiki>1}}
| {{tlx|tlx|2<nowiki>=</nowiki>1}}
| align="right" | sticky nowiki also works
|-
| {{tlx|tlx|tlx|<nowiki>2=one</nowiki>|two}}
| {{tlx|tlx|2=one|two}}
| align="right" | '''two''' clobbers '''2=one'''
|-
| {{tlx|tlx|tlx|<nowiki>3=two</nowiki>|<nowiki>2=one</nowiki>}}
| {{tlx|tlx|3=two|2=one}}
| align="right" | right to left okay
|}
<includeonly><!--Categories-->
[[Category:Typing-aid templates |{{PAGENAME}}]]
[[Category:Internal link templates |{{PAGENAME}}]]
</includeonly>
6hmhl04on0tvrghsobtcddwsu43sqds
ਮੌਡਿਊਲ:Template
828
2731
5384
2023-03-23T08:23:18Z
Kuldeepburjbhalaike
1880
"local template = {} function template.page(frame) local title, subst = frame.args[1] or frame:getParent().args[1] or '' -- whether title is subst:page, safesubst:page, or page title = mw.ustring.gsub( title, '^%s*(s?a?f?e?subst):', function(what) if what == 'subst' or what == 'safesubst' then subst = what; return '' end end, 1 ) local success, page = pcall(function(title) return mw.title.new( title, 10 ) end,..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
local template = {}
function template.page(frame)
local title, subst = frame.args[1] or frame:getParent().args[1] or ''
-- whether title is subst:page, safesubst:page, or page
title = mw.ustring.gsub( title, '^%s*(s?a?f?e?subst):', function(what)
if what == 'subst' or what == 'safesubst' then subst = what; return '' end
end, 1 )
local success, page = pcall(function(title) return mw.title.new( title, 10 ) end, title or '' )
if not success or not page then return '' end
if page.interwiki ~= "" then title = mw.ustring.sub( title, page.interwiki:len()+2 ) end
if page.fragment ~= "" then title = mw.ustring:sub( title, 1, -page.fragment:len()-2 ) end
if subst then subst = table.concat({ '[[Help:Templates#Substitution|', subst, ']]:' }) end
return table.concat({ subst or '', '[[:', page.fullText, '|', title, ']]'})
end
function template.example(frame)
local args, page, result = frame.args[1] and frame.args or frame:getParent().args, template.page(frame), {}
if page == '' then
return ''
end
for name, value in pairs( args ) do
if type( name ) == 'string' then
table.insert( result, table.concat({ '|<var>', name, '=', value, '</var>' }) )
elseif name ~= 1 then
table.insert( result, table.concat({ '|<var>', value, '</var>' }) )
end
end
return table.concat({ '{{', page, table.concat( result ), '}}' })
end
return template
kky0sbcgzlim7agk8rou2o69vga83dt
ਮੌਡਿਊਲ:Template/doc
828
2732
5385
2023-03-23T08:23:48Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} {{high-risk|10,000+}} === Examples === * <code><nowiki>{{#invoke:template|example|tl|a|b|c=2}}</nowiki></code> → {{#invoke:template|example|tl|a|b|c=2}} * <code><nowiki>{{#invoke:template|example|subst:tl|a|b|c=2}}</nowiki></code> → {{#invoke:template|example|subst:tl|a|b|c=2}} * <code><nowiki>{{#invoke:template|example|safesubst:tl|a|b|c=2}}</nowiki></code> → {{#invoke:template|example|safesubst:tl|a|b|c=2}} <incl..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
{{high-risk|10,000+}}
=== Examples ===
* <code><nowiki>{{#invoke:template|example|tl|a|b|c=2}}</nowiki></code> → {{#invoke:template|example|tl|a|b|c=2}}
* <code><nowiki>{{#invoke:template|example|subst:tl|a|b|c=2}}</nowiki></code> → {{#invoke:template|example|subst:tl|a|b|c=2}}
* <code><nowiki>{{#invoke:template|example|safesubst:tl|a|b|c=2}}</nowiki></code> → {{#invoke:template|example|safesubst:tl|a|b|c=2}}
<includeonly>[[Category:Wikibooks modules]]</includeonly>
gumj5bdnywqxarzhgihuttthgffk6ni
ਫਰਮਾ:Lua
10
2733
5386
2023-03-23T08:25:10Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude> {{Lua|Module:Lua banner}} {{Documentation}}<!-- Categories go on the /doc subpage and interwikis go on Wikidata. --></noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude>
{{Lua|Module:Lua banner}}
{{Documentation}}<!-- Categories go on the /doc subpage and interwikis go on Wikidata. --></noinclude>
hpivmao0mbaboohw566o10b4nfjjfgy
ਫਰਮਾ:Lua/doc
10
2734
5387
2023-03-23T08:25:48Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template is used to show that templates have been converted to [[Lua (programming language)|Lua]]. It can be placed on the template's /doc page or on its talk page. It automatically adds the template to [[:Category:Lua-based templates]]. == Usage == ; Basic usage {{tlx|lua|''module name''}} ; All parameters {{tlx|lua|''module name''|''note''..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template is used to show that templates have been converted to [[Lua (programming language)|Lua]]. It can be placed on the template's /doc page or on its talk page. It automatically adds the template to [[:Category:Lua-based templates]].
== Usage ==
; Basic usage
{{tlx|lua|''module name''}}
; All parameters
{{tlx|lua|''module name''|''note''|4=category=''custom category''|5=nocat=''true''}}
== Examples ==
* {{tlx|lua}}
{{lua|nocat=true}}
* {{tlx|lua|Module:Collapsible list}}
{{lua|Module:Collapsible list|nocat=true}}
* {{tlx|lua|Module:Collapsible list|You can use this script as an example to help you get started.}}
{{lua|Module:Collapsible list|You can use this script as an example to help you get started.|nocat=true}}
== Categorization ==
This template adds pages to [[:Category:Lua-based templates]] if the page is in the template namespace, and it is not on any of the subpages /doc, /sandbox, /sandbox2 or /testcases. You can specify a different category with the {{para|category}} parameter, e.g. {{para|category|Lua String-based templates}}. To suppress categorisation, use {{para|nocat|true}}.
== See also ==
* [[w:Wikipedia:Lua|Wikipedia:Lua]]
* {{tl|module rating}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Messagebox templates]]
</includeonly>
kfkd7ry330a2h91e4j885v9nn48csra
ਮੌਡਿਊਲ:Lua banner
828
2735
5388
2023-03-23T08:26:26Z
Kuldeepburjbhalaike
1880
"-- This module implements the {{Lua}} template. local yesno = require('Module:Yesno') local mList = require('Module:List') local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local p = {} function p.main(frame) local origArgs = frame:getParent().args local args = {} for k, v in pairs(origArgs) do v = v:match('^%s*(.-)%s*$') if v ~= '' then args[k] = v end end return p._main(args) end..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
-- This module implements the {{Lua}} template.
local yesno = require('Module:Yesno')
local mList = require('Module:List')
local mTableTools = require('Module:TableTools')
local mMessageBox = require('Module:Message box')
local p = {}
function p.main(frame)
local origArgs = frame:getParent().args
local args = {}
for k, v in pairs(origArgs) do
v = v:match('^%s*(.-)%s*$')
if v ~= '' then
args[k] = v
end
end
return p._main(args)
end
function p._main(args)
local modules = mTableTools.compressSparseArray(args)
local box = p.renderBox(modules)
local trackingCategories = p.renderTrackingCategories(args, modules)
return box .. trackingCategories
end
function p.renderBox(modules)
local boxArgs = {}
if #modules < 1 then
boxArgs.text = '<strong class="error">Error: no modules specified</strong>'
else
local moduleLinks = {}
for i, module in ipairs(modules) do
moduleLinks[i] = string.format('[[:%s]]', module)
local maybeSandbox = mw.title.new(module .. '/sandbox')
if maybeSandbox.exists then
moduleLinks[i] = moduleLinks[i] .. string.format(' ([[:%s|sandbox]])', maybeSandbox.fullText)
end
end
local moduleList = mList.makeList('bulleted', moduleLinks)
local title = mw.title.getCurrentTitle()
if title.subpageText == "doc" then
title = title.basePageTitle
end
if title.contentModel == "Scribunto" then
boxArgs.text = 'This module depends on the following other modules:' .. moduleList
else
boxArgs.text = 'This template uses [[wikipedia:Wikipedia:Lua|Lua]]:\n' .. moduleList
end
end
boxArgs.type = 'notice'
boxArgs.small = true
boxArgs.image = '[[File:Lua-Logo.svg|30px|alt=|link=]]'
return mMessageBox.main('mbox', boxArgs)
end
function p.renderTrackingCategories(args, modules, titleObj)
if yesno(args.nocat) then
return ''
end
local cats = {}
-- Error category
if #modules < 1 then
cats[#cats + 1] = 'Lua templates with errors'
end
-- Lua templates category
titleObj = titleObj or mw.title.getCurrentTitle()
local subpageBlacklist = {
doc = true,
sandbox = true,
sandbox2 = true,
testcases = true
}
if not subpageBlacklist[titleObj.subpageText] then
local protCatName
if titleObj.namespace == 10 then
local category = args.category
if not category then
local categories = {
['Module:String'] = 'Lua String-based templates',
['Module:Math'] = 'Templates based on the Math Lua module',
['Module:BaseConvert'] = 'Templates based on the BaseConvert Lua module',
['Module:Citation'] = 'Lua-based citation templates'
}
categories['Module:Citation/CS1'] = categories['Module:Citation']
category = modules[1] and categories[modules[1]]
category = category or 'Lua-based templates'
end
cats[#cats + 1] = category
protCatName = "Templates using under-protected Lua modules"
elseif titleObj.namespace == 828 then
protCatName = "Modules depending on under-protected modules"
end
if not args.noprotcat and protCatName then
local protLevels = {
autoconfirmed = 1,
extendedconfirmed = 2,
templateeditor = 3,
sysop = 4
}
local currentProt
if titleObj.id ~= 0 then
-- id is 0 (page does not exist) if am previewing before creating a template.
currentProt = titleObj.protectionLevels["edit"][1]
end
if currentProt == nil then currentProt = 0 else currentProt = protLevels[currentProt] end
for i, module in ipairs(modules) do
if module ~= "WP:libraryUtil" then
local moduleProt = mw.title.new(module).protectionLevels["edit"][1]
if moduleProt == nil then moduleProt = 0 else moduleProt = protLevels[moduleProt] end
if moduleProt < currentProt then
cats[#cats + 1] = protCatName
break
end
end
end
end
end
for i, cat in ipairs(cats) do
cats[i] = string.format('[[Category:%s]]', cat)
end
return table.concat(cats)
end
return p
gtihowazxws8dtsxkswacjo95rco6yj
ਮੌਡਿਊਲ:Lua banner/doc
828
2736
5389
2023-03-23T08:26:55Z
Kuldeepburjbhalaike
1880
"This module implements the {{tl|lua}} template. == Usage from wikitext == This module cannot be used directly from wikitext. It can only be used through the {{tl|lua}} template. Please see the template page for documentation. == Usage from Lua modules == To use this module from other Lua modules, first load the module. <syntaxhighlight lang="lua"> local mLuaBanner = require('Module:Lua banner') </syntaxhighlight> You can then generate a side..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
This module implements the {{tl|lua}} template.
== Usage from wikitext ==
This module cannot be used directly from wikitext. It can only be used through the {{tl|lua}} template. Please see the template page for documentation.
== Usage from Lua modules ==
To use this module from other Lua modules, first load the module.
<syntaxhighlight lang="lua">
local mLuaBanner = require('Module:Lua banner')
</syntaxhighlight>
You can then generate a side box using the _main function.
<syntaxhighlight lang="lua">
mLuaBanner._main(args)
</syntaxhighlight>
The <var>args</var> variable should be a table containing the arguments to pass to the module. To see the different arguments that can be specified and how they affect the module output, please refer to the {{tl|lua}} template documentation.
== Tracking category ==
* {{clc|Lua templates with errors}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Modules that add a tracking category]]
}}</includeonly>
c7t63vrudekxmi2ow605yjtfeu0vn2i
ਫਰਮਾ:Para
10
2737
5390
2023-03-23T08:28:43Z
Kuldeepburjbhalaike
1880
"<code style="white-space:nowrap;"><nowiki>|</nowiki>{{#if:{{{1|}}}|{{{1}}}<nowiki>=</nowiki>}}{{{2|}}}</code><noinclude> {{Documentation}} <!--Categories and interwikis go near the bottom of the /doc subpage.--> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<code style="white-space:nowrap;"><nowiki>|</nowiki>{{#if:{{{1|}}}|{{{1}}}<nowiki>=</nowiki>}}{{{2|}}}</code><noinclude>
{{Documentation}}
<!--Categories and interwikis go near the bottom of the /doc subpage.-->
</noinclude>
qp4vv1v7gixzt5qqvjj03q2t15p1wgj
ਫਰਮਾ:Para/doc
10
2738
5391
2023-03-23T08:29:18Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> == Usage == This template is for giving examples of [[Wikipedia:Template messages|template]] parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be ''empty'', but it '''must''' be ''present'..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
== Usage ==
This template is for giving examples of [[Wikipedia:Template messages|template]] parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be ''empty'', but it '''must''' be ''present''), and the second (optional) one is a value for the first example parameter, or (if the first {{tl|para}} parameter is empty) an unnamed example parameter.
===Examples===
# {{tlx|para|name}}
#:renders as
#:{{para|name}}
# {{tlx|para|title|<var>book title</var>}}
#:renders as
#:{{para|title|<var>book title</var>}}
# {{tlx|para|3=section|2=<span style="font-size: 1pt;"> </span>}}
#:renders as
#:{{para||section}}
#:(for unnamed parameters in the example code; note the empty first parameter in the {{tlx|para}} template)
# {{tlx|para|<var>parameter</var>|<var>value</var>}}
#:renders as
#:{{para|<var>parameter</var>|<var>value</var>}}
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <tt><nowiki><var>value</var></nowiki></tt> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4).
== See also ==
* {{tl|tlx}} – for providing examples of entire-template code with included parameters
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Typing-aid templates|{{PAGENAME}}]]
</includeonly>
jvncw7lf9ur65wio48lodpjr5efxrmx
ਮੌਡਿਊਲ:Arguments
828
2739
5392
2023-03-23T08:33:42Z
Kuldeepburjbhalaike
1880
"-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) i..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
-- This module provides easy processing of arguments passed to Scribunto from
-- #invoke. It is intended for use by other Lua modules, and should not be
-- called from #invoke directly.
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local arguments = {}
-- Generate four different tidyVal functions, so that we don't have to check the
-- options every time we call it.
local function tidyValDefault(key, val)
if type(val) == 'string' then
val = val:match('^%s*(.-)%s*$')
if val == '' then
return nil
else
return val
end
else
return val
end
end
local function tidyValTrimOnly(key, val)
if type(val) == 'string' then
return val:match('^%s*(.-)%s*$')
else
return val
end
end
local function tidyValRemoveBlanksOnly(key, val)
if type(val) == 'string' then
if val:find('%S') then
return val
else
return nil
end
else
return val
end
end
local function tidyValNoChange(key, val)
return val
end
local function matchesTitle(given, title)
local tp = type( given )
return (tp == 'string' or tp == 'number') and mw.title.new( given ).prefixedText == title
end
local translate_mt = { __index = function(t, k) return k end }
function arguments.getArgs(frame, options)
checkType('getArgs', 1, frame, 'table', true)
checkType('getArgs', 2, options, 'table', true)
frame = frame or {}
options = options or {}
--[[
-- Set up argument translation.
--]]
options.translate = options.translate or {}
if getmetatable(options.translate) == nil then
setmetatable(options.translate, translate_mt)
end
if options.backtranslate == nil then
options.backtranslate = {}
for k,v in pairs(options.translate) do
options.backtranslate[v] = k
end
end
if options.backtranslate and getmetatable(options.backtranslate) == nil then
setmetatable(options.backtranslate, {
__index = function(t, k)
if options.translate[k] ~= k then
return nil
else
return k
end
end
})
end
--[[
-- Get the argument tables. If we were passed a valid frame object, get the
-- frame arguments (fargs) and the parent frame arguments (pargs), depending
-- on the options set and on the parent frame's availability. If we weren't
-- passed a valid frame object, we are being called from another Lua module
-- or from the debug console, so assume that we were passed a table of args
-- directly, and assign it to a new variable (luaArgs).
--]]
local fargs, pargs, luaArgs
if type(frame.args) == 'table' and type(frame.getParent) == 'function' then
if options.wrappers then
--[[
-- The wrappers option makes Module:Arguments look up arguments in
-- either the frame argument table or the parent argument table, but
-- not both. This means that users can use either the #invoke syntax
-- or a wrapper template without the loss of performance associated
-- with looking arguments up in both the frame and the parent frame.
-- Module:Arguments will look up arguments in the parent frame
-- if it finds the parent frame's title in options.wrapper;
-- otherwise it will look up arguments in the frame object passed
-- to getArgs.
--]]
local parent = frame:getParent()
if not parent then
fargs = frame.args
else
local title = parent:getTitle():gsub('/sandbox$', '')
local found = false
if matchesTitle(options.wrappers, title) then
found = true
elseif type(options.wrappers) == 'table' then
for _,v in pairs(options.wrappers) do
if matchesTitle(v, title) then
found = true
break
end
end
end
-- We test for false specifically here so that nil (the default) acts like true.
if found or options.frameOnly == false then
pargs = parent.args
end
if not found or options.parentOnly == false then
fargs = frame.args
end
end
else
-- options.wrapper isn't set, so check the other options.
if not options.parentOnly then
fargs = frame.args
end
if not options.frameOnly then
local parent = frame:getParent()
pargs = parent and parent.args or nil
end
end
if options.parentFirst then
fargs, pargs = pargs, fargs
end
else
luaArgs = frame
end
-- Set the order of precedence of the argument tables. If the variables are
-- nil, nothing will be added to the table, which is how we avoid clashes
-- between the frame/parent args and the Lua args.
local argTables = {fargs}
argTables[#argTables + 1] = pargs
argTables[#argTables + 1] = luaArgs
--[[
-- Generate the tidyVal function. If it has been specified by the user, we
-- use that; if not, we choose one of four functions depending on the
-- options chosen. This is so that we don't have to call the options table
-- every time the function is called.
--]]
local tidyVal = options.valueFunc
if tidyVal then
if type(tidyVal) ~= 'function' then
error(
"bad value assigned to option 'valueFunc'"
.. '(function expected, got '
.. type(tidyVal)
.. ')',
2
)
end
elseif options.trim ~= false then
if options.removeBlanks ~= false then
tidyVal = tidyValDefault
else
tidyVal = tidyValTrimOnly
end
else
if options.removeBlanks ~= false then
tidyVal = tidyValRemoveBlanksOnly
else
tidyVal = tidyValNoChange
end
end
--[[
-- Set up the args, metaArgs and nilArgs tables. args will be the one
-- accessed from functions, and metaArgs will hold the actual arguments. Nil
-- arguments are memoized in nilArgs, and the metatable connects all of them
-- together.
--]]
local args, metaArgs, nilArgs, metatable = {}, {}, {}, {}
setmetatable(args, metatable)
local function mergeArgs(tables)
--[[
-- Accepts multiple tables as input and merges their keys and values
-- into one table. If a value is already present it is not overwritten;
-- tables listed earlier have precedence. We are also memoizing nil
-- values, which can be overwritten if they are 's' (soft).
--]]
for _, t in ipairs(tables) do
for key, val in pairs(t) do
if metaArgs[key] == nil and nilArgs[key] ~= 'h' then
local tidiedVal = tidyVal(key, val)
if tidiedVal == nil then
nilArgs[key] = 's'
else
metaArgs[key] = tidiedVal
end
end
end
end
end
--[[
-- Define metatable behaviour. Arguments are memoized in the metaArgs table,
-- and are only fetched from the argument tables once. Fetching arguments
-- from the argument tables is the most resource-intensive step in this
-- module, so we try and avoid it where possible. For this reason, nil
-- arguments are also memoized, in the nilArgs table. Also, we keep a record
-- in the metatable of when pairs and ipairs have been called, so we do not
-- run pairs and ipairs on the argument tables more than once. We also do
-- not run ipairs on fargs and pargs if pairs has already been run, as all
-- the arguments will already have been copied over.
--]]
metatable.__index = function (t, key)
--[[
-- Fetches an argument when the args table is indexed. First we check
-- to see if the value is memoized, and if not we try and fetch it from
-- the argument tables. When we check memoization, we need to check
-- metaArgs before nilArgs, as both can be non-nil at the same time.
-- If the argument is not present in metaArgs, we also check whether
-- pairs has been run yet. If pairs has already been run, we return nil.
-- This is because all the arguments will have already been copied into
-- metaArgs by the mergeArgs function, meaning that any other arguments
-- must be nil.
--]]
if type(key) == 'string' then
key = options.translate[key]
end
local val = metaArgs[key]
if val ~= nil then
return val
elseif metatable.donePairs or nilArgs[key] then
return nil
end
for _, argTable in ipairs(argTables) do
local argTableVal = tidyVal(key, argTable[key])
if argTableVal ~= nil then
metaArgs[key] = argTableVal
return argTableVal
end
end
nilArgs[key] = 'h'
return nil
end
metatable.__newindex = function (t, key, val)
-- This function is called when a module tries to add a new value to the
-- args table, or tries to change an existing value.
if type(key) == 'string' then
key = options.translate[key]
end
if options.readOnly then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; the table is read-only',
2
)
elseif options.noOverwrite and args[key] ~= nil then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; overwriting existing arguments is not permitted',
2
)
elseif val == nil then
--[[
-- If the argument is to be overwritten with nil, we need to erase
-- the value in metaArgs, so that __index, __pairs and __ipairs do
-- not use a previous existing value, if present; and we also need
-- to memoize the nil in nilArgs, so that the value isn't looked
-- up in the argument tables if it is accessed again.
--]]
metaArgs[key] = nil
nilArgs[key] = 'h'
else
metaArgs[key] = val
end
end
local function translatenext(invariant)
local k, v = next(invariant.t, invariant.k)
invariant.k = k
if k == nil then
return nil
elseif type(k) ~= 'string' or not options.backtranslate then
return k, v
else
local backtranslate = options.backtranslate[k]
if backtranslate == nil then
-- Skip this one. This is a tail call, so this won't cause stack overflow
return translatenext(invariant)
else
return backtranslate, v
end
end
end
metatable.__pairs = function ()
-- Called when pairs is run on the args table.
if not metatable.donePairs then
mergeArgs(argTables)
metatable.donePairs = true
end
return translatenext, { t = metaArgs }
end
local function inext(t, i)
-- This uses our __index metamethod
local v = t[i + 1]
if v ~= nil then
return i + 1, v
end
end
metatable.__ipairs = function (t)
-- Called when ipairs is run on the args table.
return inext, t, 0
end
return args
end
return arguments
5qx9tzlul9ser30uxj9nbasjt92cevn
ਮੌਡਿਊਲ:Arguments/doc
828
2740
5393
2023-03-23T08:34:18Z
Kuldeepburjbhalaike
1880
"This module provides easy processing of arguments passed from #invoke. It is a meta-module, meant for use by other modules, and should not be called from #invoke directly. Its features are: * Easy trimming of arguments and removal of blank arguments. *Arguments can be passed by both the current frame and by the parent frame at the same time. *Arguments can be passed in directly from another Lua module or from the debug console. Most features ca..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
This module provides easy processing of arguments passed from #invoke. It is a meta-module, meant for use by other modules, and should not be called from #invoke directly. Its features are:
* Easy trimming of arguments and removal of blank arguments.
*Arguments can be passed by both the current frame and by the parent frame at the same time.
*Arguments can be passed in directly from another Lua module or from the debug console. Most features can be customized.
bhenn5uclwzwaearxwh96t9i68avu8h
ਮੌਡਿਊਲ:Yesno
828
2741
5394
2023-03-23T08:43:08Z
Kuldeepburjbhalaike
1880
"-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki uses non-ascii characters for any of "yes", "no", etc., you -- should replace "val:lower()" with "mw.ustring.lower(val)" in the -- following line. val = type(val) == 'string' and val:lower() or val if val == nil then return nil elseif val == true or val == 'yes'..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
-- Function allowing for consistent treatment of boolean-like wikitext input.
-- It works similarly to the template {{yesno}}.
return function (val, default)
-- If your wiki uses non-ascii characters for any of "yes", "no", etc., you
-- should replace "val:lower()" with "mw.ustring.lower(val)" in the
-- following line.
val = type(val) == 'string' and val:lower() or val
if val == nil then
return nil
elseif val == true
or val == 'yes'
or val == 'y'
or val == 'true'
or val == 't'
or tonumber(val) == 1
then
return true
elseif val == false
or val == 'no'
or val == 'n'
or val == 'false'
or val == 'f'
or tonumber(val) == 0
then
return false
else
return default
end
end
266x81qzpz9iq1b5gft4zsdy5qzbnwi
ਮੌਡਿਊਲ:List
828
2742
5395
2023-03-23T08:44:17Z
Kuldeepburjbhalaike
1880
"-- This module outputs different kinds of lists. At the moment, bulleted, -- unbulleted, horizontal, ordered, and horizontal ordered lists are supported. local libUtil = require('libraryUtil') local checkType = libUtil.checkType local mTableTools = require('Module:TableTools') local p = {} local listTypes = { ['bulleted'] = true, ['unbulleted'] = true, ['horizontal'] = true, ['ordered'] = true, ['horizontal_ordered'] = true } function p.m..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
-- This module outputs different kinds of lists. At the moment, bulleted,
-- unbulleted, horizontal, ordered, and horizontal ordered lists are supported.
local libUtil = require('libraryUtil')
local checkType = libUtil.checkType
local mTableTools = require('Module:TableTools')
local p = {}
local listTypes = {
['bulleted'] = true,
['unbulleted'] = true,
['horizontal'] = true,
['ordered'] = true,
['horizontal_ordered'] = true
}
function p.makeListData(listType, args)
-- Constructs a data table to be passed to p.renderList.
local data = {}
-- Classes
data.classes = {}
if listType == 'horizontal' or listType == 'horizontal_ordered' then
table.insert(data.classes, 'hlist')
elseif listType == 'unbulleted' then
table.insert(data.classes, 'plainlist')
end
table.insert(data.classes, args.class)
-- Main div style
data.style = args.style
-- Indent for horizontal lists
if listType == 'horizontal' or listType == 'horizontal_ordered' then
local indent = tonumber(args.indent)
indent = indent and indent * 1.6 or 0
if indent > 0 then
data.marginLeft = indent .. 'em'
end
end
-- List style types for ordered lists
-- This could be "1, 2, 3", "a, b, c", or a number of others. The list style
-- type is either set by the "type" attribute or the "list-style-type" CSS
-- property.
if listType == 'ordered' or listType == 'horizontal_ordered' then
data.listStyleType = args.list_style_type or args['list-style-type']
data.type = args['type']
-- Detect invalid type attributes and attempt to convert them to
-- list-style-type CSS properties.
if data.type
and not data.listStyleType
and not tostring(data.type):find('^%s*[1AaIi]%s*$')
then
data.listStyleType = data.type
data.type = nil
end
end
-- List tag type
if listType == 'ordered' or listType == 'horizontal_ordered' then
data.listTag = 'ol'
else
data.listTag = 'ul'
end
-- Start number for ordered lists
data.start = args.start
if listType == 'horizontal_ordered' then
-- Apply fix to get start numbers working with horizontal ordered lists.
local startNum = tonumber(data.start)
if startNum then
data.counterReset = 'listitem ' .. tostring(startNum - 1)
end
end
-- List style
-- ul_style and ol_style are included for backwards compatibility. No
-- distinction is made for ordered or unordered lists.
data.listStyle = args.list_style
-- List items
-- li_style is included for backwards compatibility. item_style was included
-- to be easier to understand for non-coders.
data.itemStyle = args.item_style or args.li_style
data.items = {}
for i, num in ipairs(mTableTools.numKeys(args)) do
local item = {}
item.content = args[num]
item.style = args['item' .. tostring(num) .. '_style']
or args['item_style' .. tostring(num)]
item.value = args['item' .. tostring(num) .. '_value']
or args['item_value' .. tostring(num)]
table.insert(data.items, item)
end
return data
end
function p.renderList(data)
-- Renders the list HTML.
-- Return the blank string if there are no list items.
if type(data.items) ~= 'table' or #data.items < 1 then
return ''
end
-- Render the main div tag.
local root = mw.html.create('div')
for i, class in ipairs(data.classes or {}) do
root:addClass(class)
end
root:css{['margin-left'] = data.marginLeft}
if data.style then
root:cssText(data.style)
end
-- Render the list tag.
local list = root:tag(data.listTag or 'ul')
list
:attr{start = data.start, type = data.type}
:css{
['counter-reset'] = data.counterReset,
['list-style-type'] = data.listStyleType
}
if data.listStyle then
list:cssText(data.listStyle)
end
-- Render the list items
for i, t in ipairs(data.items or {}) do
local item = list:tag('li')
if data.itemStyle then
item:cssText(data.itemStyle)
end
if t.style then
item:cssText(t.style)
end
item
:attr{value = t.value}
:wikitext(t.content)
end
return tostring(root)
end
function p.renderTrackingCategories(args)
local isDeprecated = false -- Tracks deprecated parameters.
for k, v in pairs(args) do
k = tostring(k)
if k:find('^item_style%d+$') or k:find('^item_value%d+$') then
isDeprecated = true
break
end
end
local ret = ''
if isDeprecated then
ret = ret .. '[[Category:List templates with deprecated parameters]]'
end
return ret
end
function p.makeList(listType, args)
if not listType or not listTypes[listType] then
error(string.format(
"bad argument #1 to 'makeList' ('%s' is not a valid list type)",
tostring(listType)
), 2)
end
checkType('makeList', 2, args, 'table')
local data = p.makeListData(listType, args)
local list = p.renderList(data)
local trackingCategories = p.renderTrackingCategories(args)
return list .. trackingCategories
end
for listType in pairs(listTypes) do
p[listType] = function (frame)
local mArguments = require('Module:Arguments')
local origArgs = mArguments.getArgs(frame)
-- Copy all the arguments to a new table, for faster indexing.
local args = {}
for k, v in pairs(origArgs) do
args[k] = v
end
return p.makeList(listType, args)
end
end
return p
gys728jf7k7k0tacxur7d4u3ykwd6zh
ਮੌਡਿਊਲ:TableTools
828
2743
5396
2023-03-23T08:45:36Z
Kuldeepburjbhalaike
1880
"--[[ ------------------------------------------------------------------------------------ -- TableTools -- -- -- -- This module includes a number of functions for dealing with Lua tables. -- -- It is a meta-module, meant to be called from other Lua modules, and should -- -- not be called dire..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
--[[
------------------------------------------------------------------------------------
-- TableTools --
-- --
-- This module includes a number of functions for dealing with Lua tables. --
-- It is a meta-module, meant to be called from other Lua modules, and should --
-- not be called directly from #invoke. --
------------------------------------------------------------------------------------
--]]
local libraryUtil = require('libraryUtil')
local p = {}
-- Define often-used variables and functions.
local floor = math.floor
local infinity = math.huge
local checkType = libraryUtil.checkType
local checkTypeMulti = libraryUtil.checkTypeMulti
--[[
------------------------------------------------------------------------------------
-- isPositiveInteger
--
-- This function returns true if the given value is a positive integer, and false
-- if not. Although it doesn't operate on tables, it is included here as it is
-- useful for determining whether a given table key is in the array part or the
-- hash part of a table.
------------------------------------------------------------------------------------
--]]
function p.isPositiveInteger(v)
if type(v) == 'number' and v >= 1 and floor(v) == v and v < infinity then
return true
else
return false
end
end
--[[
------------------------------------------------------------------------------------
-- isNan
--
-- This function returns true if the given number is a NaN value, and false
-- if not. Although it doesn't operate on tables, it is included here as it is
-- useful for determining whether a value can be a valid table key. Lua will
-- generate an error if a NaN is used as a table key.
------------------------------------------------------------------------------------
--]]
function p.isNan(v)
if type(v) == 'number' and tostring(v) == '-nan' then
return true
else
return false
end
end
--[[
------------------------------------------------------------------------------------
-- shallowClone
--
-- This returns a clone of a table. The value returned is a new table, but all
-- subtables and functions are shared. Metamethods are respected, but the returned
-- table will have no metatable of its own.
------------------------------------------------------------------------------------
--]]
function p.shallowClone(t)
local ret = {}
for k, v in pairs(t) do
ret[k] = v
end
return ret
end
--[[
------------------------------------------------------------------------------------
-- removeDuplicates
--
-- This removes duplicate values from an array. Non-positive-integer keys are
-- ignored. The earliest value is kept, and all subsequent duplicate values are
-- removed, but otherwise the array order is unchanged.
------------------------------------------------------------------------------------
--]]
function p.removeDuplicates(t)
checkType('removeDuplicates', 1, t, 'table')
local isNan = p.isNan
local ret, exists = {}, {}
for i, v in ipairs(t) do
if isNan(v) then
-- NaNs can't be table keys, and they are also unique, so we don't need to check existence.
ret[#ret + 1] = v
else
if not exists[v] then
ret[#ret + 1] = v
exists[v] = true
end
end
end
return ret
end
--[[
------------------------------------------------------------------------------------
-- numKeys
--
-- This takes a table and returns an array containing the numbers of any numerical
-- keys that have non-nil values, sorted in numerical order.
------------------------------------------------------------------------------------
--]]
function p.numKeys(t)
checkType('numKeys', 1, t, 'table')
local isPositiveInteger = p.isPositiveInteger
local nums = {}
for k, v in pairs(t) do
if isPositiveInteger(k) then
nums[#nums + 1] = k
end
end
table.sort(nums)
return nums
end
--[[
------------------------------------------------------------------------------------
-- affixNums
--
-- This takes a table and returns an array containing the numbers of keys with the
-- specified prefix and suffix. For example, for the table
-- {a1 = 'foo', a3 = 'bar', a6 = 'baz'} and the prefix "a", affixNums will
-- return {1, 3, 6}.
------------------------------------------------------------------------------------
--]]
function p.affixNums(t, prefix, suffix)
checkType('affixNums', 1, t, 'table')
checkType('affixNums', 2, prefix, 'string', true)
checkType('affixNums', 3, suffix, 'string', true)
local function cleanPattern(s)
-- Cleans a pattern so that the magic characters ()%.[]*+-?^$ are interpreted literally.
s = s:gsub('([%(%)%%%.%[%]%*%+%-%?%^%$])', '%%%1')
return s
end
prefix = prefix or ''
suffix = suffix or ''
prefix = cleanPattern(prefix)
suffix = cleanPattern(suffix)
local pattern = '^' .. prefix .. '([1-9]%d*)' .. suffix .. '$'
local nums = {}
for k, v in pairs(t) do
if type(k) == 'string' then
local num = mw.ustring.match(k, pattern)
if num then
nums[#nums + 1] = tonumber(num)
end
end
end
table.sort(nums)
return nums
end
--[[
------------------------------------------------------------------------------------
-- numData
--
-- Given a table with keys like ("foo1", "bar1", "foo2", "baz2"), returns a table
-- of subtables in the format
-- { [1] = {foo = 'text', bar = 'text'}, [2] = {foo = 'text', baz = 'text'} }
-- Keys that don't end with an integer are stored in a subtable named "other".
-- The compress option compresses the table so that it can be iterated over with
-- ipairs.
------------------------------------------------------------------------------------
--]]
function p.numData(t, compress)
checkType('numData', 1, t, 'table')
checkType('numData', 2, compress, 'boolean', true)
local ret = {}
for k, v in pairs(t) do
local prefix, num = mw.ustring.match(tostring(k), '^([^0-9]*)([1-9][0-9]*)$')
if num then
num = tonumber(num)
local subtable = ret[num] or {}
if prefix == '' then
-- Positional parameters match the blank string; put them at the start of the subtable instead.
prefix = 1
end
subtable[prefix] = v
ret[num] = subtable
else
local subtable = ret.other or {}
subtable[k] = v
ret.other = subtable
end
end
if compress then
local other = ret.other
ret = p.compressSparseArray(ret)
ret.other = other
end
return ret
end
--[[
------------------------------------------------------------------------------------
-- compressSparseArray
--
-- This takes an array with one or more nil values, and removes the nil values
-- while preserving the order, so that the array can be safely traversed with
-- ipairs.
------------------------------------------------------------------------------------
--]]
function p.compressSparseArray(t)
checkType('compressSparseArray', 1, t, 'table')
local ret = {}
local nums = p.numKeys(t)
for _, num in ipairs(nums) do
ret[#ret + 1] = t[num]
end
return ret
end
--[[
------------------------------------------------------------------------------------
-- sparseIpairs
--
-- This is an iterator for sparse arrays. It can be used like ipairs, but can
-- handle nil values.
------------------------------------------------------------------------------------
--]]
function p.sparseIpairs(t)
checkType('sparseIpairs', 1, t, 'table')
local nums = p.numKeys(t)
local i = 0
local lim = #nums
return function ()
i = i + 1
if i <= lim then
local key = nums[i]
return key, t[key]
else
return nil, nil
end
end
end
--[[
------------------------------------------------------------------------------------
-- size
--
-- This returns the size of a key/value pair table. It will also work on arrays,
-- but for arrays it is more efficient to use the # operator.
------------------------------------------------------------------------------------
--]]
function p.size(t)
checkType('size', 1, t, 'table')
local i = 0
for k in pairs(t) do
i = i + 1
end
return i
end
local function defaultKeySort(item1, item2)
-- "number" < "string", so numbers will be sorted before strings.
local type1, type2 = type(item1), type(item2)
if type1 ~= type2 then
return type1 < type2
else -- This will fail with table, boolean, function.
return item1 < item2
end
end
--[[
Returns a list of the keys in a table, sorted using either a default
comparison function or a custom keySort function.
]]
function p.keysToList(t, keySort, checked)
if not checked then
checkType('keysToList', 1, t, 'table')
checkTypeMulti('keysToList', 2, keySort, { 'function', 'boolean', 'nil' })
end
local list = {}
local index = 1
for key, value in pairs(t) do
list[index] = key
index = index + 1
end
if keySort ~= false then
keySort = type(keySort) == 'function' and keySort or defaultKeySort
table.sort(list, keySort)
end
return list
end
--[[
Iterates through a table, with the keys sorted using the keysToList function.
If there are only numerical keys, sparseIpairs is probably more efficient.
]]
function p.sortedPairs(t, keySort)
checkType('sortedPairs', 1, t, 'table')
checkType('sortedPairs', 2, keySort, 'function', true)
local list = p.keysToList(t, keySort, true)
local i = 0
return function()
i = i + 1
local key = list[i]
if key ~= nil then
return key, t[key]
else
return nil, nil
end
end
end
--[[
Returns true if all keys in the table are consecutive integers starting at 1.
--]]
function p.isArray(t)
checkType("isArray", 1, t, "table")
local i = 0
for k, v in pairs(t) do
i = i + 1
if t[i] == nil then
return false
end
end
return true
end
-- { "a", "b", "c" } -> { a = 1, b = 2, c = 3 }
function p.invert(array)
checkType("invert", 1, array, "table")
local map = {}
for i, v in ipairs(array) do
map[v] = i
end
return map
end
--[[
{ "a", "b", "c" } -> { ["a"] = true, ["b"] = true, ["c"] = true }
--]]
function p.listToSet(t)
checkType("listToSet", 1, t, "table")
local set = {}
for _, item in ipairs(t) do
set[item] = true
end
return set
end
--[[
Recursive deep copy function.
Preserves identities of subtables.
]]
local function _deepCopy(orig, includeMetatable, already_seen)
-- Stores copies of tables indexed by the original table.
already_seen = already_seen or {}
local copy = already_seen[orig]
if copy ~= nil then
return copy
end
if type(orig) == 'table' then
copy = {}
for orig_key, orig_value in pairs(orig) do
copy[deepcopy(orig_key, includeMetatable, already_seen)] = deepcopy(orig_value, includeMetatable, already_seen)
end
already_seen[orig] = copy
if includeMetatable then
local mt = getmetatable(orig)
if mt ~= nil then
local mt_copy = deepcopy(mt, includeMetatable, already_seen)
setmetatable(copy, mt_copy)
already_seen[mt] = mt_copy
end
end
else -- number, string, boolean, etc
copy = orig
end
return copy
end
function p.deepCopy(orig, noMetatable, already_seen)
checkType("deepCopy", 3, already_seen, "table", true)
return _deepCopy(orig, not noMetatable, already_seen)
end
--[[
Concatenates all values in the table that are indexed by a number, in order.
sparseConcat{ a, nil, c, d } => "acd"
sparseConcat{ nil, b, c, d } => "bcd"
]]
function p.sparseConcat(t, sep, i, j)
local list = {}
local list_i = 0
for _, v in p.sparseIpairs(t) do
list_i = list_i + 1
list[list_i] = v
end
return table.concat(list, sep, i, j)
end
--[[
-- This returns the length of a table, or the first integer key n counting from
-- 1 such that t[n + 1] is nil. It is similar to the operator #, but may return
-- a different value when there are gaps in the array portion of the table.
-- Intended to be used on data loaded with mw.loadData. For other tables, use #.
-- Note: #frame.args in frame object always be set to 0, regardless of
-- the number of unnamed template parameters, so use this function for
-- frame.args.
--]]
function p.length(t)
local i = 1
while t[i] ~= nil do
i = i + 1
end
return i - 1
end
function p.inArray(arr, valueToFind)
checkType("inArray", 1, arr, "table")
-- if valueToFind is nil, error?
for _, v in ipairs(arr) do
if v == valueToFind then
return true
end
end
return false
end
return p
tqif0qe0lu98pj8cuq70kgi6evye5t3
ਫਰਮਾ:Purge
10
2744
5397
2023-03-23T08:47:08Z
Kuldeepburjbhalaike
1880
"<span class="noprint plainlinks purgelink">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|action=purge}} <span title="Purge this page">{{{1|Purge}}}</span>]</span><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<span class="noprint plainlinks purgelink">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|action=purge}} <span title="Purge this page">{{{1|Purge}}}</span>]</span><noinclude>
{{documentation}}
</noinclude>
830osaj62tvmlh6zq374ixtzbukxcih
ਫਰਮਾ:Purge/doc
10
2745
5398
2023-03-23T08:47:39Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} {{tl|purge}} produces a link that will clear the cache and rebuild page from the wikitext. === Purpose === For efficiency in service, [[MediaWiki]] [[w:cache|cache]]s pages. Depending on the exact sequence of actions editors follow, one may view an out-of-date version of a given page. This happens most often on heavily-edited pages and on pages which contain a [[Help:Templates|template]]. {{tl|purge}} adds to any page..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
{{tl|purge}} produces a link that will clear the cache and rebuild page from the wikitext.
=== Purpose ===
For efficiency in service, [[MediaWiki]] [[w:cache|cache]]s pages. Depending on the exact sequence of actions editors follow, one may view an out-of-date version of a given page. This happens most often on heavily-edited pages and on pages which contain a [[Help:Templates|template]].
{{tl|purge}} adds to any page a link that, when clicked, not only reloads the page, but clears the server cache, forcing the page to be completely rendered "from scratch". This is not a one-time solution; generally, editing a page is itself sufficient to purge cache. Rather, it is a measure taken in anticipation of the frequent need to purge.
=== Examples ===
{| class="wikitable"
|-
! Code
! Yields
! Result
|-
| <code><nowiki>{{purge}}</nowiki></code>
| {{purge}}
| Creates a purge link for the page it is used on.
|-
| <code><nowiki>{{purge|Purge this page's server cache.}}</nowiki></code>
| {{purge|Purge this page's server cache.}}
| Creates a purge link for the page it is used on, but with the text "Purge this page's server cache."
|-
| <code><nowiki>{{purge|page=Main Page}}</nowiki></code>
| {{purge|page=Main Page}}
| Creates a purge link for [[Main Page]].
|-
| <code><nowiki>{{purge|Purge this page's server cache.|page=Main Page}}</nowiki></code>
| {{purge|Purge this page's server cache.|page=Main Page}}
| Creates a purge link for [[Main Page]], but with the text "Purge this page's server cache."
|}
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Internal link templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
fuk3ljnnyy9kw6cfheavygb2en5o8ke
ਮੌਡਿਊਲ:Collapsible list
828
2746
5399
2023-03-23T08:49:52Z
Kuldeepburjbhalaike
1880
"-- This module implements {{collapsible list}}. local p = {} local function getListItem( data ) if not type( data ) == 'string' then return '' end return mw.ustring.format( '<li style="line-height: inherit; margin: 0">%s</li>', data ) end -- Returns an array containing the keys of all positional arguments -- that contain data (i.e. non-whitespace values). local function getArgNums( args ) local nums = {} for k, v in..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
-- This module implements {{collapsible list}}.
local p = {}
local function getListItem( data )
if not type( data ) == 'string' then
return ''
end
return mw.ustring.format( '<li style="line-height: inherit; margin: 0">%s</li>', data )
end
-- Returns an array containing the keys of all positional arguments
-- that contain data (i.e. non-whitespace values).
local function getArgNums( args )
local nums = {}
for k, v in pairs( args ) do
if type( k ) == 'number' and
k >= 1 and
math.floor( k ) == k and
type( v ) == 'string' and
mw.ustring.match( v, '%S' ) then
table.insert( nums, k )
end
end
table.sort( nums )
return nums
end
-- Formats a list of classes, styles or other attributes.
local function formatAttributes( attrType, ... )
local attributes = { ... }
local nums = getArgNums( attributes )
local t = {}
for i, num in ipairs( nums ) do
table.insert( t, attributes[ num ] )
end
if #t == 0 then
return '' -- Return the blank string so concatenation will work.
end
return mw.ustring.format( ' %s="%s"', attrType, table.concat( t, ' ' ) )
end
local function buildList( args )
-- Get the list items.
local listItems = {}
local argNums = getArgNums( args )
for i, num in ipairs( argNums ) do
table.insert( listItems, getListItem( args[ num ] ) )
end
if #listItems == 0 then
return ''
end
listItems = table.concat( listItems )
-- Get class, style and title data.
local div1class = formatAttributes( 'class', 'NavFrame', not args.expand and 'collapsed' )
local div1style = formatAttributes(
'style',
args.frame_style,
args.framestyle,
not ( args.frame_style or args.framestyle ) and 'border: none; padding: 0;'
)
local div2class = formatAttributes( 'class', 'NavHead' )
local div2style = formatAttributes(
'style',
'font-size: 105%;',
args.title_style,
args.titlestyle,
not ( args.title_style or args.titlestyle ) and 'background: transparent; text-align: left;'
)
local title = args.title or 'List'
local ulclass = formatAttributes( 'class', 'NavContent', args.hlist and 'hlist' )
local ulstyle = formatAttributes(
'style',
not args.bullets and 'list-style: none none; margin-left: 0;',
args.list_style,
args.liststyle,
not ( args.list_style or args.liststyle ) and 'text-align: left;',
'font-size: 105%; margin-top: 0; margin-bottom: 0; line-height: inherit;'
)
-- Build the list.
return mw.ustring.format(
'<div%s%s>\n<div%s%s>%s</div>\n<ul%s%s>%s</ul>\n</div>',
div1class, div1style, div2class, div2style, title, ulclass, ulstyle, listItems
)
end
function p.main( frame )
local origArgs
if frame == mw.getCurrentFrame() then
origArgs = frame:getParent().args
for k, v in pairs( frame.args ) do
origArgs = frame.args
break
end
else
origArgs = frame
end
local args = {}
for k, v in pairs( origArgs ) do
if type( k ) == 'number' or v ~= '' then
args[ k ] = v
end
end
return buildList( args )
end
return p
5zj2jtxt2eon9yxskfbmu6e9r9r3rpd
ਮੌਡਿਊਲ:Collapsible list/doc
828
2747
5400
2023-03-23T08:50:20Z
Kuldeepburjbhalaike
1880
"This module implements {{tl|collapsible list}}. Please see the template page for documentation. <includeonly>[[Category:Wikibooks modules]]</includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
This module implements {{tl|collapsible list}}. Please see the template page for documentation.
<includeonly>[[Category:Wikibooks modules]]</includeonly>
amzz3wfemalwk0agicwe0z0cuc4flh0
ਫਰਮਾ:Collapsible list
10
2748
5401
2023-03-23T08:50:58Z
Kuldeepburjbhalaike
1880
"<div class="mw-collapsible {{#if:{{{expand|}}}||mw-collapsed}}" style="{{{frame_style|}}}{{{framestyle|}}}"> <div style="font-size:105%; {{{title_style|}}}{{{titlestyle|}}}"><!-- -->{{#if:{{{title|}}} |{{{title|}}} |List}}<!-- --></div> <ul class="mw-collapsible-content {{#if:{{{hlist|}}}|hlist}}" style="{{#if:{{{bullets|}}}||list-style: none none; margin-left: 0;}} {{#if:{{{list_style|}}}{{{liststyle|}}} |{{{list_style|}}}{{{liststyle|}}} |text..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="mw-collapsible {{#if:{{{expand|}}}||mw-collapsed}}" style="{{{frame_style|}}}{{{framestyle|}}}">
<div style="font-size:105%; {{{title_style|}}}{{{titlestyle|}}}"><!--
-->{{#if:{{{title|}}} |{{{title|}}} |List}}<!--
--></div>
<ul class="mw-collapsible-content {{#if:{{{hlist|}}}|hlist}}" style="{{#if:{{{bullets|}}}||list-style: none none; margin-left: 0;}} {{#if:{{{list_style|}}}{{{liststyle|}}} |{{{list_style|}}}{{{liststyle|}}} |text-align:left;}} font-size:105%; margin-top: 0; margin-bottom: 0; line-height: inherit"><!--
-->{{#if:{{{1|}}} |<li style="line-height: inherit; margin: 0">{{{1|}}} </li>}}<!--
-->{{#if:{{{2|}}} |<li style="line-height: inherit; margin: 0">{{{2|}}} </li>}}<!--
-->{{#if:{{{3|}}} |<li style="line-height: inherit; margin: 0">{{{3|}}} </li>}}<!--
-->{{#if:{{{4|}}} |<li style="line-height: inherit; margin: 0">{{{4|}}} </li>}}<!--
-->{{#if:{{{5|}}} |<li style="line-height: inherit; margin: 0">{{{5|}}} </li>}}<!--
-->{{#if:{{{6|}}} |<li style="line-height: inherit; margin: 0">{{{6|}}} </li>}}<!--
-->{{#if:{{{7|}}} |<li style="line-height: inherit; margin: 0">{{{7|}}} </li>}}<!--
-->{{#if:{{{8|}}} |<li style="line-height: inherit; margin: 0">{{{8|}}} </li>}}<!--
-->{{#if:{{{9|}}} |<li style="line-height: inherit; margin: 0">{{{9|}}} </li>}}<!--
-->{{#if:{{{10|}}} |<li style="line-height: inherit; margin: 0">{{{10|}}}</li>}}<!--
-->{{#if:{{{11|}}} |<li style="line-height: inherit; margin: 0">{{{11|}}}</li>}}<!--
-->{{#if:{{{12|}}} |<li style="line-height: inherit; margin: 0">{{{12|}}}</li>}}<!--
-->{{#if:{{{13|}}} |<li style="line-height: inherit; margin: 0">{{{13|}}}</li>}}<!--
-->{{#if:{{{14|}}} |<li style="line-height: inherit; margin: 0">{{{14|}}}</li>}}<!--
-->{{#if:{{{15|}}} |<li style="line-height: inherit; margin: 0">{{{15|}}}</li>}}<!--
-->{{#if:{{{16|}}} |<li style="line-height: inherit; margin: 0">{{{16|}}}</li>}}<!--
-->{{#if:{{{17|}}} |<li style="line-height: inherit; margin: 0">{{{17|}}}</li>}}<!--
-->{{#if:{{{18|}}} |<li style="line-height: inherit; margin: 0">{{{18|}}}</li>}}<!--
-->{{#if:{{{19|}}} |<li style="line-height: inherit; margin: 0">{{{19|}}}</li>}}<!--
-->{{#if:{{{20|}}} |<li style="line-height: inherit; margin: 0">{{{20|}}}</li>}}<!--
-->{{#if:{{{21|}}} |<li style="line-height: inherit; margin: 0">{{{21|}}}</li>}}<!--
-->{{#if:{{{22|}}} |<li style="line-height: inherit; margin: 0">{{{22|}}}</li>}}<!--
-->{{#if:{{{23|}}} |<li style="line-height: inherit; margin: 0">{{{23|}}}</li>}}<!--
-->{{#if:{{{24|}}} |<li style="line-height: inherit; margin: 0">{{{24|}}}</li>}}<!--
-->{{#if:{{{25|}}} |<li style="line-height: inherit; margin: 0">{{{25|}}}</li>}}<!--
-->{{#if:{{{26|}}} |<li style="line-height: inherit; margin: 0">{{{26|}}}</li>}}<!--
-->{{#if:{{{27|}}} |<li style="line-height: inherit; margin: 0">{{{27|}}}</li>}}<!--
-->{{#if:{{{28|}}} |<li style="line-height: inherit; margin: 0">{{{28|}}}</li>}}<!--
-->{{#if:{{{29|}}} |<li style="line-height: inherit; margin: 0">{{{29|}}}</li>}}<!--
-->{{#if:{{{30|}}} |<li style="line-height: inherit; margin: 0">{{{30|}}}</li>}}<!--
-->{{#if:{{{31|}}} |<li style="line-height: inherit; margin: 0">{{{31|}}}</li>}}<!--
-->{{#if:{{{32|}}} |<li style="line-height: inherit; margin: 0">{{{32|}}}</li>}}<!--
-->{{#if:{{{33|}}} |<li style="line-height: inherit; margin: 0">{{{33|}}}</li>}}<!--
-->{{#if:{{{34|}}} |<li style="line-height: inherit; margin: 0">{{{34|}}}</li>}}<!--
-->{{#if:{{{35|}}} |<li style="line-height: inherit; margin: 0">{{{35|}}}</li>}}<!--
-->{{#if:{{{36|}}} |<li style="line-height: inherit; margin: 0">{{{36|}}}</li>}}<!--
-->{{#if:{{{37|}}} |<li style="line-height: inherit; margin: 0">{{{37|}}}</li>}}<!--
-->{{#if:{{{38|}}} |<li style="line-height: inherit; margin: 0">{{{38|}}}</li>}}<!--
-->{{#if:{{{39|}}} |<li style="line-height: inherit; margin: 0">{{{39|}}}</li>}}<!--
-->{{#if:{{{40|}}} |<li style="line-height: inherit; margin: 0">{{{40|}}}</li>}}<!--
-->{{#if:{{{41|}}} |<li style="line-height: inherit; margin: 0">{{{41|}}}</li>}}<!--
-->{{#if:{{{42|}}} |<li style="line-height: inherit; margin: 0">{{{42|}}}</li>}}<!--
-->{{#if:{{{43|}}} |<li style="line-height: inherit; margin: 0">{{{43|}}}</li>}}<!--
-->{{#if:{{{44|}}} |<li style="line-height: inherit; margin: 0">{{{44|}}}</li>}}<!--
-->{{#if:{{{45|}}} |<li style="line-height: inherit; margin: 0">{{{45|}}}</li>}}<!--
-->{{#if:{{{46|}}} |<li style="line-height: inherit; margin: 0">{{{46|}}}</li>}}<!--
-->{{#if:{{{47|}}} |<li style="line-height: inherit; margin: 0">{{{47|}}}</li>}}<!--
-->{{#if:{{{48|}}} |<li style="line-height: inherit; margin: 0">{{{48|}}}</li>}}<!--
-->{{#if:{{{49|}}} |<li style="line-height: inherit; margin: 0">{{{49|}}}</li>}}<!--
-->{{#if:{{{50|}}} |<li style="line-height: inherit; margin: 0">{{{50|}}}</li>}}<!--
--></ul>
</div><noinclude>{{documentation}}</noinclude>
gmeqpnu9dbdsy1et5sbndkbm07b693o
ਫਰਮਾ:Collapsible list/doc
10
2749
5402
2023-03-23T08:51:25Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> == Syntax == <pre style="font-size:95%;overflow:auto;"> {{collapsible list |framestyle = <!--(optional)--> |titlestyle = <!--(optional)--> |title = |liststyle = <!--(optional)--> | [1 = ] <!--(First item in list; the "1 =" is usually optional)--> | [2 = ] <!--(Second item in list; ditto)--> | [3 = ] <!--(Third item in list; e..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
== Syntax ==
<pre style="font-size:95%;overflow:auto;">
{{collapsible list
|framestyle = <!--(optional)-->
|titlestyle = <!--(optional)-->
|title =
|liststyle = <!--(optional)-->
| [1 = ] <!--(First item in list; the "1 =" is usually optional)-->
| [2 = ] <!--(Second item in list; ditto)-->
| [3 = ] <!--(Third item in list; etc.)--->
| ...
}}
</pre>
;Default state
Specifying <code>expand = true</code>, or any non-blank value, will set the default state to expanded.
;Limitations
A maximum of 50 items may be listed. Further items will be silently ignored.
== Examples ==
<pre style="font-size:95%;overflow:auto;">
{{collapsible list
| title = [[w:European Free Trade Association|]] Members
| [[w:Iceland|]]
| [[w:Liechtenstein|]]
| [[w:Norway|]]
| [[w:Switzerland|]]
}}
</pre>
{{collapsible list |title=[[w:European Free Trade Association|European Free Trade Association]] Members |[[w:Iceland|Iceland]] |[[w:Liechtenstein|Liechtenstein]] |[[w:Norway|Norway]] |[[w:Switzerland|Switzerland]]}}
===Example of a list without borders because it's within an infobox===
In these examples, the fields leader_name2 and leader_name3 have been changed to use collapsible list.
{{Infobox settlement
|official_name = City of Hamilton
|motto = Together Aspire - Together Achieve
|image_skyline = HamiltonOntarioSkylineC.JPG
|imagesize = 250px
|image_caption =
|image_map = Map of Ontario HAMILTON.svg
|mapsize = 200px
|map_caption = Location in the province of Ontario, Canada
|subdivision_type = Country
|subdivision_name = [[w:Canada|Canada]]
|subdivision_type1 = [[w:Provinces and territories of Canada|Province]]
|subdivision_name1 = [[w:Ontario|Ontario]]
|leader_title = [[w:Mayor|Mayor]]
|leader_name = [[w:Fred Eisenberger|Fred Eisenberger]]
|leader_title1 = [[w:City Council|City Council]]
|leader_name1 = [[w:Hamilton, Ontario City Council|Hamilton]]
|leader_title2 = [[w:Member of Parliament#Canada|MPs]]
|leader_name2 =
{{Collapsible list
|framestyle=border:none; padding:0; <!--Hides borders and improves row spacing-->
|title=List of MPs
|1=[[w:Dean Allison|Dean Allison]] |2=[[w:Chris Charlton|Chris Charlton]] |3=[[w:David Christopherson|David Christopherson]] |4=[[w:Wayne Marston|Wayne Marston]] |5=[[w:David Sweet|David Sweet]]
}}
|leader_title3 = [[w:Member of Provincial Parliament (Ontario)|MPPs]]
|leader_name3 =
{{Collapsible list
|framestyle=border:none; padding:0; <!--as above-->
|title=List of MPPs
|1=[[w:Marie Bountrogianni|Marie Bountrogianni]] |2=[[w:Andrea Horwath|Andrea Horwath]] |3=[[w:Judy Marsales|Judy Marsales]] |4=[[w:Ted McMeekin|Ted McMeekin]] |5=[[w:Jennifer Mossop|Jennifer Mossop]]
}}
|established_title = [[w:Municipal corporation|Incorporated]]
|established_date = June 9, 1846
}}
<pre style="font-size:95%; overflow:auto;">
{{Infobox settlement
|official_name = City of Hamilton
...truncated...
|leader_title = [[w:Mayor|]]
|leader_name = [[w:Fred Eisenberger|]]
|leader_title1 = [[w:City Council|]]
|leader_name1 = [[w:Hamilton City Council|]]
|leader_title2 = [[w:Member of Parliament (Canada)|MPs]]
|leader_name2 =
{{Collapsible list
|framestyle=border:none; padding:0; <!--Hides borders and improves row spacing-->
|title=List of MPs
|1=[[w:Dean Allison|]] |2=[[w:Chris Charlton|]] |3=[[w:David Christopherson|]] |4=[[w:Wayne Marston|]] |5=[[w:David Sweet|]]
}}
|leader_title3 = [[w:Member of Provincial Parliament (Ontario)|MPPs]]
|leader_name3 =
{{Collapsible list
|framestyle=border:none; padding:0; <!--as above-->
|title=List of MPPs
|1=[[w:Marie Bountrogianni|]] |2=[[w:Andrea Horwath|]] |3=[[w:Judy Marsales|]] |4=[[w:Ted McMeekin|]] |5=[[w:Jennifer Mossop|]]
}}
|established_title = [[w:Municipal corporation|Incorporated]]
|established_date = June 9, 1846
(...etc...)
}}
</pre>
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Collapse templates]]
[[Category:List templates|Collapsible]]
[[Category:List formatting templates]]
}}</includeonly>
jsx6y0wulgr67ml3ja3u3krlblxgvga
ਫਰਮਾ:Infobox settlement
10
2750
5403
2023-03-23T08:52:36Z
Kuldeepburjbhalaike
1880
"{{infobox | bodyclass = geography vcard | bodystyle = width:23em | headerstyle = text-align:left | abovestyle = font-size:1.25em; white-space:nowrap | above = <span class="fn org">{{#if:{{{name|}}}|{{{name}}}|{{#if:{{{official_name|}}}|{{{official_name}}}|{{PAGENAME}}}}}}</span>{{#if:{{{native_name|}}}|<br /><span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}{{#if:{{{other_name|}}}|<br..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{infobox
| bodyclass = geography vcard
| bodystyle = width:23em
| headerstyle = text-align:left
| abovestyle = font-size:1.25em; white-space:nowrap
| above = <span class="fn org">{{#if:{{{name|}}}|{{{name}}}|{{#if:{{{official_name|}}}|{{{official_name}}}|{{PAGENAME}}}}}}</span>{{#if:{{{native_name|}}}|<br /><span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}{{#if:{{{other_name|}}}|<br /><span class="nickname" style="font-size:78%">{{{other_name}}}</span>}}<!--
** names, type, and transliterations **
-->{{infobox|child=yes|decat=yes<!-- Remove from [[Category:Articles which use infobox templates with no data rows]] -->
| subheaderstyle = background-color:#cddeff; font-weight:bold;
| subheader = {{#if:{{both|{{{name|}}}{{{official_name|}}}|{{{settlement_type|{{{type|}}}}}}}}|<span class="category">{{{settlement_type|{{{type}}}}}}</span>}}
| rowclass1 = mergedtoprow
| header1 = {{#if:{{{name|}}}|{{{official_name|}}}}}
| rowclass2 = mergedtoprow
| header2 = {{#if:{{{translit_lang1|}}}|{{{translit_lang1}}} transcription(s)<!--
***Transliteration language 1***
-->{{infobox|child=yes
|rowclass1 = {{#if:{{{translit_lang1_type1|}}}|mergedrow|mergedbottomrow}}
|label1 = • {{{translit_lang1_type}}}
|data1 = {{#if:{{{translit_lang1_type|}}}|{{{translit_lang1_info|}}}}}
|rowclass2 = {{#if:{{{translit_lang1_type2|}}}|mergedrow|mergedbottomrow}}
|label2 = • {{{translit_lang1_type1}}}
|data2 = {{#if:{{{translit_lang1_type1|}}}|{{{translit_lang1_info1|}}}}}
|rowclass3 = {{#if:{{{translit_lang1_type3|}}}|mergedrow|mergedbottomrow}}
|label3 = • {{{translit_lang1_type2}}}
|data3 = {{#if:{{{translit_lang1_type2|}}}|{{{translit_lang1_info2|}}}}}
|rowclass4 = {{#if:{{{translit_lang1_type4|}}}|mergedrow|mergedbottomrow}}
|label4 = • {{{translit_lang1_type3}}}
|data4 = {{#if:{{{translit_lang1_type3|}}}|{{{translit_lang1_info3|}}}}}
|rowclass5 = {{#if:{{{translit_lang1_type5|}}}|mergedrow|mergedbottomrow}}
|label5 = • {{{translit_lang1_type4}}}
|data5 = {{#if:{{{translit_lang1_type4|}}}|{{{translit_lang1_info4|}}}}}
|rowclass6 = {{#if:{{{translit_lang1_type6|}}}|mergedrow|mergedbottomrow}}
|label6 = • {{{translit_lang1_type5}}}
|data6 = {{#if:{{{translit_lang1_type5|}}}|{{{translit_lang1_info5|}}}}}
|rowclass7 = mergedbottomrow
|label7 = • {{{translit_lang1_type6}}}
|data7 = {{#if:{{{translit_lang1_type6|}}}|{{{translit_lang1_info6|}}} }}
}} }}
| rowclass3 = mergedtoprow
| header3 = {{#if:{{{translit_lang2|}}}|{{{translit_lang2}}} transcription(s)<!--
***Transliteration language 2***
-->{{infobox|child=yes
|rowclass1 = {{#if:{{{translit_lang2_type1|}}}|mergedrow|mergedbottomrow}}
|label1 = • {{{translit_lang2_type}}}
|data1 = {{#if:{{{translit_lang2_type|}}}|{{{translit_lang2_info|}}}}}
|rowclass2 = {{#if:{{{translit_lang2_type2|}}}|mergedrow|mergedbottomrow}}
|label2 = • {{{translit_lang2_type1}}}
|data2 = {{#if:{{{translit_lang2_type1|}}}|{{{translit_lang2_info1|}}}}}
|rowclass3 = {{#if:{{{translit_lang2_type3|}}}|mergedrow|mergedbottomrow}}
|label3 = • {{{translit_lang2_type2}}}
|data3 = {{#if:{{{translit_lang2_type2|}}}|{{{translit_lang2_info2|}}}}}
|rowclass4 = {{#if:{{{translit_lang2_type4|}}}|mergedrow|mergedbottomrow}}
|label4 = • {{{translit_lang2_type3}}}
|data4 = {{#if:{{{translit_lang2_type3|}}}|{{{translit_lang2_info3|}}}}}
|rowclass5 = {{#if:{{{translit_lang2_type5|}}}|mergedrow|mergedbottomrow}}
|label5 = • {{{translit_lang2_type4}}}
|data5 = {{#if:{{{translit_lang2_type4|}}}|{{{translit_lang2_info4|}}}}}
|rowclass6 = {{#if:{{{translit_lang2_type6|}}}|mergedrow|mergedbottomrow}}
|label6 = • {{{translit_lang2_type5}}}
|data6 = {{#if:{{{translit_lang2_type5|}}}|{{{translit_lang2_info5|}}}}}
|rowclass7 = mergedbottomrow
|label7 = • {{{translit_lang2_type6}}}
|data7 = {{#if:{{{translit_lang2_type6|}}}|{{{translit_lang2_info6|}}} }}
}} }}
}}<!-- end ** names, type, and transliterations ** -->
<!-- ***Skyline Image*** -->
| imagestyle = padding:0.7em 0.8em
| image = {{#if:{{{image_skyline|}}}|[[File:{{{image_skyline}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|250px}}|none|alt={{{image_alt|}}}|{{{image_caption|Skyline of {{#if:{{{name|}}}|{{{name}}}|{{{official_name}}}}}}}}]]{{#if:{{{image_caption|}}}|<small>{{{image_caption}}}</small>}}}}
<!-- ***Other Image*** -->
| image2 = {{{image|}}}
<!-- ***Flag, Seal, Shield and Coat of arms*** -->
| rowclass1 = mergedtoprow
| class1 = maptable
| data1 = {{#if:{{{image_flag|}}}{{{image_seal|}}}{{{image_shield|}}}{{{image_blank_emblem|}}}{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}
|{{Infobox settlement/columns
| 1 = {{#if:{{{image_flag|}}}|[[File:{{{image_flag}}}|{{#if:{{{flag_size|}}}|{{{flag_size}}}|{{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}|85px|100px}}}}|border|alt={{{flag_alt|}}}|Flag of {{#if:{{{name|}}}|{{{name}}}|{{{official_name}}}}}]]<br /><small>'''{{Infobox settlement/link|type=Flag|link={{{flag_link|}}}|name={{{official_name}}}}}'''</small>}}
| 2 = {{#if:{{{image_seal|}}}|[[File:{{{image_seal|}}}|{{#if:{{{seal_size|}}}|{{{seal_size}}}|{{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}|85px|100px}}}}|alt={{{seal_alt|}}}|Official seal of {{#if:{{{name|}}}|{{{name}}}|{{{official_name}}}}}]]<br /><small>'''{{Infobox settlement/link|type=Seal|link={{{seal_link|}}}|name={{{official_name}}}}}'''</small>}}
| 3 = {{#if:{{{image_shield|}}}|[[File:{{{image_shield|}}}|{{#if:{{{shield_size|}}}|{{{shield_size}}}|{{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}|85px|100px}}}}|alt={{{shield_alt|}}}|Coat of arms of {{#if:{{{name|}}}|{{{name}}}|{{{official_name}}}}}]]<br /><small>'''{{Infobox settlement/link|type=Coat of arms|link={{{shield_link|}}}|name={{{official_name}}}}}'''</small>}}
| 4 = {{#if:{{{image_blank_emblem|}}}|[[File:{{{image_blank_emblem|}}}|{{#if:{{{blank_emblem_size|}}}|{{{blank_emblem_size|}}}|{{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}|85px|100px}}}}|alt={{{blank_emblem_alt|}}}|Official logo of {{#if:{{{name|}}}|{{{name}}}|{{{official_name}}}}}]]<br /><small>'''{{Infobox settlement/link|type={{#if:{{{blank_emblem_type|}}}|{{{blank_emblem_type}}}|Logo}}|link={{{blank_emblem_link|}}}|name={{{official_name}}}}}'''</small>}}
| 5 = {{#if:{{{image_map|}}}|[[File:{{{image_map}}}|{{#if:{{{mapsize|}}}|{{{mapsize}}}|100px}}|none|alt={{{map_alt|}}}|{{{map_caption|Location of {{#if:{{{name|}}}|{{{name}}}|{{{official_name}}}}}}}}]]{{#if:{{{map_caption|}}}|<small>{{{map_caption}}}</small>}} }}
| 0 = {{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}|<center>
{{location map+|{{{pushpin_map|}}}
|border = none
|alt = {{{pushpin_map_alt|}}}
|caption =
|float = none
|width = {{#if:{{{pushpin_mapsize|}}}|{{{pushpin_mapsize}}}|150}}
|default_width = 250
|relief= {{{pushpin_relief|}}}
|AlternativeMap = {{{pushpin_image|}}}
|places = {{Location map~|{{{pushpin_map|}}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{#if:{{{name|}}}|{{{name}}}|{{{official_name|}}}}}}} }}
|lat = {{#if:{{{latm|}}}{{{latNS|}}}| |{{{latd|}}} }}
|long = {{#if:{{{longm|}}}{{{longEW|}}}| |{{{longd|}}} }}
|lat_deg={{#if:{{{latm|}}}{{{latNS|}}}|{{{latd|}}}| }}
|lat_min={{#if:{{{latm|}}}{{{latNS|}}}|{{{latm|}}}| }}
|lat_sec={{#if:{{{lats|}}}{{{latNS|}}}|{{{lats|}}}| }}
|lat_dir={{#if:{{{latNS|}}}|{{{latNS|}}}| }}
|lon_deg={{#if:{{{longm|}}}{{{longEW|}}}|{{{longd|}}}| }}
|lon_min={{#if:{{{longm|}}}{{{longEW|}}}|{{{longm|}}}| }}
|lon_sec={{#if:{{{longs|}}}{{{longEW|}}}|{{{longs|}}}| }}
|lon_dir={{#if:{{{longEW|}}}|{{{longEW|}}}| }}
|marksize =6
|position = {{{pushpin_label_position|}}}
}}
}}{{#if:{{{pushpin_map_caption|}}}|<small>{{{pushpin_map_caption}}}</small>|{{#if:{{{map_caption|}}}|<small>{{{map_caption}}}</small>}}}}
</center>}}
}} }}
<!-- ***Nickname*** -->
| rowclass2 = mergedrow
| data2 = {{#if:{{{nickname|}}}|Nickname(s): <span class="nickname">{{{nickname}}}</span>}}
<!-- ***Motto*** -->
| rowclass3 = mergedrow
| data3 = {{#if:{{{motto|}}}|Motto: {{{motto}}} }}
<!-- ***Anthem*** -->
| rowclass4 = mergedrow
| data4 = {{#if:{{{anthem|}}}|Anthem: {{{anthem}}} }}
<!-- ***Map*** -->
| rowclass5 = mergedrow
| data5 = {{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}||{{#if:{{{image_map|}}}
|[[File:{{{image_map}}}|{{#if:{{{mapsize|}}}|{{{mapsize}}}|250px}}|none|alt={{{map_alt|}}}|{{{map_caption|Location of {{#if:{{{name|}}}|{{{name}}}|{{{official_name}}}}}}}}]]{{#if:{{{map_caption|}}}|<small>{{{map_caption}}}</small>}}
}}}}
| rowclass6 = mergedrow
| data6 = {{#if:{{{image_map1|}}}|[[File:{{{image_map1}}}|{{#if:{{{mapsize1|}}}|{{{mapsize1}}}|250px}}|none|alt={{{map_alt1|}}}|{{{map_caption1|Location of {{#if:{{{name|}}}|{{{name}}}|{{{official_name}}}}}}}}]]{{#if:{{{map_caption1|}}}|<small>{{{map_caption1}}}</small>}} }}
<!--***Dot Map*** -->
| rowclass7 = mergedrow
| data7 = {{#if:{{{image_dot_map|}}}
|<center>{{superimpose
|base = {{{image_dot_map|}}}
|base_width = {{px|{{{dot_mapsize|}}}|180px}}
|base_alt = {{{dot_map_base_alt|}}}
|base_caption = {{#if:{{{official_name|}}}|{{{official_name|}}}|{{{name}}}}}
|float = Red pog.svg
|float_width = 6px
|float_alt = {{{dot_map_alt|}}}
|float_caption = {{{dot_map_caption|}}}
|x = {{{dot_x|}}}
|y = {{{dot_y|}}}
}}{{#if:{{{dot_map_caption|}}}|<small>{{{dot_map_caption}}}</small>}}</center>
}}
<!-- ***Pushpin Map*** -->
| rowclass8 = mergedrow
| data8 = {{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}||{{#if:{{{pushpin_map|}}}
|<center>
{{location map+|{{{pushpin_map|}}}
|border = none
|alt = {{{pushpin_map_alt|}}}
|caption =
|float = none
|width = {{{pushpin_mapsize|}}}
|default_width = 250
|relief= {{{pushpin_relief|}}}
|AlternativeMap = {{{pushpin_image|}}}
|places = {{Location map~|{{{pushpin_map|}}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{#if:{{{name|}}}|{{{name}}}|{{{official_name|}}}}}}} }}
|lat = {{#if:{{{latm|}}}{{{latNS|}}}| |{{{latd|}}} }}
|long = {{#if:{{{longm|}}}{{{longEW|}}}| |{{{longd|}}} }}
|lat_deg={{#if:{{{latm|}}}{{{latNS|}}}|{{{latd|}}} }}
|lat_min={{#if:{{{latm|}}}{{{latNS|}}}|{{{latm|}}} }}
|lat_sec={{#if:{{{lats|}}}{{{latNS|}}}|{{{lats|}}} }}
|lat_dir={{{latNS|}}}
|lon_deg={{#if:{{{longm|}}}{{{longEW|}}}|{{{longd|}}} }}
|lon_min={{#if:{{{longm|}}}{{{longEW|}}}|{{{longm|}}} }}
|lon_sec={{#if:{{{longs|}}}{{{longEW|}}}|{{{longs|}}} }}
|lon_dir={{{longEW|}}}
|marksize =6
|position = {{{pushpin_label_position|}}}
}}
}}{{#if:{{{pushpin_map_caption|}}}|<small>{{{pushpin_map_caption}}}</small>|{{#if:{{{map_caption|}}}|<small>{{{map_caption}}}</small>}}}}
</center>}}}}
| rowclass9 = mergedrow
| data9 = {{#if:{{{pushpin_map1|}}}
|<center>
{{location map+|{{{pushpin_map1|}}}
|border = none
|alt = {{{pushpin_map_alt1|}}}
|caption =
|float = none
|width = {{{pushpin_mapsize1|}}}
|default_width = 250
|relief= {{{pushpin_relief1|}}}
|AlternativeMap = {{{pushpin_image1|}}}
|places = {{Location map~|{{{pushpin_map1|}}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position1|}}} }} | none | | {{#if:{{{pushpin_label1|}}}|{{{pushpin_label1}}}|{{#if:{{{name|}}}|{{{name}}}|{{{official_name|}}}}}}} }}
|lat = {{#if:{{{latm|}}}{{{latNS|}}}| |{{{latd|}}} }}
|long = {{#if:{{{longm|}}}{{{longEW|}}}| |{{{longd|}}} }}
|lat_deg={{#if:{{{latm|}}}{{{latNS|}}}|{{{latd|}}}| }}
|lat_min={{#if:{{{latm|}}}{{{latNS|}}}|{{{latm|}}}| }}
|lat_sec={{#if:{{{lats|}}}{{{latNS|}}}|{{{lats|}}}| }}
|lat_dir={{{latNS|}}}
|lon_deg={{#if:{{{longm|}}}{{{longEW|}}}|{{{longd|}}}| }}
|lon_min={{#if:{{{longm|}}}{{{longEW|}}}|{{{longm|}}}| }}
|lon_sec={{#if:{{{longs|}}}{{{longEW|}}}|{{{longs|}}}| }}
|lon_dir={{{longEW|}}}
|marksize =6
|position = {{{pushpin_label_position1|}}}
}}
}}{{#if:{{{pushpin_map_caption1|}}}|<small>{{{pushpin_map_caption1|}}}</small>|{{#if:{{{map_caption|}}}|<small>{{{map_caption}}}</small>}}}}
</center>
}}
<!-- ***Coordinates*** -->
| rowclass10 = mergedbottomrow
| data10 = {{#if:{{both|{{{latd|}}}|{{{longd|}}}}}
|Coordinates{{#if:{{{coor_pinpoint|{{{coor_type|}}}}}}| ({{{coor_pinpoint|{{{coor_type|}}}}}})|}}: {{Geobox coor|{{{latd|}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longd|}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|{{#if:{{{coordinates_type|}}}|{{{coordinates_type}}}|type:city{{#if:{{{population_total|}}}|{{#iferror:{{#expr:{{formatnum:{{{population_total}}}|R}}+1}}||({{formatnum:{{{population_total}}}|R}})}}|}}{{#if:{{{coordinates_region|}}}|_region:{{{coordinates_region}}}|{{#if:{{{subdivision_name|}}}|_region:{{CountryAbbr|{{{subdivision_name|}}}|{{{subdivision_name1|}}} }} }} }} }}|{{#ifeq:{{{coordinates_display|}}}|inline|μ|{{#if:{{{coordinates_display|}}}|title|μ}}}}={{{coordinates_display|}}}|{{#if:{{{coordinates_format|}}}|format|μ}}={{{coordinates_format|}}}}}{{{coordinates_footnotes|}}}
}}
<!-- ***Subdivisions*** -->
| rowclass11 = mergedtoprow
| label11 = {{{subdivision_type}}}
| data11 = {{#if:{{{subdivision_type|}}}|{{{subdivision_name|}}} }}
| rowclass12 = mergedrow
| label12 = {{{subdivision_type1}}}
| data12 = {{#if:{{{subdivision_type1|}}}|{{{subdivision_name1|}}} }}
| rowclass13 = mergedrow
| label13 = {{{subdivision_type2}}}
| data13 = {{#if:{{{subdivision_type2|}}}|{{{subdivision_name2|}}} }}
| rowclass14 = mergedrow
| label14 = {{{subdivision_type3}}}
| data14 = {{#if:{{{subdivision_type3|}}}|{{{subdivision_name3|}}} }}
| rowclass15 = mergedrow
| label15 = {{{subdivision_type4}}}
| data15 = {{#if:{{{subdivision_type4|}}}|{{{subdivision_name4|}}} }}
| rowclass16 = mergedrow
| label16 = {{{subdivision_type5}}}
| data16 = {{#if:{{{subdivision_type5|}}}|{{{subdivision_name5|}}} }}
| rowclass17 = mergedrow
| label17 = {{{subdivision_type6}}}
| data17 = {{#if:{{{subdivision_type6|}}}|{{{subdivision_name6|}}} }}
<!--***Established*** -->
| rowclass18 = mergedtoprow
| label18 = {{{established_title}}}
| data18 = {{#if:{{{established_title|}}}|{{{established_date|}}} }}
| rowclass19 = mergedrow
| label19 = {{{established_title1}}}
| data19 = {{#if:{{{established_title1|}}}|{{{established_date1|}}} }}
| rowclass20 = mergedrow
| label20 = {{{established_title2}}}
| data20 = {{#if:{{{established_title2|}}}|{{{established_date2|}}} }}
| rowclass21 = mergedrow
| label21 = {{{established_title3}}}
| data21 = {{#if:{{{established_title3|}}}|{{{established_date3|}}} }}
| rowclass22 = mergedrow
| label22 = {{{established_title4}}}
| data22 = {{#if:{{{established_title4|}}}|{{{established_date4|}}} }}
| rowclass23 = mergedrow
| label23 = {{{extinct_title}}}
| data23 = {{#if:{{{extinct_title|}}}|{{{extinct_date|}}} }}
| rowclass24 = mergedrow
| label24 = Founded by
| data24 = {{{founder|}}}
| rowclass25 = mergedrow
| label25 = [[Namesake|Named for]]
| data25 = {{{named_for|}}}
<!-- ***Seat of government and subdivisions within the settlement*** -->
| rowclass26 = mergedtoprow
| label26 = {{#if:{{{seat_type|}}}|{{{seat_type}}}|Seat}}
| data26 = {{{seat|}}}
| rowclass27 = mergedrow
| label27 = {{#if:{{{seat1_type|}}}|{{{seat1_type}}}|Former seat}}
| data27 = {{{seat1|}}}
| rowclass28 = {{#if:{{{seat|}}}{{{seat1|}}}|mergedrow|mergedtoprow}}
| label28 = {{#if:{{{parts_type|}}}|{{{parts_type}}}|Boroughs}}
| data28 = {{#if:{{{parts|}}}{{{p1|}}}
|{{#ifeq:{{{parts_style|}}}|para
|<b>{{{parts|}}}{{#if:{{both|{{{parts|}}}|{{{p1|}}}}}|: |}}</b>{{comma separated entries|{{{p1|}}}|{{{p2|}}}|{{{p3|}}}|{{{p4|}}}|{{{p5|}}}|{{{p6|}}}|{{{p7|}}}|{{{p8|}}}|{{{p9|}}}|{{{p10|}}}|{{{p11|}}}|{{{p12|}}}|{{{p13|}}}|{{{p14|}}}|{{{p15|}}}|{{{p16|}}}|{{{p17|}}}|{{{p18|}}}|{{{p19|}}}|{{{p20|}}}|{{{p21|}}}|{{{p22|}}}|{{{p23|}}}|{{{p24|}}}|{{{p25|}}}|{{{p26|}}}|{{{p27|}}}|{{{p28|}}}|{{{p29|}}}|{{{p30|}}}|{{{p31|}}}|{{{p32|}}}|{{{p33|}}}|{{{p34|}}}|{{{p35|}}}|{{{p36|}}}|{{{p37|}}}|{{{p38|}}}|{{{p39|}}}|{{{p40|}}}|{{{p41|}}}|{{{p42|}}}|{{{p43|}}}|{{{p44|}}}|{{{p45|}}}|{{{p46|}}}|{{{p47|}}}|{{{p48|}}}|{{{p49|}}}|{{{p50|}}}}}
|{{#if:{{{p1|}}}|{{Collapsible list|title={{{parts|}}}|expand={{#switch:{{{parts_style|}}}|coll=|list=y|{{#if:{{{p6|}}}||y}}}}|1={{{p1|}}}|2={{{p2|}}}|3={{{p3|}}}|4={{{p4|}}}|5={{{p5|}}}|6={{{p6|}}}|7={{{p7|}}}|8={{{p8|}}}|9={{{p9|}}}|10={{{p10|}}}|11={{{p11|}}}|12={{{p12|}}}|13={{{p13|}}}|14={{{p14|}}}|15={{{p15|}}}|16={{{p16|}}}|17={{{p17|}}}|18={{{p18|}}}|19={{{p19|}}}|20={{{p20|}}}|21={{{p21|}}}|22={{{p22|}}}|23={{{p23|}}}|24={{{p24|}}}|25={{{p25|}}}|26={{{p26|}}}|27={{{p27|}}}|28={{{p28|}}}|29={{{p29|}}}|30={{{p30|}}}|31={{{p31|}}}|32={{{p32|}}}|33={{{p33|}}}|34={{{p34|}}}|35={{{p35|}}}|36={{{p36|}}}|37={{{p37|}}}|38={{{p38|}}}|39={{{p39|}}}|40={{{p40|}}}|41={{{p41|}}}|42={{{p42|}}}|43={{{p43|}}}|44={{{p44|}}}|45={{{p45|}}}|46={{{p46|}}}|47={{{p47|}}}|48={{{p48|}}}|49={{{p49|}}}|50={{{p50|}}}}}
|{{{parts}}}
}}
}} }}
<!-- ***Government type and Leader*** -->
| rowclass29 = mergedtoprow
| header29 = {{#if:{{{government_type|}}}{{{governing_body|}}}{{{leader_name|}}}{{{leader_name1|}}}{{{leader_name2|}}}{{{leader_name3|}}}{{{leader_name4|}}}|Government<span style="font-weight:normal">{{{government_footnotes|}}}</span>}}
<!-- ***Government*** -->
| rowclass30 = mergedrow
| label30 = • Type
| data30 = {{{government_type|}}}
| rowclass31 = mergedrow
| label31 = • Body
| class31 = agent
| data31 = {{{governing_body|}}}
| rowclass32 = mergedrow
| label32 = • {{{leader_title}}}
| data32 = {{#if:{{{leader_title|}}}|{{{leader_name|}}} {{#if:{{{leader_party|}}}|({{Polparty|{{{subdivision_name}}}|{{{leader_party}}}}})}}}}
| rowclass33 = mergedrow
| label33 = • {{{leader_title1}}}
| data33 = {{#if:{{{leader_title1|}}}|{{{leader_name1|}}}}}
| rowclass34 = mergedrow
| label34 = • {{{leader_title2}}}
| data34 = {{#if:{{{leader_title2|}}}|{{{leader_name2|}}}}}
| rowclass35 = mergedrow
| label35 = • {{{leader_title3}}}
| data35 = {{#if:{{{leader_title3|}}}|{{{leader_name3|}}}}}
| rowclass36 = mergedrow
| label36 = • {{{leader_title4}}}
| data36 = {{#if:{{{leader_title4|}}}|{{{leader_name4|}}}}}
<!-- ***Geographical characteristics*** -->
<!-- ***Area*** -->
| rowclass37 = mergedtoprow
| header37 = {{#ifeq:{{{total_type}}}| ||{{#if:{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}{{{area_land_km2|}}}{{{area_land_ha|}}}{{{area_land_acre|}}}{{{area_land_sq_mi|}}}{{{area_water_km2|}}}{{{area_water_ha|}}}{{{area_water_acre|}}}{{{area_water_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_ha|}}}{{{area_urban_acre|}}}{{{area_urban_sq_mi|}}}{{{area_rural_sq_mi|}}}{{{area_rural_ha|}}}{{{area_rural_acre|}}}{{{area_rural_km2|}}}{{{area_metro_km2|}}}{{{area_metro_ha|}}}{{{area_metro_acre|}}}{{{area_blank1_km2|}}}{{{area_blank1_ha|}}}{{{area_blank1_acre|}}}{{{area_metro_sq_mi|}}}{{{area_blank1_sq_mi|}}}|Area<span style="font-weight:normal">{{{area_footnotes|}}}</span>}}}}
| rowclass38 = {{#ifeq:{{{total_type}}}| |mergedtoprow|mergedrow}}
| label38 = {{#ifeq:{{{total_type}}}| |Area<span style="font-weight:normal">{{{area_footnotes|}}}</span>| • {{#if:{{{total_type|}}}|{{{total_type}}}|{{#if:{{{area_metro_km2|}}}{{{area_metro_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_sq_mi|}}}{{{area_rural_km2|}}}{{{area_rural_sq_mi|}}}{{{population_metro|}}}{{{population_urban|}}}{{{population_rural|}}}|{{#if:{{{settlement_type|{{{type|}}}}}}|{{{settlement_type|{{{type}}}}}}|City}}|Total}}}} }}
| data38 = {{#if:{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_total_km2|}}}
|ha ={{{area_total_ha|}}}
|acre ={{{area_total_acre|}}}
|sqmi ={{{area_total_sq_mi|}}}
|dunam={{{area_total_dunam|}}}
|link ={{#switch:{{{dunam_link|}}}||on|total=on}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
|mag ={{{area_magnitude|}}}
}}}}
| rowclass39 = mergedrow
| label39 = • Land
| data39 = {{#if:{{{area_land_km2|}}}{{{area_land_ha|}}}{{{area_land_acre|}}}{{{area_land_sq_mi|}}}{{{area_land_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_land_km2|}}}
|ha ={{{area_land_ha|}}}
|acre ={{{area_land_acre|}}}
|sqmi ={{{area_land_sq_mi|}}}
|dunam={{{area_land_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|land|on}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass40 = mergedrow
| label40 = • Water
| data40 = {{#if:{{{area_water_km2|}}}{{{area_water_ha|}}}{{{area_water_acre|}}}{{{area_water_sq_mi|}}}{{{area_water_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_water_km2|}}}
|ha ={{{area_water_ha|}}}
|acre ={{{area_water_acre|}}}
|sqmi ={{{area_water_sq_mi|}}}
|dunam={{{area_water_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|water|on}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
}} {{#if:{{{area_water_percent|}}}| {{{area_water_percent}}}%}}}}
| rowclass41 = mergedrow
| label41 = • Urban<span style="font-weight:normal">{{{area_urban_footnotes|}}}</span>
| data41 = {{#if:{{{area_urban_km2|}}}{{{area_urban_ha|}}}{{{area_urban_acre|}}}{{{area_urban_sq_mi|}}}{{{area_urban_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_urban_km2|}}}
|ha ={{{area_urban_ha|}}}
|acre ={{{area_urban_acre|}}}
|sqmi ={{{area_urban_sq_mi|}}}
|dunam={{{area_urban_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|urban|on}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass42 = mergedrow
| label42 = • Rural<span style="font-weight:normal">{{{area_rural_footnotes|}}}</span>
| data42 = {{#if:{{{area_rural_km2|}}}{{{area_rural_ha|}}}{{{area_rural_acre|}}}{{{area_rural_sq_mi|}}}{{{area_rural_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_rural_km2|}}}
|ha ={{{area_rural_ha|}}}
|acre ={{{area_rural_acre|}}}
|sqmi ={{{area_rural_sq_mi|}}}
|dunam={{{area_rural_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|rural|on}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass43 = mergedrow
| label43 = • Metro<span style="font-weight:normal">{{{area_metro_footnotes|}}}</span>
| data43 = {{#if:{{{area_metro_km2|}}}{{{area_metro_ha|}}}{{{area_metro_acre|}}}{{{area_metro_sq_mi|}}}{{{area_metro_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_metro_km2|}}}
|ha ={{{area_metro_ha|}}}
|acre ={{{area_metro_acre|}}}
|sqmi ={{{area_metro_sq_mi|}}}
|dunam={{{area_metro_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|metro|on}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
}}}}
<!-- ***Area rank*** -->
| rowclass44 = mergedrow
| label44 = Area rank
| data44 = {{{area_rank|}}}
| rowclass45 = mergedrow
| label45 = • {{{area_blank1_title}}}
| data45 = {{#if:{{{area_blank1_km2|}}}{{{area_blank1_ha|}}}{{{area_blank1_acre|}}}{{{area_blank1_sq_mi|}}}{{{area_blank1_title|}}}{{{area_blank1_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_blank1_km2|}}}
|ha ={{{area_blank1_ha|}}}
|acre ={{{area_blank1_acre|}}}
|sqmi ={{{area_blank1_sq_mi|}}}
|dunam={{{area_blank1_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|blank1|on}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass46 = mergedrow
| label46 = • {{{area_blank2_title}}}
| data46 = {{#if:{{{area_blank2_km2|}}}{{{area_blank2_ha|}}}{{{area_blank2_acre|}}}{{{area_blank2_sq_mi|}}}{{{area_blank2_title|}}}{{{area_blank2_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_blank2_km2|}}}
|ha ={{{area_blank2_ha|}}}
|acre ={{{area_blank2_acre|}}}
|sqmi ={{{area_blank2_sq_mi|}}}
|dunam={{{area_blank2_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|blank2|on}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass47 = mergedrow
| label47 =
| data47 = {{#if:{{{area_note|}}}|<small>{{{area_note}}}</small>}}
<!-- ***Dimensions*** -->
| rowclass48 = mergedtoprow
| header48 = {{#if:{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}|Dimensions<span style="font-weight:normal">{{{dimensions_footnotes|}}}</span>}}
| rowclass49 = mergedrow
| label49 = • Length
| data49 = {{#if:{{{length_km|}}}{{{length_mi|}}}
| {{infobox_settlement/lengthdisp
|km ={{{length_km|}}}
|mi ={{{length_mi|}}}
|pref={{{unit_pref}}}
|name={{{subdivision_name}}}
}} }}
| rowclass50 = mergedrow
| label50 = • Width
| data50 = {{#if:{{{width_km|}}}{{{width_mi|}}}
|{{infobox_settlement/lengthdisp
|km ={{{width_km|}}}
|mi ={{{width_mi|}}}
|pref={{{unit_pref}}}
|name={{{subdivision_name}}}
}} }}
<!-- ***Elevation*** -->
| rowclass51 = mergedtoprow
| label51 = Elevation<span style="font-weight:normal">{{{elevation_footnotes|}}}</span>
| data51 = {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}
|{{infobox_settlement/lengthdisp
|m ={{{elevation_m|}}}
|ft ={{{elevation_ft|}}}
|pref={{{unit_pref}}}
|name={{{subdivision_name}}}
}} }}
| rowclass52 = mergedtoprow
| label52 = Highest elevation<span style="font-weight:normal">{{{elevation_max_footnotes|}}}</span>
| data52 = {{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}}
|{{infobox_settlement/lengthdisp
|m ={{{elevation_max_m|}}}
|ft ={{{elevation_max_ft|}}}
|pref={{{unit_pref}}}
|name={{{subdivision_name}}}
}} }}
<!-- ***Elevation max rank*** -->
| rowclass53 = mergedrow
| label53 = • Rank
| data53 = {{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}}| {{{elevation_max_rank|}}} }}
| rowclass54 = {{#if:{{{elevation_min_rank|}}}|mergedrow|mergedbottomrow}}
| label54 = Lowest elevation<span style="font-weight:normal">{{{elevation_min_footnotes|}}}</span>
| data54 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}
|{{infobox_settlement/lengthdisp
|m ={{{elevation_min_m|}}}
|ft ={{{elevation_min_ft|}}}
|pref={{{unit_pref}}}
|name={{{subdivision_name}}}
}} }}
<!-- ***Elevation min rank*** -->
| rowclass55 = mergedrow
| label55 = • Rank
| data55 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}|{{{elevation_min_rank|}}}}}
<!-- ***Population*** -->
| rowclass56 = mergedtoprow
| label56 = Population <span style="font-weight:normal">{{#if:{{{population_as_of|}}}|({{{population_as_of}}})}}{{{population_footnotes|}}}</span>
| data56 = {{#if:{{{population|}}}
| {{formatnum:{{{population}}}}}
| {{#ifeq:{{{total_type}}}|
| {{#if:{{{population_total|}}}
| {{formatnum:{{{population_total}}}}}
}}
}}
}}
| rowclass57 = mergedtoprow
| header57 = {{#if:{{{population|}}}
|
|{{#ifeq:{{{total_type}}}|
|
|{{#if:{{{population_total|}}}{{{population_urban|}}}{{{population_rural|}}}{{{population_metro|}}}{{{population_blank1|}}}{{{population_blank2|}}}{{{population_est|}}}
|Population <span style="font-weight:normal">{{#if:{{{population_as_of|}}}|({{{population_as_of}}})}}{{{population_footnotes|}}}</span>
}}
}}
}}
| rowclass58 = mergedrow
| label58 = • {{#if:{{{total_type|}}}|{{{total_type}}}|{{#if:{{{population_metro|}}}{{{population_urban|}}}{{{population_rural|}}}{{{area_metro_km2|}}}{{{area_metro_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_sq_mi|}}}{{{area_rural_km2|}}}{{{area_rural_sq_mi|}}}|{{#if:{{{settlement_type|{{{type|}}}}}}|{{{settlement_type|{{{type}}}}}}|City}}|Total}}}}
| data58 = {{#if:{{{population|}}}
|
|{{#ifeq:{{{total_type}}}|
|
|{{#if:{{{population_total|}}}
| {{formatnum:{{{population_total}}}}}
}}
}}
}}
| rowclass59 = mergedrow
| label59 = • Estimate <span style="font-weight:normal">({{{pop_est_as_of}}}){{{pop_est_footnotes|}}}</span>
| data59 = {{#if:{{{population_est|}}}|{{formatnum:{{{population_est}}}}} }}
<!-- ***Population rank*** -->
| rowclass60 = mergedrow
| label60 = • Rank
| data60 = {{{population_rank|}}}
| rowclass61 = mergedrow
| label61 = • Density
| data61 = {{#if:{{{population_density_km2|}}}{{{population_density_sq_mi|}}}{{{population_total|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_km2|}}}
|/sqmi={{{population_density_sq_mi|}}}
|pop ={{{population_total|}}}
|dunam={{{area_total_dunam|}}}
|ha ={{{area_total_ha|}}}
|km2 ={{{area_total_km2|}}}
|acre ={{{area_total_acre|}}}
|sqmi ={{{area_total_sq_mi|}}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
}}}}
<!-- ***Population density rank*** -->
| rowclass62 = mergedrow
| label62 = • Density rank
| data62 = {{{population_density_rank|}}}
| rowclass63 = mergedrow
| label63 = • [[Urban area|Urban]]<span style="font-weight:normal">{{{population_urban_footnotes|}}}</span>
| data63 = {{#if:{{{population_urban|}}}| {{formatnum:{{{population_urban}}}}} }}
| rowclass64 = mergedrow
| label64 = • Urban density
| data64 = {{#if:{{{population_density_urban_km2|}}}{{{population_density_urban_sq_mi|}}}{{{population_urban|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_urban_km2|}}}
|/sqmi={{{population_density_urban_sq_mi|}}}
|pop ={{{population_urban|}}}
|ha ={{{area_urban_ha|}}}
|km2 ={{{area_urban_km2|}}}
|acre ={{{area_urban_acre|}}}
|sqmi ={{{area_urban_sq_mi|}}}
|dunam={{{area_urban_dunam|}}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass65 = mergedrow
| label65 = • [[Rural area|Rural]]<span style="font-weight:normal">{{{population_rural_footnotes|}}}</span>
| data65 = {{#if:{{{population_rural|}}}|{{formatnum:{{{population_rural}}}}}}}
| rowclass66 = mergedrow
| label66 = • Rural density
| data66 = {{#if:{{{population_density_rural_km2|}}}{{{population_density_rural_sq_mi|}}}{{{population_rural|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_rural_km2|}}}
|/sqmi={{{population_density_rural_sq_mi|}}}
|pop ={{{population_rural|}}}
|ha ={{{area_rural_ha|}}}
|km2 ={{{area_rural_km2|}}}
|acre ={{{area_rural_acre|}}}
|sqmi ={{{area_rural_sq_mi|}}}
|dunam={{{area_rural_dunam|}}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass67 = mergedrow
| label67 = • [[Metropolitan area|Metro]]<span style="font-weight:normal">{{{population_metro_footnotes|}}}</span>
| data67 = {{#if:{{{population_metro|}}}| {{formatnum:{{{population_metro}}}}} }}
| rowclass68 = mergedrow
| label68 = • Metro density
| data68 = {{#if:{{{population_density_metro_km2|}}}{{{population_density_metro_sq_mi|}}}{{{population_metro|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_metro_km2|}}}
|/sqmi={{{population_density_metro_sq_mi|}}}
|pop ={{{population_metro|}}}
|ha ={{{area_metro_ha|}}}
|km2 ={{{area_metro_km2|}}}
|acre ={{{area_metro_acre|}}}
|sqmi ={{{area_metro_sq_mi|}}}
|dunam={{{area_metro_dunam|}}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass69 = mergedrow
| label69 = • {{{population_blank1_title|}}}<span style="font-weight:normal">{{{population_blank1_footnotes|}}}</span>
| data69 = {{#if:{{{population_blank1|}}}|{{formatnum:{{{population_blank1}}}}}}}
| rowclass70 = mergedrow
| label70 = • {{{population_blank1_title|}}} Density
| data70 = {{#if:{{{population_density_blank1_km2|}}}{{{population_density_blank1_sq_mi|}}}{{{population_blank1|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_blank1_km2|}}}
|/sqmi={{{population_density_blank1_sq_mi|}}}
|pop ={{{population_blank1|}}}
|ha ={{{area_blank1_ha|}}}
|km2 ={{{area_blank1_km2|}}}
|acre ={{{area_blank1_acre|}}}
|sqmi ={{{area_blank1_sq_mi|}}}
|dunam={{{area_blank1_dunam|}}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass71 = mergedrow
| label71 = • {{{population_blank2_title|}}}<span style="font-weight:normal">{{{population_blank2_footnotes|}}}</span>
| data71 = {{#if:{{{population_blank2|}}}|{{formatnum:{{{population_blank2}}}}}}}
| rowclass72 = mergedrow
| label72 = • {{{population_blank2_title|}}} Density
| data72 = {{#if:{{{population_density_blank2_km2|}}}{{{population_density_blank2_sq_mi|}}}{{{population_blank2|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_blank2_km2|}}}
|/sqmi={{{population_density_blank2_sq_mi|}}}
|pop ={{{population_blank2|}}}
|ha ={{{area_blank2_ha|}}}
|km2 ={{{area_blank2_km2|}}}
|acre ={{{area_blank2_acre|}}}
|sqmi ={{{area_blank2_sq_mi|}}}
|dunam={{{area_blank2_dunam|}}}
|pref ={{{unit_pref}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass73 = mergedrow
| label73 =
| data73 = {{#if:{{{population_note|}}}|<small>{{{population_note}}}</small>}}
| rowclass74 = mergedtoprow
| label74 = [[Demonym]]
| data74 = {{{population_demonym|}}}
| rowclass75 = mergedtoprow
| header75 = {{#if:{{{demographics_type1|}}}
|{{{demographics_type1}}}<span style="font-weight:normal">{{{demographics1_footnotes|}}}</span><!--
***Demographics 1***
-->{{infobox|child=yes
| rowclass1 = mergedrow
| label1 = • {{{demographics1_title1}}}
| data1 = {{#if:{{{demographics1_title1|}}}|{{{demographics1_info1}}}}}
| rowclass2 = mergedrow
| label2 = • {{{demographics1_title2}}}
| data2 = {{#if:{{{demographics1_title2|}}}|{{{demographics1_info2}}}}}
| rowclass3 = mergedrow
| label3 = • {{{demographics1_title3}}}
| data3 = {{#if:{{{demographics1_title3|}}}|{{{demographics1_info3}}}}}
| rowclass4 = mergedrow
| label4 = • {{{demographics1_title4}}}
| data4 = {{#if:{{{demographics1_title4|}}}|{{{demographics1_info4}}}}}
| rowclass5 = mergedrow
| label5 = • {{{demographics1_title5}}}
| data5 = {{#if:{{{demographics1_title5|}}}|{{{demographics1_info5}}}}}
}}}}
| rowclass76 = mergedtoprow
| header76 = {{#if:{{{demographics_type2|}}}
|{{{demographics_type2}}}<span style="font-weight:normal">{{{demographics2_footnotes|}}}</span><!--
***Demographics 2***
-->{{infobox|child=yes
| rowclass1 = mergedrow
| label1 = • {{{demographics2_title1}}}
| data1 = {{#if:{{{demographics2_title1|}}}|{{{demographics2_info1}}}}}
| rowclass2 = mergedrow
| label2 = • {{{demographics2_title2}}}
| data2 = {{#if:{{{demographics2_title2|}}}|{{{demographics2_info2}}}}}
| rowclass3 = mergedrow
| label3 = • {{{demographics2_title3}}}
| data3 = {{#if:{{{demographics2_title3|}}}|{{{demographics2_info3}}}}}
| rowclass4 = mergedrow
| label4 = • {{{demographics2_title4}}}
| data4 = {{#if:{{{demographics2_title4|}}}|{{{demographics2_info4}}}}}
| rowclass5 = mergedrow
| label5 = • {{{demographics2_title5}}}
| data5 = {{#if:{{{demographics2_title5|}}}|{{{demographics2_info5}}}}}
}}}}
<!-- ***Time Zones*** -->
| rowclass77 = mergedtoprow
| label77 = {{#if:{{{timezone2|}}}|[[Time zone]]s|[[Time zone]]}}
| data77 = {{#if:{{{timezone1|{{{timezone|}}}}}}|{{{timezone1|{{{timezone}}}}}} {{#if:{{{utc_offset1|{{{utc_offset|}}} }}}|([[UTC{{{utc_offset1|{{{utc_offset}}}}}}]])}} }}
| rowclass78 = mergedrow
| label78 = <nowiki />
| data78 = {{#if:{{{timezone1|{{{timezone|}}}}}}|{{#if:{{{timezone2|}}}|{{{timezone2}}} {{#if:{{{utc_offset2|{{{utc_offset2|}}} }}}|([[UTC{{{utc_offset2|{{{utc_offset2}}}}}}]])}} }} }}
| rowclass79 = mergedrow
| label79 = <span style="white-space:nowrap"> • Summer ([[Daylight saving time|DST]])</span>
| data79 = {{#if:{{{timezone1|{{{timezone|}}}}}}|{{#if:{{{timezone1_DST|{{{timezone_DST|}}}}}}|{{{timezone1_DST|{{{timezone_DST|}}}}}} ([[UTC{{{utc_offset1_DST|{{{utc_offset_DST|}}}}}}]])}} }}
| rowclass80 = mergedrow
| label80 = <nowiki />
| data80 = {{#if:{{{timezone1|{{{timezone|}}}}}}|{{#if:{{{timezone1_DST|{{{timezone_DST|}}}}}}|{{#if:{{{timezone2_DST|}}}|{{{timezone2_DST}}} ([[UTC{{{utc_offset2_DST|}}}]])}} }} }}
<!-- ***Postal Code(s)*** -->
| rowclass81 = mergedtoprow
| label81 = {{{postal_code_type}}}
| class81 = adr
| data81 = {{#if:{{{postal_code_type|}}}|{{#if:{{{postal_code|}}}|<span class="postal-code">{{{postal_code}}}</span>}}}}
| rowclass82 = mergedbottomrow
| label82 = {{{postal2_code_type}}}
| class82 = adr
| data82 = {{#if:{{{postal_code_type|}}}|{{#if:{{{postal2_code_type|}}}|{{#if:{{{postal2_code|}}}|<span class="postal-code">{{{postal2_code}}}</span>}} }} }}
<!-- ***Area Code(s)*** -->
| rowclass83 = mergedrow
| label83 = {{#if:{{{area_code_type|}}}|{{{area_code_type}}}|[[Telephone numbering plan|Area code(s)]]}}
| data83 = {{{area_code|}}}
<!-- Geocode-->
| rowclass84 = mergedrow
| label84 = [[Geocode]]
| class84 = nickname
| data84 = {{{geocode|}}}
<!-- ISO Code-->
| rowclass85 = mergedrow
| label85 = [[ISO 3166|ISO 3166 code]]
| class85 = nickname
| data85 = {{{iso_code|}}}
<!-- Vehicle registration plate-->
| rowclass86 = mergedrow
| label86 = [[Vehicle registration plate|Vehicle registration]]
| data86 = {{{registration_plate|}}}
| rowclass87 = mergedtoprow
| header87 = {{#if:{{{twin1|}}}
|[[List of twin towns and sister cities|Twin cities]]<!--
***Twin Cities***
-->{{infobox|child=yes
| rowclass1 = mergedrow
| label1 = • {{{twin1}}}
| data1 = {{#if:{{{twin1|}}}|{{{twin1_country}}}}}
| rowclass2 = mergedrow
| label2 = • {{{twin2}}}
| data2 = {{#if:{{{twin2|}}}|{{{twin2_country}}}}}
| rowclass3 = mergedrow
| label3 = • {{{twin3}}}
| data3 = {{#if:{{{twin3|}}}|{{{twin3_country}}}}}
| rowclass4 = mergedrow
| label4 = • {{{twin4}}}
| data4 = {{#if:{{{twin4|}}}|{{{twin4_country}}}}}
| rowclass5 = mergedrow
| label5 = • {{{twin5}}}
| data5 = {{#if:{{{twin5|}}}|{{{twin5_country}}}}}
| rowclass6 = mergedrow
| label6 = • {{{twin6}}}
| data6 = {{#if:{{{twin6|}}}|{{{twin6_country}}}}}
| rowclass7 = mergedrow
| label7 = • {{{twin7}}}
| data7 = {{#if:{{{twin7|}}}|{{{twin7_country}}}}}
| rowclass8 = mergedrow
| label8 = • {{{twin8}}}
| data8 = {{#if:{{{twin8|}}}|{{{twin8_country}}}}}
| rowclass9 = mergedrow
| label9 = • {{{twin9}}}
| data9 = {{#if:{{{twin9|}}}|{{{twin9_country}}}}}
}} }}
<!-- ***Blank Fields (two sections)*** -->
| rowclass88 = mergedtoprow
| label88 = {{{blank_name_sec1|{{{blank_name|}}}}}}
| data88 = {{#if:{{{blank_name_sec1|{{{blank_name|}}}}}}|{{{blank_info_sec1|{{{blank_info|}}}}}}}}
| rowclass89 = mergedrow
| label89 = {{{blank1_name_sec1|{{{blank1_name|}}}}}}
| data89 = {{#if:{{{blank1_name_sec1|{{{blank1_name|}}}}}}|{{{blank1_info_sec1|{{{blank1_info|}}}}}}}}
| rowclass90 = mergedrow
| label90 = {{{blank2_name_sec1|{{{blank2_name|}}}}}}
| data90 = {{#if:{{{blank2_name_sec1|{{{blank2_name|}}}}}}|{{{blank2_info_sec1|{{{blank2_info|}}}}}}}}
| rowclass91 = mergedrow
| label91 = {{{blank3_name_sec1|{{{blank3_name|}}}}}}
| data91 = {{#if:{{{blank3_name_sec1|{{{blank3_name|}}}}}}|{{{blank3_info_sec1|{{{blank3_info|}}}}}}}}
| rowclass92 = mergedrow
| label92 = {{{blank4_name_sec1|{{{blank4_name|}}}}}}
| data92 = {{#if:{{{blank4_name_sec1|{{{blank4_name|}}}}}}|{{{blank4_info_sec1|{{{blank4_info|}}}}}}}}
| rowclass93 = mergedrow
| label93 = {{{blank5_name_sec1|{{{blank5_name|}}}}}}
| data93 = {{#if:{{{blank5_name_sec1|{{{blank5_name|}}}}}}|{{{blank5_info_sec1|{{{blank5_info|}}}}}}}}
| rowclass94 = mergedrow
| label94 = {{{blank6_name_sec1|{{{blank6_name|}}}}}}
| data94 = {{#if:{{{blank6_name_sec1|{{{blank6_name|}}}}}}|{{{blank6_info_sec1|{{{blank6_info|}}}}}}}}
| rowclass95 = mergedrow
| label95 = {{{blank7_name_sec1|{{{blank7_name|}}}}}}
| data95 = {{#if:{{{blank7_name_sec1|{{{blank7_name|}}}}}}|{{{blank7_info_sec1|{{{blank7_info|}}}}}}}}
| rowclass96 = mergedtoprow
| label96 = {{{blank_name_sec2}}}
| data96 = {{#if:{{{blank_name_sec2|}}}|{{{blank_info_sec2|}}}}}
| rowclass97 = mergedrow
| label97 = {{{blank1_name_sec2}}}
| data97 = {{#if:{{{blank1_name_sec2|}}}|{{{blank1_info_sec2|}}}}}
| rowclass98 = mergedrow
| label98 = {{{blank2_name_sec2}}}
| data98 = {{#if:{{{blank2_name_sec2|}}}|{{{blank2_info_sec2|}}}}}
| rowclass99 = mergedrow
| label99 = {{{blank3_name_sec2}}}
| data99 = {{#if:{{{blank3_name_sec2|}}}|{{{blank3_info_sec2|}}}}}
| rowclass100 = mergedrow
| label100 = {{{blank4_name_sec2}}}
| data100 = {{#if:{{{blank4_name_sec2|}}}|{{{blank4_info_sec2|}}}}}
| rowclass101 = mergedrow
| label101 = {{{blank5_name_sec2}}}
| data101 = {{#if:{{{blank5_name_sec2|}}}|{{{blank5_info_sec2|}}}}}
| rowclass102 = mergedrow
| label102 = {{{blank6_name_sec2}}}
| data102 = {{#if:{{{blank6_name_sec2|}}}|{{{blank6_info_sec2|}}}}}
| rowclass103 = mergedrow
| label103 = {{{blank7_name_sec2}}}
| data103 = {{#if:{{{blank7_name_sec2|}}}|{{{blank7_info_sec2|}}}}}
<!-- ***Website*** -->
| rowclass104 = mergedtoprow
| label104 = Website
| data104 = {{#if:{{{website|}}}|{{{website}}}}}
<!-- ***Footnotes*** -->
| belowstyle = text-align:left; font-size:smaller
| belowrowclass = mergedtoprow
| below = {{{footnotes|}}}
}}<!--For deprecated parameter names--><includeonly>{{#ifeq:{{{coor_type|♠}}}{{{city_logo|♠}}}{{{area_total|♠}}}{{{area_land|♠}}}{{{area_water|♠}}}{{{TotalArea_sq_mi|♠}}}{{{LandArea_sq_mi|♠}}}{{{WaterArea_sq_mi|♠}}}{{{area_urban|♠}}}{{{UrbanArea_sq_mi|♠}}}{{{area_metro|♠}}}{{{MetroArea_sq_mi|♠}}}{{{elevation|♠}}}{{{population_density|♠}}}{{{population_density_mi2|♠}}}{{{population_density_metro_mi2|♠}}}{{{population_density_urban_mi2|♠}}}|♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠||[[Category:Settlement articles requiring maintenance]]}}{{#switch:{{{coordinates_region|}}}|CA-X|US-X|IN-X=[[Category:Infobox settlement uses with imprecise region codes]]}}</includeonly><noinclude>
{{documentation}}
</noinclude>
iq7i8i2sgrpu9vj16ef9cutrxefscdp
ਫਰਮਾ:Infobox settlement/doc
10
2751
5404
2023-03-23T08:53:23Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!---PLEASE ADD METADATA (categories, interwikis) TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE. EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE---> This template should be used to produce an [[w:WP:Infobox|Infobox]] for human settlements (cities, towns, villages, communities) as well as other administrative districts, counties, provinces, etcetera - in fact, any subdivision below the level of a country, for which..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!---PLEASE ADD METADATA (categories, interwikis) TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE. EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE--->
This template should be used to produce an [[w:WP:Infobox|Infobox]] for human settlements (cities, towns, villages, communities) as well as other administrative districts, counties, provinces, etcetera - in fact, any subdivision below the level of a country, for which {{tl|Infobox country}} should be used. Parameters are described in the table below. For questions see the [[w:Template talk:Infobox settlement|talk page]].
== Usage ==
*'''Important''': Please enter all numeric values in a raw, unformatted fashion. References are to be included in their respective section footnotes field. Numeric values that are not "raw" may create an "Expression error". Raw values will be automatically formatted by the template. If you find a raw value is not formatted in your usage of the template, please post a notice on the discussion page for this template.
* An expression error may also occur when any coordinate parameter has a value, but one or more coordinate parameters are blank or invalid.
Basic blank template, ready to cut and paste. See the next section for a copy of the template with all parameters and comments. See the table below that for a full description of each parameter.
=== Using metric units ===
<pre style="overflow:auto">
{{Infobox settlement
<!-- See Template:Infobox settlement for additional fields and descriptions -->
| name =
| native_name =
| native_name_lang = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead -->
| settlement_type =
| image_skyline =
| image_alt =
| image_caption =
| image_flag =
| flag_alt =
| image_seal =
| seal_alt =
| image_shield =
| shield_alt =
| nickname =
| motto =
| image_map =
| map_alt =
| map_caption =
| pushpin_map =
| pushpin_label_position =
| pushpin_map_alt =
| pushpin_map_caption =
| latd = |latm = |lats = |latNS =
| longd = |longm = |longs = |longEW =
| coor_pinpoint =
| coordinates_type =
| coordinates_display = inline,title
| coordinates_footnotes =
| coordinates_region =
| subdivision_type = Country
| subdivision_name =
| subdivision_type1 =
| subdivision_name1 =
| subdivision_type2 =
| subdivision_name2 =
| subdivision_type3 =
| subdivision_name3 =
| established_title =
| established_date =
| founder =
| seat_type =
| seat =
| government_footnotes =
| leader_party =
| leader_title =
| leader_name =
| unit_pref = Metric
<!-- ALL fields with measurements have automatic unit conversion -->
<!-- for references: use <ref> tags -->
| area_footnotes =
| area_urban_footnotes = <!-- <ref> </ref> -->
| area_rural_footnotes = <!-- <ref> </ref> -->
| area_metro_footnotes = <!-- <ref> </ref> -->
| area_magnitude = <!-- <ref> </ref> -->
| area_note =
| area_water_percent =
| area_rank =
| area_blank1_title =
| area_blank2_title =
<!-- square kilometers -->
| area_total_km2 =
| area_land_km2 =
| area_water_km2 =
| area_urban_km2 =
| area_rural_km2 =
| area_metro_km2 =
| area_blank1_km2 =
| area_blank2_km2 =
<!-- hectares -->
| area_total_ha =
| area_land_ha =
| area_water_ha =
| area_urban_ha =
| area_rural_ha =
| area_metro_ha =
| area_blank1_ha =
| area_blank2_ha =
| length_km =
| width_km =
| dimensions_footnotes =
| elevation_footnotes =
| elevation_m =
| population_footnotes =
| population_total =
| population_as_of =
| population_density_km2 = auto
| population_demonym =
| population_note =
| timezone1 =
| utc_offset1 =
| timezone1_DST =
| utc_offset1_DST =
| postal_code_type =
| postal_code =
| area_code_type =
| area_code =
| iso_code =
| website = <!-- {{URL|example.com}} -->
| footnotes =
}}
</pre>
=== Using non-metric units ===
<pre style="overflow:auto">
{{Infobox settlement
<!-- See Template:Infobox settlement for additional fields and descriptions -->
| name =
| native_name =
| native_name_lang = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead -->
| settlement_type =
| image_skyline =
| image_alt =
| image_caption =
| image_flag =
| flag_alt =
| image_seal =
| seal_alt =
| image_shield =
| shield_alt =
| nickname =
| motto =
| image_map =
| map_alt =
| map_caption =
| pushpin_map =
| pushpin_label_position =
| pushpin_map_alt =
| pushpin_map_caption =
| latd = |latm = |lats = |latNS =
| longd = |longm = |longs = |longEW =
| coor_pinpoint =
| coordinates_type =
| coordinates_display = inline,title
| coordinates_footnotes =
| coordinates_region =
| subdivision_type = Country
| subdivision_name =
| subdivision_type1 =
| subdivision_name1 =
| subdivision_type2 =
| subdivision_name2 =
| subdivision_type3 =
| subdivision_name3 =
| established_title =
| established_date =
| founder =
| seat_type =
| seat =
| government_footnotes =
| leader_party =
| leader_title =
| leader_name =
| unit_pref = US<!-- or UK -->
<!-- ALL fields with measurements have automatic unit conversion -->
<!-- for references: use <ref> tags -->
| area_footnotes =
| area_urban_footnotes = <!-- <ref> </ref> -->
| area_rural_footnotes = <!-- <ref> </ref> -->
| area_metro_footnotes = <!-- <ref> </ref> -->
| area_magnitude = <!-- use only to set a special wikilink -->
| area_note =
| area_water_percent =
| area_rank =
| area_blank1_title =
| area_blank2_title =
<!-- square miles -->
| area_total_sq_mi =
| area_land_sq_mi =
| area_water_sq_mi =
| area_urban_sq_mi =
| area_rural_sq_mi =
| area_metro_sq_mi =
| area_blank1_sq_mi =
| area_blank2_sq_mi =
<!-- acres -->
| area_total_acre =
| area_land_acre =
| area_water_acre =
| area_urban_acre =
| area_rural_acre =
| area_metro_acre =
| area_blank1_acre =
| area_blank2_acre =
| length_mi =
| width_mi =
| dimensions_footnotes =
| elevation_footnotes =
| elevation_ft =
| population_footnotes =
| population_total =
| population_as_of =
| population_density_sq_mi= auto
| population_demonym =
| population_note =
| timezone1 =
| utc_offset1 =
| timezone1_DST =
| utc_offset1_DST =
| postal_code_type =
| postal_code =
| area_code_type =
| area_code =
| iso_code =
| website = <!-- {{URL|example.com}} -->
| footnotes =
}}
</pre>
=== Complete empty syntax, with comments ===
This copy of the template lists all parameters except for some of the repeating numbered parameters which are noted in the comments. Comments here should be brief; see the table below for full descriptions of each parameter.
<pre style="overflow: auto">
{{Infobox settlement
<!-- See Template:Infobox settlement for additional fields and descriptions -->
| name = <!-- at least one of the first two fields must be filled in -->
| official_name =
| native_name = <!-- if different from the English name -->
| native_name_lang = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead -->
| other_name =
| settlement_type = <!-- such as Town, Village, City, Borough etc. -->
<!-- transliteration(s) -------->
| translit_lang1 =
| translit_lang1_type =
| translit_lang1_info =
| translit_lang1_type1 =
| translit_lang1_info1 =
| translit_lang1_type2 =
| translit_lang1_info2 = <!-- etc., up to translit_lang1_type6 / translit_lang1_info6 -->
| translit_lang2 =
| translit_lang2_type =
| translit_lang2_info =
| translit_lang2_type1 =
| translit_lang2_info1 =
| translit_lang2_type2 =
| translit_lang2_info2 =
| translit_lang2_info2 = <!-- etc., up to translit_lang2_type6 / translit_lang2_info6 -->
<!-- images, nickname, motto --->
| image_skyline =
| imagesize =
| image_alt =
| image_caption =
| image = <!-- other image (specify File: or Image: namespace) -->
| image_flag =
| flag_size =
| flag_alt =
| flag_link =
| image_seal =
| seal_size =
| seal_alt =
| seal_link =
| image_shield =
| shield_size =
| shield_alt =
| shield_link =
| image_blank_emblem =
| blank_emblem_type = <!-- defaults to Logo -->
| blank_emblem_size =
| blank_emblem_alt =
| blank_emblem_link =
| nickname =
| motto =
| anthem =
<!-- maps and coordinates ------>
| image_map =
| mapsize =
| map_alt =
| map_caption =
| image_map1 =
| mapsize1 =
| map_alt1 =
| map_caption1 =
| image_dot_map =
| dot_mapsize =
| dot_map_base_alt =
| dot_map_alt =
| dot_map_caption =
| dot_x = |dot_y =
| pushpin_map = <!-- name of a location map as per Template:Location_map -->
| pushpin_label_position = <!-- position of the pushpin label: left, right, top, bottom, none -->
| pushpin_label = <!-- only necessary if "name" or "official_name" are too long -->
| pushpin_map_alt =
| pushpin_mapsize =
| pushpin_map_caption =
| pushpin_map1 =
| pushpin_label_position1 =
| pushpin_label1 = <!-- only necessary if "name" or "official_name" are too long -->
| pushpin_map_alt1 =
| pushpin_mapsize1 =
| pushpin_map_caption1 =
| latd = |latm = |lats = |latNS =
| longd = |longm = |longs = |longEW =
| coor_pinpoint = <!-- to specify exact location of coordinates (was coor_type) -->
| coordinates_region = <!-- ISO 3166-1 alpha-2 or ISO 3166-2 code for country/region containing the coordinates -->
| coordinates_type = <!-- parameter list passed to Coord template, overrides coordinates_region -->
| coordinates_display = inline,title
| coordinates_format = dms
| coordinates_footnotes = <!-- for references: use <ref> tags -->
<!-- location ------------------>
| subdivision_type = Country
| subdivision_name = <!-- the name of the country -->
| subdivision_type1 =
| subdivision_name1 =
| subdivision_type2 =
| subdivision_name2 = <!-- etc., subdivision_type6 / subdivision_name6 -->
<!-- established --------------->
| established_title = <!-- Settled -->
| established_date =
| established_title1 = <!-- Incorporated (town) -->
| established_date1 =
| established_title2 = <!-- Incorporated (city) -->
| established_date2 =
| established_title3 =
| established_date3 =
| extinct_title =
| extinct_date =
| founder =
| named_for =
<!-- seat, smaller parts ------->
| seat_type = <!-- defaults to: Seat -->
| seat =
| parts_type = <!-- defaults to: Boroughs -->
| parts_style = <!-- list, coll (collapsed list), para (paragraph format) -->
| parts = <!-- parts text, or header for parts list -->
| p1 =
| p2 = <!-- etc., up to p50: for separate parts to be listed-->
<!-- government type, leaders -->
| government_footnotes = <!-- for references: use <ref> tags -->
| government_type =
| governing_body =
| leader_party =
| leader_title =
| leader_name = <!-- add &nbsp; (no-break space) to disable automatic links -->
| leader_title1 =
| leader_name1 = <!-- etc., up to leader_title4 / leader_name4 -->
<!-- display settings --------->
| total_type = <!-- to set a non-standard label for total area and population rows -->
| unit_pref = <!-- enter: Imperial, to display imperial before metric -->
<!-- area ---------------------->
| area_footnotes = <!-- for references: use <ref> tags -->
| area_magnitude = <!-- use only to set a special wikilink -->
| dunam_link = <!-- If dunams are used, this specifies which dunam to link. -->
| area_total_km2 = <!-- ALL fields with measurements have automatic unit conversion -->
| area_total_sq_mi = <!-- see table @ Template:Infobox settlement for details -->
| area_total_ha =
| area_total_acre =
| area_total_dunam = <!-- used in Middle East articles only -->
| area_land_km2 =
| area_land_sq_mi =
| area_land_ha =
| area_land_acre =
| area_land_dunam = <!-- used in Middle East articles only -->
| area_water_km2 =
| area_water_sq_mi =
| area_water_ha =
| area_water_acre =
| area_water_dunam = <!-- used in Middle East articles only -->
| area_water_percent =
| area_urban_footnotes = <!-- for references: use <ref> tags -->
| area_urban_km2 =
| area_urban_sq_mi =
| area_urban_ha =
| area_urban_acre =
| area_urban_dunam = <!-- used in Middle East articles only -->
| area_rural_footnotes = <!-- for references: use <ref> tags -->
| area_rural_km2 =
| area_rural_sq_mi =
| area_rural_ha =
| area_rural_acre =
| area_rural_dunam = <!-- used in Middle East articles only -->
| area_metro_footnotes = <!-- for references: use <ref> tags -->
| area_metro_km2 =
| area_metro_sq_mi =
| area_metro_ha =
| area_metro_acre =
| area_metro_dunam = <!-- used in Middle East articles only -->
| area_rank =
| area_blank1_title =
| area_blank1_km2 =
| area_blank1_sq_mi =
| area_blank1_ha =
| area_blank1_acre =
| area_blank1_dunam = <!-- used in Middle East articles only -->
| area_blank2_title =
| area_blank2_km2 =
| area_blank2_sq_mi =
| area_blank2_ha =
| area_blank2_acre =
| area_blank2_dunam = <!-- used in Middle East articles only -->
| area_note =
<!-- dimensions ----------------->
| dimensions_footnotes = <!-- for references: use <ref> tags -->
| length_km =
| length_mi =
| width_km =
| width_mi =
<!-- elevation ----------------->
| elevation_footnotes = <!-- for references: use <ref> tags -->
| elevation_m =
| elevation_ft =
| elevation_max_footnotes = <!-- for references: use <ref> tags -->
| elevation_max_m =
| elevation_max_ft =
| elevation_min_footnotes = <!-- for references: use <ref> tags -->
| elevation_min_m =
| elevation_min_ft =
<!-- population ---------------->
| population_footnotes = <!-- for references: use <ref> tags -->
| population_total =
| population_as_of =
| population_rank =
| population_density_km2 = <!-- for automatic calculation of any density field, use: auto -->
| population_density_sq_mi=
| population_est =
| pop_est_as_of =
| population_urban_footnotes =
| population_urban =
| population_density_urban_km2 =
| population_density_urban_sq_mi =
| population_rural_footnotes =
| population_rural =
| population_density_rural_km2 =
| population_density_rural_sq_mi =
| population_metro_footnotes =
| population_metro =
| population_density_metro_km2 =
| population_density_metro_sq_mi =
| population_density =
| population_density_rank =
| population_blank1_title =
| population_blank1 =
| population_density_blank1_km2 =
| population_density_blank1_sq_mi=
| population_blank2_title =
| population_blank2 =
| population_density_blank2_km2 =
| population_density_blank2_sq_mi=
| population_demonym = <!-- demonym, e.g. Liverpudlian for someone from Liverpool -->
| population_note =
<!-- demographics (section 1) -->
| demographics_type1 =
| demographics1_footnotes = <!-- for references: use <ref> tags -->
| demographics1_title1 =
| demographics1_info1 = <!-- etc., up to demographics1_title5 / demographics1_info5 -->
<!-- demographics (section 2) -->
| demographics_type2 =
| demographics2_footnotes = <!-- for references: use <ref> tags -->
| demographics2_title1 =
| demographics2_info1 = <!-- etc., up to demographics2_title5 / demographics2_info5 -->
<!-- time zone(s) -------------->
| timezone1 =
| utc_offset1 =
| timezone1_DST =
| utc_offset1_DST =
| timezone2 =
| utc_offset2 =
| timezone2_DST =
| utc_offset2_DST =
<!-- postal codes, area code --->
| postal_code_type = <!-- enter ZIP code, Postcode, Post code, Postal code... -->
| postal_code =
| postal2_code_type = <!-- enter ZIP code, Postcode, Post code, Postal code... -->
| postal2_code =
| area_code_type = <!-- defaults to: Area code(s) -->
| area_code =
| geocode =
| iso_code =
| registration_plate =
<!-- twin cities --------------->
| twin1 =
| twin1_country =
| twin2 =
| twin2_country = <!-- etc., up to twin9 / twin9_country -->
<!-- blank fields (section 1) -->
| blank_name_sec1 =
| blank_info_sec1 =
| blank1_name_sec1 =
| blank1_info_sec1 =
| blank2_name_sec1 =
| blank2_info_sec1 = <!-- etc., up to blank7_name_sec1 / blank7_info_sec1 -->
<!-- blank fields (section 2) -->
| blank_name_sec2 =
| blank_info_sec2 =
| blank1_name_sec2 =
| blank1_info_sec2 =
| blank2_name_sec2 =
| blank2_info_sec2 = <!-- etc., up to blank7_name_sec2 / blank7_info_sec2 -->
<!-- website, footnotes -------->
| website = <!-- {{URL|example.com}} -->
| footnotes =
}}
</pre>
==Parameter names and descriptions==
{| class="wikitable" style="background: white"
! colspan=3 style="background: orange;" |
===Name and transliteration===
|- style="background: whitesmoke;"
! Parameter name !! Usage !! Description
|- valign=top
| '''name''' || optional || This is the usual name in English. If it's not specified, the infobox will use the '''official_name''' as a title unless this too is missing, in which case the page name will be used.
|- valign=top
| '''official_name''' || optional || The official name in English if different from '''name'''
|- valign=top
| '''native_name''' || optional || This will display under the name/official name
|- valign=top
| '''native_name_lang''' || optional || Use [[List of ISO 639-2 codes|ISO 639-2 code]], e.g. "fr" for French. If there is more than one native name, in different languages, enter those names using {{tl|lang}}, instead.
|- valign=top
| '''other_name''' || optional || For places with a former or more common name like Bombay or Saigon
|- valign=top
| '''settlement_type''' || optional || Any type can be entered, such as City, Town, Village, Hamlet, Municipality, Reservation, etc. If set, will be displayed under the names, provided that either '''name''' or '''official_name''' is filled in. Might also be used as a label for total population/area (defaulting to ''City''), if needed to distinguish from ''Urban'', ''Rural'' or ''Metro'' (if urban, rural or metro figures are not present, the label is ''Total'' unless '''total_type''' is set).
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Transliteration(s)
|- valign=top
| '''translit_lang1''' || optional || Will place the "entry" before the word "transliteration(s)". Can be used to specify a particular language like in [[Dêlêg]] or one may just enter "Other", like in [[Gaza]]'s article.
|- valign=top
| '''translit_lang1_type'''<br>'''translit_lang1_type1'''<br>to<br>'''translit_lang1_type6''' || optional ||
|- valign=top
| '''translit_lang1_info'''<br>'''translit_lang1_info1'''<br>to<br>'''translit_lang1_info6''' || optional ||
|- valign=top
| '''translit_lang2''' || optional || Will place a second transliteration. See [[Dêlêg]]
|- valign=top
| '''translit_lang2_type'''<br>'''translit_lang2_type1'''<br>to<br>'''translit_lang2_type6''' || optional ||
|- valign=top
| '''translit_lang2_info'''<br>'''translit_lang2_info1'''<br>to<br>'''translit_lang2_info6''' || optional ||
|- valign=top
! colspan=3 style="background: orange;" |
===Images, nickname, motto===
|- style="background: whitesmoke;"
! Parameter name !! Usage !! Description
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Skyline image
|- valign=top
| '''image_skyline''' || optional || Despite the name it can be any image that an editor wishes.
|- valign=top
| '''imagesize''' || optional || Can be used to tweak the size of the image_skyline up or down. This can be helpful if an editor want to make the infobox wider. If used, '''px''' must be specified; default size is 250px.
|- valign=top
| '''image_alt''' || optional || [[Alt text]] for the image, used by visually impaired readers who cannot see the image. See [[WP:ALT]].
|- valign=top
| '''image_caption''' || optional || Will place a caption under the image_skyline (if present)
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Flag image
|- valign=top
| '''image_flag''' || optional || Used for a flag.
|- valign=top
| '''flag_size''' || optional || Can be used to tweak the size of the image_flag up or down from 100px as desired. If used, '''px''' must be specified; default size is 100px.
|- valign=top
| '''flag_alt''' || optional || Alt text for the flag.
|- valign=top
| '''flag_link''' || optional ||
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Seal image
|- valign=top
| '''image_seal''' || optional || If the place has an official seal.
|- valign=top
| '''seal_size''' || optional || If used, '''px''' must be specified; default size is 100px.
|- valign=top
| '''seal_alt''' || optional || Alt text for the seal.
|- valign=top
| '''seal_link''' || optional ||
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Coat of arms image
|- valign=top
| '''image_shield''' || optional || Can be used for a place with a coat of arms.
|- valign=top
| '''shield_size''' || optional || If used, '''px''' must be specified; default size is 100px.
|- valign=top
| '''shield_alt''' || optional || Alt text for the shield.
|- valign=top
| '''shield_link''' || optional || Can be used if a wiki article if known but is not automatically linked by the template. See [[Coquitlam, British Columbia]]'s infobox for an example.
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Logo or emblem image
|- valign=top
| '''image_blank_emblem''' || optional || Can be used if a place has an official logo, crest, emblem, etc. Logo is the default type. See [[Kingston upon Hull]]'s infobox for an example.
|- valign=top
| '''blank_emblem_type''' || optional || To specify what type of emblem "image_blank_emblem" is. The default is Logo.
|- valign=top
| '''blank_emblem_size''' || optional || If used, '''px''' must be specified; default size is 100px.
|- valign=top
| '''blank_emblem_alt''' || optional || Alt text for blank emblem.
|- valign=top
| '''blank_emblem_link''' || optional ||
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Nickname, motto
|- valign=top
| '''nickname''' || optional || well-known nickname(s)
|- valign=top
| '''motto''' || optional || Will place the motto under the nicknames
|- valign=top
| '''anthem''' || optional || Will place the anthem (song) under the nicknames
|- valign=top
! colspan=3 style="background: orange;" |
===Maps, coordinates===
|- style="background: whitesmoke;"
! Parameter name !! Usage !! Description
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Map images
|- valign=top
| '''image_map''' || optional ||
|- valign=top
| '''mapsize''' || optional || If used, '''px''' must be specified; default is 250px.
|- valign=top
| '''map_alt''' || optional || Alt text for map.
|- valign=top
| '''map_caption''' || optional ||
|- valign=top
| '''image_map1''' || optional || A secondary map image. The field '''image_map''' must be filled in first. Example see: [[Bloomsburg, Pennsylvania]].
|- valign=top
| '''mapsize1''' || optional || If used, '''px''' must be specified; default is 250px.
|- valign=top
| '''map_alt1''' || optional || Alt text for secondary map.
|- valign=top
| '''map_caption1''' || optional ||
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Dot map
|- valign=top
| '''image_dot_map''' || optional || A field for '''manually''' superimposing a dot over a blank map using an "X" & "Y" system. Blank maps, if available, can be found over at [http://commons.wikimedia.org/wiki/Main_Page Wikimedia Commons]. Example see: [[Rainbow Lake, Alberta]]
|- valign=top
| '''dot_mapsize''' || optional || To change the dot map size; default is 180px ('''px''' is optional).
|- valign=top
| '''dot_map_base_alt''' || optional ||
|- valign=top
| '''dot_map_alt''' || optional || Alt text for the dot map.
|- valign=top
| '''dot_map_caption''' || optional || For placing a caption under the dot map.
|- valign=top
| '''dot_x'''<br>'''dot_y''' || optional || For manually superimposing the dot left/right and up/down on the map.
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Pushpin map(s), coordinates
|- valign=top
| '''pushpin_map''' || optional || The name of a location map as per [[Template:Location map]] (e.g. ''Indonesia'' or ''Russia''). The coordinate fields (e.g. latd and longd) position a pushpin coordinate marker and label on the map '''automatically'''. Example see: [[Padang, Indonesia]]
|- valign=top
| '''pushpin_label_position''' || optional || The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is ''right''.
|- valign=top
| '''pushpin_map_alt''' || optional || Alt text for pushpin map.
|- valign=top
| '''pushpin_mapsize''' || optional || Must be entered as only a number—'''do not use px'''. The default value is 250.
|- valign=top
| '''pushpin_map_caption''' || optional || Fill out if a different caption from ''map_caption'' is desired.
|- valign=top
| '''pushpin_relief''' || optional || Set this to <code>y</code> or any non-blank value to use an alternative relief map provided by the selected location map (if a relief map is available).
|- valign=top
| '''pushpin_map1''' || optional || Set of parameters for second pushpin map
|- valign=top
| '''pushpin_label_position1''' || optional ||
|- valign=top
| '''pushpin_map_alt1''' || optional ||
|- valign=top
| '''pushpin_mapsize1''' || optional || Must be entered as only a number—'''do not use px'''.
|- valign=top
| '''pushpin_map_caption1''' || optional ||
|- valign=top
| '''pushpin_relief1''' || optional ||
|- valign=top
| '''latd''' || optional || Latitude degrees. Can also be used for decimal degrees.
|- valign=top
| '''latm''' || optional || Latitude minutes. Omit or leave blank if '''latd''' has a decimal value.
|- valign=top
| '''lats''' || optional || Latitude seconds. Omit or leave blank if '''latd''' has a decimal value.
|- valign=top
| '''latNS''' || optional || Latitude North or South (enter '''N''' or '''S'''). Omit or leave blank if '''latd''' has a decimal value.
|- valign=top
| '''longd''' || optional || Longitude degrees. Can also be used for decimal degrees.
|- valign=top
| '''longm''' || optional || Longitude minutes. Omit or leave blank if '''longd''' has a decimal value.
|- valign=top
| '''longs''' || optional || Longitude seconds. Omit or leave blank if '''longd''' has a decimal value.
|- valign=top
| '''longEW''' || optional || Longitude East or West (enter '''E''' or '''W'''). Omit or leave blank if '''longd''' has a decimal value.
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Coordinates display
|- valign=top
| '''coor_pinpoint''' || optional || If needed, to specify more exactly where (or what) coordinates are given (e.g. ''Town Hall'') or a specific place in a larger area (e.g. a city in a county). Example: [[Masovian Voivodeship]]
|- valign=top
| {{anchor|coordregion}} '''coordinates_region''' || optional
| Can be used to override the default [[Template:Coord/doc#region:R|region:]] for the coordinates. Use either a two character [[ISO 3166-1 alpha-2]] country code or an [[ISO 3166-2]] region code.<br>
If coordinates_region is omitted or blank, [[Template:Coord/doc#region:R|region:]] will be set according to subdivision_name, using {{tl|CountryAbbr}}. For example, subdivision_name = United Kingdom will generate coordinates with "region:GB". In addition, for Canada, India, and the United States, subdivision_name1 will be used to determine the region. For example: subdivision_name=Canada and subdivision_name1=Ontario will yield "region:CA-ON".<br>
coordinates_type (below) overrides this parameter.
|- valign=top
| '''coordinates_type''' || optional
| Can be used to override the default [[Template:Coord/doc#Coordinate_parameters|coordinate parameters]] for the coordinates. May include [[Template:Coord/doc#type:T|type:]], [[Template:Coord/doc#scale:N|scale:]], [[Template:Coord/doc#dim:D|dim:]], [[Template:Coord/doc#region:R|region:]], and/or [[Template:Coord/doc#source:S|source:]], joined by underscores ("_").<br>
If {{para|coordinates_type}} is omitted or blank:
* [[Template:Coord/doc#scale:N|scale:]], [[Template:Coord/doc#dim:D|dim:]], and [[Template:Coord/doc#source:S|source:]] will be left unspecified.
* [[Template:Coord/doc#region:R|region:]] will be set by {{para|coordinates_region}} (above), {{para|subdivision_name}} and {{para|subdivision_name1}} (below), and
* [[Template:Coord/doc#type:T|type:]] will be set to "type:city" if the population_total field is omitted or blank. If population_total is a number without commas, "type:city(population_total)" is used. But if population_total includes letters or punctuation, "type:city" is used.
|- valign=top
| '''coordinates_display''' || optional
| If the parameter is omitted, blank, or equal to <code>inline</code>, the coordinates will be displayed in the infobox only.<br>
Any value other than <code>inline</code> will have the coordinates displayed in the article's title as well.<br>
Infobox settlement uses {{Tl|Geobox coor}} to call {{Tl|Coord}} with the parameter "display=inline,title".
|- valign=top
| '''coordinates_format''' || optional
| If the parameter is omitted or blank, the coordinates format will match the format in which the coordinates are specified<br>Set to ''dms'' to force degrees/minutes/seconds or ''dec'' to force decimal.
|- valign=top
| '''coordinates_footnotes''' || optional || Reference(s) for coordinates, placed within <nowiki><ref> </ref></nowiki> tags, possibly using the citing format at {{tl|Cite web}}
|- valign=top
! colspan=3 style="background: orange;" |
===Location, established, seat, subdivisions, government, leaders===
|- style="background: whitesmoke;"
! Parameter name !! Usage !! Description
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Location
|- valign=top
| '''subdivision_type''' || optional || almost always <tt><nowiki>Country</nowiki></tt>
|- valign=top
| '''subdivision_name''' || optional || Depends on the subdivision_type - use the name in text form, sample: <tt>United States</tt> or <tt><nowiki>United States</nowiki></tt>, flag icons or flag templates can be used in this field.
|- valign=top
| '''subdivision_type1'''<br>to<br>'''subdivision_type6''' || optional || Can be State/Province, region, county.
|- valign=top
| '''subdivision_name1'''<br>to<br>'''subdivision_name6''' || optional || Use the name in text form, sample: <tt>Florida</tt> or <tt><nowiki>[[Florida]]</nowiki></tt>. Flag icons or flag templates can be used in this field per [[WP:MOSFLAG]].
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Established
|- valign=top
| '''established_title''' || optional || Example: First settled
|- valign=top
| '''established_date''' || optional ||
|- valign=top
| '''established_title1''' || optional || Example: Incorporated (town)
|- valign=top
| '''established_date1''' || optional ||
|- valign=top
| '''established_title2''' || optional || Example: Incorporated (city)
|- valign=top
| '''established_date2''' || optional ||
|- valign=top
| '''established_title3''' || optional ||
|- valign=top
| '''established_date3''' || optional ||
|- valign=top
| '''extinct_title''' || optional || For when a settlement ceases to exist
|- valign=top
| '''extinct_date''' || optional ||
|- valign=top
| '''founder''' || optional || Who the settlement was founded by
|- valign=top
| '''named_for''' || optional || The source of the name of the settlement (a person, a place, et cetera)
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Seat of government
|- valign=top
| '''seat_type''' || optional || The label for the seat of government (defaults to ''Seat'').
|- valign=top
| '''seat''' || optional || The seat of government.
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Smaller parts (e.g. boroughs of a city)
|- valign=top
| '''parts_type''' || optional || The label for the smaller subdivisions (defaults to ''Boroughs'').
|- valign=top
| '''parts_style''' || optional || Set to ''list'' to display as a collapsible list, ''coll'' as a collapsed list, or ''para'' to use paragraph style. Default is ''list'' for up to 5 items, otherwise ''coll''.
|- valign=top
| '''parts''' || optional || Text or header of the list of smaller subdivisions.
|- valign=top
| '''p1'''<br>'''p2'''<br>to<br>'''p50''' || optional || The smaller subdivisions to be listed. Example: [[Warsaw]]
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Government type, leaders
|- valign=top
| '''government_footnotes''' || optional || Reference(s) for government, placed within <nowiki><ref> </ref></nowiki> tags, possibly using the citing format at {{tl|Cite web}}
|- valign=top
| '''government_type''' || optional || Example: [[Mayor-council government]]
|- valign=top
| '''governing_body''' || optional || Name of the place's governing body
|- valign=top
| '''leader_party''' || optional || Political party of the place's leader
|- valign=top
| '''leader_title''' || optional || First title of the place's leader, e.g. Mayor
|- valign=top
| '''leader_name''' || optional || Name of the place's leader
|- valign=top
| '''leader_title1'''<br>to<br>'''leader_title4''' || optional ||
|- valign=top
| '''leader_name1'''<br>to<br>'''leader_name4''' || optional || For long lists use {{tl|Collapsible list}}. See [[Halifax Regional Municipality|Halifax]] for an example.
|- valign=top
! colspan=3 style="background: orange;" |
===Geographic information===
|- valign=top
| colspan=3 | These fields have '''dual automatic unit conversion''' meaning that if only metric values are entered, the imperial values will be automatically converted and vice versa. If an editor wishes to over-ride the automatic conversion, e.g. if the source gives both metric and imperial or if a range of values is needed, they should enter both values in their respective fields.
|- style="background: whitesmoke;"
! Parameter name !! Usage !! Description
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Display settings
|- valign=top
| '''total_type''' || optional || Specifies what "total" area and population figure refer to, e.g. ''Greater London''. This overrides other labels for total population/area. To make the total area and population display on the same line as the words "Area" and "Population", with no "Total" or similar label, set the value of this parameter to ''' ;'''.
|- valign=top
| '''unit_pref''' || optional || To change the unit order to ''imperial (metric)'', enter '''imperial'''. The default display style is ''metric (imperial)''. However, the template will swap the order automatically if the '''subdivision_name''' equals some variation of the USA or the UK.<br>For the middle east, a unit preference of [[dunam]] can be entered (only affects total area). <br> All values must be entered in a '''raw format: no commas, spaces, or unit symbols'''. The template will format them automatically.
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Area
|- valign=top
| '''area_footnotes''' || optional || Reference(s) for area, placed within <nowiki><ref> </ref></nowiki> tags, possibly using the citing format at {{tl|Cite web}}
|- valign=top
| '''area_magnitude''' || optional || Setting this to any non-empty value will create a link to the appropriate order of magnitude of area page (e.g. [[1 E+6 m²]]).
|- valign=top
| '''dunam_link''' || optional || If dunams are used, the default is to link the word ''dunams'' in the total area section. This can be changed by setting <code>dunam_link</code> to another measure (e.g. <code>dunam_link=water</code>). Linking can also be turned off by setting the parameter to something else (e.g. <code>dunam_link=none</code> or <code>dunam_link=off</code>).
|- valign=top
| '''area_total_km2''' || optional || Total area in square kilometers—symbol: km<sup>2</sup>. Value must be entered in '''raw format''', no commas or spaces. Auto-converted to display square miles if area_total_sq_mi is empty.
|- valign=top
| '''area_total_ha''' || optional || Total area in hectares—symbol: ha. Value must be entered in '''raw format''', no commas or spaces. Auto-converted to display acres if area_total_acre is empty.
|- valign=top
| '''area_total_sq_mi''' || optional || Total area in square miles—symbol: sq mi. Value must be entered in '''raw format''', no commas or spaces. Auto-converted to display square kilometers if area_total_km2 is empty.
|- valign=top
| '''area_total_acre''' || optional || Total area in acres. Value must be entered in '''raw format''', no commas or spaces. Auto-converted to display hectares if area_total_ha is empty.
|- valign=top
| '''area_total_dunam''' || optional || Total area in dunams, which is wiki-linked. Used in middle eastern places like Israel, Gaza, and the West Bank. Value must be entered in '''raw format''', no commas or spaces. Auto-converted to display square kilometers or hectares and square miles or acreds if area_total_km2, area_total_ha, area_total_sq_mi, and area_total_acre are empty. Examples: [[Gaza]] and [[Ramallah]]
|- valign=top
| '''area_land_km2''' || optional || Land area in square kilometers—symbol: km<sup>2</sup>. Value must be entered in '''raw format''', no commas or spaces. Auto-converted to display square miles if area_land_sq_mi is empty.
|- valign=top
| '''area_land_sq_mi''' || optional || Land area in square miles—symbol: sq mi. Value must be entered in '''raw format''', no commas or spaces. Auto-converted to display square kilometers if area_land_km2 is empty.
|- valign=top
| '''area_land_ha''' || optional || similar to <code>area_total_ha</code>
|- valign=top
| '''area_land_dunam''' || optional || similar to <code>area_total_dunam</code>
|- valign=top
| '''area_land_acre''' || optional || similar to <code>area_total_acre</code>
|- valign=top
| '''area_water_km2''' || optional || Water area in square kilometers—symbol: km<sup>2</sup>. Value must be entered in '''raw format''', no commas or spaces. Auto-converted to display square miles if area_water_sq_mi is empty.
|- valign=top
| '''area_water_sq_mi''' || optional || Water area in square miles—symbol: sq mi. Value must be entered in '''raw format''', no commas or spaces. Auto-converted to display square kilometers if area_water_km2 is empty.
|- valign=top
| '''area_water_ha''' || optional || similar to <code>area_total_ha</code>
|- valign=top
| '''area_water_dunam''' || optional || similar to <code>area_total_dunam</code>
|- valign=top
| '''area_water_acre''' || optional || similar to <code>area_total_acre</code>
|- valign=top
| '''area_water_percent''' || optional || percent of water without the "%"
|- valign=top
| '''area_urban_km2''' || optional ||
|- valign=top
| '''area_urban_sq_mi''' || optional ||
|- valign=top
| '''area_urban_ha''' || optional || similar to <code>area_total_ha</code>
|- valign=top
| '''area_urban_dunam''' || optional || similar to <code>area_total_dunam</code>
|- valign=top
| '''area_urban_acre''' || optional || similar to <code>area_total_acre</code>
|- valign=top
|- valign=top
| '''area_rural_km2''' || optional ||
|- valign=top
| '''area_rural_sq_mi''' || optional ||
|- valign=top
| '''area_rural_ha''' || optional || similar to <code>area_total_ha</code>
|- valign=top
| '''area_rural_dunam''' || optional || similar to <code>area_total_dunam</code>
|- valign=top
| '''area_rural_acre''' || optional || similar to <code>area_total_acre</code>
|- valign=top
| '''area_metro_km2''' || optional ||
|- valign=top
| '''area_metro_sq_mi''' || optional ||
|- valign=top
| '''area_metro_ha''' || optional || similar to <code>area_total_ha</code>
|- valign=top
| '''area_metro_dunam''' || optional || similar to <code>area_total_dunam</code>
|- valign=top
| '''area_metro_acre''' || optional || similar to <code>area_total_acre</code>
|- valign=top
| '''area_rank''' || optional || The settlement's area, as ranked within its parent sub-division
|- valign=top
| '''area_blank1_title''' || optional || Example see London
|- valign=top
| '''area_blank1_km2''' || optional ||
|- valign=top
| '''area_blank1_sq_mi''' || optional ||
|- valign=top
| '''area_blank1_ha''' || optional || similar to <code>area_total_ha</code>
|- valign=top
| '''area_blank1_dunam''' || optional || similar to <code>area_total_dunam</code>
|- valign=top
| '''area_blank1_acre''' || optional || similar to <code>area_total_acre</code>
|- valign=top
| '''area_blank2_title''' || optional ||
|- valign=top
| '''area_blank2_km2''' || optional ||
|- valign=top
| '''area_blank2_sq_mi''' || optional ||
|- valign=top
| '''area_blank2_ha''' || optional || similar to <code>area_total_ha</code>
|- valign=top
| '''area_blank2_dunam''' || optional || similar to <code>area_total_dunam</code>
|- valign=top
| '''area_blank2_acre''' || optional || similar to <code>area_total_acre</code>
|- valign=top
| '''area_note''' || optional || A place for additional information such as the name of the source.
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Dimensions
|- valign=top
| '''dimensions_footnotes''' || optional || Reference(s) for dimensions, placed within <nowiki><ref> </ref></nowiki> tags, possibly using the citing format at {{tl|Cite web}}
|- valign=top
| '''length_km''' || optional || Raw number entered in kilometers. Will automatically convert to display length in miles if length_mi is empty.
|- valign=top
| '''length_mi''' || optional || Raw number entered in miles. Will automatically convert to display length in kilometers if length_km is empty.
|- valign=top
| '''width_km''' || optional || Raw number entered in kilometers. Will automatically convert to display width in miles if length_mi is empty.
|- valign=top
| '''width_mi''' || optional || Raw number entered in miles. Will automatically convert to display width in kilometers if length_km is empty.
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Elevation
|- valign=top
| '''elevation_footnotes''' || optional || Reference(s) for elevation, placed within <nowiki><ref> </ref></nowiki> tags, possibly using the citing format at {{tl|Cite web}}
|- valign=top
| '''elevation_m''' || optional || Raw number entered in meters. Will automatically convert to display elevation in feet if elevation_ft is empty. However, if a range in elevation (i.e. 5–50 m ) is desired, use the "max" and "min" fields below
|- valign=top
| '''elevation_ft''' || optional || Raw number, entered in feet. Will automatically convert to display the average elevation in meters if '''elevation_m''' field is empty. However, if a range in elevation (i.e. 50–500 ft ) is desired, use the "max" and "min" fields below
|- valign=top
| '''elevation_max_footnotes'''<br>'''elevation_min_footnotes''' || optional || Same as above, but for the "max" and "min" elevations. See [[Leeds]].
|- valign=top
| '''elevation_max_m'''<br>'''elevation_max_ft'''<br>'''elevation_min_m'''<br>'''elevation_min_ft''' || optional || Used to give highest & lowest elevations, instead of just a single value. Example: [[Halifax Regional Municipality]].
|- valign=top
! colspan=3 style="background: orange;" |
===Population, demographics===
|- valign=top
| colspan=3 | The density fields have '''dual automatic unit conversion''' meaning that if only metric values are entered, the imperial values will be automatically converted and vice-versa. If an editor wishes to over-ride the automatic conversion, e.g. if the source gives both metric and imperial or if a range of values is needed, they can enter both values in their respective fields. '''To calculate density with respect to the total area automatically, type ''auto'' in place of any density value.'''
|- style="background: whitesmoke;"
! Parameter name !! Usage !! Description
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Population
|- valign=top
| '''population_total''' || optional || Actual population (see below for estimates) preferably consisting of digits only (without any commas)
|- valign=top
| '''population_footnotes''' || optional || Reference(s) for population, placed within <nowiki><ref> </ref></nowiki> tags
|- valign=top
| '''population_as_of''' || optional || The year for the population total (usually a census year)
|- valign=top
| '''population_density_km2''' || optional ||
|- valign=top
| '''population_density_sq_mi''' || optional ||
|- valign=top
| '''population_est''' || optional || Population estimate.
|- valign=top
| '''pop_est_as_of''' || optional || The year or month & year of the population estimate
|- valign=top
| '''population_urban''' || optional ||
|- valign=top
| '''population_urban_footnotes''' || optional || Reference(s) for urban population, placed within <nowiki><ref> </ref></nowiki> tags
|- valign=top
| '''population_density_urban_km2''' || optional ||
|- valign=top
| '''population_density_urban_sq_mi''' || optional ||
|- valign=top
| '''population_rural''' || optional ||
|- valign=top
| '''population_rural_footnotes''' || optional || Reference(s) for rural population, placed within <nowiki><ref> </ref></nowiki> tags
|- valign=top
| '''population_density_rural_km2''' || optional ||
|- valign=top
| '''population_density_rural_sq_mi''' || optional ||
|- valign=top
| '''population_metro''' || optional ||
|- valign=top
| '''population_metro_footnotes''' || optional || Reference(s) for metro population, placed within <nowiki><ref> </ref></nowiki> tags
|- valign=top
| '''population_density_metro_km2''' || optional ||
|- valign=top
| '''population_density_metro_sq_mi''' || optional ||
|- valign=top
| '''population_rank''' || optional || The settlement's population, as ranked within its parent sub-division
|- valign=top
| '''population_density_rank''' || optional || The settlement's population density, as ranked within its parent sub-division
|- valign=top
| '''population_blank1_title''' || optional || Can be used for estimates. Example: [[Windsor, Ontario]]
|- valign=top
| '''population_blank1''' || optional || The population value for blank1_title
|- valign=top
| '''population_density_blank1_km2''' || optional ||
|- valign=top
| '''population_density_blank1_sq_mi''' || optional ||
|- valign=top
| '''population_blank2_title''' || optional ||
|- valign=top
| '''population_blank2''' || optional ||
|- valign=top
| '''population_density_blank2_km2''' || optional ||
|- valign=top
| '''population_density_blank2_sq_mi''' || optional ||
|- valign=top
| '''population_demonym''' || optional || A demonym or gentilic is a word that denotes the members of a people or the inhabitants of a place. For example citizens in [[Liverpool]] are known as [[Liverpudlian]]s.
|- valign=top
| '''population_note''' || optional || A place for additional information such as the name of the source. See [[Windsor, Ontario]] for example.
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Demographics (section 1)
|- valign=top
| '''demographics_type1''' || optional || Section Header. For example: Ethnicity
|- valign=top
| '''demographics1_footnotes''' || optional || Reference(s) for demographics section 1, placed within <nowiki><ref> </ref></nowiki> tags, possibly using the citing format at {{tl|Cite web}}
|- valign=top
| '''demographics1_title1'''<br>to<br>'''demographics1_title5''' || optional || Titles related to demographics_type1. For example: White, Black, Hispanic...
|- valign=top
| '''demographics1_info1'''<br>to<br>'''demographics1_info5''' || optional || Information related to the "titles". For example: 50%, 25%, 10%...
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Demographics (section 2)
|- valign=top
| '''demographics_type2''' || optional || A second section header. For example: Languages
|- valign=top
| '''demographics2_footnotes''' || optional || Reference(s) for demographics section 2, placed within <nowiki><ref> </ref></nowiki> tags, possibly using the citing format at {{tl|Cite web}}
|- valign=top
| '''demographics2_title1'''<br>to<br>'''demographics2_title5''' || optional || Titles related to '''demographics_type2'''. For example: English, French, Arabic...
|- valign=top
| '''demographics2_info1'''<br>to<br>'''demographics2_info5''' || optional || Information related to the "titles" for type2. For example: 50%, 25%, 10%...
|- valign=top
! colspan=3 style="background: orange;" |
===Other information===
|- style="background: whitesmoke;"
! Parameter name !! Usage !! Description
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Time zone(s)
|- valign=top
| '''timezone1''' || optional ||
|- valign=top
| '''utc_offset1''' || optional ||
|- valign=top
| '''timezone1_DST''' || optional ||
|- valign=top
| '''utc_offset1_DST''' || optional ||
|- valign=top
| '''timezone2''' || optional || A second timezone field for larger areas such as a Province.
|- valign=top
| '''utc_offset2''' || optional ||
|- valign=top
| '''timezone2_DST''' || optional ||
|- valign=top
| '''utc_offset2_DST''' || optional ||
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Postal code(s) & area code
|- valign=top
| '''postal_code_type''' || optional ||
|- valign=top
| '''postal_code''' || optional ||
|- valign=top
| '''postal2_code_type''' || optional ||
|- valign=top
| '''postal2_code''' || optional ||
|- valign=top
| '''area_code_type''' || optional || If left blank/not used template will default to "[[Telephone numbering plan|Area code(s)]]"
|- valign=top
| '''area_code''' || optional ||
|- valign=top
| '''geocode''' || optional || See [[Geocode]]
|- valign=top
| '''iso_code''' || optional || See [[ISO 3166]]
|- valign=top
| '''registration_plate''' || optional || See [[Vehicle registration plate]]
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Twin cities
|- valign=top
| '''twin1'''<br>to<br>'''twin9''' || optional || Name of a twin city
|- valign=top
| '''twin1_country'''<br>to<br>'''twin9_country''' || optional || Country of the twin city
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Blank fields (section 1)
|- valign=top
| '''blank_name_sec1''' || optional || Fields used to display other information. The name is displayed in bold on the left side of the infobox.
|- valign=top
| '''blank_info_sec1''' || optional || The information associated with the ''blank_name'' heading. The info is displayed on right side of infobox, in the same row as the name. For an example, see: [[Warsaw]]
|- valign=top
| '''blank1_name_sec1'''<br>to<br>'''blank7_name_sec1''' || optional || Up to 7 additional fields (8 total) can be displayed in this section
|- valign=top
| '''blank1_info_sec1'''<br>to<br>'''blank7_info_sec1''' || optional ||
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Blank fields (section 2)
|- valign=top
| '''blank_name_sec2''' || optional || For a second section of blank fields
|- valign=top
| '''blank_info_sec2''' || optional || Example: Beijing
|- valign=top
| '''blank1_name_sec2'''<br>to<br>'''blank7_name_sec2''' || optional || Up to 7 additional fields (8 total) can be displayed in this section
|- valign=top
| '''blank1_info_sec2'''<br>to<br>'''blank7_info_sec2''' || optional ||
|- valign=top
! colspan=3 style="background: #DDDDDD;" | Website, footnotes
|- valign=top
| '''website''' || optional || External link to official website, Use {{Tl|URL}}, thus: <nowiki>{{URL|example.com}}</nowiki>
|- valign=top
| '''footnotes''' || optional || Text to be displayed at the bottom of the infobox
|}
<!-- End of parameter name/description table -->
== Example 1 ==
<!--NOTE: This differs from the actual Chicago infobox in order to provide examples.-->
{{Infobox settlement
| name = Chicago
| settlement_type = [[City (Illinois)|City]]
| image_skyline = Chicago montage.jpg
| imagesize = 275px <!--default is 250px-->
| image_caption = Clockwise from top: [[Downtown Chicago]], the [[Chicago Theatre]], the [[Chicago 'L']], [[Navy Pier]], [[Millennium Park]], the [[Field Museum]], and the [[Willis Tower|Willis (formerly Sears) Tower]]
| image_flag = Municipal Flag of Chicago.svg
| image_seal = Chicago city seal.png
| nickname = [[Origin of the name "Windy City"|The Windy City]], The Second City, Chi-Town, Chi-City, Hog Butcher for the World, City of the Big Shoulders, The City That Works, and others found at [[List of nicknames for Chicago]]
| motto = {{lang-la|Urbs in Horto}} (''City in a Garden''), Make Big Plans (Make No Small Plans), I Will
| image_map = US-IL-Chicago.png
| map_caption = Location in the [[Chicago metropolitan area]] and Illinois
| pushpin_map = USA
| pushpin_map_caption = Location in the United States
| latd = 41 | latm = 50 | lats = 15 | latNS = N
| longd = 087 | longm = 40 | longs = 55 | longEW = W
| coordinates_region = <!-- US-IL (not required, determined by infobox) -->
| coordinates_display = <!-- yes (any value to also display in title area) -->
| coordinates_footnotes = <ref name="USCB Gazetteer 2010"/>
| subdivision_type = Country
| subdivision_name = United States
| subdivision_type1 = State
| subdivision_name1 = [[Illinois]]
| subdivision_type2 = [[List of counties in Illinois|Counties]]
| subdivision_name2 = [[Cook County, Illinois|Cook]], [[DuPage County, Illinois|DuPage]]
| established_title = Settled
| established_date = 1770s
| established_title2 = [[Municipal corporation|Incorporated]]
| established_date2 = March 4, 1837
| founder =
| named_for = {{lang-mia|shikaakwa}}<br /> ("Wild onion")
| government_type = [[Mayor–council government|Mayor–council]]
| leader_title = [[Mayor of Chicago|Mayor]]
| leader_name = [[Rahm Emanuel]] ([[Democratic Party (United States)|D]])
| leader_title1 = [[City council|Council]]
| leader_name1 = [[Chicago City Council]]
| unit_pref = Imperial
| area_footnotes = <ref name="USCB Gazetteer 2010">{{cite web | url = http://www.census.gov/geo/www/gazetteer/files/Gaz_places_national.txt | title = 2010 United States Census Gazetteer for Places: January 1, 2010 | format = text | work = 2010 United States Census | publisher = [[United States Census Bureau]] | date = April 2010 | accessdate = August 1, 2012}}</ref>
| area_magnitude = 1 E+8
| area_total_sq_mi = 234.114
| area_land_sq_mi = 227.635
| area_water_sq_mi = 6.479
| area_water_percent = 3
| area_urban_sq_mi = 2123
| area_metro_sq_mi = 10874
| elevation_footnotes = <ref name="GNIS"/>
| elevation_ft = 594
| elevation_m = 181
| population_footnotes = <ref name="USCB PopEstCities 2011">{{cite web | url = http://www.census.gov/popest/data/cities/totals/2011/tables/SUB-EST2011-01.csv | title = Annual Estimates of the Resident Population for Incorporated Places Over 50,000, Ranked by July 1, 2011 Population | format = [[comma-separated values|CSV]] | work = 2011 Population Estimates | publisher = [[United States Census Bureau]], Population Division | date = June 2012 | accessdate = August 1, 2012}}</ref><ref name="USCB Metro 2010">{{cite web | url=http://www.census.gov/prod/cen2010/briefs/c2010br-01.pdf | title = Population Change for the Ten Most Populous and Fastest Growing Metropolitan Statiscal Areas: 2000 to 2010 | date = March 2011 | publisher = [[U.S. Census Bureau]] | page = 6 |accessdate = April 12, 2011}}</ref>
| population_as_of = [[2010 United States Census|2010]]
| population_total = 2,695,598
| pop_est_as_of = 2011
| population_est = 2,707,120
| population_rank = [[List of United States cities by population|3rd US]]
| population_density_sq_mi = 11,892.4<!-- 2011 population_est / area_land_sq_mi -->
| population_urban = 8711000
| population_density_urban_sq_mi = auto
| population_metro = 9461105
| population_density_metro_sq_mi = auto
| population_demonym = Chicagoan
| timezone = [[Central Standard Time|CST]]
| utc_offset = −06:00
| timezone_DST = [[Central Daylight Time|CDT]]
| utc_offset_DST = −05:00
| area_code_type = [[North American Numbering Plan|Area codes]]
| area_code = [[Area code 312|312]], [[Area code 773|773]], [[Area code 872|872]]
| blank_name = [[Federal Information Processing Standard|FIPS]] code
| blank_info = {{FIPS|17|14000}}
| blank1_name = [[Geographic Names Information System|GNIS]] feature ID
| blank1_info = {{GNIS4|423587}}, {{GNIS4|428803}}
| website = {{URL|www.cityofchicago.org}}
| footnotes = <ref name="GNIS">{{Cite GNIS|428803|City of Chicago|April 12, 2011}}</ref>
}}
<pre style="overflow:auto; white-space: pre-wrap;">
<!--NOTE: This differs from the actual Chicago infobox in order to provide examples.-->
{{Infobox settlement
| name = Chicago
| settlement_type = [[City]]
| image_skyline = Chicago montage.jpg
| imagesize = 275px <!--default is 250px-->
| image_caption = Clockwise from top: [[Downtown Chicago]], the [[Chicago Theatre]], the [[Chicago 'L']], [[Navy Pier]], [[Millennium Park]], the [[Field Museum]], and the [[Willis Tower|Willis (formerly Sears) Tower]]
| image_flag = Municipal Flag of Chicago.svg
| image_seal = Chicago city seal.png
| nickname = [[Origin of the name "Windy City"|The Windy City]], The Second City, Chi-Town, Chi-City, Hog Butcher for the World, City of the Big Shoulders, The City That Works, and others found at [[List of nicknames for Chicago]]
| motto = {{lang-la|Urbs in Horto}} (''City in a Garden''), Make Big Plans (Make No Small Plans), I Will
| image_map = US-IL-Chicago.png
| map_caption = Location in the [[Chicago metropolitan area]] and Illinois
| pushpin_map = USA
| pushpin_map_caption = Location in the United States
| latd = 41 | latm = 50 | lats = 15 | latNS = N
| longd = 087 | longm = 40 | longs = 55 | longEW = W
| coordinates_region = <!-- US-IL (not required, determined by infobox) -->
| coordinates_display = <!-- yes (any value to also display in title area) -->
| coordinates_footnotes = <ref name="USCB Gazetteer 2010"/>
| subdivision_type = Country
| subdivision_name = United States
| subdivision_type1 = State
| subdivision_name1 = [[Illinois]]
| subdivision_type2 = [[List of counties in Illinois|Counties]]
| subdivision_name2 = [[Cook County, Illinois|Cook]], [[DuPage County, Illinois|DuPage]]
| established_title = Settled
| established_date = 1770s
| established_title2 = [[Municipal corporation|Incorporated]]
| established_date2 = March 4, 1837
| founder =
| named_for = {{lang-mia|shikaakwa}}<br /> ("Wild onion")
| government_type = [[Mayor–council government|Mayor–council]]
| leader_title = [[Mayor of Chicago|Mayor]]
| leader_name = [[Rahm Emanuel]] ([[Democratic Party (United States)|D]])
| leader_title1 = [[City council|Council]]
| leader_name1 = [[Chicago City Council]]
| unit_pref = Imperial
| area_footnotes = <ref name="USCB Gazetteer 2010">{{cite web | url = http://www.census.gov/geo/www/gazetteer/files/Gaz_places_national.txt | title = 2010 United States Census Gazetteer for Places: January 1, 2010 | format = text | work = 2010 United States Census | publisher = [[United States Census Bureau]] | date = April 2010 | accessdate = August 1, 2012}}</ref>
| area_magnitude = 1 E+8
| area_total_sq_mi = 234.114
| area_land_sq_mi = 227.635
| area_water_sq_mi = 6.479
| area_water_percent = 3
| area_urban_sq_mi = 2123
| area_metro_sq_mi = 10874
| elevation_footnotes = <ref name="GNIS"/>
| elevation_ft = 594
| elevation_m = 181
| population_footnotes = <ref name="USCB PopEstCities 2011">{{cite web | url = http://www.census.gov/popest/data/cities/totals/2011/tables/SUB-EST2011-01.csv | title = Annual Estimates of the Resident Population for Incorporated Places Over 50,000, Ranked by July 1, 2011 Population | format = [[comma-separated values|CSV]] | work = 2011 Population Estimates | publisher = [[United States Census Bureau]], Population Division | date = June 2012 | accessdate = August 1, 2012}}</ref><ref name="USCB Metro 2010">{{cite web | url=http://www.census.gov/prod/cen2010/briefs/c2010br-01.pdf | title = Population Change for the Ten Most Populous and Fastest Growing Metropolitan Statiscal Areas: 2000 to 2010 | date = March 2011 | publisher = [[U.S. Census Bureau]] | page = 6 |accessdate = April 12, 2011}}</ref>
| population_as_of = [[2010 United States Census|2010]]
| population_total = 2,695,598
| pop_est_as_of = 2011
| population_est = 2,707,120
| population_rank = [[List of United States cities by population|3rd US]]
| population_density_sq_mi = 11,892.4<!-- 2011 population_est / area_land_sq_mi -->
| population_urban = 8711000
| population_density_urban_sq_mi = auto
| population_metro = 9461105
| population_density_metro_sq_mi = auto
| population_demonym = Chicagoan
| timezone = [[Central Standard Time|CST]]
| utc_offset = −06:00
| timezone_DST = [[Central Daylight Time|CDT]]
| utc_offset_DST = −05:00
| area_code_type = [[North American Numbering Plan|Area codes]]
| area_code = [[Area code 312|312]], [[Area code 773|773]], [[Area code 872|872]]
| blank_name = [[Federal Information Processing Standard|FIPS]] code
| blank_info = {{FIPS|17|14000}}
| blank1_name = [[Geographic Names Information System|GNIS]] feature ID
| blank1_info = {{GNIS4|423587}}, {{GNIS4|428803}}
| website = {{URL|www.cityofchicago.org}}
| footnotes = <ref name="GNIS">{{Cite GNIS|428803|City of Chicago|April 12, 2011}}</ref>
}}
</pre>
;References
{{reflist|close=1}}
{{clear}}
== Example 2 ==
{{Infobox settlement
| name = Detroit
| settlement_type = [[City (Michigan)|City]]
| official_name = City of Detroit
| image_skyline = Detroit Montage.jpg
| imagesize = 290px
| image_caption = Images from top to bottom, left to right: [[Downtown Detroit]] skyline, [[Spirit of Detroit]], [[Greektown Historic District|Greektown]], [[Ambassador Bridge]], [[Michigan Soldiers' and Sailors' Monument]], [[Fox Theatre (Detroit)|Fox Theatre]], and [[Comerica Park]].
| image_flag = Flag of Detroit, Michigan.svg
| image_seal = The Official City Seal of the City of Detroit, Michigan.svg
| nickname = The Motor City, Motown, Renaissance City, The D, Hockeytown, The Automotive Capital of the World, Rock City, The 313
| motto = ''Speramus Meliora; Resurget Cineribus''<br /><small>([[Latin]]: We Hope For Better Things; It Shall Rise From the Ashes)</small>
| image_map = Wayne County Michigan Incorporated and Unincorporated areas Detroit highlighted.svg
| mapsize = 250x200px
| map_caption = Location within [[Wayne County, Michigan]] and the state of [[Michigan]]
| pushpin_map = USA
| pushpin_map_caption = Location within the [[Contiguous United States|contiguous United States of America]]
| latd = 42 | latm = 19 | lats = 53 | latNS = N
| longd = 083 | longm = 02 | longs = 45 | longEW = W
| coordinates_region = US-MI
| coordinates_display = <!-- yes (any value to also display in title area) -->
| coordinates_footnotes =
| subdivision_type = Country
| subdivision_name = {{flagu|United States of America}}
| subdivision_type1 = State
| subdivision_name1 = {{flag|Michigan}}
| subdivision_type2 = [[List of counties in Michigan|County]]
| subdivision_name2 = {{flagicon image|Wayne.png}} [[Wayne County, Michigan|Wayne]]
| established_title = Founded
| established_date = 1701
| established_title2 = Incorporated
| established_date2 = 1806
| government_footnotes = <!-- for references: use<ref> tags -->
| government_type = [[Mayor-council government|Mayor-Council]]
| leader_title = [[List of mayors of Detroit, Michigan|Mayor]]
| leader_name = [[Dave Bing]]
| leader_party = [[Democratic Party (United States)|D]]
| leader_title1 = [[Detroit City Council|City Council]]
| leader_name1 = {{collapsible list|bullets=yes
| title = Members
| 1 = [[Charles Pugh]] – Council President
| 2 = [[Gary Brown (Detroit politician)|Gary Brown]] – Council President Pro-Tem
| 3 = [[JoAnn Watson]]
| 4 = [[Kenneth Cockrel, Jr.]]
| 5 = [[Saunteel Jenkins]]
| 6 = [[Andre Spivey]]
| 7 = [[James Tate (Detroit politician)|James Tate]]
| 8 = [[Brenda Jones (Detroit politician)|Brenda Jones]]
| 9 = [[Kwame Kenyatta]]
}}
| unit_pref = Imperial
| area_footnotes =
| area_magnitude =
| area_total_sq_mi = 142.87
| area_total_km2 = 370.03
| area_land_sq_mi = 138.75
| area_land_km2 = 359.36
| area_water_sq_mi = 4.12
| area_water_km2 = 10.67
| area_urban_sq_mi = 1295
| area_metro_sq_mi = 3913
| elevation_footnotes =
| elevation_ft = 600
| population_footnotes =
| population_as_of = 2011
| population_total = 706,585
| population_rank = [[List of United States cities by population|18th in U.S.]]
| population_urban = 3,863,924
| population_metro = 4,285,832 (US: [[List of United States metropolitan statistical areas|13th]])
| population_blank1_title = [[Combined statistical area|CSA]]
| population_blank1 = 5,207,434 (US: [[List of United States combined statistical areas|11th]])
| population_density_sq_mi= {{#expr:713777/138.8 round 0}}
| population_demonym = Detroiter
| population_note =
| timezone = [[Eastern Time Zone (North America)|EST]]
| utc_offset = −5
| timezone_DST = [[Eastern Daylight Time|EDT]]
| utc_offset_DST = −4
| postal_code_type =
| postal_code =
| area_code = [[Area code 313|313]]
| blank_name = [[Federal Information Processing Standard|FIPS code]]
| blank_info = {{FIPS|26|22000}}
| blank1_name = [[Geographic Names Information System|GNIS]] feature ID
| blank1_info = {{GNIS4|1617959}}, {{GNIS4|1626181}}
| blank2_name = Major airport
| blank2_info = [[Detroit Metropolitan Wayne County Airport]] (DTW)
| website = [http://www.detroitmi.gov/ DetroitMI.gov]
| footnotes =
}}
<pre style="overflow:auto; white-space: pre-wrap;">
{{Infobox settlement
| name = Detroit
| settlement_type = [[City (Michigan)|City]]
| official_name = City of Detroit
| image_skyline = Detroit Montage.jpg
| imagesize = 290px
| image_caption = Images from top to bottom, left to right: [[Downtown Detroit]] skyline, [[Spirit of Detroit]], [[Greektown Historic District|Greektown]], [[Ambassador Bridge]], [[Michigan Soldiers' and Sailors' Monument]], [[Fox Theatre (Detroit)|Fox Theatre]], and [[Comerica Park]].
| image_flag = Flag of Detroit, Michigan.svg
| image_seal = The Official City Seal of the City of Detroit, Michigan.svg
| nickname = The Motor City, Motown, Renaissance City, The D, Hockeytown, The Automotive Capital of the World, Rock City, The 313
| motto = ''Speramus Meliora; Resurget Cineribus''<br /><small>([[Latin]]: We Hope For Better Things; It Shall Rise From the Ashes)</small>
| image_map = Wayne County Michigan Incorporated and Unincorporated areas Detroit highlighted.svg
| mapsize = 250x200px
| map_caption = Location within [[Wayne County, Michigan]] and the state of [[Michigan]]
| pushpin_map = USA
| pushpin_map_caption = Location within the [[Contiguous United States|contiguous United States of America]]
| latd = 42 | latm = 19 | lats = 53 | latNS = N
| longd = 083 | longm = 02 | longs = 45 | longEW = W
| coordinates_region = US-MI
| coordinates_display = <!-- yes (any value to also display in title area) -->
| coordinates_footnotes =
| subdivision_type = Country
| subdivision_name = {{flagu|United States of America}}
| subdivision_type1 = State
| subdivision_name1 = {{flag|Michigan}}
| subdivision_type2 = [[List of counties in Michigan|County]]
| subdivision_name2 = {{flagicon image|Wayne.png}} [[Wayne County, Michigan|Wayne]]
| established_title = Founded
| established_date = 1701
| established_title2 = Incorporated
| established_date2 = 1806
| government_footnotes = <!-- for references: use<ref> tags -->
| government_type = [[Mayor-council government|Mayor-Council]]
| leader_title = [[List of mayors of Detroit, Michigan|Mayor]]
| leader_name = [[Dave Bing]]
| leader_party = [[Democratic Party (United States)|D]]
| leader_title1 = [[Detroit City Council|City Council]]
| leader_name1 = {{collapsible list|bullets=yes
| title = Members
| 1 = [[Charles Pugh]] – Council President
| 2 = [[Gary Brown (Detroit politician)|Gary Brown]] – Council President Pro-Tem
| 3 = [[JoAnn Watson]]
| 4 = [[Kenneth Cockrel, Jr.]]
| 5 = [[Saunteel Jenkins]]
| 6 = [[Andre Spivey]]
| 7 = [[James Tate (Detroit politician)|James Tate]]
| 8 = [[Brenda Jones (Detroit politician)|Brenda Jones]]
| 9 = [[Kwame Kenyatta]]
}}
| unit_pref = Imperial
| area_footnotes =
| area_magnitude =
| area_total_sq_mi = 142.87
| area_total_km2 = 370.03
| area_land_sq_mi = 138.75
| area_land_km2 = 359.36
| area_water_sq_mi = 4.12
| area_water_km2 = 10.67
| area_urban_sq_mi = 1295
| area_metro_sq_mi = 3913
| elevation_footnotes =
| elevation_ft = 600
| population_footnotes =
| population_as_of = 2011
| population_total = 706,585
| population_rank = [[List of United States cities by population|18th in U.S.]]
| population_urban = 3,863,924
| population_metro = 4,285,832 (US: [[List of United States metropolitan statistical areas|13th]])
| population_blank1_title = [[Combined statistical area|CSA]]
| population_blank1 = 5,207,434 (US: [[List of United States combined statistical areas|11th]])
| population_density_sq_mi= {{#expr:713777/138.8 round 0}}
| population_demonym = Detroiter
| population_note =
| timezone = [[Eastern Time Zone (North America)|EST]]
| utc_offset = −5
| timezone_DST = [[Eastern Daylight Time|EDT]]
| utc_offset_DST = −4
| postal_code_type =
| postal_code =
| area_code = [[Area code 313|313]]
| blank_name = [[Federal Information Processing Standard|FIPS code]]
| blank_info = {{FIPS|26|22000}}
| blank1_name = [[Geographic Names Information System|GNIS]] feature ID
| blank1_info = {{GNIS4|1617959}}, {{GNIS4|1626181}}
| blank2_name = Major airport
| blank2_info = [[Detroit Metropolitan Wayne County Airport]] (DTW)
| website = [http://www.detroitmi.gov/ DetroitMI.gov]
| footnotes =
}}
</pre>
{{clear}}
== Redirects and calls ==
At least {{PAGESINCATEGORY:Templates calling Infobox settlement}} other [[:Category:Templates calling Infobox settlement|templates call this one]] and [{{fullurl:Special:WhatLinksHere/Template:Infobox_settlement|namespace=10&hidetrans=1&hidelinks=1}} many templates redirect here].
==Supporting templates==
The following is a list of sub-templates used by Infobox settlement. See the [{{fullurl:Special:PrefixIndex|prefix=Infobox+settlement%2F&namespace=10&hideredirects=1}} current list of all sub-templates] for documentation, sandboxes, testcases, etc.
# {{tl|Infobox settlement/areadisp}}
# {{tl|Infobox settlement/densdisp}}
# {{tl|Infobox settlement/dunam}}
# {{tl|Infobox settlement/dunam/mag}}
# {{tl|Infobox settlement/impus}}
# {{tl|Infobox settlement/impus/mag}}
# {{tl|Infobox settlement/lengthdisp}}
# {{tl|Infobox settlement/link}}
# {{tl|Infobox settlement/metric}}
# {{tl|Infobox settlement/metric/mag}}
# {{tl|Infobox settlement/pref}}
==Microformat==
{{UF-hcard-geo}}
==TemplateData==
{{TemplateDataHeader}}
<templatedata>
{
"description": "an Infobox for human settlements (cities, towns, villages, communities) as well as other administrative districts, counties, provinces, etcetera",
"params": {
"name": {
"label": "name",
"description": "This is the usual name in English. If it's not specified, the infobox will use the 'official_name' as a title unless this too is missing, in which case the page name will be used.",
"type": "string",
"required": false
},
"official_name": {
"label": "official_name",
"description": "The official name in English if different from 'name'",
"type": "string",
"required": false
},
"native_name": {
"label": "native_name",
"description": "This will display under the name/official name",
"type": "string",
"required": false
},
"native_name_lang": {
"label": "native_name_lang",
"description": "Use ISO 639-2 code, e.g. 'fr' for French. If there is more than one native name, in different languages, enter those names using {{lang}}, instead.",
"type": "string",
"required": false
},
"other_name": {
"label": "other_name",
"description": "For places with a former or more common name like Bombay or Saigon",
"type": "string",
"required": false
},
"settlement_type": {
"label": "settlement_type",
"description": "Any type can be entered, such as City, Town, Village, Hamlet, Municipality, Reservation, etc. If set, will be displayed under the names, provided that either 'name' or 'official_name' is filled in. Might also be used as a label for total population/area (defaulting to ''City''), if needed to distinguish from ''Urban'', ''Rural'' or ''Metro'' (if urban, rural or metro figures are not present, the label is ''Total'' unless 'total_type' is set).",
"type": "string",
"required": false
},
"translit_lang1": {
"label": "translit_lang1",
"description": "Will place the entry before the word 'transliteration(s)'. Can be used to specify a particular language like in Dêlêg or one may just enter 'Other', like in Gaza's article.",
"type": "string",
"required": false
},
"translit_lang1_type": {
"label": "translit_lang1_type",
"description": "Parameters translit_lang2_type1, ... translit_lang2_type6 are also available but not documented here",
"type": "string",
"required": false
},
"translit_lang1_info": {
"label": "translit_lang1_info",
"description": "Parameters translit_lang2_info1, ... translit_lang2_info6 are also available but not documented here",
"type": "string",
"required": false
},
"translit_lang2": {
"label": "translit_lang2",
"description": "Will place a second transliteration. See Dêlêg",
"type": "string",
"required": false
},
"image_skyline": {
"label": "image_skyline",
"description": "Despite the name it can be any image that an editor wishes.",
"type": "string",
"required": false
},
"imagesize": {
"label": "imagesize",
"description": "Can be used to tweak the size of the image_skyline up or down. This can be helpful if an editor want to make the infobox wider. If used, 'px' must be specified; default size is 250px.",
"type": "string",
"required": false
},
"image_alt": {
"label": "image_alt",
"description": "Alt text for the image, used by visually impaired readers who cannot see the image.",
"type": "string",
"required": false
},
"image_caption": {
"label": "image_caption",
"description": "Will place a caption under the image_skyline (if present)",
"type": "string",
"required": false
},
"image_flag": {
"label": "image_flag",
"description": "Used for a flag.",
"type": "string",
"required": false
},
"flag_size": {
"label": "flag_size",
"description": "Can be used to tweak the size of the image_flag up or down from 100px as desired. If used, 'px' must be specified; default size is 100px.",
"type": "string",
"required": false
},
"flag_alt": {
"label": "flag_alt",
"description": "Alt text for the flag.",
"type": "string",
"required": false
},
"flag_link": {
"label": "flag_link",
"description": "",
"type": "string",
"required": false
},
"image_seal": {
"label": "image_seal",
"description": "If the place has an official seal.",
"type": "string",
"required": false
},
"seal_size": {
"label": "seal_size",
"description": "If used, 'px' must be specified; default size is 100px.",
"type": "string",
"required": false
},
"seal_alt": {
"label": "seal_alt",
"description": "Alt text for the seal.",
"type": "string",
"required": false
},
"seal_link": {
"label": "seal_link",
"description": "",
"type": "string",
"required": false
},
"image_shield": {
"label": "image_shield",
"description": "Can be used for a place with a coat of arms.",
"type": "string",
"required": false
},
"shield_size": {
"label": "shield_size",
"description": "If used, 'px' must be specified; default size is 100px.",
"type": "string",
"required": false
},
"shield_alt": {
"label": "shield_alt",
"description": "Alt text for the shield.",
"type": "string",
"required": false
},
"shield_link": {
"label": "shield_link",
"description": "Can be used if a wiki article if known but is not automatically linked by the template. See Coquitlam, British Columbia's infobox for an example.",
"type": "string",
"required": false
},
"image_blank_emblem": {
"label": "image_blank_emblem",
"description": "Can be used if a place has an official logo, crest, emblem, etc. Logo is the default type. See Kingston upon Hull's infobox for an example.",
"type": "string",
"required": false
},
"blank_emblem_type": {
"label": "blank_emblem_type",
"description": "To specify what type of emblem 'image_blank_emblem' is. The default is Logo.",
"type": "string",
"required": false
},
"blank_emblem_size": {
"label": "blank_emblem_size",
"description": "If used, 'px' must be specified; default size is 100px.",
"type": "string",
"required": false
},
"blank_emblem_alt": {
"label": "blank_emblem_alt",
"description": "Alt text for blank emblem.",
"type": "string",
"required": false
},
"blank_emblem_link": {
"label": "blank_emblem_link",
"type": "string",
"required": false
},
"nickname": {
"label": "nickname",
"description": "well-known nickname(s)",
"type": "string",
"required": false
},
"motto": {
"label": "motto",
"description": "Will place the motto under the nicknames",
"type": "string",
"required": false
},
"anthem": {
"label": "anthem",
"description": "Will place the anthem (song) under the nicknames",
"type": "string",
"required": false
},
"image_map": {
"label": "image_map",
"description": "",
"type": "string",
"required": false
},
"mapsize": {
"label": "mapsize",
"description": "If used, 'px' must be specified; default is 250px.",
"type": "string",
"required": false
},
"map_alt": {
"label": "map_alt",
"description": "Alt text for map.",
"type": "string",
"required": false
},
"map_caption": {
"label": "map_caption",
"type": "string",
"required": false
},
"image_map1": {
"label": "image_map1",
"description": "A secondary map image. The field 'image_map' must be filled in first. Example see: Bloomsburg, Pennsylvania.",
"type": "string",
"required": false
},
"mapsize1": {
"label": "mapsize1",
"description": "If used, 'px' must be specified; default is 250px.",
"type": "string",
"required": false
},
"map_alt1": {
"label": "map_alt1",
"description": "Alt text for secondary map.",
"type": "string",
"required": false
},
"map_caption1": {
"label": "map_caption1",
"description": "",
"type": "string",
"required": false
},
"image_dot_map": {
"label": "image_dot_map",
"description": "A field for 'manually' superimposing a dot over a blank map using an X-Y system. Blank maps, if available, can be found over at [http://commons.wikimedia.org/wiki/Main_Page Wikimedia Commons]. Example see: Rainbow Lake, Alberta",
"type": "string",
"required": false
},
"dot_mapsize": {
"label": "dot_mapsize",
"description": "To change the dot map size; default is 180px ('px' is optional).",
"type": "string",
"required": false
},
"dot_map_base_alt": {
"label": "dot_map_base_alt",
"description": "",
"type": "string",
"required": false
},
"dot_map_alt": {
"label": "dot_map_alt",
"description": "Alt text for the dot map.",
"type": "string",
"required": false
},
"dot_map_caption": {
"label": "dot_map_caption",
"description": "For placing a caption under the dot map.",
"type": "string",
"required": false
},
"dot_x": {
"label": "dot_x",
"description": "For manually superimposing the dot left/right on the map.",
"type": "string",
"required": false
},
"dot_y": {
"label": "dot_y",
"description": "For manually superimposing the dot up/down on the map.",
"type": "string",
"required": false
},
"pushpin_map": {
"label": "pushpin_map",
"description": "The name of a location map (e.g. 'Indonesia' or 'Russia'). The coordinate fields (e.g. 'latd' and 'longd') position a pushpin coordinate marker and label on the map 'automatically'. Example see: Padang, Indonesia",
"type": "string",
"required": false
},
"pushpin_label_position": {
"label": "pushpin_label_position",
"description": "The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is ''right''.",
"type": "string",
"required": false
},
"pushpin_map_alt": {
"label": "pushpin_map_alt",
"description": "Alt text for pushpin map.",
"type": "string",
"required": false
},
"pushpin_mapsize": {
"label": "pushpin_mapsize",
"description": "Must be entered as only a number - do not use px. The default value is 250.",
"type": "number",
"required": false
},
"pushpin_map_caption": {
"label": "pushpin_map_caption",
"description": "Fill out if a different caption from ''map_caption'' is desired.",
"type": "string",
"required": false
},
"pushpin_relief": {
"label": "pushpin_relief",
"description": "Set this to 'y' or any non-blank value to use an alternative relief map provided by the selected location map (if a relief map is available).",
"type": "string",
"required": false
},
"pushpin_map1": {
"label": "pushpin_map1",
"description": "Set of parameters for second pushpin map",
"type": "string",
"required": false
},
"pushpin_label_position1": {
"label": "pushpin_label_position1",
"description": "",
"type": "string",
"required": false
},
"pushpin_map_alt1": {
"label": "pushpin_map_alt1",
"description": "",
"type": "string",
"required": false
},
"pushpin_mapsize1": {
"label": "pushpin_mapsize1",
"description": "Must be entered as only a number - do not use px.",
"type": "number",
"required": false
},
"pushpin_map_caption1": {
"label": "pushpin_map_caption1",
"description": "",
"type": "string",
"required": false
},
"pushpin_relief1": {
"label": "pushpin_relief1",
"description": "",
"type": "string",
"required": false
},
"latd": {
"label": "latd",
"description": "Latitude degrees. Can also be used for decimal degrees.",
"type": "string",
"required": false
},
"latm": {
"label": "latm",
"description": "Latitude minutes. Omit or leave blank if 'latd' has a decimal value.",
"type": "string",
"required": false
},
"lats": {
"label": "lats",
"description": "Latitude seconds. Omit or leave blank if 'latd' has a decimal value.",
"type": "string",
"required": false
},
"latNS": {
"label": "latNS",
"description": "Latitude North or South (enter 'N' or 'S'). Omit or leave blank if 'latd' has a decimal value.",
"type": "string",
"required": false
},
"longd": {
"label": "longd",
"description": "Longitude degrees. Can also be used for decimal degrees.",
"type": "string",
"required": false
},
"longm": {
"label": "longm",
"description": "Longitude minutes. Omit or leave blank if 'longd' has a decimal value.",
"type": "string",
"required": false
},
"longs": {
"label": "longs",
"description": "Longitude seconds. Omit or leave blank if 'longd' has a decimal value.",
"type": "string",
"required": false
},
"longEW": {
"label": "longEW",
"description": "Longitude East or West (enter 'E' or 'W'). Omit or leave blank if 'longd' has a decimal value.",
"type": "string",
"required": false
},
"coor_pinpoint": {
"label": "coor_pinpoint",
"description": "If needed, to specify more exactly where (or what) coordinates are given (e.g. 'Town Hall') or a specific place in a larger area (e.g. a city in a county). Example: Masovian Voivodeship",
"type": "string",
"required": false
},
"coordinates_type": {
"label": "coordinates_type",
"description": "Can be used to override the default coordinate parameters for the coordinates. May include 'type:', 'scale:', 'dim:', 'region:', and/or 'source:', joined by underscores '_'.",
"type": "string",
"required": false
},
"coordinates_display": {
"label": "coordinates_display",
"description": "If the parameter is omitted, blank, or equal to 'inline', the coordinates will be displayed in the infobox only. Any value other than 'inline' will have the coordinates displayed in the article's title as well. Infobox settlement uses {{Geobox coor}} to call {{Coord}} with the parameter 'display=inline,title'.",
"type": "string",
"required": false
},
"coordinates_format": {
"label": "coordinates_format",
"description": "If the parameter is omitted or blank, the coordinates format will match the format in which the coordinates are specified. Set to 'dms' to force degrees/minutes/seconds or 'dec' to force decimal.",
"type": "string",
"required": false
},
"coordinates_footnotes": {
"label": "coordinates_footnotes",
"description": "Reference(s) for coordinates, placed within <ref> </ref> tags, possibly using the citing format at {{Cite web}}",
"type": "string",
"required": false
},
"subdivision_type": {
"label": "subdivision_type",
"description": "almost always 'Country'",
"type": "string",
"required": false
},
"subdivision_name": {
"label": "subdivision_name",
"description": "Depends on the subdivision_type - use the name in text form, sample: 'United States' or 'United States', flag icons or flag templates can be used in this field.",
"type": "string",
"required": false
},
"subdivision_type1": {
"label": "subdivision_type1",
"description": "Additional subdivisions Can be State/Province, region, county.",
"type": "string",
"required": false
},
"subdivision_type2": {
"label": "subdivision_type2",
"description": "Additional subdivisions Can be State/Province, region, county.",
"type": "string",
"required": false
},
"subdivision_type3": {
"label": "subdivision_type3",
"description": "Additional subdivisions Can be State/Province, region, county.",
"type": "string",
"required": false
},
"subdivision_type4": {
"label": "subdivision_type4",
"description": "Additional subdivisions Can be State/Province, region, county.",
"type": "string",
"required": false
},
"subdivision_type5": {
"label": "subdivision_type5",
"description": "Additional subdivisions Can be State/Province, region, county.",
"type": "string",
"required": false
},
"subdivision_type6": {
"label": "subdivision_type6",
"description": "Additional subdivisions Can be State/Province, region, county.",
"type": "string",
"required": false
},
"subdivision_name1": {
"label": "subdivision_name1",
"description": "Use the name in text form, sample: 'Florida' or '[[Florida]]'. Flag icons or flag templates can be used in this field per WP:MOSFLAG.",
"type": "string",
"required": false
},
"subdivision_name2": {
"label": "subdivision_name2",
"description": "Use the name in text form, sample: 'Florida' or '[[Florida]]'. Flag icons or flag templates can be used in this field per WP:MOSFLAG..",
"type": "string",
"required": false
},
"subdivision_name3": {
"label": "subdivision_name3",
"description": "Use the name in text form, sample: 'Florida' or '[[Florida]]'. Flag icons or flag templates can be used in this field per WP:MOSFLAG..",
"type": "string",
"required": false
},
"subdivision_name4": {
"label": "subdivision_name4",
"description": "Use the name in text form, sample: 'Florida' or '[[Florida]]'. Flag icons or flag templates can be used in this field per WP:MOSFLAG..",
"type": "string",
"required": false
},
"subdivision_name5": {
"label": "subdivision_name5",
"description": "Use the name in text form, sample: 'Florida' or '[[Florida]]'. Flag icons or flag templates can be used in this field per WP:MOSFLAG..",
"type": "string",
"required": false
},
"subdivision_name6": {
"label": "subdivision_name6",
"description": "Use the name in text form, sample: 'Florida' or '[[Florida]]'. Flag icons or flag templates can be used in this field per WP:MOSFLAG..",
"type": "string",
"required": false
},
"established_title": {
"label": "established_title",
"description": "Example: First settled",
"type": "string",
"required": false
},
"established_date": {
"label": "established_date",
"type": "string",
"required": false
},
"established_title1": {
"label": "established_title1",
"description": "Example: Incorporated (town)",
"type": "string",
"required": false
},
"established_date1": {
"label": "established_date1",
"type": "string",
"required": false
},
"established_title2": {
"label": "established_title2",
"description": "Example: Incorporated (city)",
"type": "string",
"required": false
},
"established_date2": {
"label": "established_date2",
"type": "string",
"required": false
},
"established_title3": {
"label": "established_title3",
"type": "string",
"required": false
},
"established_date3": {
"label": "established_date3",
"type": "string",
"required": false
},
"extinct_title": {
"label": "extinct_title",
"description": "For when a settlement ceases to exist",
"type": "string",
"required": false
},
"extinct_date": {
"label": "extinct_date",
"type": "string",
"required": false
},
"founder": {
"label": "founder",
"description": "Who the settlement was founded by",
"type": "string",
"required": false
},
"named_for": {
"label": "named_for",
"description": "The source of the name of the settlement (a person, a place, et cetera)",
"type": "string",
"required": false
},
"seat_type": {
"label": "seat_type",
"description": "The label for the seat of government (defaults to 'Seat').",
"type": "string",
"required": false
},
"seat": {
"label": "seat",
"description": "The seat of government.",
"type": "string",
"required": false
},
"parts_type": {
"label": "parts_type",
"description": "The label for the smaller subdivisions (defaults to 'Boroughs').",
"type": "string",
"required": false
},
"parts_style": {
"label": "parts_style",
"description": "Set to 'list' to display as a collapsible list, 'coll' as a collapsed list, or 'para' to use paragraph style. Default is 'list' for up to 5 items, otherwise 'coll'.",
"type": "string",
"required": false
},
"parts": {
"label": "parts",
"description": "Text or header of the list of smaller subdivisions.",
"type": "string",
"required": false
},
"p1": {
"label": "p1",
"description": "The smaller subdivisions to be listed. Parameters 'p1' to 'p50' can also be used.",
"type": "string",
"required": false
},
"government_footnotes": {
"label": "government_footnotes",
"description": "References for government, placed within <ref> </ref> tags, possibly using the citing format at {{Cite web}}",
"type": "string",
"required": false
},
"government_type": {
"label": "government_type",
"description": "Example: '[[Mayor-council government]]'",
"type": "string",
"required": false
},
"governing_body": {
"label": "governing_body",
"description": "Name of the place's governing body",
"type": "string",
"required": false
},
"leader_party": {
"label": "leader_party",
"description": "Political party of the place's leader",
"type": "string",
"required": false
},
"leader_title": {
"label": "leader_title",
"description": "First title of the place's leader, e.g. Mayor",
"type": "string",
"required": false
},
"leader_name": {
"label": "leader_name",
"description": "Name of the place's leader",
"type": "string",
"required": false
},
"leader_title1": {
"label": "leader_title1",
"description": "First title of the place's leader, e.g. Mayor",
"type": "string",
"required": false
},
"leader_name1": {
"label": "leader_name1",
"description": "Additional names for leaders. Parameters 'leader_name1' .. 'leader_name4' are available. For long lists use {{Collapsible list}}.",
"type": "string",
"required": false
},
"total_type": {
"label": "total_type",
"description": "Specifies what total area and population figure refer to, e.g. 'Greater London'. This overrides other labels for total population/area. To make the total area and population display on the same line as the words Area and Population, with no Total or similar label, set the value of this parameter to ' ;'.",
"type": "string",
"required": false
},
"unit_pref": {
"label": "unit_pref",
"description": "To change the unit order to 'imperial (metric)', enter 'imperial'. The default display style is 'metric (imperial)'. However, the template will swap the order automatically if the 'subdivision_name' equals some variation of the USA or the UK. For the middle east, a unit preference of dunam can be entered (only affects total area). All values must be entered in a raw format: no commas, spaces, or unit symbols. The template will format them automatically.",
"type": "string",
"required": false
},
"area_footnotes": {
"label": "area_footnotes",
"description": "Reference(s) for area, placed within <ref> </ref> tags, possibly using the citing format at {Cite web}",
"type": "string",
"required": false
},
"area_magnitude": {
"label": "area_magnitude",
"description": "Setting this to any non-empty value will create a link to the appropriate order of magnitude of area page (e.g. [[1 E+6 m²]]).",
"type": "string",
"required": false
},
"dunam_link": {
"label": "dunam_link",
"description": "If dunams are used, the default is to link the word 'dunams' in the total area section. This can be changed by setting 'dunam_link' to another measure (e.g. 'dunam_link=water'). Linking can also be turned off by setting the parameter to something else (e.g. 'dunam_link=none' or 'dunam_link=off').",
"type": "string",
"required": false
},
"area_total_km2": {
"label": "area_total_km2",
"description": "Total area in square kilometers - symbol: km². Value must be entered in raw format, no commas or spaces. Auto-converted to display square miles if area_total_sq_mi is empty.",
"type": "string",
"required": false
},
"area_total_ha": {
"label": "area_total_ha",
"description": "Total area in hectares - symbol: ha. Value must be entered in 'raw format', no commas or spaces. Auto-converted to display acres if area_total_acre is empty.",
"type": "string",
"required": false
},
"area_total_sq_mi": {
"label": "area_total_sq_mi",
"description": "Total area in square miles - symbol: sq mi. Value must be entered in 'raw format', no commas or spaces. Auto-converted to display square kilometers if area_total_km2 is empty.",
"type": "string",
"required": false
},
"area_total_acre": {
"label": "area_total_acre",
"description": "Total area in acres. Value must be entered in 'raw format', no commas or spaces. Auto-converted to display hectares if 'area_total_ha' is empty.",
"type": "number",
"required": false
},
"area_total_dunam": {
"label": "area_total_dunam",
"description": "Total area in dunams, which is wiki-linked. Used in middle eastern places like Israel, Gaza, and the West Bank. Value must be entered in 'raw format', no commas or spaces. Auto-converted to display square kilometers or hectares and square miles or acreds if area_total_km2, area_total_ha, area_total_sq_mi, and area_total_acre are empty. Examples: Gaza and Ramallah",
"type": "number",
"required": false
},
"area_land_km2": {
"label": "area_land_km2",
"description": "Land area in square kilometers - symbol: km^2. Value must be entered in 'raw format', no commas or spaces. Auto-converted to display square miles if 'area_land_sq_mi' is empty.",
"type": "number",
"required": false
},
"area_land_sq_mi": {
"label": "area_land_sq_mi",
"description": "Land area in square miles - symbol: sq mi. Value must be entered in 'raw format', no commas or spaces. Auto-converted to display square kilometers if 'area_land_km2' is empty.",
"type": "number",
"required": false
},
"area_land_ha": {
"label": "area_land_ha",
"description": "similar to 'area_total_ha'",
"type": "number",
"required": false
},
"area_land_dunam": {
"label": "area_land_dunam",
"description": " similar to 'area_total_dunam'",
"type": "number",
"required": false
},
"area_land_acre": {
"label": "area_land_acre",
"description": " similar to 'area_total_acre'",
"type": "number",
"required": false
},
"area_water_km2": {
"label": "area_water_km2",
"description": "Water area in square kilometers symbol: km^2. Value must be entered in 'raw format', no commas or spaces. Auto-converted to display square miles if 'area_water_sq_mi' is empty.",
"type": "number",
"required": false
},
"area_water_sq_mi": {
"label": "area_water_sq_mi",
"description": "Water area in square miles symbol: sq mi. Value must be entered in 'raw format', no commas or spaces. Auto-converted to display square kilometers if 'area_water_km2' is empty.",
"type": "number",
"required": false
},
"area_water_ha": {
"label": "area_water_ha",
"description": "similar to 'area_total_ha'",
"type": "number",
"required": false
},
"area_water_dunam": {
"label": "area_water_dunam",
"description": " similar to 'area_total_dunam'",
"type": "number",
"required": false
},
"area_water_acre": {
"label": "area_water_acre",
"description": " similar to 'area_total_acre'",
"type": "number",
"required": false
},
"area_water_percent": {
"label": "area_water_percent",
"description": "percent of water without the %.",
"type": "number",
"required": false
},
"area_urban_km2": {
"label": "area_urban_km2",
"type": "number",
"required": false
},
"area_urban_sq_mi": {
"label": "area_urban_sq_mi",
"type": "number",
"required": false
},
"area_urban_ha": {
"label": "area_urban_ha",
"description": "similar to 'area_total_ha'",
"type": "number",
"required": false
},
"area_urban_dunam": {
"label": "area_urban_dunam",
"description": " similar to 'area_total_dunam'",
"type": "number",
"required": false
},
"area_urban_acre": {
"label": "area_urban_acre",
"description": " similar to 'area_total_acre'",
"type": "number",
"required": false
},
"area_rural_km2": {
"label": "area_rural_km2",
"type": "number",
"required": false
},
"area_rural_sq_mi": {
"label": "area_rural_sq_mi",
"type": "number",
"required": false
},
"area_rural_ha": {
"label": "area_rural_ha",
"description": "similar to 'area_total_ha'",
"type": "number",
"required": false
},
"area_rural_dunam": {
"label": "area_rural_dunam",
"description": " similar to 'area_total_dunam'",
"type": "number",
"required": false
},
"area_rural_acre": {
"label": "area_rural_acre",
"description": " similar to 'area_total_acre'",
"type": "number",
"required": false
},
"area_metro_km2": {
"label": "area_metro_km2",
"type": "number",
"required": false
},
"area_metro_sq_mi": {
"label": "area_metro_sq_mi",
"type": "number",
"required": false
},
"area_metro_ha": {
"label": "area_metro_ha",
"description": "similar to 'area_total_ha'",
"type": "number",
"required": false
},
"area_metro_dunam": {
"label": "area_metro_dunam",
"description": " similar to 'area_total_dunam'",
"type": "number",
"required": false
},
"area_metro_acre": {
"label": "area_metro_acre",
"description": " similar to 'area_total_acre'",
"type": "number",
"required": false
},
"area_rank": {
"label": "area_rank",
"description": "The settlement's area, as ranked within its parent sub-division",
"type": "string",
"required": false
},
"area_blank1_title": {
"label": "area_blank1_title",
"description": "Example see London",
"type": "string",
"required": false
},
"area_blank1_km2": {
"label": "area_blank1_km2",
"type": "number",
"required": false
},
"area_blank1_sq_mi": {
"label": "area_blank1_sq_mi",
"type": "number",
"required": false
},
"area_blank1_ha": {
"label": "area_blank1_ha",
"description": "similar to 'area_total_ha'",
"type": "number",
"required": false
},
"area_blank1_dunam": {
"label": "area_blank1_dunam",
"description": " similar to 'area_total_dunam'",
"type": "number",
"required": false
},
"area_blank1_acre": {
"label": "area_blank1_acre",
"description": " similar to 'area_total_acre'",
"type": "number",
"required": false
},
"area_blank2_title": {
"label": "area_blank2_title",
"type": "string",
"required": false
},
"area_blank2_km2": {
"label": "area_blank2_km2",
"type": "number",
"required": false
},
"area_blank2_sq_mi": {
"label": "area_blank2_sq_mi",
"type": "number",
"required": false
},
"area_blank2_ha": {
"label": "area_blank2_ha",
"description": "Similar to 'area_total_ha'",
"type": "number",
"required": false
},
"area_blank2_dunam": {
"label": "area_blank2_dunam",
"description": "Similar to 'area_total_dunam'",
"type": "number",
"required": false
},
"area_blank2_acre": {
"label": "area_blank2_acre",
"description": "Similar to 'area_total_acre'",
"type": "number",
"required": false
},
"area_note": {
"label": "area_note",
"description": "A place for additional information such as the name of the source.",
"type": "string",
"required": false
},
"dimensions_footnotes": {
"label": "dimensions_footnotes",
"description": "Reference(s) for dimensions, placed within <nowiki><ref> </ref></nowiki> tags, possibly using the citing format at {{tl|Cite web}}",
"type": "string",
"required": false
},
"length_km": {
"label": "length_km",
"description": "Raw number entered in kilometers. Will automatically convert to display length in miles if length_mi is empty.",
"type": "string",
"required": false
},
"length_mi": {
"label": "length_mi",
"description": "Raw number entered in miles. Will automatically convert to display length in kilometers if length_km is empty.",
"type": "string",
"required": false
},
"width_km": {
"label": "width_km",
"description": "Raw number entered in kilometers. Will automatically convert to display width in miles if length_mi is empty.",
"type": "number",
"required": false
},
"width_mi": {
"label": "width_mi",
"description": "Raw number entered in miles. Will automatically convert to display width in kilometers if length_km is empty.",
"type": "number",
"required": false
},
"elevation_footnotes": {
"label": "elevation_footnotes",
"description": "Reference(s) for elevation, placed within <nowiki><ref> </ref></nowiki> tags, possibly using the citing format at {{tl|Cite web}}",
"type": "string",
"required": false
},
"elevation_m": {
"label": "elevation_m",
"description": "Raw number entered in meters. Will automatically convert to display elevation in feet if elevation_ft is empty. However, if a range in elevation (i.e. 5–50 m ) is desired, use the 'max' and 'min' fields below",
"type": "number",
"required": false
},
"elevation_ft": {
"label": "elevation_ft",
"description": "Raw number, entered in feet. Will automatically convert to display the average elevation in meters if 'elevation_m' field is empty. However, if a range in elevation (i.e. 50–500 ft ) is desired, use the 'max' and 'min' fields below",
"type": "number",
"required": false
},
"elevation_min_m": {
"label": "elevation_min_m",
"type": "number",
"required": false
},
"elevation_min_ft": {
"label": "elevation_min_ft",
"type": "number",
"required": false
},
"elevation_max_footnotes": {
"label": "elevation_max_footnotes",
"type": "string",
"required": false
},
"elevation_min_footnotes": {
"label": "elevation_min_footnotes",
"type": "string",
"required": false
},
"population_total": {
"label": "population_total",
"description": "Actual population (see below for estimates) preferably consisting of digits only (without any commas)",
"type": "string",
"required": false
},
"population_footnotes": {
"label": "population_footnotes",
"description": "Reference(s) for population, placed within <nowiki><ref> </ref></nowiki> tags",
"type": "string",
"required": false
},
"population_as_of": {
"label": "population_as_of",
"description": "The year for the population total (usually a census year)",
"type": "string",
"required": false
},
"population_density_km2": {
"label": "population_density_km2",
"type": "number",
"required": false
},
"population_density_sq_mi": {
"label": "population_density_sq_mi",
"type": "number",
"required": false
},
"population_est": {
"label": "population_est",
"description": "Population estimate.",
"type": "number",
"required": false
},
"pop_est_as_of": {
"label": "pop_est_as_of",
"description": "The year or month & year of the population estimate",
"type": "string",
"required": false
},
"population_urban": {
"label": "population_urban",
"type": "string",
"required": false
},
"population_urban_footnotes": {
"label": "population_urban_footnotes",
"description": "Reference(s) for urban population, placed within <nowiki><ref> </ref></nowiki> tags",
"type": "string",
"required": false
},
"population_density_urban_km2": {
"label": "population_density_urban_km2",
"type": "number",
"required": false
},
"population_density_urban_sq_mi": {
"label": "population_density_urban_sq_mi",
"type": "number",
"required": false
},
"population_rural": {
"label": "population_rural",
"type": "string",
"required": false
},
"population_rural_footnotes": {
"label": "population_rural_footnotes",
"description": "Reference(s) for rural population, placed within <nowiki><ref> </ref></nowiki> tags",
"type": "string",
"required": false
},
"population_density_rural_km2": {
"label": "population_density_rural_km2",
"type": "number",
"required": false
},
"population_density_rural_sq_mi": {
"label": "population_density_rural_sq_mi",
"type": "number",
"required": false
},
"population_metro": {
"label": "population_metro",
"type": "string",
"required": false
},
"population_metro_footnotes": {
"label": "population_metro_footnotes",
"description": "Reference(s) for metro population, placed within <nowiki><ref> </ref></nowiki> tags",
"type": "string",
"required": false
},
"population_density_metro_km2": {
"label": "population_density_metro_km2",
"type": "number",
"required": false
},
"population_density_metro_sq_mi": {
"label": "population_density_metro_sq_mi",
"type": "number",
"required": false
},
"population_rank": {
"label": "population_rank",
"description": "The settlement's population, as ranked within its parent sub-division",
"type": "string",
"required": false
},
"population_density_rank": {
"label": "population_density_rank",
"description": "The settlement's population density, as ranked within its parent sub-division",
"type": "string",
"required": false
},
"population_blank1_title": {
"label": "population_blank1_title",
"description": "Can be used for estimates. Example: Windsor, Ontario",
"type": "string",
"required": false
},
"population_blank1": {
"label": "population_blank1",
"description": "The population value for blank1_title",
"type": "string",
"required": false
},
"population_density_blank1_km2": {
"label": "population_density_blank1_km2",
"type": "string",
"required": false
},
"population_density_blank1_sq_mi": {
"label": "population_density_blank1_sq_mi",
"type": "string",
"required": false
},
"population_blank2_title": {
"label": "population_blank2_title",
"type": "string",
"required": false
},
"population_blank2": {
"label": "population_blank2",
"type": "string",
"required": false
},
"population_density_blank2_km2": {
"label": "population_density_blank2_km2",
"type": "string",
"required": false
},
"population_density_blank2_sq_mi": {
"label": "population_density_blank2_sq_mi",
"type": "string",
"required": false
},
"population_demonym": {
"label": "population_demonym",
"description": "A demonym or gentilic is a word that denotes the members of a people or the inhabitants of a place. For example citizens in Liverpool are known as Liverpudlians.",
"type": "string",
"required": false
},
"population_note": {
"label": "population_note",
"description": "A place for additional information such as the name of the source. See Windsor, Ontario for example.",
"type": "string",
"required": false
},
"demographics_type1": {
"label": "demographics_type1",
"description": "Section Header. For example: Ethnicity",
"type": "string",
"required": false
},
"demographics1_footnotes": {
"label": "demographics1_footnotes",
"description": "Reference(s) for demographics section 1, placed within <nowiki><ref> </ref></nowiki> tags, possibly using the citing format at {{tl|Cite web}}",
"type": "string",
"required": false
},
"demographics1_title1": {
"label": "demographics1_title1",
"description": "Titles related to demographics_type1. For example: White, Black, Hispanic... Additional rows 'demographics1_title1' to 'demographics1_title5' are also avaliable",
"type": "string",
"required": false
},
"demographics1_info5": {
"label": "demographics1_info5",
"description": "Information related to the titles. For example: 50%, 25%, 10%... Additional rows 'demographics1_info1' to 'demographics1_info5' are also avaliable",
"type": "string",
"required": false
},
"demographics_type2": {
"label": "demographics_type2",
"description": "A second section header. For example: Languages",
"type": "string",
"required": false
},
"demographics2_footnotes": {
"label": "demographics2_footnotes",
"description": "Reference(s) for demographics section 2, placed within <nowiki><ref> </ref></nowiki> tags, possibly using the citing format at {{tl|Cite web}}",
"type": "string",
"required": false
},
"demographics2_title1": {
"label": "demographics2_title1",
"description": "Titles related to demographics_type1. For example: English, French, Arabic... Additional rows 'demographics2_title2' to 'demographics1_title5' are also avaliable",
"type": "string",
"required": false
},
"demographics2_info1": {
"label": "demographics2_info1",
"description": "Information related to the titles. For example: 50%, 25%, 10%... Additional rows 'demographics2_info2' to 'demographics2_info5' are also avaliable",
"type": "string",
"required": false
},
"timezone1": {
"label": "timezone1",
"type": "string",
"required": false
},
"utc_offset1": {
"label": "utc_offset1",
"type": "string",
"required": false
},
"timezone1_DST": {
"label": "timezone1_DST",
"type": "string",
"required": false
},
"utc_offset1_DST": {
"label": "utc_offset1_DST",
"type": "string",
"required": false
},
"timezone2": {
"label": "timezone2",
"description": "A second timezone field for larger areas such as a Province.",
"type": "string",
"required": false
},
"utc_offset2": {
"label": "utc_offset2",
"type": "string",
"required": false
},
"timezone2_DST": {
"label": "timezone2_DST",
"type": "string",
"required": false
},
"utc_offset2_DST": {
"label": "utc_offset2_DST",
"type": "string",
"required": false
},
"postal_code_type": {
"label": "postal_code_type",
"description": "Label used for postal code info, e.g. 'Zip code'. Defaults to 'Postal code'.",
"type": "string",
"required": false
},
"postal_code": {
"label": "postal_code",
"description": "Postal code/zip code",
"type": "string",
"required": false
},
"postal2_code_type": {
"label": "postal2_code_type",
"type": "string",
"required": false
},
"postal2_code": {
"label": "postal2_code",
"type": "string",
"required": false
},
"area_code": {
"label": "area_code",
"description": "Telephone area code.",
"type": "string",
"required": false
},
"area_code_type": {
"label": "area_code_type",
"description": "If left blank/not used template will default to 'Area code(s)'",
"type": "string",
"required": false
},
"geocode": {
"label": "geocode",
"description": "See Geocode",
"type": "string",
"required": false
},
"iso_code": {
"label": "iso_code",
"description": "See ISO 3166",
"type": "string",
"required": false
},
"registration_plate": {
"label": "registration_plate",
"description": "See Vehicle registration plate",
"type": "string",
"required": false
},
"twin1": {
"label": "twin1",
"description": "Name of a twin city. Up to 9 cities 'twin1' ... 'twin9' can be specified.",
"type": "string",
"required": false
},
"twin1_country": {
"label": "twin1_country",
"description": "Country of a twin city. Up to 9 countries 'twin1_country' ... 'twin9_country' can be specified.",
"type": "string",
"required": false
},
"blank_name_sec1": {
"label": "blank_name_sec1",
"description": "Fields used to display other information. The name is displayed in bold on the left side of the infobox.",
"type": "string",
"required": false
},
"blank_info_sec1": {
"label": "blank_info_sec1",
"description": "The information associated with the ''blank_name'' heading. The info is displayed on right side of infobox, in the same row as the name. For an example, see: [[Warsaw]]",
"type": "string",
"required": false
},
"blank1_name_sec1": {
"label": "blank1_name_sec1",
"description": "Up to 7 additional fields 'blank1_name_sec1' ... 'blank7_name_sec1' can be specified",
"type": "string",
"required": false
},
"blank1_info_sec1": {
"label": "blank1_info_sec1",
"description": "Up to 7 additional fields 'blank1_info_sec1' ... 'blank7_info_sec1' can be specified",
"type": "string",
"required": false
},
"blank_name_sec2": {
"label": "blank_name_sec2",
"description": "For a second section of blank fields",
"type": "string",
"required": false
},
"blank_info_sec2": {
"label": "blank_info_sec2",
"description": "Example: Beijing",
"type": "string",
"required": false
},
"blank1_name_sec2": {
"label": "blank1_name_sec2",
"description": "Up to 7 additional fields 'blank1_name_sec2' ... 'blank7_name_sec2' can be specified",
"type": "string",
"required": false
},
"blank1_info_sec2": {
"label": "blank1_info_sec2",
"description": "Up to 7 additional fields 'blank1_info_sec2' ... 'blank7_info_sec2' can be specified",
"type": "string",
"required": false
},
"website": {
"label": "website",
"description": "External link to official website, Use the {{URL}} template, thus: {{URL|example.com}}",
"type": "string",
"required": false
},
"footnotes": {
"label": "footnotes",
"description": "Text to be displayed at the bottom of the infobox.",
"type": "string",
"required": false
}
}
}</templatedata>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Infobox templates|Settlement]]
</includeonly>
lnfgr84ivuqorhyeoxt1jpnqgjuvb88
ਫਰਮਾ:Infobox
10
2752
5405
2023-03-23T08:54:32Z
Kuldeepburjbhalaike
1880
"<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em; {{{bodystyle|}}}"><!-- Caption -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!-- Header -->{{#if:{{{above|}}}|{{Infobox/row |header={{{above}}} |headerstyle=text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em; {{{bodystyle|}}}"><!--
Caption
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
Header
-->{{#if:{{{above|}}}|{{Infobox/row
|header={{{above}}} |headerstyle=text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}
|class={{{aboveclass|}}} |rowclass={{{aboverowclass|}}}
}} }}<!--
Subheader1
-->{{#if:{{{subheader|}}}|{{Infobox/row
|data={{{subheader}}} |datastyle={{{subheaderstyle|}}}
|class={{{subheaderclass|}}} |rowclass={{{subheaderrowclass1|}}}
}} }}<!--
Subheader2
-->{{#if:{{{subheader2|}}}|{{Infobox/row
|data={{{subheader2}}} |datastyle={{{subheaderstyle|}}}
|class={{{subheaderclass|}}} |rowclass={{{subheaderrowclass2|}}}
}} }}<!--
Image1
-->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
|data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}} |datastyle={{{imagestyle|}}}
|class={{{imageclass|}}} |rowclass={{{imagerowclass1|}}}
}} }}<!--
Image2
-->{{#if:{{{image2|}}}|{{Infobox/row
|data={{{image2}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span>}} |datastyle={{{imagestyle|}}}
|class={{{imageclass|}}} |rowclass={{{imagerowclass2|}}}
}} }}<!--
-->{{Infobox/row
|header={{{header1|}}} |headerstyle={{{headerstyle|}}}
|label={{{label1|}}} |labelstyle={{{labelstyle|}}}
|data={{{data1|}}} |datastyle={{{datastyle|}}}
|class={{{class1|}}} |rowclass={{{rowclass1|}}}
}}{{Infobox/row
|header={{{header2|}}} |headerstyle={{{headerstyle|}}}
|label={{{label2|}}} |labelstyle={{{labelstyle|}}}
|data={{{data2|}}} |datastyle={{{datastyle|}}}
|class={{{class2|}}} |rowclass={{{rowclass2|}}}
}}{{Infobox/row
|header={{{header3|}}} |headerstyle={{{headerstyle|}}}
|label={{{label3|}}} |labelstyle={{{labelstyle|}}}
|data={{{data3|}}} |datastyle={{{datastyle|}}}
|class={{{class3|}}} |rowclass={{{rowclass3|}}}
}}{{Infobox/row
|header={{{header4|}}} |headerstyle={{{headerstyle|}}}
|label={{{label4|}}} |labelstyle={{{labelstyle|}}}
|data={{{data4|}}} |datastyle={{{datastyle|}}}
|class={{{class4|}}} |rowclass={{{rowclass4|}}}
}}{{Infobox/row
|header={{{header5|}}} |headerstyle={{{headerstyle|}}}
|label={{{label5|}}} |labelstyle={{{labelstyle|}}}
|data={{{data5|}}} |datastyle={{{datastyle|}}}
|class={{{class5|}}} |rowclass={{{rowclass5|}}}
}}{{Infobox/row
|header={{{header6|}}} |headerstyle={{{headerstyle|}}}
|label={{{label6|}}} |labelstyle={{{labelstyle|}}}
|data={{{data6|}}} |datastyle={{{datastyle|}}}
|class={{{class6|}}} |rowclass={{{rowclass6|}}}
}}{{Infobox/row
|header={{{header7|}}} |headerstyle={{{headerstyle|}}}
|label={{{label7|}}} |labelstyle={{{labelstyle|}}}
|data={{{data7|}}} |datastyle={{{datastyle|}}}
|class={{{class7|}}} |rowclass={{{rowclass7|}}}
}}{{Infobox/row
|header={{{header8|}}} |headerstyle={{{headerstyle|}}}
|label={{{label8|}}} |labelstyle={{{labelstyle|}}}
|data={{{data8|}}} |datastyle={{{datastyle|}}}
|class={{{class8|}}} |rowclass={{{rowclass8|}}}
}}{{Infobox/row
|header={{{header9|}}} |headerstyle={{{headerstyle|}}}
|label={{{label9|}}} |labelstyle={{{labelstyle|}}}
|data={{{data9|}}} |datastyle={{{datastyle|}}}
|class={{{class9|}}} |rowclass={{{rowclass9|}}}
}}{{Infobox/row
|header={{{header10|}}} |headerstyle={{{headerstyle|}}}
|label={{{label10|}}} |labelstyle={{{labelstyle|}}}
|data={{{data10|}}} |datastyle={{{datastyle|}}}
|class={{{class10|}}} |rowclass={{{rowclass10|}}}
}}{{Infobox/row
|header={{{header11|}}} |headerstyle={{{headerstyle|}}}
|label={{{label11|}}} |labelstyle={{{labelstyle|}}}
|data={{{data11|}}} |datastyle={{{datastyle|}}}
|class={{{class11|}}} |rowclass={{{rowclass11|}}}
}}{{Infobox/row
|header={{{header12|}}} |headerstyle={{{headerstyle|}}}
|label={{{label12|}}} |labelstyle={{{labelstyle|}}}
|data={{{data12|}}} |datastyle={{{datastyle|}}}
|class={{{class12|}}} |rowclass={{{rowclass12|}}}
}}{{Infobox/row
|header={{{header13|}}} |headerstyle={{{headerstyle|}}}
|label={{{label13|}}} |labelstyle={{{labelstyle|}}}
|data={{{data13|}}} |datastyle={{{datastyle|}}}
|class={{{class13|}}} |rowclass={{{rowclass13|}}}
}}{{Infobox/row
|header={{{header14|}}} |headerstyle={{{headerstyle|}}}
|label={{{label14|}}} |labelstyle={{{labelstyle|}}}
|data={{{data14|}}} |datastyle={{{datastyle|}}}
|class={{{class14|}}} |rowclass={{{rowclass14|}}}
}}{{Infobox/row
|header={{{header15|}}} |headerstyle={{{headerstyle|}}}
|label={{{label15|}}} |labelstyle={{{labelstyle|}}}
|data={{{data15|}}} |datastyle={{{datastyle|}}}
|class={{{class15|}}} |rowclass={{{rowclass15|}}}
}}{{Infobox/row
|header={{{header16|}}} |headerstyle={{{headerstyle|}}}
|label={{{label16|}}} |labelstyle={{{labelstyle|}}}
|data={{{data16|}}} |datastyle={{{datastyle|}}}
|class={{{class16|}}} |rowclass={{{rowclass16|}}}
}}{{Infobox/row
|header={{{header17|}}} |headerstyle={{{headerstyle|}}}
|label={{{label17|}}} |labelstyle={{{labelstyle|}}}
|data={{{data17|}}} |datastyle={{{datastyle|}}}
|class={{{class17|}}} |rowclass={{{rowclass17|}}}
}}{{Infobox/row
|header={{{header18|}}} |headerstyle={{{headerstyle|}}}
|label={{{label18|}}} |labelstyle={{{labelstyle|}}}
|data={{{data18|}}} |datastyle={{{datastyle|}}}
|class={{{class18|}}} |rowclass={{{rowclass18|}}}
}}{{Infobox/row
|header={{{header19|}}} |headerstyle={{{headerstyle|}}}
|label={{{label19|}}} |labelstyle={{{labelstyle|}}}
|data={{{data19|}}} |datastyle={{{datastyle|}}}
|class={{{class19|}}} |rowclass={{{rowclass19|}}}
}}{{Infobox/row
|header={{{header20|}}} |headerstyle={{{headerstyle|}}}
|label={{{label20|}}} |labelstyle={{{labelstyle|}}}
|data={{{data20|}}} |datastyle={{{datastyle|}}}
|class={{{class20|}}} |rowclass={{{rowclass20|}}}
}}{{Infobox/row
|header={{{header21|}}} |headerstyle={{{headerstyle|}}}
|label={{{label21|}}} |labelstyle={{{labelstyle|}}}
|data={{{data21|}}} |datastyle={{{datastyle|}}}
|class={{{class21|}}} |rowclass={{{rowclass21|}}}
}}{{Infobox/row
|header={{{header22|}}} |headerstyle={{{headerstyle|}}}
|label={{{label22|}}} |labelstyle={{{labelstyle|}}}
|data={{{data22|}}} |datastyle={{{datastyle|}}}
|class={{{class22|}}} |rowclass={{{rowclass22|}}}
}}{{Infobox/row
|header={{{header23|}}} |headerstyle={{{headerstyle|}}}
|label={{{label23|}}} |labelstyle={{{labelstyle|}}}
|data={{{data23|}}} |datastyle={{{datastyle|}}}
|class={{{class23|}}} |rowclass={{{rowclass23|}}}
}}{{Infobox/row
|header={{{header24|}}} |headerstyle={{{headerstyle|}}}
|label={{{label24|}}} |labelstyle={{{labelstyle|}}}
|data={{{data24|}}} |datastyle={{{datastyle|}}}
|class={{{class24|}}} |rowclass={{{rowclass24|}}}
}}{{Infobox/row
|header={{{header25|}}} |headerstyle={{{headerstyle|}}}
|label={{{label25|}}} |labelstyle={{{labelstyle|}}}
|data={{{data25|}}} |datastyle={{{datastyle|}}}
|class={{{class25|}}} |rowclass={{{rowclass25|}}}
}}{{Infobox/row
|header={{{header26|}}} |headerstyle={{{headerstyle|}}}
|label={{{label26|}}} |labelstyle={{{labelstyle|}}}
|data={{{data26|}}} |datastyle={{{datastyle|}}}
|class={{{class26|}}} |rowclass={{{rowclass26|}}}
}}{{Infobox/row
|header={{{header27|}}} |headerstyle={{{headerstyle|}}}
|label={{{label27|}}} |labelstyle={{{labelstyle|}}}
|data={{{data27|}}} |datastyle={{{datastyle|}}}
|class={{{class27|}}} |rowclass={{{rowclass27|}}}
}}{{Infobox/row
|header={{{header28|}}} |headerstyle={{{headerstyle|}}}
|label={{{label28|}}} |labelstyle={{{labelstyle|}}}
|data={{{data28|}}} |datastyle={{{datastyle|}}}
|class={{{class28|}}} |rowclass={{{rowclass28|}}}
}}{{Infobox/row
|header={{{header29|}}} |headerstyle={{{headerstyle|}}}
|label={{{label29|}}} |labelstyle={{{labelstyle|}}}
|data={{{data29|}}} |datastyle={{{datastyle|}}}
|class={{{class29|}}} |rowclass={{{rowclass29|}}}
}}{{Infobox/row
|header={{{header30|}}} |headerstyle={{{headerstyle|}}}
|label={{{label30|}}} |labelstyle={{{labelstyle|}}}
|data={{{data30|}}} |datastyle={{{datastyle|}}}
|class={{{class30|}}} |rowclass={{{rowclass30|}}}
}}{{Infobox/row
|header={{{header31|}}} |headerstyle={{{headerstyle|}}}
|label={{{label31|}}} |labelstyle={{{labelstyle|}}}
|data={{{data31|}}} |datastyle={{{datastyle|}}}
|class={{{class31|}}} |rowclass={{{rowclass31|}}}
}}{{Infobox/row
|header={{{header32|}}} |headerstyle={{{headerstyle|}}}
|label={{{label32|}}} |labelstyle={{{labelstyle|}}}
|data={{{data32|}}} |datastyle={{{datastyle|}}}
|class={{{class32|}}} |rowclass={{{rowclass32|}}}
}}{{Infobox/row
|header={{{header33|}}} |headerstyle={{{headerstyle|}}}
|label={{{label33|}}} |labelstyle={{{labelstyle|}}}
|data={{{data33|}}} |datastyle={{{datastyle|}}}
|class={{{class33|}}} |rowclass={{{rowclass33|}}}
}}{{Infobox/row
|header={{{header34|}}} |headerstyle={{{headerstyle|}}}
|label={{{label34|}}} |labelstyle={{{labelstyle|}}}
|data={{{data34|}}} |datastyle={{{datastyle|}}}
|class={{{class34|}}} |rowclass={{{rowclass34|}}}
}}{{Infobox/row
|header={{{header35|}}} |headerstyle={{{headerstyle|}}}
|label={{{label35|}}} |labelstyle={{{labelstyle|}}}
|data={{{data35|}}} |datastyle={{{datastyle|}}}
|class={{{class35|}}} |rowclass={{{rowclass35|}}}
}}{{Infobox/row
|header={{{header36|}}} |headerstyle={{{headerstyle|}}}
|label={{{label36|}}} |labelstyle={{{labelstyle|}}}
|data={{{data36|}}} |datastyle={{{datastyle|}}}
|class={{{class36|}}} |rowclass={{{rowclass36|}}}
}}{{Infobox/row
|header={{{header37|}}} |headerstyle={{{headerstyle|}}}
|label={{{label37|}}} |labelstyle={{{labelstyle|}}}
|data={{{data37|}}} |datastyle={{{datastyle|}}}
|class={{{class37|}}} |rowclass={{{rowclass37|}}}
}}{{Infobox/row
|header={{{header38|}}} |headerstyle={{{headerstyle|}}}
|label={{{label38|}}} |labelstyle={{{labelstyle|}}}
|data={{{data38|}}} |datastyle={{{datastyle|}}}
|class={{{class38|}}} |rowclass={{{rowclass38|}}}
}}{{Infobox/row
|header={{{header39|}}} |headerstyle={{{headerstyle|}}}
|label={{{label39|}}} |labelstyle={{{labelstyle|}}}
|data={{{data39|}}} |datastyle={{{datastyle|}}}
|class={{{class39|}}} |rowclass={{{rowclass39|}}}
}}{{Infobox/row
|header={{{header40|}}} |headerstyle={{{headerstyle|}}}
|label={{{label40|}}} |labelstyle={{{labelstyle|}}}
|data={{{data40|}}} |datastyle={{{datastyle|}}}
|class={{{class40|}}} |rowclass={{{rowclass40|}}}
}}{{Infobox/row
|header={{{header41|}}} |headerstyle={{{headerstyle|}}}
|label={{{label41|}}} |labelstyle={{{labelstyle|}}}
|data={{{data41|}}} |datastyle={{{datastyle|}}}
|class={{{class41|}}} |rowclass={{{rowclass41|}}}
}}{{Infobox/row
|header={{{header42|}}} |headerstyle={{{headerstyle|}}}
|label={{{label42|}}} |labelstyle={{{labelstyle|}}}
|data={{{data42|}}} |datastyle={{{datastyle|}}}
|class={{{class42|}}} |rowclass={{{rowclass42|}}}
}}{{Infobox/row
|header={{{header43|}}} |headerstyle={{{headerstyle|}}}
|label={{{label43|}}} |labelstyle={{{labelstyle|}}}
|data={{{data43|}}} |datastyle={{{datastyle|}}}
|class={{{class43|}}} |rowclass={{{rowclass43|}}}
}}{{Infobox/row
|header={{{header44|}}} |headerstyle={{{headerstyle|}}}
|label={{{label44|}}} |labelstyle={{{labelstyle|}}}
|data={{{data44|}}} |datastyle={{{datastyle|}}}
|class={{{class44|}}} |rowclass={{{rowclass44|}}}
}}{{Infobox/row
|header={{{header45|}}} |headerstyle={{{headerstyle|}}}
|label={{{label45|}}} |labelstyle={{{labelstyle|}}}
|data={{{data45|}}} |datastyle={{{datastyle|}}}
|class={{{class45|}}} |rowclass={{{rowclass45|}}}
}}{{Infobox/row
|header={{{header46|}}} |headerstyle={{{headerstyle|}}}
|label={{{label46|}}} |labelstyle={{{labelstyle|}}}
|data={{{data46|}}} |datastyle={{{datastyle|}}}
|class={{{class46|}}} |rowclass={{{rowclass46|}}}
}}{{Infobox/row
|header={{{header47|}}} |headerstyle={{{headerstyle|}}}
|label={{{label47|}}} |labelstyle={{{labelstyle|}}}
|data={{{data47|}}} |datastyle={{{datastyle|}}}
|class={{{class47|}}} |rowclass={{{rowclass47|}}}
}}{{Infobox/row
|header={{{header48|}}} |headerstyle={{{headerstyle|}}}
|label={{{label48|}}} |labelstyle={{{labelstyle|}}}
|data={{{data48|}}} |datastyle={{{datastyle|}}}
|class={{{class48|}}} |rowclass={{{rowclass48|}}}
}}{{Infobox/row
|header={{{header49|}}} |headerstyle={{{headerstyle|}}}
|label={{{label49|}}} |labelstyle={{{labelstyle|}}}
|data={{{data49|}}} |datastyle={{{datastyle|}}}
|class={{{class49|}}} |rowclass={{{rowclass49|}}}
}}{{Infobox/row
|header={{{header50|}}} |headerstyle={{{headerstyle|}}}
|label={{{label50|}}} |labelstyle={{{labelstyle|}}}
|data={{{data50|}}} |datastyle={{{datastyle|}}}
|class={{{class50|}}} |rowclass={{{rowclass50|}}}
}}{{Infobox/row
|header={{{header51|}}} |headerstyle={{{headerstyle|}}}
|label={{{label51|}}} |labelstyle={{{labelstyle|}}}
|data={{{data51|}}} |datastyle={{{datastyle|}}}
|class={{{class51|}}} |rowclass={{{rowclass51|}}}
}}{{Infobox/row
|header={{{header52|}}} |headerstyle={{{headerstyle|}}}
|label={{{label52|}}} |labelstyle={{{labelstyle|}}}
|data={{{data52|}}} |datastyle={{{datastyle|}}}
|class={{{class52|}}} |rowclass={{{rowclass52|}}}
}}{{Infobox/row
|header={{{header53|}}} |headerstyle={{{headerstyle|}}}
|label={{{label53|}}} |labelstyle={{{labelstyle|}}}
|data={{{data53|}}} |datastyle={{{datastyle|}}}
|class={{{class53|}}} |rowclass={{{rowclass53|}}}
}}{{Infobox/row
|header={{{header54|}}} |headerstyle={{{headerstyle|}}}
|label={{{label54|}}} |labelstyle={{{labelstyle|}}}
|data={{{data54|}}} |datastyle={{{datastyle|}}}
|class={{{class54|}}} |rowclass={{{rowclass54|}}}
}}{{Infobox/row
|header={{{header55|}}} |headerstyle={{{headerstyle|}}}
|label={{{label55|}}} |labelstyle={{{labelstyle|}}}
|data={{{data55|}}} |datastyle={{{datastyle|}}}
|class={{{class55|}}} |rowclass={{{rowclass55|}}}
}}{{Infobox/row
|header={{{header56|}}} |headerstyle={{{headerstyle|}}}
|label={{{label56|}}} |labelstyle={{{labelstyle|}}}
|data={{{data56|}}} |datastyle={{{datastyle|}}}
|class={{{class56|}}} |rowclass={{{rowclass56|}}}
}}{{Infobox/row
|header={{{header57|}}} |headerstyle={{{headerstyle|}}}
|label={{{label57|}}} |labelstyle={{{labelstyle|}}}
|data={{{data57|}}} |datastyle={{{datastyle|}}}
|class={{{class57|}}} |rowclass={{{rowclass57|}}}
}}{{Infobox/row
|header={{{header58|}}} |headerstyle={{{headerstyle|}}}
|label={{{label58|}}} |labelstyle={{{labelstyle|}}}
|data={{{data58|}}} |datastyle={{{datastyle|}}}
|class={{{class58|}}} |rowclass={{{rowclass58|}}}
}}{{Infobox/row
|header={{{header59|}}} |headerstyle={{{headerstyle|}}}
|label={{{label59|}}} |labelstyle={{{labelstyle|}}}
|data={{{data59|}}} |datastyle={{{datastyle|}}}
|class={{{class59|}}} |rowclass={{{rowclass59|}}}
}}{{Infobox/row
|header={{{header60|}}} |headerstyle={{{headerstyle|}}}
|label={{{label60|}}} |labelstyle={{{labelstyle|}}}
|data={{{data60|}}} |datastyle={{{datastyle|}}}
|class={{{class60|}}} |rowclass={{{rowclass60|}}}
}}{{Infobox/row
|header={{{header61|}}} |headerstyle={{{headerstyle|}}}
|label={{{label61|}}} |labelstyle={{{labelstyle|}}}
|data={{{data61|}}} |datastyle={{{datastyle|}}}
|class={{{class61|}}} |rowclass={{{rowclass61|}}}
}}{{Infobox/row
|header={{{header62|}}} |headerstyle={{{headerstyle|}}}
|label={{{label62|}}} |labelstyle={{{labelstyle|}}}
|data={{{data62|}}} |datastyle={{{datastyle|}}}
|class={{{class62|}}} |rowclass={{{rowclass62|}}}
}}{{Infobox/row
|header={{{header63|}}} |headerstyle={{{headerstyle|}}}
|label={{{label63|}}} |labelstyle={{{labelstyle|}}}
|data={{{data63|}}} |datastyle={{{datastyle|}}}
|class={{{class63|}}} |rowclass={{{rowclass63|}}}
}}{{Infobox/row
|header={{{header64|}}} |headerstyle={{{headerstyle|}}}
|label={{{label64|}}} |labelstyle={{{labelstyle|}}}
|data={{{data64|}}} |datastyle={{{datastyle|}}}
|class={{{class64|}}} |rowclass={{{rowclass64|}}}
}}{{Infobox/row
|header={{{header65|}}} |headerstyle={{{headerstyle|}}}
|label={{{label65|}}} |labelstyle={{{labelstyle|}}}
|data={{{data65|}}} |datastyle={{{datastyle|}}}
|class={{{class65|}}} |rowclass={{{rowclass65|}}}
}}{{Infobox/row
|header={{{header66|}}} |headerstyle={{{headerstyle|}}}
|label={{{label66|}}} |labelstyle={{{labelstyle|}}}
|data={{{data66|}}} |datastyle={{{datastyle|}}}
|class={{{class66|}}} |rowclass={{{rowclass66|}}}
}}{{Infobox/row
|header={{{header67|}}} |headerstyle={{{headerstyle|}}}
|label={{{label67|}}} |labelstyle={{{labelstyle|}}}
|data={{{data67|}}} |datastyle={{{datastyle|}}}
|class={{{class67|}}} |rowclass={{{rowclass67|}}}
}}{{Infobox/row
|header={{{header68|}}} |headerstyle={{{headerstyle|}}}
|label={{{label68|}}} |labelstyle={{{labelstyle|}}}
|data={{{data68|}}} |datastyle={{{datastyle|}}}
|class={{{class68|}}} |rowclass={{{rowclass68|}}}
}}{{Infobox/row
|header={{{header69|}}} |headerstyle={{{headerstyle|}}}
|label={{{label69|}}} |labelstyle={{{labelstyle|}}}
|data={{{data69|}}} |datastyle={{{datastyle|}}}
|class={{{class69|}}} |rowclass={{{rowclass69|}}}
}}{{Infobox/row
|header={{{header70|}}} |headerstyle={{{headerstyle|}}}
|label={{{label70|}}} |labelstyle={{{labelstyle|}}}
|data={{{data70|}}} |datastyle={{{datastyle|}}}
|class={{{class70|}}} |rowclass={{{rowclass70|}}}
}}{{Infobox/row
|header={{{header71|}}} |headerstyle={{{headerstyle|}}}
|label={{{label71|}}} |labelstyle={{{labelstyle|}}}
|data={{{data71|}}} |datastyle={{{datastyle|}}}
|class={{{class71|}}} |rowclass={{{rowclass71|}}}
}}{{Infobox/row
|header={{{header72|}}} |headerstyle={{{headerstyle|}}}
|label={{{label72|}}} |labelstyle={{{labelstyle|}}}
|data={{{data72|}}} |datastyle={{{datastyle|}}}
|class={{{class72|}}} |rowclass={{{rowclass72|}}}
}}{{Infobox/row
|header={{{header73|}}} |headerstyle={{{headerstyle|}}}
|label={{{label73|}}} |labelstyle={{{labelstyle|}}}
|data={{{data73|}}} |datastyle={{{datastyle|}}}
|class={{{class73|}}} |rowclass={{{rowclass73|}}}
}}{{Infobox/row
|header={{{header74|}}} |headerstyle={{{headerstyle|}}}
|label={{{label74|}}} |labelstyle={{{labelstyle|}}}
|data={{{data74|}}} |datastyle={{{datastyle|}}}
|class={{{class74|}}} |rowclass={{{rowclass74|}}}
}}{{Infobox/row
|header={{{header75|}}} |headerstyle={{{headerstyle|}}}
|label={{{label75|}}} |labelstyle={{{labelstyle|}}}
|data={{{data75|}}} |datastyle={{{datastyle|}}}
|class={{{class75|}}} |rowclass={{{rowclass75|}}}
}}{{Infobox/row
|header={{{header76|}}} |headerstyle={{{headerstyle|}}}
|label={{{label76|}}} |labelstyle={{{labelstyle|}}}
|data={{{data76|}}} |datastyle={{{datastyle|}}}
|class={{{class76|}}} |rowclass={{{rowclass76|}}}
}}{{Infobox/row
|header={{{header77|}}} |headerstyle={{{headerstyle|}}}
|label={{{label77|}}} |labelstyle={{{labelstyle|}}}
|data={{{data77|}}} |datastyle={{{datastyle|}}}
|class={{{class77|}}} |rowclass={{{rowclass77|}}}
}}{{Infobox/row
|header={{{header78|}}} |headerstyle={{{headerstyle|}}}
|label={{{label78|}}} |labelstyle={{{labelstyle|}}}
|data={{{data78|}}} |datastyle={{{datastyle|}}}
|class={{{class78|}}} |rowclass={{{rowclass78|}}}
}}{{Infobox/row
|header={{{header79|}}} |headerstyle={{{headerstyle|}}}
|label={{{label79|}}} |labelstyle={{{labelstyle|}}}
|data={{{data79|}}} |datastyle={{{datastyle|}}}
|class={{{class79|}}} |rowclass={{{rowclass79|}}}
}}{{Infobox/row
|header={{{header80|}}} |headerstyle={{{headerstyle|}}}
|label={{{label80|}}} |labelstyle={{{labelstyle|}}}
|data={{{data80|}}} |datastyle={{{datastyle|}}}
|class={{{class80|}}} |rowclass={{{rowclass80|}}}
}}<!-- Below
-->{{#if:{{{below|}}}|<tr><td colspan="2" class="{{{belowclass|}}}" style="text-align:center; {{{belowstyle|}}}">{{{below}}}</td></tr>}}<!--
Navbar
-->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|mini=1}}</td></tr>}}
</table><noinclude>{{documentation}}</noinclude>
4hdlig7u7if6b41vnxvajlr38e8dzux
ਫਰਮਾ:Infobox/doc
10
2753
5406
2023-03-23T08:55:16Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> This template is intended as a meta-template: a template used for constructing other templates. it is not meant for use directly in an article, but can be used on a one-off basis if required. See [[w:Help:Infobox|Help:Infobox]] for an introduction to infoboxes and information on how to design them. See [[:Category:Infobox templates]] for specific i..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
This template is intended as a meta-template: a template used for constructing other templates. it is not meant for use directly in an article, but can be used on a one-off basis if required. See [[w:Help:Infobox|Help:Infobox]] for an introduction to infoboxes and information on how to design them. See [[:Category:Infobox templates]] for specific infobox templates.
=== Usage ===
Usage is similar to {{tl|navbox}}, but with an additional distinction. Each row on the table can contain either a header, or a label/data pair, or just a data cell. These are mutually exclusive states so if you define a row with both a header and a label/data pair, the label/data pair is ignored.
To insert an image somewhere other than at the top of the infobox, or to insert freeform data, use a row with only a data field.
==== Number ranges ====
To allow flexibility when the layout of an infobox is changed, it may be helpful when developing an infobox to use non-contiguous numbers for header and label/data rows. Parameters for new rows can then be inserted in future without having to renumber existing parameters. For example:
<syntaxhighlight lang="mediawiki">
|header3 = Section 1
|label5 = Label A
|data5 = Data B
|label7 = Label C
|data7 = Data C
|header10 = Section 2
|label12 = Label D
|data12 = Data D</syntaxhighlight>
=== Parameters ===
====View/discuss/edit links====
;name : The template page name that the "view/discuss/edit" links should point to. You can use <nowiki>{{subst:PAGENAME}}</nowiki>. If this parameter is omitted the view/discuss/edit links will not be displayed.
====Title====
{{Infobox
|title = Text in caption over infobox
|subheader = Subheader of the infobox
|data1 = (the rest of the infobox goes here)
}}
{{Infobox
|above = Text in uppermost cell of infobox
|subheader = Subheader of the infobox
|subheader2 = 2<sup>nd</sup> subheader of the infobox
|data1 = (the rest of the infobox goes here)
}}
There are two different ways to put a title on an infobox. One contains the title inside the infobox's border, the other puts it on top as a caption. You can use both of them together if you like, or just one or the other, or even neither (though this is not recommended).
;title : Text to put in the caption over top of the table.
;above : Text to put within the uppermost cell of the table.
====Optional content====
;subheader, subheader2 : additional title fields which fit between {{{title}}} and {{{above}}}.
;image, image2 : images to display at the top of the template. Use full image syntax, for example <syntaxhighlight lang="mediawiki" inline=yes>[[File:example.png|200px|alt=Example alt text]]</syntaxhighlight>. Image is centered by default.
;caption1, caption2 : Text to put underneath the images.
;header(n) : Text to use as a header in row n.
;label(n): Text to use as a label in row n.
;data(n): Text to display as data in row n.
;below: Text to put in the bottom cell. The bottom cell is intended for footnotes, see-also, and other such information.
Note: currently, headers, labels and data items with the same n-value are mutually exclusive; only the header will be displayed. See the rendering of header4, label4, and data4 in the examples section below.
====Optional CSS styling====
;bodystyle : Applies to the infobox table as a whole
;titlestyle : Applies only to the title caption. Adding a background color is usually inadvisable since the text is rendered "outside" the infobox.
;abovestyle : Applies only to the "above" cell at the top. The default style has font-size:large; since this cell is usually used for a title, if you want to use the above cell for regular-sized text include "font-size:medium;" in the abovestyle.
;imagestyle : Applies to the cell the image is in. This includes the text of the image caption, but you should set text properties with captionstyle instead of imagestyle in case the caption is moved out of this cell in the future.
;captionstyle : Applies to the text of the image caption.
;headerstyle : Applies to all header cells
;labelstyle : Applies to all label cells
;datastyle : Applies to all data cells
;belowstyle : Applies only to the below cell
==== HTML classes ====
;bodyclass : This parameter is inserted into the "class" attribute for the infobox as a whole.
;titleclass : This parameter is inserted into the "class" attribute for the infobox's title caption.
;aboveclass : This parameter is inserted into the "class" attribute for the infobox's "above" cell.
; aboverowclass : This parameter is inserted into the "class" attribute for the complete table row the "above" cell is on.
; subheaderclass : This parameter is inserted into the "class" attribute for the infobox's subheader.
; subheaderrowclass : This parameter is inserted into the "class" attribute for the complete table row the subheader is on.
;imageclass : This parameter is inserted into the "class" attribute for the image; it is in particular used in conjunction with {{tl|Image class names}}.
; imagerowclass1, imagerowclass1 : These parameters are inserted into the "class" attribute for the complete table row the respective images are on.
;rowclass(n) : This parameter is inserted into the "class" attribute for the specified row '''including''' the label or other explanatory text.
;class(n) : This parameter is inserted into the "class" attribute for the data cell of the specified row. If there's no data cell it has no effect.
;belowclass : This parameter is inserted into the "class" attribute for the infobox's below cell.
==== Microformats ====
This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. To flag an infobox as containing [[w:hCard|hCard]] information, for example, add the following parameter:
<syntaxhighlight lang="mediawiki">
|bodyclass = vcard
</syntaxhighlight>
And for each row containing a data cell that's part of the vcard, add a corresponding class parameter:
<syntaxhighlight lang="mediawiki">
|class1 = fn
|class2 = org
|class3 = tel
</syntaxhighlight>
...and so forth. "above" and "title" can also be given classes, since these are usually used to display the name of the subject of the infobox.
===Making fields optional===
A row with a label but no data is not displayed. This allows for the easy creation of optional infobox content rows. To make a row optional use a parameter that defaults to an empty string, like so:
<syntaxhighlight lang="mediawiki">
|label5 = Population
|data5 = {{{population|}}}
</syntaxhighlight>
This way if an article doesn't define the population parameter in its infobox the row won't be displayed.
For more complex fields with pre-formatted contents that would still be present even if the parameter wasn't set, you can wrap it all in an "#if" statement to make the whole thing vanish when the parameter is not used. For instance, the "#if" statement in the following example reads "#if:the parameter ''mass'' has been supplied <nowiki>|</nowiki> then display it, followed by 'kg'":
<syntaxhighlight lang="mediawiki">
|label6 = Mass
|data6 = {{#if:{{{mass|}}}|{{{mass}}} kg}}
</syntaxhighlight>
For more on #if, see [[m:ParserFunctions##if:|here]].
You can also make headers optional in a similar way. If you want a header to appear only if one or more of the data fields that fall under it are filled, one could use the following pattern as an example of how to do it:
<syntaxhighlight lang="mediawiki" style="overflow:auto;">{{Infobox
|name = {{subst:PAGENAME}}
|title = Example of an optional header
|header1 = {{#if:{{{item_one|}}}{{{item_two|}}}{{{item_three|}}}|Optional header}}
|label2 = Item one
|data2 = {{{item_one|}}}
|label3 = Item two
|data3 = {{{item_two|}}}
|label4 = Item three
|data4 = {{{item_three|}}}
}}</syntaxhighlight>
header1 will be shown if any of item_one, item_two, or item_three is defined. If none of the three parameters are defined the header won't be shown.
The trick to this is that the "if" returns false only if there is nothing whatsoever in the conditional section, so only if all three of item_one, item_two and item_three are undefined will the if statement fail.
===Examples===
{{Infobox
|name = Infobox/doc
|bodystyle =
|title = Test Infobox
|titlestyle =
|image = [[File:example.png|200px|alt=Example alt text]]
|imagestyle =
|caption = Caption for example.png
|captionstyle =
|headerstyle = background:#ccf;
|labelstyle = background:#ddf;
|datastyle =
|header1 = Header defined alone
|label1 =
|data1 =
|header2 =
|label2 = Label defined alone
|data2 =
|header3 =
|label3 =
|data3 = Data defined alone
|header4 = All three defined (header)
|label4 = All three defined (label)
|data4 = All three defined (data)
|header5 =
|label5 = Label and data defined (label)
|data5 = Label and data defined (data)
|belowstyle = background:#ddf;
|below = Below text
}}
<syntaxhighlight lang="mediawiki" style="overflow:auto">{{Infobox
|name = Infobox/doc
|bodystyle =
|title = Test Infobox
|titlestyle =
|image = [[File:example.png|200px|alt=Example alt text]]
|imagestyle =
|caption = Caption for example.png
|captionstyle =
|headerstyle = background:#ccf;
|labelstyle = background:#ddf;
|datastyle =
|header1 = Header defined alone
|label1 =
|data1 =
|header2 =
|label2 = Label defined alone
|data2 =
|header3 =
|label3 =
|data3 = Data defined alone
|header4 = All three defined (header)
|label4 = All three defined (label)
|data4 = All three defined (data)
|header5 =
|label5 = Label and data defined (label)
|data5 = Label and data defined (data)
|belowstyle = background:#ddf;
|below = Below text
}}</syntaxhighlight>
Notice how when a label is defined without an accompanying data cell the row doesn't appear in the displayed infobox, and when a header is defined on the same row as a data cell the header takes precedence.
{{clear}}
For this example, {{nowrap|bodystyle = width:20em;}} and {{nowrap|labelstyle = width:33%;}}
{{Infobox
|bodystyle = width:20em;
|name = Infobox/doc
|title = Test Infobox
|titlestyle =
|headerstyle =
|labelstyle = width:33%
|datastyle =
|header1 =
|label1 = Label 1
|data1 = Data 1
|header2 =
|label2 = Label 2
|data2 = Data 2
|header3 =
|label3 = Label 3
|data3 = Data 3
|header4 = Header 4
|label4 =
|data4 =
|header5 =
|label5 = Label 5
|data5 = Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|belowstyle =
|below = Below text
}}
{{clear}}
=== Full blank syntax ===
(Note: the template currently handles up to 80 rows; only 20 are included here since infoboxes larger than that will be relatively rare. Just extend the numbering as needed. The microformat "class" parameters are also omitted as they are not commonly used.)
<syntaxhighlight lang="mediawiki">
{{Infobox
|name = {{subst:PAGENAME}}
|bodystyle =
|title =
|titlestyle =
|above =
|abovestyle =
|imagestyle =
|captionstyle =
|image =
|caption =
|image2 =
|caption2 =
|headerstyle =
|labelstyle =
|datastyle =
|header1 =
|label1 =
|data1 =
|header2 =
|label2 =
|data2 =
|header3 =
|label3 =
|data3 =
|header4 =
|label4 =
|data4 =
|header5 =
|label5 =
|data5 =
|header6 =
|label6 =
|data6 =
|header7 =
|label7 =
|data7 =
|header8 =
|label8 =
|data8 =
|header9 =
|label9 =
|data9 =
|header10 =
|label10 =
|data10 =
|header11 =
|label11 =
|data11 =
|header12 =
|label12 =
|data12 =
|header13 =
|label13 =
|data13 =
|header14 =
|label14 =
|data14 =
|header15 =
|label15 =
|data15 =
|header16 =
|label16 =
|data16 =
|header17 =
|label17 =
|data17 =
|header18 =
|label18 =
|data18 =
|header19 =
|label19 =
|data19 =
|header20 =
|label20 =
|data20 =
|belowstyle =
|below =
}}</syntaxhighlight>
=== See also ===
* {{tl|start infobox page}}
<includeonly>
[[Category:Infobox templates| ]]
[[Category:Metatemplates|{{PAGENAME}}]]
</includeonly>
s5y119v1arbf3h3ogmf6pmlfz3d5ff3
ਫਰਮਾ:Infobox/row
10
2754
5407
2023-03-23T08:55:49Z
Kuldeepburjbhalaike
1880
"{{#if:{{{header|}}} |<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header|}}}</th></tr> |{{#if:{{{data|}}}{{#ifeq:{{{name|}}}|{{#titleparts:{{PAGENAME}}|1}}|example}} |<tr>{{#if:{{{label|}}} |<th style="{{{labelstyle|}}}">{{{label|}}}</th> <td class="{{{class|}}}" style="{{{datastyle|}}}"> |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}"> }}{{{data|}}}</td></tr> }} }}<noinclu..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#if:{{{header|}}}
|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header|}}}</th></tr>
|{{#if:{{{data|}}}{{#ifeq:{{{name|}}}|{{#titleparts:{{PAGENAME}}|1}}|example}}
|<tr>{{#if:{{{label|}}}
|<th style="{{{labelstyle|}}}">{{{label|}}}</th>
<td class="{{{class|}}}" style="{{{datastyle|}}}">
|<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
}}{{{data|}}}</td></tr>
}}
}}<noinclude>[[Category:Template subpages|{{PAGENAME}}]]</noinclude>
jhfgf2lnmu9qkv7tvhbqay5yzex0unn
ਫਰਮਾ:Navbox
10
2755
5408
2023-03-23T08:56:54Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#switch:{{{border|{{{1|}}}}}} |subgroup|child=</div> |none= |#default=<table class="navbox {{{bodyclass|}}}" cellspacing="0" style="{{{bodystyle|}}};{{{style|}}}"><tr><!-- --><td style="padding:2px;">}}<!-- --><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}} |{{#switch:{{{state|}}} |plain|off= |#default=collapsible {{#switch:{{{state|}}} |show|open|uncollapsed=selected |hide|close|collapsed=collapsed |#default={..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#switch:{{{border|{{{1|}}}}}}
|subgroup|child=</div>
|none=
|#default=<table class="navbox {{{bodyclass|}}}" cellspacing="0" style="{{{bodystyle|}}};{{{style|}}}"><tr><!--
--><td style="padding:2px;">}}<!--
--><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}
|{{#switch:{{{state|}}}
|plain|off=
|#default=collapsible {{#switch:{{{state|}}}
|show|open|uncollapsed=selected
|hide|close|collapsed=collapsed
|#default={{{state}}}
}}
}}
}} {{#switch:{{{border|{{{1|}}}}}}
|subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}
|#default=" style="width:100%;background:transparent;color:inherit
}};{{{innerstyle|}}};"><!--
Title and Navbar
-->{{#if:{{{title|}}}|<tr>{{#if:{{{titlegroup|}}}|<!--
--><td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}">{{{titlegroup|}}}</td><!--
--><th style="border-left:2px solid #fdfdfd;width:100%;|<th style="}}{{{basestyle|}}};{{{titlestyle|}}}" <!--
-->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} <!--
-->class="navbox-title"><!--
-->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!--
-->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!--
-->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<div style="float:left;width:6em;"> </div>}}|<!--
-->{{#ifeq:{{{state|}}}|plain||<div style="float:right; width:6em;text-align:right;"> </div>}}}}|<!--
--><div style="float:right; width:6em;text-align:right;"><!--
-->{{Navbar|{{{name}}}|fontstyle={{{basestyle|}}};{{{titlestyle|}}};border:none;|mini=1}}<!--
--></div><div style="float:left;width:6em;"> </div>}}<!--
--><span class="{{{titleclass|}}}" style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"><!--
-->{{{title}}}</span></th></tr>}}<!--
---Above---
-->{{#if:{{{above|}}}|<!--
-->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
--><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}}" <!--
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}">{{{above}}}</td></tr>}}<!--
---Body---
---First group/list and images---
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<tr style="height:2px;"><td></td></tr>}}<tr><!--
-->{{#if:{{{imageleft|}}}|<!--
--><td style="width:0%;padding:0px 2px 0px 0px;{{{imageleftstyle|}}}" <!--
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!--
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!--
-->{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}<!--
-->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--
-->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}}><!--
-->{{{imageleft}}}</td>}}<!--
-->{{#if:{{{group1|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group1style|}}}"><!--
-->{{{group1}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{list1padding|{{{listpadding|0em 0.25em}}}}}}">
{{{list1}}}</div></td><!--
-->{{#if:{{{image|}}}|<!--
--><td style="width:0%;padding:0px 0px 0px 2px;{{{imagestyle|}}}" <!--
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!--
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!--
-->{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}<!--
-->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--
-->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}}><!--
-->{{{image}}}</td>}}<!--
--></tr>}}<!--
---Remaining groups/lists---
-->{{#if:{{{list2|}}}|<!--
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
-->{{#if:{{{group2|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group2style|}}}"><!--
-->{{{group2}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list2}}}</div></td></tr>}}<!--
-->{{#if:{{{list3|}}}|<!--
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
-->{{#if:{{{group3|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group3style|}}}"><!--
-->{{{group3}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list3}}}</div></td></tr>}}<!--
-->{{#if:{{{list4|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group4|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group4style|}}}"><!--
-->{{{group4}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list4style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list4}}}</div></td></tr>}}<!--
-->{{#if:{{{list5|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group5|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group5style|}}}"><!--
-->{{{group5}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list5style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list5}}}</div></td></tr>}}<!--
-->{{#if:{{{list6|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group6|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group6style|}}}"><!--
-->{{{group6}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list6style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list6}}}</div></td></tr>}}<!--
-->{{#if:{{{list7|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group7|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group7style|}}}"><!--
-->{{{group7}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list7style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list7}}}</div></td></tr>}}<!--
-->{{#if:{{{list8|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group8|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group8style|}}}"><!--
-->{{{group8}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list8}}}</div></td></tr>}}<!--
-->{{#if:{{{list9|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group9|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group9style|}}}"><!--
-->{{{group9}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list9style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list9}}}</div></td></tr>}}<!--
-->{{#if:{{{list10|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group10|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group10style|}}}"><!--
-->{{{group10}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list10style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list10}}}</div></td></tr>}}<!--
-->{{#if:{{{list11|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group11|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group11style|}}}"><!--
-->{{{group11}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list11style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list11}}}</div></td></tr>}}<!--
-->{{#if:{{{list12|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group12|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group12style|}}}"><!--
-->{{{group12}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list12style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list12}}}</div></td></tr>}}<!--
-->{{#if:{{{list13|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group13|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group13style|}}}"><!--
-->{{{group13}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list13style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list13}}}</div></td></tr>}}<!--
-->{{#if:{{{list14|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group14|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group14style|}}}"><!--
-->{{{group14}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list14style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list14}}}</div></td></tr>}}<!--
-->{{#if:{{{list15|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group15|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group15style|}}}"><!--
-->{{{group15}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list15style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list15}}}</div></td></tr>}}<!--
-->{{#if:{{{list16|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group16|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group16style|}}}"><!--
-->{{{group16}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list16style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list16}}}</div></td></tr>}}<!--
-->{{#if:{{{list17|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group17|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group17style|}}}"><!--
-->{{{group17}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list17style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list17}}}</div></td></tr>}}<!--
-->{{#if:{{{list18|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group18|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group18style|}}}"><!--
-->{{{group18}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list18style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list18}}}</div></td></tr>}}<!--
-->{{#if:{{{list19|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group19|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group19style|}}}"><!--
-->{{{group19}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list19style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list19}}}</div></td></tr>}}<!--
-->{{#if:{{{list20|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group20|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group20style|}}}"><!--
-->{{{group20}}}</td><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list20}}}</div></td></tr>}}<!--
---Below---
-->{{#if:{{{below|}}}|<!--
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
--><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{belowstyle|}}}" <!--
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}">{{{below}}}</td></tr>}}<!--
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!--
--></includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
74u3j9plxuzbkmqdepzn4g8jr2ge9ma
ਫਰਮਾ:Navbox/doc
10
2756
5409
2023-03-23T08:57:36Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} {{possible-risk}} {{Navbox suite}} This template allows a navigational template to be set up relatively quickly by supplying it one or more lists of links. It comes equipped with default styles that should work for most navigational templates. Changing the default styles is not recommended, but is possible. Using this template, or one of its "Navbox suite" sister templates, is highly recommended for standardization of n..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
{{possible-risk}}
{{Navbox suite}}
This template allows a navigational template to be set up relatively quickly by supplying it one or more lists of links. It comes equipped with default styles that should work for most navigational templates. Changing the default styles is not recommended, but is possible. Using this template, or one of its "Navbox suite" sister templates, is highly recommended for standardization of navigational templates, and for ease of use.
== Usage ==
Please remove the parameters that are left blank.
<pre style="overflow:auto;">{{Navbox
|bodyclass =
|name = {{subst:PAGENAME}}
|title =
|titleclass =
|image =
|above =
|group1 =
|list1 =
|group2 =
|list2 =
...
|group20 =
|list20 =
|below =
}}</pre>
== Parameter list ==
{{Navbox
|name = Navbox/doc
|state = uncollapsed
|image = {{{image}}}
|title = {{{title}}}
|above = {{{above}}}
|group1 = {{{group1}}}
|list1 = {{{list1}}}
|group2 = {{{group2}}}
|list2 = {{{list2}}}
|list3 = {{{list3}}} ''without {{{group3}}}''
|group4 = {{{group4}}}
|list4 = {{{list4}}}
|below = {{{below}}}<br/>See alternate navbox formats under: [[#Layout of table|''Layout of table'']]
}}
The navbox uses lowercase parameter names, as shown in the box (''at right''). The mandatory ''name'' and ''title'' will create a one-line box if other parameters are omitted.
<br/>
Notice "group1" (etc.) is optional, as are sections named "above/below".
{{-}}
The basic and most common parameters are as follows (see below for the full list):
:<code>bodyclass -</code> applies an HTML <code>class</code> attribute to the entire navbox.
:<code>name -</code> the name of the template.
:<code>title -</code> text in the title bar, such as: <nowiki>Widget stuff</nowiki>.
:<code>titleclass -</code> applies an HTML <code>class</code> attribute to the title bar.
:<code>state - autocollapse, uncollapsed, collapsed</code>: the status of box expansion, where "autocollapse" hides stacked navboxes automatically.
:<code>titlestyle - </code>a CSS style for the title-bar, such as: <code>background:gray;</code>
:<code>groupstyle - </code>a CSS style for the group-cells, such as: <code>background:#eee;</code>
:<code>image - </code>an optional right-side image, coded as the whole image. Typically it is purely decorative, so it should be coded as <code><nowiki>[[File:</nowiki><var>XX</var><nowiki>.jpg|90px|link=|alt=]]</nowiki></code>.
:<code>imageleft - </code>an optional left-side image (code the same as the "image" parameter).
:<code>above - </code>text to appear above the group/list section (could be a list of overall wikilinks).
:<code>group<sub>n</sub> - </code>the left-side text before list-n (if group-n omitted, list-n starts at left of box).
:<code>list<sub>n</sub> - </code>text listing wikilinks, often separated by middot templates, such as: [<nowiki/>[A]]<code>{<nowiki/>{·}}</code> [<nowiki/>[B]]
:<code>below - </code>optional text to appear below the group/list section.
Further details, and complex restrictions, are explained below under section ''[[#Parameter descriptions|Parameter descriptions]]''. See some alternate navbox formats under: [[#Layout of table|''Layout of table'']].
== Parameter descriptions ==
The following is a complete list of parameters for using {{tl|Navbox}}. In most cases, the only required parameters are <code>name</code>, <code>title</code>, and <code>list1</code>, though [[#Child navboxes|child navboxes]] do not even require those to be set.
{{tl|Navbox}} shares numerous common parameter names as its sister templates {{tl|Navbox with columns}} and {{tl|Navbox with collapsible groups}} for consistency and ease of use. Parameters marked with an asterisk <nowiki>*</nowiki> are common to all three master templates.
=== Setup parameters ===
:; ''name''<nowiki>*</nowiki>
:: The name of the template, which is needed for the "v{{·}} d{{·}} e" ("view{{·}} discuss{{·}} edit") links to work properly on all pages where the template is used. You can enter <code><nowiki>{{subst:PAGENAME}}</nowiki></code> for this value as a shortcut. The name parameter is only mandatory if a <code>title</code> is specified, and the <code>border</code> parameter is not set.
:; ''state''<nowiki>*</nowiki> <span style="font-weight:normal;">[<code>autocollapse, uncollapsed, collapsed, plain, off</code>]</span>
:* Defaults to <code>autocollapse</code>. A navbox with <code>autocollapse</code> will start out collapsed if there are two or more tables on the same page that use other collapsible tables. Otherwise, the navbox will be expanded. For the technically minded, see [[MediaWiki:Common.js]].
:* If set to <code>collapsed</code>, the navbox will always start out in a collapsed state.
:* If set to <code>plain</code>, the navbox will always be expanded with no [hide] link on the right, and the title will remain centered (by using padding to offset the <small>v • d • e</small> links).
:* If set to <code>off</code>, the navbox will always be expanded with no [hide] link on the right, but no padding will be used to keep the title centered. This is for advanced use only; the "plain" option should suffice for most applications where the [show]/[hide] button needs to be hidden.
:*If set to anything other than <code>autocollapse</code>, <code>collapsed</code>, <code>plain</code>, or <code>off</code> (such as "uncollapsed"), the navbox will always start out in an expanded state, but have the "hide" button.
: To show the box when standalone (non-included) but then auto-hide contents when in an article, put "uncollapsed" inside <noinclude> tags:
:* <code>state = </code><nowiki><noinclude>uncollapsed</noinclude></nowiki>
:* That setting will force the box visible when standalone (even when followed by other boxes), displaying "[hide]" but then auto-collapse the box when stacked inside an article.
: Often times, editors will want a default initial state for a navbox, which may be overridden in an article. Here is the trick to do this:
:*In your intermediate template, create a parameter also named "state" as a pass-through like this:
:*<tt><nowiki>| state = {{{state<includeonly>|your_desired_initial_state</includeonly>}}}</nowiki></tt>
:*The <nowiki><includeonly>|</nowiki> will make the template expanded when viewing the template page by itself.
:; ''navbar''<nowiki>*</nowiki>
:: Defaults to <code>Tnavbar</code>. If set to <code>plain</code>, the <small>v • d • e</small> links on the left side of the titlebar will not be displayed, and padding will be automatically used to keep the title centered. Use <code>off</code> to remove the <small>v • d • e</small> links, but not apply padding (this is for advanced use only; the "plain" option should suffice for most applications where a navbar is not desired). Note that it is highly recommended that one does not hide the navbar, in order to make it easier for users to edit the template, and to keep a standard style across pages.
:; ''border''<nowiki>*</nowiki>
:: ''See section below on using navboxes within one another for examples and a more complete description.'' If set to <code>child</code> or <code>subgroup</code>, then the navbox can be used as a borderless child that fits snuggly in another navbox. The border is hidden and there is no padding on the sides of the table, so it fits into the ''list'' area of its parent navbox. If set to <code>none</code>, then the border is hidden and padding is removed, and the navbox may be used as a child of another container (do not use the <code>none</code> option inside of another navbox; similarly, only use the <code>child</code>/<code>subgroup</code> option inside of another navbox). If set to anything else (default), then a regular navbox is displayed with a 1px border. An alternate way to specify the border to be a subgroup style is like this (i.e. use the first unnamed parameter instead of the named ''border'' parameter):
:::<code><nowiki>{{Navbox|child</nowiki></code>
::::<code>...</code>
:::<code><nowiki>}}</nowiki></code>
=== Cells ===
:; ''title''<nowiki>*</nowiki>
:: Text that appears centered in the top row of the table. It is usually the template's topic, i.e. a succinct description of the body contents. This should be a single line, but if a second line is needed, use <code><nowiki>{{-}}</nowiki></code> to ensure proper centering. This parameter is technically not mandatory, but using {{tl|Navbox}} is rather pointless without a title.
:; ''group<sub>n</sub>''<nowiki>*</nowiki>
:: (i.e. ''group1'', ''group2'', etc.) If specified, text appears in a header cell displayed to the left of ''list<sub>n</sub>''. If omitted, ''list<sub>n</sub>'' uses the full width of the table.
:; ''list<sub>n</sub>''<nowiki>*</nowiki>
:: (i.e. ''list1'', ''list2'', etc.) The body of the template, usually a list of links. Format is inline, although the text can be entered on separate lines if the entire list is enclosed within <code><nowiki><div> </div></nowiki></code>. At least one ''list'' parameter is required; each additional ''list'' is displayed in a separate row of the table. Each ''list<sub>n</sub>'' may be preceded by a corresponding ''group<sub>n</sub>'' parameter, if provided (see below).
:; ''image''<nowiki>*</nowiki>
:: An image to be displayed in a cell below the title and to the right of the body (the groups/lists). For the image to display properly, the ''list1'' parameter must be specified. The ''image'' parameter accepts standard wikicode for displaying an image, ''e.g.'':
::: <code><nowiki>[[File:</nowiki><var>XX</var><nowiki>.jpg|90px|link=|alt=]]</nowiki></code>
:; ''imageleft''<nowiki>*</nowiki>
:: An image to be displayed in a cell below the title and to the left of the body (lists). For the image to display properly, the ''list1'' parameter must be specified and no groups can be specified. It accepts the same sort of parameter that ''image'' accepts.
:; ''above''<nowiki>*</nowiki>
:: A full-width cell displayed between the titlebar and first group/list, i.e. ''above'' the template's body (groups, lists and image). In a template without an image, ''above'' behaves in the same way as the ''list1'' parameter without the ''group1'' parameter.
:; ''below''<nowiki>*</nowiki>
:: A full-width cell displayed ''below'' the template's body (groups, lists and image). In a template without an image, ''below'' behaves in the same way as the template's final ''list<sub>n</sub>'' parameter without a ''group<sub>n</sub>'' parameter.
=== Style parameters ===
Styles are generally not recommended as to maintain consistency among templates and pages in Wikipedia. However, the option to modify styles is given.
:; ''style''<nowiki>*</nowiki>
:: Specifies [[Cascading Style Sheets|CSS]] styles to apply to the template body. The parameter ''bodystyle'' also does the example same thing and can be used in place of this ''style'' parameter. This option should be used sparingly as it can lead to visual inconsistencies. Examples:
::: <code>style = background:#''nnnnnn'';</code>
::: <code>style = width:''N'' [em/%/px or width:auto];</code>
::: <code>style = float:[''left/right/none''];</code>
::: <code>style = clear:[''right/left/both/none''];</code>
:; ''basestyle''<nowiki>*</nowiki>
:: CSS styles to apply to the ''title'', ''above'', ''below'', and ''group'' cells all at once. The style are not applied to ''list'' cells. This is convenient for easily changing the basic color of the navbox without having to repeat the style specifications for the different parts of the navbox. Examples:
::: <code>basestyle = background:lightskyblue;</code>
:; ''titlestyle''<nowiki>*</nowiki>
:: [[Cascading Style Sheets|CSS]] styles to apply to ''title'', most often the titlebar's background color:
::: <code><nowiki>titlestyle = background:</nowiki>''#nnnnnn'';</code>
::: <code><nowiki>titlestyle = background:</nowiki>''name'';</code>
:; ''groupstyle''<nowiki>*</nowiki>
:: CSS styles to apply to the ''groupN'' cells. This option overrides any styles that are applied to the entire table. Examples:
::: <code>groupstyle = background:#''nnnnnn'';</code>
::: <code>groupstyle = text-align:[''left/center/right''];</code>
::: <code>groupstyle = vertical-align:[''top/middle/bottom''];</code>
:; ''group<sub>n</sub>style''<nowiki>*</nowiki>
:: CSS styles to apply to a specific group, in addition to any styles specified by the ''groupstyle'' parameter. This parameter should only be used when absolutely necessary in order to maintain standardization and simplicity. Examples:
::: <code>group3style = background:red;color:white;</code>
:; ''liststyle''<nowiki>*</nowiki>
:: CSS styles to apply to all lists. Overruled by the ''oddstyle'' and ''evenstyle'' parameters (if specified) below. When using backgound colors in the navbox, see the [[#Intricacies|note below]].
:; ''list<sub>n</sub>style''<nowiki>*</nowiki>
:: CSS styles to apply to a specific list, in addition to any styles specified by the ''liststyle'' parameter. This parameter should only be used when absolutely necessary in order to maintain standardization and simplicity. Examples:
::: <code>list5style = background:#ddddff;</code>
:; ''listpadding''<nowiki>*</nowiki>
:: A number and unit specifying the padding in each ''list'' cell. The ''list'' cells come equipped with a default padding of 0.25em on the left and right, and 0em on the top and bottom. Due to complex technical reasons, simply setting "liststyle=padding:0.5em;" (or any other padding setting) will not work. Examples:
::: <code>listpadding = 0.5em 0em; </code> (sets 0.5em padding for the left/right, and 0em padding for the top/bottom.)
::: <code>listpadding = 0em; </code> (removes all list padding.)
:; ''oddstyle''
:; ''evenstyle''
::Applies to odd/even list numbers. Overrules styles defined by ''liststyle''. The default behavior is to add striped colors (white and gray) to odd/even rows, respectively, in order to improve readability. These should not be changed except in extraordinary circumstances.
:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd, off]</code></span>
:: If set to <code>swap</code>, then the automatic striping of even and odd rows is reversed. Normally, even rows get a light gray background for striping; when this parameter is used, the odd rows receive the gray striping instead of the even rows. Setting to <code>even</code> or <code>odd</code> sets all rows to have that striping color. Setting to <code>off</code> disables automatic row striping. This advanced parameter should only be used to fix problems when the navbox is being used as a child of another navbox and the stripes do not match up. Examples and a further description can be found in the section on child navboxes below.
:; ''abovestyle''<nowiki>*</nowiki>
:; ''belowstyle''<nowiki>*</nowiki>
:: CSS styles to apply to the top cell (specified via the ''above'' parameter) and bottom cell (specified via the ''below'' parameter). Typically used to set background color or text alignment:
::: <code>abovestyle = background:#''nnnnnn'';</code>
::: <code>abovestyle = text-align:[''left/center/right''];</code>
:; ''imagestyle''<nowiki>*</nowiki>
:; ''imageleftstyle''<nowiki>*</nowiki>
:: CSS styles to apply to the cells where the image/imageleft sits. These styles should only be used in exceptional circumstances, usually to fix width problems if the width of groups is set and the width of the image cell grows too large. Examples:
::: <code>imagestyle = width:5em;</code>
===== Default styles =====
The style settings listed here are those that editors using the navbox change most often. The other more complex style settings were left out of this list to keep it simple. Most styles are set in [[MediaWiki:Common.css]].
:<code>bodystyle = background:#fdfdfd; width:100%; vertical-align:middle;</code>
:<code>titlestyle = background:#ccccff; padding-left:1em; padding-right:1em; text-align:center;</code>
:<code>abovestyle = background:#ddddff; padding-left:1em; padding-right:1em; text-align:center;</code>
:<code>belowstyle = background:#ddddff; padding-left:1em; padding-right:1em; text-align:center;</code>
:<code>groupstyle = background:#ddddff; padding-left:1em; padding-right:1em; text-align:right;</code>
:<code>liststyle = background:transparent; text-align:left/center;</code>
:<code>oddstyle = background:transparent;</code>
:<code>evenstyle = background:#f7f7f7;</code>
Since ''liststyle'' and ''oddstyle'' are transparent odd lists have the color of the ''bodystyle'', which defaults to #fdfdfd (white with a hint of gray). A list has <code>text-align:left;</code> if it has a group, if not it has <code>text-align:center;</code>. Since only ''bodystyle'' has a vertical-align all the others inherit its <code>vertical-align:middle;</code>.
=== Advanced parameters ===
:; ''titlegroup''
:: This puts a group in the title area, with the same default styles as ''group<sub>n</sub>''. It should be used only in exceptional circumstances (usually advanced meta-templates) and its use requires some knowledge of the internal code of {{tl|Navbox}}; you should be ready to manually set up CSS styles to get everything to work properly if you wish to use it. If you think you have an application for this parameter, it might be best to change your mind, or consult the talk page first.
:; ''titlegroupstyle''
:: The styles for the titlegroup cell.
:; ''innerstyle''
:: A very advanced parameter to be used ''only'' for advanced meta-templates employing the navbox. Internally, the navbox uses an outer table to draw the border, and then an inner table for everything else (title/above/groups/lists/below/images, etc.). The ''style''/''bodystyle'' parameter sets the style for the outer table, which the inner table inherits, but in advanced cases (meta-templates) it may be necessary to directly set the style for the inner table. This parameter provides access to that inner table so styles can be applied. Use at your own risk.
====Microformats====
;bodyclass : This parameter is inserted into the "class" attribute for the infobox as a whole.
;titleclass : This parameter is inserted into the "class" attribute for the infobox's title caption.
This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. To flag a navbox as containing [[w:hCard|hCard]] information about a person, for example, add the following parameter:
<pre>
|bodyclass = vcard
</pre>
''and''
<pre>
|titleclass = fn
</pre>
''or'' (for example):
<pre><nowiki>
|title = The books of <span class="fn">Iain Banks</span>
</nowiki></pre>
...and so forth.
== Layout of table ==
Table generated by {{tl|Navbox}} '''without''' ''image'', ''above'' and ''below'' parameters (gray list background color added for illustration only):
{{Navbox
|name = Navbox/doc
|state = uncollapsed
|liststyle = background:silver;
|title = {{{title}}}
|group1 = {{{group1}}}
|list1 = {{{list1}}}
|group2 = {{{group2}}}
|list2 = {{{list2}}}
|list3 = {{{list3}}} ''without {{{group3}}}''
|group4 = {{{group4}}}
|list4 = {{{list4}}}
}}
Table generated by {{tl|Navbox}} '''with''' ''image'', ''above'' and ''below'' parameters (gray list background color added for illustration only):
{{Navbox
|name = Navbox/doc
|state = uncollapsed
|liststyle = background:silver;
|image = {{{image}}}
|title = {{{title}}}
|above = {{{above}}}
|group1 = {{{group1}}}
|list1 = {{{list1}}}
|group2 = {{{group2}}}
|list2 = {{{list2}}}
|list3 = {{{list3}}} ''without {{{group3}}}''
|group4 = {{{group4}}}
|list4 = {{{list4}}}
|below = {{{below}}}
}}
Table generated by {{tl|Navbox}} '''with''' ''image'', ''imageleft'', ''lists'', and '''without''' ''groups'', ''above'', ''below'' (gray list background color added for illustration only):
{{Navbox
|name = Navbox/doc
|state = uncollapsed
|liststyle = background:silver;
|image = {{{image}}}
|imageleft = {{{imageleft}}}
|title = {{{title}}}
|list1 = {{{list1}}}
|list2 = {{{list2}}}
|list3 = {{{list3}}}
|list4 = {{{list4}}}
}}
== Examples ==
<!--Please don't encourage folks to use <div>s within Navboxes as (unless handled carefully) they can negate liststyles/groupstyles/etc settings.-->
=== No image ===
<pre style="overflow:auto;">
{{Navbox
| name = Navbox/doc
| title = MSC Malaysia
| group1 = Centre
| list1 = Cyberjaya
| group2 = Area
| list2 = Klang Valley
| group3 = Major landmarks
| list3 = Petronas Twin Towers{{·}} Kuala Lumpur Tower{{·}}
Kuala Lumpur Sentral{{·}} Technology Park Malaysia{{·}}
Putrajaya{{·}} Cyberjaya{{·}}
Kuala Lumpur International Airport
| group4 = Infrastructure
| list4 = Express Rail Link{{·}} KL-KLIA Dedicated Expressway
| group5 = Prime applications
| list5 = EGovernment]]{{·}} MyKad
}}
</pre>
{{Navbox
| name = Navbox/doc
| state = uncollapsed
| title = MSC Malaysia
| group1 = Centre
| list1 = Cyberjaya
| group2 = Area
| list2 = Klang Valley
| group3 = Major landmarks
| list3 = Petronas Twin Towers{{·}} Kuala Lumpur Tower{{·}} Kuala Lumpur Sentral{{·}} Technology Park Malaysia{{·}} Putrajaya{{·}} Cyberjaya{{·}} Kuala Lumpur International Airport
| group4 = Infrastructure
| list4 = Express Rail Link]]{{·}} KL-KLIA Dedicated Expressway
| group5 = Prime applications
| list5 = EGovernment]]{{·}} MyKad
}}
=== With image, without groups ===
<pre style="overflow:auto;">
{{Navbox
| name = Navbox/doc
| title = MSC Malaysia
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| list1 = Petronas Twin Towers{{·}} Kuala Lumpur Tower{{·}}
Kuala Lumpur Sentral{{·}} Technology Park Malaysia{{·}}
Putrajaya]]{{·}} Cyberjaya{{·}}
Kuala Lumpur International Airport
}}
</pre>
{{Navbox
| name = Navbox/doc
| title = MSC Malaysia
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| list1 = Petronas Twin Towers{{·}} Kuala Lumpur Tower{{·}} Kuala Lumpur Sentral{{·}} Technology Park Malaysia{{·}} Putrajaya{{·}} Cyberjaya{{·}} Kuala Lumpur International Airport
}}
=== With two images, without groups, multiple lists ===
<pre style="overflow:auto;">
{{Navbox
| name = Navbox/doc
| title = MSC Malaysia
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| imageleft = [[File:Flag of Malaysia.svg|80px]]
| list1 = Petronas Twin Towers{{·}} Kuala Lumpur Tower{{·}}
Kuala Lumpur Sentral
| list2 = Express Rail Link{{·}} KL-KLIA Dedicated Expressway
| list3 = EGovernment{{·}} MyKad
| list4 = Klang Valley
}}
</pre>
{{Navbox
| name = Navbox/doc
| title = MSC Malaysia
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| imageleft = [[File:Flag of Malaysia.svg|80px]]
| list1 = Petronas Twin Towers{{·}} Kuala Lumpur Tower{{·}}
Kuala Lumpur Sentral
| list2 = Express Rail Link{{·}} KL-KLIA Dedicated Expressway
| list3 = EGovernment{{·}} MyKad
| list4 = Klang Valley
}}
=== With image, groups, above, below ===
<pre style="overflow:auto;">
{{Navbox
| name = Navbox/doc
| title = MSC Malaysia
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| above = Above text goes here
| group1 = Centre
| list1 = Cyberjaya
| group2 = Area
| list2 = Klang Valley
| group3 = Major landmarks
| list3 = Petronas Twin Towers{{·}} Kuala Lumpur Tower{{·}}
Kuala Lumpur Sentral{{·}} Technology Park Malaysia{{·}}
Putrajaya{{·}} Cyberjaya
| group4 = Infrastructure
| list4 = Express Rail Link{{·}} KL-KLIA Dedicated Expressway
| group5 = Prime applications
| list5 = EGovernment{{·}} MyKad
| below = Website: [http://www.msc.com.my/ www.msc.com.my]
}}
</pre>
{{Navbox
| name = Navbox/doc
| title = MSC Malaysia
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| above = Above text goes here
| group1 = Centre
| list1 = Cyberjaya
| group2 = Area
| list2 = Klang Valley
| group3 = Major landmarks
| list3 = Petronas Twin Towers{{·}} Kuala Lumpur Tower{{·}}
Kuala Lumpur Sentral{{·}} Technology Park Malaysia{{·}}
Putrajaya{{·}} Cyberjaya
| group4 = Infrastructure
| list4 = Express Rail Link{{·}} KL-KLIA Dedicated Expressway
| group5 = Prime applications
| list5 = EGovernment{{·}} MyKad
| below = Website: [http://www.msc.com.my/ www.msc.com.my]
}}
== Child navboxes ==
It is possible to place multiple navboxes within a single border with the use of the ''border'' parameter, or by specifying the first parameter to be "child". The basic code for doing this is as follows (which adds a subgroup for the first group/list area):
<pre style="overflow:auto;">
{{Navbox
|name = {{subst:PAGENAME}}
|title = Title
|group1 = [optional]
|list1 = {{Navbox|child
...child navbox parameters...
}}
...
}}
</pre>
=== Subgroups example ===
{{main|Template:Navbox subgroup}}
This example shows how subgroups can be used. It is recommended that one uses {{tl|Navbox subgroup}}, but the same result can be reached by using {{tl|Navbox}} with <code>border = child</code> or the first unnamed parameter set to <code>child</code>. Note that the ''evenodd'' parameter is used to reverse striping in some of the subgroups in order to get all of the stripes to line up properly. If you wish to remove the striping altogether, you can set <code>liststyle = background:transparent;</code> in each of the navboxes.
{{Navbox
|name = Navbox/doc
|image = [[File:Flag of the United States.svg|100px|link=|alt=]]
|state = uncollapsed
|title = Multiple Subgroup Example
|above = Above
|below = Below
|group1 = Group1
|list1 = List1
|group2 = Group2
|list2 =
{{Navbox|child
|evenodd = swap
|group1 = Group2.1
|list1 = List1
|group2 = Group2.2
|list2 = List2
|group3 = Group2.3
|list3 = List3
}}
|group3 = Group3
|list3 = List3
|group4 = Group4
|list4 =
{{Navbox|child
|evenodd = swap
|group1 = Group4.1
|list1 = List1
|group2 = Group4.2
|list2 = List2
|group3 = Group4.3
|list3 = List3
}}
}}
=== Multiple show/hides in a single container ===
{{main|Template:Navbox with collapsible groups}}
The example below is generated using a regular navbox for the main container, then its list1, list2, and list3 parameters each contain another navbox, with <code>border = child</code> set. Note that each of the child navboxes has its own VDE navbar; these could be hidden using <code>navbar = plain</code> for each of them, or by just leaving out the ''name'' parameter (child navboxes do not require the name parameter to be set, unlike regular navboxes).
{{Navbox
|name = Navbox/doc
|title = [[File:Blason France moderne.svg|x17px|link=|alt=]] [[File:Flag of France.svg|x17px|link=|alt=]] Former French overseas empire
|state = uncollapsed
|list1 = {{Navbox|child
|name = Former French colonies in Africa and the Indian Ocean
|title = |Former French colonies in Africa and the Indian Ocean
|groupstyle = background:lavender;
|group1 = Mahgreb
|list1 = Algeria{{·}} Morocco <small>(Arguin Island)</small>{{·}} Tunisia
|group2 = French West Africa
|list2 = Côte d'Ivoire{{·}} Dahomey{{·}} French Sudan{{·}} Guinea{{·}} Mauritania{{·}} Niger{{·}} Senegal{{·}} Upper Volta
|group3 =
|list3 = French Togoland{{·}} James Island
|group4 = French Equatorial Africa
|list4 = Chad{{·}} Gabon{{·}} Middle Congo{{·}} Oubangui-Chari
|group5 = Comoros
|list5 = Anjouan{{·}} Grande Comore{{·}} Mohéli
|group6 =
|list6 = French Somaliland (Djibouti){{·}} Madagascar{{·}} Ile de France{{·}} Seychelles
}}
|list2 = {{Navbox|child
|name = Former French colonies in the Americas
|titlestyle =
|title = Former French colonies in the Americas
|groupstyle =
|list1 = New France <small>(Acadia • Louisiana • Canada • Terre Neuve) 1655 – 1763 </small>
|list2 = Inini{{·}} Berbice{{·}} Saint-Domingue <small>(Haiti)</small>{{·}} Tobago{{·}} Virgin Islands{{·}} {{nowrap|France Antarctique}}{{·}} {{nowrap|France Équinoxiale}}
|belowstyle =
|below = French West India Company
}}
|list3 = {{Navbox|child
|name = Former French colonies in Asia and Oceania
|title = Former French colonies in Asia and Oceania
|groupstyle =
|group1 = French India
|list1 = Chandernagor{{·}} Coromandel Coast{{·}} Madras{{·}} Malabar{{·}} Mahé{{·}} Pondichéry{{·}} Karaikal{{·}} Yanaon
|group2 = French Indochina
|list2 = Cambodia{{·}} Laos{{·}} Vietnam <small>(Annam • Cochinchina • Tonkin)</small>
|group3 = Other Asian
|list3 = Alaouites{{·}} Alexandretta-Hatay{{·}} Ceylon{{·}} Kwangchowan
|group4 = Oceania
|list4 = New Hebrides (Vanuatu)
|belowstyle =
|below = French East India Company
}}
}}
== Relationship with other Navbox templates ==
This navbox template is specifically designed to work in conjunction two other sister templates: {{tl|Navbox with columns}} and {{tl|Navbox with collapsible groups}}. All three of these templates share common parameters for consistency and ease of use (such parameters are marked with a <sup>'''†'''</sup> in the complete parameter list above). Most importantly, all three of these templates can each be used as children of one another (by using the <code>border = child</code> parameter, or by specifying the first unnamed parameter to be <code>child</code> (i.e. use <code><nowiki>{{Navbox|child</nowiki></code>, <code><nowiki>{{Navbox with columns|child</nowiki></code>, or <code><nowiki>{{Navbox with collapsible groups|child</nowiki></code>).
== Technical details ==
*This template uses CSS classes for most of its looks, thus it is fully skinnable.
*Internally this meta template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
*For more technical details see the CSS classes in [[MediaWiki:common.css]] and the collapsible table used to hide the box in [[MediaWiki:common.js]].
=== Intricacies ===
*The 2px wide border between groups and lists is drawn using the border-left property of the list cell. Thus, if you wish to change the background color of the template (for example <code>bodystyle = background:purple;</code>), then you'll need to make the border-left-color match the background color (i.e. <code>liststyle = border-left-color:purple;</code>). If you wish to have a border around each list cell, then the 2px border between the list cells and group cells will disappear; you'll have to come up with your own solution.
*The list cell width is initially set to 100%. Thus, if you wish to manually set the width of group cells, you'll need to also specify the liststyle to have width:auto. If you wish to set the group width and use images, it's up to you to figure out the CSS in the groupstyle, liststyle, imagestyle, and imageleftstyle parameters to get everything to work correctly. Example of setting group width:
::<code>groupstyle = width:10em;</code>
::<code>liststyle = width:auto;</code>
*Adjacent navboxes have only a 1 pixel border between them (except in IE6, which doesn't support the necessary CSS). If you set the top or bottom margin of <code>style/bodystyle</code>, then this will not work.
*The default margin-left and margin-right of the outer navbox table are set to "auto;". If you wish to use navbox as a float, you need to manually set the margin-left and margin-right values, because the auto margins interfere with the float option. For example, add the following code to use the navbox as a float:
::<code>style = width:22em;float:right;margin-left:1em;margin-right:0em;</code>
== See also ==
* {{tl|Navbox subgroup}} – Allows for subgroups within a Navbox.
* {{tl|Navbox with columns}} – Allows columns instead of groups/lists.
* {{tl|Navbox with collapsible groups}} – Another variation.
<includeonly>
[[ka:თარგი:ნავდაფა]]
<!--Categories-->
[[Category:Navbox (navigational) templates| ]]
</includeonly>
4xj4pii9vrv3ahy7otk70o19d9ws619
ਫਰਮਾ:Message box
10
2757
5410
2023-03-23T09:00:01Z
Kuldeepburjbhalaike
1880
"{{mbox | style = {{#if:{{{backgroundcolor|}}}|background: {{{backgroundcolor|transparent}}}}} | image = [[File:{{{image|Wikibooks-logo.svg}}}|40px|link=]] | text = {{#if:{{{heading|}}}|'''{{{heading|}}}'''<br />}}{{{message|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita ka..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{mbox
| style = {{#if:{{{backgroundcolor|}}}|background: {{{backgroundcolor|transparent}}}}}
| image = [[File:{{{image|Wikibooks-logo.svg}}}|40px|link=]]
| text = {{#if:{{{heading|}}}|'''{{{heading|}}}'''<br />}}{{{message|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.}}}
}}<noinclude>{{Documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>
5rd4r56sxpq8f3n0agteoeozagqmu77
ਫਰਮਾ:Message box/doc
10
2758
5411
2023-03-23T09:00:43Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!--PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> ==Usage== <pre>{{Message_box |id = |halign = |malign = |backgroundcolor = |image = |heading = |message = }} </pre> *'''id''' *'''halign''': Heading alignment (defaults to center) *'''malign''': Message alignment (defaults to center) *'''backgroundcolor''': Box background color (default may depend on skin) *'''image''': Name of image (do not us..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!--PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
==Usage==
<pre>{{Message_box
|id =
|halign =
|malign =
|backgroundcolor =
|image =
|heading =
|message =
}}
</pre>
*'''id'''
*'''halign''': Heading alignment (defaults to center)
*'''malign''': Message alignment (defaults to center)
*'''backgroundcolor''': Box background color (default may depend on skin)
*'''image''': Name of image (do not use "File:" heading)
*'''heading''': Heading text
*'''message''': Message text
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Box templates|{{PAGENAME}}]]
</includeonly>
lldt85rmis4copvjio8gwl34r0269bb
ਮੌਡਿਊਲ:Message box/configuration
828
2759
5413
2023-03-23T09:03:02Z
Kuldeepburjbhalaike
1880
"-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for [[Module:Message box]]. -- -------------------------------------------------------------------------------- return { ambox = { types = { speedy = {..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Message box configuration --
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
return {
ambox = {
types = {
speedy = {
class = 'ambox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ambox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ambox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ambox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ambox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ambox-protection',
image = 'Padlock-silver-medium.svg'
},
notice = {
class = 'ambox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'left',
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '20x20px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageRightNone = true,
sectionDefault = 'article',
allowMainspaceCategories = true,
templateCategory = 'Article message templates',
templateCategoryRequireName = true,
templateErrorCategory = 'Article message templates with missing parameters',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'},
removalNotice = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
},
cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'cmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'cmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'cmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'cmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'cmbox-protection',
image = 'Padlock-silver-medium.svg'
},
notice = {
class = 'cmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
imageEmptyCell = true
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Ambox warning pn.svg'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Information icon4.svg'
},
system = {
class = 'fmbox-system',
image = 'Information icon4.svg'
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'fmbox'},
imageEmptyCell = false,
imageRightNone = false
},
imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'imbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'imbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'imbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'imbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'imbox-protection',
image = 'Padlock-silver-medium.svg'
},
license = {
class = 'imbox-license licensetpl',
image = 'Imbox license.png' -- @todo We need an SVG version of this
},
featured = {
class = 'imbox-featured',
image = 'Cscr-featured.svg'
},
notice = {
class = 'imbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
imageEmptyCell = true,
below = true,
templateCategory = 'File message boxes'
},
ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ombox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ombox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ombox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ombox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ombox-protection',
image = 'Padlock-silver-medium.svg'
},
notice = {
class = 'ombox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true
},
tmbox = {
types = {
speedy = {
class = 'tmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'tmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'tmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'tmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'tmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'tmbox-protection',
image = 'Padlock-silver-medium.svg'
},
notice = {
class = 'tmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
imageEmptyCellStyle = true,
templateCategory = 'Talk message boxes'
}
}
16xsc67jviirmw0nf2yuxvotqd7rygq
ਮੌਡਿਊਲ:Category handler
828
2760
5414
2023-03-23T09:04:09Z
Kuldeepburjbhalaike
1880
"-------------------------------------------------------------------------------- -- -- -- CATEGORY HANDLER -- -- -- -- This module implements the {{category handler}} template in Lua, -- -- with a few improvements: all namespace..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
--------------------------------------------------------------------------------
-- --
-- CATEGORY HANDLER --
-- --
-- This module implements the {{category handler}} template in Lua, --
-- with a few improvements: all namespaces and all namespace aliases --
-- are supported, and namespace names are detected automatically for --
-- the local wiki. This module requires [[Module:Namespace detect]] --
-- and [[Module:Yesno]] to be available on the local wiki. It can be --
-- configured for different wikis by altering the values in --
-- [[Module:Category handler/config]], and pages can be blacklisted --
-- from categorisation by using [[Module:Category handler/blacklist]]. --
-- --
--------------------------------------------------------------------------------
-- Load required modules
local yesno = require('Module:Yesno')
-- Lazily load things we don't always need
local mShared, mappings
local p = {}
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function trimWhitespace(s, removeBlanks)
if type(s) ~= 'string' then
return s
end
s = s:match('^%s*(.-)%s*$')
if removeBlanks then
if s ~= '' then
return s
else
return nil
end
else
return s
end
end
--------------------------------------------------------------------------------
-- CategoryHandler class
--------------------------------------------------------------------------------
local CategoryHandler = {}
CategoryHandler.__index = CategoryHandler
function CategoryHandler.new(data, args)
local obj = setmetatable({ _data = data, _args = args }, CategoryHandler)
-- Set the title object
do
local pagename = obj:parameter('demopage')
local success, titleObj
if pagename then
success, titleObj = pcall(mw.title.new, pagename)
end
if success and titleObj then
obj.title = titleObj
if titleObj == mw.title.getCurrentTitle() then
obj._usesCurrentTitle = true
end
else
obj.title = mw.title.getCurrentTitle()
obj._usesCurrentTitle = true
end
end
-- Set suppression parameter values
for _, key in ipairs{'nocat', 'categories'} do
local value = obj:parameter(key)
value = trimWhitespace(value, true)
obj['_' .. key] = yesno(value)
end
do
local subpage = obj:parameter('subpage')
local category2 = obj:parameter('category2')
if type(subpage) == 'string' then
subpage = mw.ustring.lower(subpage)
end
if type(category2) == 'string' then
subpage = mw.ustring.lower(category2)
end
obj._subpage = trimWhitespace(subpage, true)
obj._category2 = trimWhitespace(category2) -- don't remove blank values
end
return obj
end
function CategoryHandler:parameter(key)
local parameterNames = self._data.parameters[key]
local pntype = type(parameterNames)
if pntype == 'string' or pntype == 'number' then
return self._args[parameterNames]
elseif pntype == 'table' then
for _, name in ipairs(parameterNames) do
local value = self._args[name]
if value ~= nil then
return value
end
end
return nil
else
error(string.format(
'invalid config key "%s"',
tostring(key)
), 2)
end
end
function CategoryHandler:isSuppressedByArguments()
return
-- See if a category suppression argument has been set.
self._nocat == true
or self._categories == false
or (
self._category2
and self._category2 ~= self._data.category2Yes
and self._category2 ~= self._data.category2Negative
)
-- Check whether we are on a subpage, and see if categories are
-- suppressed based on our subpage status.
or self._subpage == self._data.subpageNo and self.title.isSubpage
or self._subpage == self._data.subpageOnly and not self.title.isSubpage
end
function CategoryHandler:shouldSkipBlacklistCheck()
-- Check whether the category suppression arguments indicate we
-- should skip the blacklist check.
return self._nocat == false
or self._categories == true
or self._category2 == self._data.category2Yes
end
function CategoryHandler:matchesBlacklist()
if self._usesCurrentTitle then
return self._data.currentTitleMatchesBlacklist
else
mShared = mShared or require('Module:Category handler/shared')
return mShared.matchesBlacklist(
self.title.prefixedText,
mw.loadData('Module:Category handler/blacklist')
)
end
end
function CategoryHandler:isSuppressed()
-- Find if categories are suppressed by either the arguments or by
-- matching the blacklist.
return self:isSuppressedByArguments()
or not self:shouldSkipBlacklistCheck() and self:matchesBlacklist()
end
function CategoryHandler:getNamespaceParameters()
if self._usesCurrentTitle then
return self._data.currentTitleNamespaceParameters
else
if not mappings then
mShared = mShared or require('Module:Category handler/shared')
mappings = mShared.getParamMappings(true) -- gets mappings with mw.loadData
end
return mShared.getNamespaceParameters(
self.title,
mappings
)
end
end
function CategoryHandler:namespaceParametersExist()
-- Find whether any namespace parameters have been specified.
-- We use the order "all" --> namespace params --> "other" as this is what
-- the old template did.
if self:parameter('all') then
return true
end
if not mappings then
mShared = mShared or require('Module:Category handler/shared')
mappings = mShared.getParamMappings(true) -- gets mappings with mw.loadData
end
for ns, params in pairs(mappings) do
for i, param in ipairs(params) do
if self._args[param] then
return true
end
end
end
if self:parameter('other') then
return true
end
return false
end
function CategoryHandler:getCategories()
local params = self:getNamespaceParameters()
local nsCategory
for i, param in ipairs(params) do
local value = self._args[param]
if value ~= nil then
nsCategory = value
break
end
end
if nsCategory ~= nil or self:namespaceParametersExist() then
-- Namespace parameters exist - advanced usage.
if nsCategory == nil then
nsCategory = self:parameter('other')
end
local ret = {self:parameter('all')}
local numParam = tonumber(nsCategory)
if numParam and numParam >= 1 and math.floor(numParam) == numParam then
-- nsCategory is an integer
ret[#ret + 1] = self._args[numParam]
else
ret[#ret + 1] = nsCategory
end
if #ret < 1 then
return nil
else
return table.concat(ret)
end
elseif self._data.defaultNamespaces[self.title.namespace] then
-- Namespace parameters don't exist, simple usage.
return self._args[1]
end
return nil
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p = {}
function p._exportClasses()
-- Used for testing purposes.
return {
CategoryHandler = CategoryHandler
}
end
function p._main(args, data)
data = data or mw.loadData('Module:Category handler/data')
local handler = CategoryHandler.new(data, args)
if handler:isSuppressed() then
return nil
end
return handler:getCategories()
end
function p.main(frame, data)
data = data or mw.loadData('Module:Category handler/data')
local args = require('Module:Arguments').getArgs(frame, {
wrappers = data.wrappers,
valueFunc = function (k, v)
v = trimWhitespace(v)
if type(k) == 'number' then
if v ~= '' then
return v
else
return nil
end
else
return v
end
end
})
return p._main(args, data)
end
return p
letwavu3yvlayfzew66uuwixmwebq5b
ਮੌਡਿਊਲ:Category handler/config
828
2761
5415
2023-03-23T09:05:09Z
Kuldeepburjbhalaike
1880
"-------------------------------------------------------------------------------- -- [[Module:Category handler]] configuration data -- -- Language-specific parameter names and values can be set here. -- -- For blacklist config, see [[Module:Category handler/blacklist]]. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. ----..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
--------------------------------------------------------------------------------
-- [[Module:Category handler]] configuration data --
-- Language-specific parameter names and values can be set here. --
-- For blacklist config, see [[Module:Category handler/blacklist]]. --
--------------------------------------------------------------------------------
local cfg = {} -- Don't edit this line.
--------------------------------------------------------------------------------
-- Start configuration data --
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Parameter names --
-- These configuration items specify custom parameter names. --
-- To add one extra name, you can use this format: --
-- --
-- foo = 'parameter name', --
-- --
-- To add multiple names, you can use this format: --
-- --
-- foo = {'parameter name 1', 'parameter name 2', 'parameter name 3'}, --
--------------------------------------------------------------------------------
cfg.parameters = {
-- The nocat and categories parameter suppress
-- categorisation. They are used with Module:Yesno, and work as follows:
--
-- cfg.nocat:
-- Result of yesno() Effect
-- true Categorisation is suppressed
-- false Categorisation is allowed, and
-- the blacklist check is skipped
-- nil Categorisation is allowed
--
-- cfg.categories:
-- Result of yesno() Effect
-- true Categorisation is allowed, and
-- the blacklist check is skipped
-- false Categorisation is suppressed
-- nil Categorisation is allowed
nocat = 'nocat',
categories = 'categories',
-- The parameter name for the legacy "category2" parameter. This skips the
-- blacklist if set to the cfg.category2Yes value, and suppresses
-- categorisation if present but equal to anything other than
-- cfg.category2Yes or cfg.category2Negative.
category2 = 'category2',
-- cfg.subpage is the parameter name to specify how to behave on subpages.
subpage = 'subpage',
-- The parameter for data to return in all namespaces.
all = 'all',
-- The parameter name for data to return if no data is specified for the
-- namespace that is detected.
other = 'other',
-- The parameter name used to specify a page other than the current page;
-- used for testing and demonstration.
demopage = 'page',
}
--------------------------------------------------------------------------------
-- Parameter values --
-- These are set values that can be used with certain parameters. Only one --
-- value can be specified, like this: --
-- --
-- cfg.foo = 'value name' -- --
--------------------------------------------------------------------------------
-- The following settings are used with the cfg.category2 parameter. Setting
-- cfg.category2 to cfg.category2Yes skips the blacklist, and if cfg.category2
-- is present but equal to anything other than cfg.category2Yes or
-- cfg.category2Negative then it supresses cateogrisation.
cfg.category2Yes = 'yes'
cfg.category2Negative = '¬'
-- The following settings are used with the cfg.subpage parameter.
-- cfg.subpageNo is the value to specify to not categorise on subpages;
-- cfg.subpageOnly is the value to specify to only categorise on subpages.
cfg.subpageNo = 'no'
cfg.subpageOnly = 'only'
--------------------------------------------------------------------------------
-- Default namespaces --
-- This is a table of namespaces to categorise by default. The keys are the --
-- namespace numbers. --
--------------------------------------------------------------------------------
cfg.defaultNamespaces = {
[ 0] = true, -- main
[ 6] = true, -- file
[ 12] = true, -- help
[ 14] = true, -- category
[100] = true, -- portal
[108] = true, -- book
}
--------------------------------------------------------------------------------
-- Wrappers --
-- This is a wrapper template or a list of wrapper templates to be passed to --
-- [[Module:Arguments]]. --
--------------------------------------------------------------------------------
cfg.wrappers = 'Template:Category handler'
--------------------------------------------------------------------------------
-- End configuration data --
--------------------------------------------------------------------------------
return cfg -- Don't edit this line.
6ga9hbq2pdwalsvx68i53dmbr421rq5
ਮੌਡਿਊਲ:Category handler/shared
828
2762
5416
2023-03-23T09:06:05Z
Kuldeepburjbhalaike
1880
"-- This module contains shared functions used by [[Module:Category handler]] -- and its submodules. local p = {} function p.matchesBlacklist(page, blacklist) for i, pattern in ipairs(blacklist) do local match = mw.ustring.match(page, pattern) if match then return true end end return false end function p.getParamMappings(useLoadData) local dataPage = 'Module:Namespace detect/data' if useLoadData then return mw.loadData(dataPage)...." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
-- This module contains shared functions used by [[Module:Category handler]]
-- and its submodules.
local p = {}
function p.matchesBlacklist(page, blacklist)
for i, pattern in ipairs(blacklist) do
local match = mw.ustring.match(page, pattern)
if match then
return true
end
end
return false
end
function p.getParamMappings(useLoadData)
local dataPage = 'Module:Namespace detect/data'
if useLoadData then
return mw.loadData(dataPage).mappings
else
return require(dataPage).mappings
end
end
function p.getNamespaceParameters(titleObj, mappings)
-- We don't use title.nsText for the namespace name because it adds
-- underscores.
local mappingsKey
if titleObj.isTalkPage then
mappingsKey = 'talk'
else
mappingsKey = mw.site.namespaces[titleObj.namespace].name
end
mappingsKey = mw.ustring.lower(mappingsKey)
return mappings[mappingsKey] or {}
end
return p
omlsnhudxz6juptvtxz7ns97jutbzc5
ਮੌਡਿਊਲ:Category handler/data
828
2763
5417
2023-03-23T09:06:50Z
Kuldeepburjbhalaike
1880
"-- This module assembles data to be passed to [[Module:Category handler]] using -- mw.loadData. This includes the configuration data and whether the current -- page matches the title blacklist. local data = require('Module:Category handler/config') local mShared = require('Module:Category handler/shared') local blacklist = require('Module:Category handler/blacklist') local title = mw.title.getCurrentTitle() data.currentTitleMatchesBlacklist = mS..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
-- This module assembles data to be passed to [[Module:Category handler]] using
-- mw.loadData. This includes the configuration data and whether the current
-- page matches the title blacklist.
local data = require('Module:Category handler/config')
local mShared = require('Module:Category handler/shared')
local blacklist = require('Module:Category handler/blacklist')
local title = mw.title.getCurrentTitle()
data.currentTitleMatchesBlacklist = mShared.matchesBlacklist(
title.prefixedText,
blacklist
)
data.currentTitleNamespaceParameters = mShared.getNamespaceParameters(
title,
mShared.getParamMappings()
)
return data
k26mwixuaeijisfddb0sxkg82iux8v4
ਮੌਡਿਊਲ:Category handler/blacklist
828
2764
5418
2023-03-23T09:07:41Z
Kuldeepburjbhalaike
1880
"-- This module contains the blacklist used by [[Module:Category handler]]. -- Pages that match Lua patterns in this list will not be categorised unless -- categorisation is explicitly requested. return { '^Main Page$', -- don't categorise the main page. -- Don't categorise the following pages or their subpages. -- "%f[/\0]" matches if the next character is "/" or the end of the string. '^Wikipedia:Cascade%-protected items%f[/\0]', '^User:UB..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
-- This module contains the blacklist used by [[Module:Category handler]].
-- Pages that match Lua patterns in this list will not be categorised unless
-- categorisation is explicitly requested.
return {
'^Main Page$', -- don't categorise the main page.
-- Don't categorise the following pages or their subpages.
-- "%f[/\0]" matches if the next character is "/" or the end of the string.
'^Wikipedia:Cascade%-protected items%f[/\0]',
'^User:UBX%f[/\0]', -- The userbox "template" space.
'^User talk:UBX%f[/\0]',
-- Don't categorise subpages of these pages, but allow
-- categorisation of the base page.
'^Wikipedia:Template messages/.*$',
-- Don't categorise archives.
'/[aA]rchive',
"^Wikipedia:Administrators' noticeboard/IncidentArchive%d+$",
}
hwue3i1eua4tsdxlsbcs4f5syudywbe
ਮੌਡਿਊਲ:Namespace detect/config
828
2765
5419
2023-03-23T09:08:43Z
Kuldeepburjbhalaike
1880
"-------------------------------------------------------------------------------- -- Namespace detect configuration data -- -- -- -- This module stores configuration data for Module:Namespace detect. Here -- -- you can localise the module to your wiki's language. -- --..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Namespace detect configuration data --
-- --
-- This module stores configuration data for Module:Namespace detect. Here --
-- you can localise the module to your wiki's language. --
-- --
-- To activate a configuration item, you need to uncomment it. This means --
-- that you need to remove the text "-- " at the start of the line. --
--------------------------------------------------------------------------------
local cfg = {} -- Don't edit this line.
--------------------------------------------------------------------------------
-- Parameter names --
-- These configuration items specify custom parameter names. Values added --
-- here will work in addition to the default English parameter names. --
-- To add one extra name, you can use this format: --
-- --
-- cfg.foo = 'parameter name' --
-- --
-- To add multiple names, you can use this format: --
-- --
-- cfg.foo = {'parameter name 1', 'parameter name 2', 'parameter name 3'} --
--------------------------------------------------------------------------------
---- This parameter displays content for the main namespace:
-- cfg.main = 'main'
---- This parameter displays in talk namespaces:
-- cfg.talk = 'talk'
---- This parameter displays content for "other" namespaces (namespaces for which
---- parameters have not been specified):
-- cfg.other = 'other'
---- This parameter makes talk pages behave as though they are the corresponding
---- subject namespace. Note that this parameter is used with [[Module:Yesno]].
---- Edit that module to change the default values of "yes", "no", etc.
-- cfg.subjectns = 'subjectns'
---- This parameter sets a demonstration namespace:
-- cfg.demospace = 'demospace'
---- This parameter sets a specific page to compare:
cfg.demopage = 'page'
--------------------------------------------------------------------------------
-- Table configuration --
-- These configuration items allow customisation of the "table" function, --
-- used to generate a table of possible parameters in the module --
-- documentation. --
--------------------------------------------------------------------------------
---- The header for the namespace column in the wikitable containing the list of
---- possible subject-space parameters.
-- cfg.wikitableNamespaceHeader = 'Namespace'
---- The header for the wikitable containing the list of possible subject-space
---- parameters.
-- cfg.wikitableAliasesHeader = 'Aliases'
--------------------------------------------------------------------------------
-- End of configuration data --
--------------------------------------------------------------------------------
return cfg -- Don't edit this line.
1o6ozz56i8q0xgyl6xa41n2v7kelhli
ਮੌਡਿਊਲ:Namespace detect/data
828
2766
5420
2023-03-23T09:09:32Z
Kuldeepburjbhalaike
1880
"-------------------------------------------------------------------------------- -- Namespace detect data -- -- This module holds data for [[Module:Namespace detect]] to be loaded per -- -- page, rather than per #invoke, for performance reasons. -- -------------------------------------------------------------------------------- local cfg = require('Module:Namespace detect/..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Namespace detect data --
-- This module holds data for [[Module:Namespace detect]] to be loaded per --
-- page, rather than per #invoke, for performance reasons. --
--------------------------------------------------------------------------------
local cfg = require('Module:Namespace detect/config')
local function addKey(t, key, defaultKey)
if key ~= defaultKey then
t[#t + 1] = key
end
end
-- Get a table of parameters to query for each default parameter name.
-- This allows wikis to customise parameter names in the cfg table while
-- ensuring that default parameter names will always work. The cfg table
-- values can be added as a string, or as an array of strings.
local defaultKeys = {
'main',
'talk',
'other',
'subjectns',
'demospace',
'demopage'
}
local argKeys = {}
for i, defaultKey in ipairs(defaultKeys) do
argKeys[defaultKey] = {defaultKey}
end
for defaultKey, t in pairs(argKeys) do
local cfgValue = cfg[defaultKey]
local cfgValueType = type(cfgValue)
if cfgValueType == 'string' then
addKey(t, cfgValue, defaultKey)
elseif cfgValueType == 'table' then
for i, key in ipairs(cfgValue) do
addKey(t, key, defaultKey)
end
end
cfg[defaultKey] = nil -- Free the cfg value as we don't need it any more.
end
local function getParamMappings()
--[[
-- Returns a table of how parameter names map to namespace names. The keys
-- are the actual namespace names, in lower case, and the values are the
-- possible parameter names for that namespace, also in lower case. The
-- table entries are structured like this:
-- {
-- [''] = {'main'},
-- ['wikipedia'] = {'wikipedia', 'project', 'wp'},
-- ...
-- }
--]]
local mappings = {}
local mainNsName = mw.site.subjectNamespaces[0].name
mainNsName = mw.ustring.lower(mainNsName)
mappings[mainNsName] = mw.clone(argKeys.main)
mappings['talk'] = mw.clone(argKeys.talk)
for nsid, ns in pairs(mw.site.subjectNamespaces) do
if nsid ~= 0 then -- Exclude main namespace.
local nsname = mw.ustring.lower(ns.name)
local canonicalName = mw.ustring.lower(ns.canonicalName)
mappings[nsname] = {nsname}
if canonicalName ~= nsname then
table.insert(mappings[nsname], canonicalName)
end
for _, alias in ipairs(ns.aliases) do
table.insert(mappings[nsname], mw.ustring.lower(alias))
end
end
end
return mappings
end
return {
argKeys = argKeys,
cfg = cfg,
mappings = getParamMappings()
}
ojp6d3pc8mql5nufaqdg576c9so3479
ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਧਾਰਨਾਵਾਂ/Points ਬਿੰਦੂ
0
2767
5566
5430
2023-03-24T07:37:59Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਬਿੰਦੂ]]
wikitext
text/x-wiki
#redirect[[ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਬਿੰਦੂ]]
9rr75e36rhiqf1mu4sgk10ckgp1l3c3
ਫਰਮਾ:Navigate
10
2768
5432
2023-03-23T12:46:37Z
Kuldeepburjbhalaike
1880
"{| class="noprint" style="margin:0.5em auto; border:0px; background:#aaaaaa; border-spacing:1px; text-align:center; width:90%;" |- | style="padding:0.25em; background:#6699dd;" colspan="3" | '''[[{{{Book|{{BOOKNAME}}}}}|<span style="color:#ddddff;">{{{Book|{{BOOKNAME}}}}}</span>]]''' |- style="background:white;" | style="width:30%; padding:0.25em;" | {{#if:{{{Prev|}}} |'''[[{{{Book|{{BOOKNAME}}}}}/{{{Prev}}}|{{{PrevText|{{{Prev}}}}}}]]'''}} |..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{| class="noprint" style="margin:0.5em auto; border:0px; background:#aaaaaa; border-spacing:1px; text-align:center; width:90%;"
|-
| style="padding:0.25em; background:#6699dd;" colspan="3" | '''[[{{{Book|{{BOOKNAME}}}}}|<span style="color:#ddddff;">{{{Book|{{BOOKNAME}}}}}</span>]]'''
|- style="background:white;"
| style="width:30%; padding:0.25em;" | {{#if:{{{Prev|}}} |'''[[{{{Book|{{BOOKNAME}}}}}/{{{Prev}}}|{{{PrevText|{{{Prev}}}}}}]]'''}}
| style="width:40%; padding:0.25em;" | '''{{{Curr|{{SUBPAGENAME}}}}}'''
| style="width:30%; padding:0.25em;" | {{#if:{{{Next|}}} |'''[[{{{Book|{{BOOKNAME}}}}}/{{{Next}}}|{{{NextText|{{{Next}}}}}}]]'''}}
|}
<includeonly>{{#ifeq:{{{example|no}}}|no|[[{{BOOKCATEGORY|{{{Book|{{BOOKNAME}}}}}}}|{{BOOKSORTKEY}}]]}}</includeonly><noinclude>{{documentation}}</noinclude>
r3vh18y1bvo1jm6p9yhfe27ampvnj36
ਫਰਮਾ:Navigate/doc
10
2769
5433
2023-03-23T12:47:18Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === This template takes six optional variables. {| style="width:100%" ! style="width: 50%" | MediaWiki syntax !! Displays as |- | <pre style="border:0px">{{Navigate | Book = Geometry for Elementary School | Curr = Introduction | Next = Our tools: Ruler and compass}}</pre> | {{Navigate|Book=Geometry for Elementary School|Curr=Introd..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
=== Usage ===
This template takes six optional variables.
{| style="width:100%"
! style="width: 50%" | MediaWiki syntax !! Displays as
|-
| <pre style="border:0px">{{Navigate
| Book = Geometry for Elementary School
| Curr = Introduction
| Next = Our tools: Ruler and compass}}</pre>
| {{Navigate|Book=Geometry for Elementary School|Curr=Introduction||Next=Our tools: Ruler and compass|example=yes}}
|-
| <pre style="border:0px">{{Navigate
| Book = Geometry for Elementary School
| Curr = Copying a triangle
| Prev = Copying a line segment
| Next = Copying an angle}}</pre>
| {{Navigate|Book=Geometry for Elementary School|Curr=Copying a triangle|Prev=Copying a line segment|Next=Copying an angle|example=yes}}
|-
| <pre style="border:0px">{{Navigate
| Book = Geometry for Elementary School
| Curr = Copying a triangle
| Prev = Copying a line segment
| Next = Copying an angle
| PrevText = Prev: Copying a line segment
| NextText = Next: Copying an angle}}</pre>
| {{Navigate|Book=Geometry for Elementary School|Curr=Copying a triangle|Prev=Copying a line segment|PrevText=Prev: Copying a line segment|Next=Copying an angle|NextText=Next: Copying an angle|example=yes}}
|-
| <pre style="border:0px">{{Navigate
| Book = Geometry for Elementary School
| Curr = Angles
| Prev = Lines}}</pre>
| {{Navigate|Book=Geometry for Elementary School|Curr=Angles|Prev=Lines|example=yes}}
|}
Note that the <code>Book</code> and <code>Curr</code> variables default to the book and current sub-page names, respectively. Most cases should not require setting these.
Note that the <code>PrevText</code> and <code>NextText</code> variables override the default display of the target so an alternative text may be substituted.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Navigational templates|{{PAGENAME}}]]
[[Category:Exclude in print|{{PAGENAME}}]]
</includeonly>
t0b2cwqbz9kjwflk4jfx69nxb57s3rf
ਫਰਮਾ:BOOKNAME
10
2770
5434
2023-03-23T13:16:54Z
Kuldeepburjbhalaike
1880
"<includeonly>{{safesubst:<noinclude/>BOOKNAME/core|namespace={{safesubst:<noinclude/>ARTICLESPACE:{{{1|{{safesubst:<noinclude/>FULLPAGENAME}}}}}}}|pagename={{safesubst:<noinclude/>PAGENAME:{{{1|{{safesubst:<noinclude/>FULLPAGENAME}}}}}}}}}</includeonly><noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{safesubst:<noinclude/>BOOKNAME/core|namespace={{safesubst:<noinclude/>ARTICLESPACE:{{{1|{{safesubst:<noinclude/>FULLPAGENAME}}}}}}}|pagename={{safesubst:<noinclude/>PAGENAME:{{{1|{{safesubst:<noinclude/>FULLPAGENAME}}}}}}}}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
tcwdet1ezrhbqgnnco7aq925j6xsq8u
ਫਰਮਾ:BOOKNAME/doc
10
2771
5435
2023-03-23T13:18:23Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{tl|SUBJECTNAME}}. __NOTOC__ === Usage === Simply place <code><nowiki>{{BOOKNAME}}</nowiki></code> on a page to get the output. When used on category, template, user, or talk pages, returns the ass..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{tl|SUBJECTNAME}}.
__NOTOC__
=== Usage ===
Simply place <code><nowiki>{{BOOKNAME}}</nowiki></code> on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{tl|NAIVEBOOKNAME}}.
Optionally specify a page as a parameter to see the output for a different page than the current one.
:<code><nowiki>{{BOOKNAME|<full pagename>}}</nowiki></code>
This template can also be substituted (via <code>[[mw:Help:Substitution|subst:]]</code>) rather than transcluded.
=== Examples ===
{{magic word templates/book page examples}}
=== Internals ===
This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{tl|BOOKNAME/core}}.
=== See also ===
{{magic word templates/book page see also}}
{{magic word templates/subject page see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Magic word templates|{{PAGENAME}}]]
</includeonly>
2srbi3gmb4bxobiq9eau16sus87csf8
ਫਰਮਾ:SUBJECTNAME
10
2772
5437
2023-03-23T13:21:01Z
Kuldeepburjbhalaike
1880
"{{SUBJECTNAME/core|namespace={{ARTICLESPACE:{{{1|{{FULLPAGENAME}}}}}}}|basename={{ROOTPAGENAME:{{{1|{{FULLPAGENAME}}}}}}}}}<noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{SUBJECTNAME/core|namespace={{ARTICLESPACE:{{{1|{{FULLPAGENAME}}}}}}}|basename={{ROOTPAGENAME:{{{1|{{FULLPAGENAME}}}}}}}}}<noinclude>
{{Documentation}}
</noinclude>
db1jyrdhwbk362cdmdlxho85v8ca7fr
ਫਰਮਾ:SUBJECTNAME/doc
10
2773
5438
2023-03-23T13:21:33Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. --> This template generates the name of the subject page associated with the current page. Compare {{tl|BOOKNAME}}. __NOTOC__ === Usage === Simply place <code><nowiki>{{SUBJECTNAME}}</nowiki></code> on a page to get the output. Optionally specify a page as a parameter to see the output for a different page than the current one. :<cod..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. -->
This template generates the name of the subject page associated with the current page. Compare {{tl|BOOKNAME}}.
__NOTOC__
=== Usage ===
Simply place <code><nowiki>{{SUBJECTNAME}}</nowiki></code> on a page to get the output.
Optionally specify a page as a parameter to see the output for a different page than the current one.
:<code><nowiki>{{SUBJECTNAME|<full pagename>}}</nowiki></code>
Deduction assumes the page ''is'' associated with a subject; this maximizes convenience of valid use, while disregarding behavior on invalid use.
=== Examples ===
{{magic word templates/subject page examples}}
=== Internals ===
This template itself only contains the logic to sort out the namespace and base-name; deducing from those data the associated subject-category name is then delegated to {{tl|SUBJECTNAME/core}}.
=== See also ===
{{magic word templates/subject page see also}}
{{magic word templates/book page see also}}
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Magic word templates|{{PAGENAME}}]]
</includeonly>
9zx136aifxysoecroegfb0pq2c6sfjq
ਫਰਮਾ:SUBJECTNAME/core
10
2774
5439
2023-03-23T13:22:01Z
Kuldeepburjbhalaike
1880
"{{#ifeq:{{NAMESPACE:{{{basename}}}}}|Subject|{{{basename}}}|Subject:{{#switch:{{{namespace}}} |Subject |Category |Template |= |#default={{{namespace}}}: }}{{{basename}}}}}<noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#ifeq:{{NAMESPACE:{{{basename}}}}}|Subject|{{{basename}}}|Subject:{{#switch:{{{namespace}}}
|Subject
|Category
|Template
|=
|#default={{{namespace}}}:
}}{{{basename}}}}}<noinclude>
{{Documentation}}
</noinclude>
l3254w6cy0lfwj40j8kyo454tjv32vr
ਫਰਮਾ:SUBJECTNAME/core/doc
10
2775
5440
2023-03-23T13:22:32Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. --> This subtemplate of {{tl|SUBJECTNAME}} does the actual deduction of the associated subject-page name, using data provided by the parent template. === Usage === The two parameters expected are <code>namespace</code> and <code>basename</code>. === Internals === If the basename has prefix <code>Subject:</code>, nothing else is looke..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. -->
This subtemplate of {{tl|SUBJECTNAME}} does the actual deduction of the associated subject-page name, using data provided by the parent template.
=== Usage ===
The two parameters expected are <code>namespace</code> and <code>basename</code>.
=== Internals ===
If the basename has prefix <code>Subject:</code>, nothing else is looked at. Otherwise, non-content pages lose their namespace prefix while content pages, consistent with the behavior of {{tl|BOOKNAME}}, retain their namespace prefix.
<includeonly>
<!-- Categories go here, and interwikis go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
ghwik9kjyz44pb39yrfumyy5hpxfage
ਫਰਮਾ:BOOKNAME/core
10
2776
5441
2023-03-23T13:23:49Z
Kuldeepburjbhalaike
1880
"{{safesubst:<noinclude/>#switch:{{{namespace}}} |Template={{safesubst:<noinclude/>#invoke:TScope|override|BOOKNAME/refactor}} |Category={{safesubst:<noinclude/>#invoke:TScope|override|BOOKNAME/category}} |#default={{safesubst:<noinclude/>#invoke:TScope|override|BOOKNAME/inbook}} }}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{safesubst:<noinclude/>#switch:{{{namespace}}}
|Template={{safesubst:<noinclude/>#invoke:TScope|override|BOOKNAME/refactor}}
|Category={{safesubst:<noinclude/>#invoke:TScope|override|BOOKNAME/category}}
|#default={{safesubst:<noinclude/>#invoke:TScope|override|BOOKNAME/inbook}}
}}<noinclude>
{{documentation}}
</noinclude>
0zkyysw3ogeh3p2h7pzhj90wvopoh7a
ਫਰਮਾ:BOOKNAME/core/doc
10
2777
5443
2023-03-23T13:25:04Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. --> This subpage of {{tl|BOOKNAME}} handles the actual deduction of the associated book name, using data provided by the parent template. === Usage === The two parameters expected are <code>namespace</code> and <code>pagename</code>. === Internals === This template is only a dispatcher, sending in-book cases to {{tl..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. -->
This subpage of {{tl|BOOKNAME}} handles the actual deduction of the associated book name, using data provided by the parent template.
=== Usage ===
The two parameters expected are <code>namespace</code> and <code>pagename</code>.
=== Internals ===
This template is only a dispatcher, sending in-book cases to {{tl|BOOKNAME/inbook}}, categories to {{tl|BOOKNAME/category}}, and templates to {{tl|BOOKNAME/refactor}}.
<includeonly>
<!-- Categories go here, and interwikis go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
iadr0jk14buvfmksr4enud9xs4mzgut
ਫਰਮਾ:BOOKNAME/inbook
10
2778
5445
2023-03-23T13:26:18Z
Kuldeepburjbhalaike
1880
"{{safesubst:<noinclude/>#switch:{{{namespace}}} |={{safesubst:<noinclude/>#if:{{safesubst:<noinclude/>evalx| (let (x (get-arg 2)) (if (equal? (get-substring x 1 11) "Department:") "x" (if (equal? (get-substring x 1 6) "Shelf:") "x" ""))) |{{safesubst:<noinclude/>ucfirst:{{{pagename}}}}}}} |Wikibooks Stacks |{{safesubst:<noinclude/>#title..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{safesubst:<noinclude/>#switch:{{{namespace}}}
|={{safesubst:<noinclude/>#if:{{safesubst:<noinclude/>evalx|
(let (x (get-arg 2))
(if (equal? (get-substring x 1 11) "Department:")
"x"
(if (equal? (get-substring x 1 6) "Shelf:")
"x"
"")))
|{{safesubst:<noinclude/>ucfirst:{{{pagename}}}}}}}
|Wikibooks Stacks
|{{safesubst:<noinclude/>#titleparts:{{{pagename}}}|1}}}}
|User ={{safesubst:<noinclude/>#invoke:TScope|override|BOOKNAME/user}}
|#default={{{namespace}}}:{{safesubst:<noinclude/>#titleparts:{{{pagename}}}|1}}
}}<noinclude>
{{documentation}}
</noinclude>
sy8r4g4tcxgq6fd7zkdq8m4tci82ju9
ਫਰਮਾ:BOOKNAME/inbook/doc
10
2779
5446
2023-03-23T13:26:48Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate of {{tl|BOOKNAME}} handles all cases where the page is actually part of the book. === Usage === The two parameters expected are <code>namespace</code> and <code>pagename</code>. === Internals === This template handles most in-book cases directly, but dispatches the complicated..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate of {{tl|BOOKNAME}} handles all cases where the page is actually part of the book.
=== Usage ===
The two parameters expected are <code>namespace</code> and <code>pagename</code>.
=== Internals ===
This template handles most in-book cases directly, but dispatches the complicated case of pages in userspace to {{tl|BOOKNAME/user}}.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
ns1nrk61qhmno1ghe7e4tenn33ykul8
ਫਰਮਾ:BOOKNAME/user
10
2780
5447
2023-03-23T13:27:51Z
Kuldeepburjbhalaike
1880
"{{safesubst:<noinclude/>#titleparts:{{{namespace}}}:{{{pagename}}}|{{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>#titleparts:{{{pagename}}}|1|2}}|sandbox|3|2}}}}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{safesubst:<noinclude/>#titleparts:{{{namespace}}}:{{{pagename}}}|{{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>#titleparts:{{{pagename}}}|1|2}}|sandbox|3|2}}}}<noinclude>
{{documentation}}
</noinclude>
61udw7xtg58hiufa89t074pk63j9bse
ਫਰਮਾ:BOOKNAME/user/doc
10
2781
5448
2023-03-23T13:28:20Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate of {{tl|BOOKNAME}} handles for {{tl|BOOKNAME/core}} the case of userspace. === Usage === The two parameters expected are <code>namespace</code> and <code>pagename</code>. === Internals === At this writing, the associated book name for a page in userspace is everything before the ''second'' slas..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate of {{tl|BOOKNAME}} handles for {{tl|BOOKNAME/core}} the case of userspace.
=== Usage ===
The two parameters expected are <code>namespace</code> and <code>pagename</code>.
=== Internals ===
At this writing, the associated book name for a page in userspace is everything before the ''second'' slash, except that if that ends with <code>/sandbox</code>, everything before the ''third'' slash is taken. Books and book fragments in userspace are likely to be exceptional anyway, so any default rule used here is only a guess and should probably be treated as provisional, subject to change without warning; but meanwhile, these rules were chosen as possibly-useful.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
mc14n87fq4dya1qosxpppl35nkmojpk
ਫਰਮਾ:BOOKNAME/category
10
2782
5449
2023-03-23T13:29:09Z
Kuldeepburjbhalaike
1880
"{{safesubst:<noinclude/>BOOKNAME/refactor|pagename={{safesubst:<noinclude/>evalx| (let (x (get-arg 2)) (if (equal? (get-substring x 1 5) "Book:") (get-substring x 6) x)) |{{{pagename}}}}}}}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{safesubst:<noinclude/>BOOKNAME/refactor|pagename={{safesubst:<noinclude/>evalx|
(let (x (get-arg 2))
(if (equal? (get-substring x 1 5) "Book:")
(get-substring x 6)
x))
|{{{pagename}}}}}}}<noinclude>
{{documentation}}
</noinclude>
faj14crz5buavu2vl4k479h1ww4pk88
ਫਰਮਾ:BOOKNAME/category/doc
10
2783
5450
2023-03-23T13:29:26Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate of {{tl|BOOKNAME}} handles for {{tl|BOOKNAME/core}} the case of category namespace. === Usage === The two parameters expected are <code>namespace</code> and <code>pagename</code>. === Internals === At this writing, the associated book name for a category is derived from the <c..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate of {{tl|BOOKNAME}} handles for {{tl|BOOKNAME/core}} the case of category namespace.
=== Usage ===
The two parameters expected are <code>namespace</code> and <code>pagename</code>.
=== Internals ===
At this writing, the associated book name for a category is derived from the <code>pagename</code> by stripping an optional <code>Book:</code> prefix and treating the result as the full name (with namespace) of an in-book page, delegating through {{tl|BOOKNAME/refactor}} to {{tl|BOOKNAME/inbook}}.
If the <code>Book:</code> prefix is missing, by not stripping the category name's first five characters, it is treated as an old-style book-category name.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
bw4e7wrbdml8per7yjir5q27ykgwlvu
ਫਰਮਾ:BOOKNAME/refactor
10
2784
5451
2023-03-23T13:30:03Z
Kuldeepburjbhalaike
1880
"<includeonly>{{safesubst:<noinclude/>BOOKNAME/inbook|namespace={{safesubst:<noinclude/>NAMESPACE:{{{pagename}}}}}|pagename={{safesubst:<noinclude/>PAGENAME:{{{pagename}}}}}}}</includeonly><noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{safesubst:<noinclude/>BOOKNAME/inbook|namespace={{safesubst:<noinclude/>NAMESPACE:{{{pagename}}}}}|pagename={{safesubst:<noinclude/>PAGENAME:{{{pagename}}}}}}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
8j30xggg4ig59rufgu29xcy1h3ztlu9
ਫਰਮਾ:BOOKNAME/refactor/doc
10
2785
5452
2023-03-23T13:30:31Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate of {{tl|BOOKNAME}} handles cases where an in-book-style page name has been derived from the name of an associated non-book page. === Usage === The in-book-style name is expected as parameter <code>pagename</code>. === Internals === This template only splits the derived name, d..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate of {{tl|BOOKNAME}} handles cases where an in-book-style page name has been derived from the name of an associated non-book page.
=== Usage ===
The in-book-style name is expected as parameter <code>pagename</code>.
=== Internals ===
This template only splits the derived name, dispatching book-name deduction to {{tl|BOOKNAME/inbook}}. At this writing, the two non-book namespaces that invoke this are template space, where the derivation is trivial, and category space, where derivation is nontrivial and handled by {{tl|BOOKNAME/category}}.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
7dcmhmcloao31nim3rkurjt7jhfam80
ਫਰਮਾ:NAIVEBOOKNAME
10
2786
5453
2023-03-23T13:31:14Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1}}</includeonly><noinclude>{{documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1}}</includeonly><noinclude>{{documentation}}</noinclude>
p6elrbww9zt8w5vven8h68v7asswoj9
ਫਰਮਾ:NAIVEBOOKNAME/doc
10
2787
5454
2023-03-23T13:31:42Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> Returns the name of the book including the namespace. Does not distinguish between content namespaces and non-content namespaces, naively assuming the current page is a page of a book. ===Usage=== Simply place <code><nowiki>{{</nowiki>{{OBJECTPAGENAME}}<nowiki>}}</nowiki></code> on a page to get the output. Optionally specify a p..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
Returns the name of the book including the namespace. Does not distinguish between content namespaces and non-content namespaces, naively assuming the current page is a page of a book.
===Usage===
Simply place <code><nowiki>{{</nowiki>{{OBJECTPAGENAME}}<nowiki>}}</nowiki></code> on a page to get the output.
Optionally specify a page as a parameter to see the output for a different page than the current one.
:<code><nowiki>{{</nowiki>{{OBJECTPAGENAME}}<nowiki>|<full pagename>}}</nowiki></code>
===Examples===
{| class="wikitable"
|-
! page where called
! result
|-
| Wikijunior:Biology
| <code>{{{{OBJECTPAGENAME}}|Wikijunior:Biology}}</code>
|-
| Chess/Puzzles/Directmates
| <code>{{{{OBJECTPAGENAME}}|Chess/Puzzles/Directmates}}</code>
|-
| Wikijunior:Dinosaurs/Apatosaurus
| <code>{{{{OBJECTPAGENAME}}|Wikijunior:Dinosaurs/Apatosaurus}}</code>
|-
| Category:Horticulture/Templates/Boxes
| <code>{{{{OBJECTPAGENAME}}|Category:Horticulture/Templates/Boxes}}</code>
|-
| Wikijunior talk:Bugs/Shield Bug
| <code>{{{{OBJECTPAGENAME}}|Wikijunior talk:Bugs/Shield Bug}}</code>
|}
===See also===
* {{tl|NAIVEBOOKSTEM}} — (deprecated) page name without subpages and without the namespace.
* {{tl|BOOKNAME}} — deduces full root name of book associated with the current page.
* {{tl|BOOKTEMPLATE}} — deduces full root name for templates of book associated with the current page.
* {{tl|BOOKCATEGORY}} — deduces full root name for categories of book associated with the current page.
* {{tl|SUBJECTNAME}} — deduces full root name of subject associated with the current page.
* {{tl|SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Magic word templates|{{PAGENAME}}]]
</includeonly>
31ljiti6qxq3whn3z5a5y6lj3u0gvwd
ਫਰਮਾ:NAIVEBOOKSTEM
10
2788
5455
2023-03-23T13:32:13Z
Kuldeepburjbhalaike
1880
"<includeonly>{{ROOTPAGENAME:{{{1|{{FULLPAGENAME}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{ROOTPAGENAME:{{{1|{{FULLPAGENAME}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
pl7otx6yr7dpfmlxrqhn596g36q3724
ਫਰਮਾ:NAIVEBOOKSTEM/doc
10
2789
5456
2023-03-23T13:32:42Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> Returns the name of the book without the namespace. Does not distinguish between content namespaces and non-content namespaces, naively assuming the current page is a page of a book. The technical function of this template is now duplicated by magic word <code><nowiki>{{ROOTPAGENAME}}</nowiki></code>, and a more sophisticated log..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
Returns the name of the book without the namespace. Does not distinguish between content namespaces and non-content namespaces, naively assuming the current page is a page of a book.
The technical function of this template is now duplicated by magic word <code><nowiki>{{ROOTPAGENAME}}</nowiki></code>, and a more sophisticated logical book name template is available at {{tl|BOOKNAME}}.
===Usage===
Simply place <code><nowiki>{{</nowiki>{{OBJECTPAGENAME}}<nowiki>}}</nowiki></code> on a page to get the output.
Optionally specify a page as a parameter to see the output for a different page than the current one.
:<code><nowiki>{{</nowiki>{{OBJECTPAGENAME}}<nowiki>|<full pagename>}}</nowiki></code>
===Examples===
{| class="wikitable"
|-
! page where called
! result
|-
| Wikijunior:Biology
| <code>{{{{OBJECTPAGENAME}}|Wikijunior:Biology}}</code>
|-
| Chess/Puzzles/Directmates
| <code>{{{{OBJECTPAGENAME}}|Chess/Puzzles/Directmates}}</code>
|-
| Wikijunior:Dinosaurs/Apatosaurus
| <code>{{{{OBJECTPAGENAME}}|Wikijunior:Dinosaurs/Apatosaurus}}</code>
|-
| Category:Book:Horticulture/Templates/Boxes
| <code>{{{{OBJECTPAGENAME}}|Category:Book:Horticulture/Templates/Boxes}}</code>
|-
| Wikijunior talk:Bugs/Shield Bug
| <code>{{{{OBJECTPAGENAME}}|Wikijunior talk:Bugs/Shield Bug}}</code>
|}
===See also===
* {{tl|NAIVEBOOKNAME}} — page name without subpages and retaining the namespace.
* {{tl|BOOKNAME}} — deduces full root name of book associated with the current page.
* {{tl|BOOKTEMPLATE}} — deduces full root name for templates of book associated with the current page.
* {{tl|BOOKCATEGORY}} — deduces full root name for categories of book associated with the current page.
* {{tl|SUBJECTNAME}} — deduces full root name of subject associated with the current page.
* {{tl|SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Magic word templates|{{PAGENAME}}]]
</includeonly>
lzjgspf6megujmhej2v75n3id59y31d
ਫਰਮਾ:BOOKCATEGORY
10
2790
5457
2023-03-23T13:33:06Z
Kuldeepburjbhalaike
1880
"<includeonly>Category:Book:{{{book|{{safesubst:<noinclude/>BOOKNAME|{{{1|{{safesubst:<noinclude/>FULLPAGENAME}}}}}}}}}}</includeonly><noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>Category:Book:{{{book|{{safesubst:<noinclude/>BOOKNAME|{{{1|{{safesubst:<noinclude/>FULLPAGENAME}}}}}}}}}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
iwwpkbvabom52cebzb3ibkm2696erug
ਫਰਮਾ:BOOKCATEGORY/doc
10
2791
5458
2023-03-23T13:33:38Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories and interwikies to the bottom of this page, and also add interwikis to Wikidata. --> This template generates the name for the book-category of the book associated with the current page. There is precedent for change in this naming convention; at this writing the category is named {{nowrap|<code>Category:Book:{{tl|BOOKNAME}}</code>}}, while historically it was named {{nowrap|<..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories and interwikies to the bottom of this page, and also add interwikis to Wikidata. -->
This template generates the name for the book-category of the book associated with the current page. There is precedent for change in this naming convention; at this writing the category is named {{nowrap|<code>Category:Book:{{tl|BOOKNAME}}</code>}}, while historically it was named {{nowrap|<code>Category:{{tl|BOOKNAME}}</code>}}.
__NOTOC__
=== Usage ===
Simply place <code><nowiki>{{BOOKCATEGORY}}</nowiki></code> on a page to get the output.
Optionally specify a page as an unnamed parameter to see the output for a different page than the current one.
:<code><nowiki>{{BOOKCATEGORY|<full pagename>}}</nowiki></code>
Optionally specify the book name as parameter <code>book</code> to derive the associated book category name, bypassing the algorithm for deducing book name from page name; useful for deriving book category name when book name is already known, as in {{tl|BookCat}}.
:<code><nowiki>{{BOOKCATEGORY|book=<book name>}}</nowiki></code>
=== Examples ===
{{magic word templates/book page examples}}
=== Internals ===
This template contains the logic to sort out the base-name of the book. During the transition from the old naming scheme to the new one, a subtemplate {{tl|BOOKCATEGORY/core}} was used to deduce the associated book-category name by determining which naming scheme the particular book used.
=== See also ===
* {{tl|BookCat}}
{{magic word templates/book page see also}}
{{magic word templates/subject page see also}}
<includeonly>
<!-- Categories and interwikies go here, and interwikies also go to Wikidata. -->
[[Category:Magic word templates|{{PAGENAME}}]]
</includeonly>
74mgxesey2zpb55qbeticyg7cbzvblz
ਫਰਮਾ:SUBJECTCATEGORY
10
2792
5459
2023-03-23T13:34:12Z
Kuldeepburjbhalaike
1880
"Category:{{SUBJECTNAME|{{{1|{{FULLPAGENAME}}}}}}}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
Category:{{SUBJECTNAME|{{{1|{{FULLPAGENAME}}}}}}}<noinclude>
{{documentation}}
</noinclude>
7e6y840gfgcsnu3atmhd3x5mno3ca8w
ਫਰਮਾ:SUBJECTCATEGORY/doc
10
2793
5460
2023-03-23T13:34:42Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This template generates the conventional name for the subject-category of the subject associated with the current page. This name is now {{nowrap|<code>Category:Subject:<name></code>}}, but historically was {{nowrap|<code>Category:<name></code>}}. === Usage === Simply place <code><nowiki>{{SUBJECTCAT..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This template generates the conventional name for the subject-category of the subject associated with the current page. This name is now {{nowrap|<code>Category:Subject:<name></code>}}, but historically was {{nowrap|<code>Category:<name></code>}}.
=== Usage ===
Simply place <code><nowiki>{{SUBJECTCATEGORY}}</nowiki></code> on a page to get the output.
Optionally specify a page as a parameter to see the output for a different page than the current one.
:<code><nowiki>{{SUBJECTCATEGORY|<full pagename>}}</nowiki></code>
The subject-category name is derived from {{tl|SUBJECTNAME}}.
=== Examples ===
{{magic word templates/subject page examples}}
=== See also ===
{{magic word templates/subject page see also}}
{{magic word templates/book page see also}}
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Magic word templates|{{PAGENAME}}]]
</includeonly>
h3vbytm0huh39t4dw8atdaavt6fik43
ਫਰਮਾ:Magic word templates/book page examples
10
2794
5463
2023-03-23T13:36:44Z
Kuldeepburjbhalaike
1880
"<includeonly>{{magic word templates/book page examples/core|{{{1|{{OBJECTPAGENAME}}}}}}}</includeonly><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{magic word templates/book page examples/core|{{{1|{{OBJECTPAGENAME}}}}}}}</includeonly><noinclude>
{{documentation}}
</noinclude>
eaxeiltbngpi0wfzrh545lki17vxpjh
ਫਰਮਾ:Magic word templates/book page examples/doc
10
2795
5464
2023-03-23T13:37:10Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> === Usage === Transclude this on the documentation page of a [[:Category:Magic word templates|magic word template]] relating a page to its associated book, to produce a table of examples of the template's behavior on various page names. The template is expected to accept an unnamed parameter overriding the curr..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
=== Usage ===
Transclude this on the documentation page of a [[:Category:Magic word templates|magic word template]] relating a page to its associated book, to produce a table of examples of the template's behavior on various page names. The template is expected to accept an unnamed parameter overriding the current page name. See for example [[Template:BOOKNAME/doc]].
This template itself accepts an unnamed parameter specifying the name of the template to be demonstrated; otherwise it uses {{tl|OBJECTPAGENAME}}. For example,
:<code>{{(*|2}}{{OBJECTPAGENAME}}{{!}}BOOKNAME{{*)|2}}</code>
would produce
{{{{OBJECTPAGENAME}}|BOOKNAME}}
=== Internals ===
The examples are in subtemplate {{tl|{{PAGENAME:{{OBJECTPAGENAME}}}}/core}}; this template only chooses the target for demonstration and delegates there.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Magic word templates/documentation|{{SUBPAGENAME}}]]
</includeonly>
1jhe28vhy664jm3je5ugel96kmmdj0a
ਫਰਮਾ:Magic word templates/book page examples/core
10
2796
5465
2023-03-23T13:38:06Z
Kuldeepburjbhalaike
1880
"<includeonly>{| class="wikitable" |- ! page where called ! result |- | Taxi Tongue/Dialogue 4 | <code>{{{{{1}}}|Taxi Tongue/Dialogue 4}}</code> |- | Chess/Puzzles/Directmates | <code>{{{{{1}}}|Chess/Puzzles/Directmates}}</code> |- | Wikijunior:Biology | <code>{{{{{1}}}|Wikijunior:Biology}}</code> |- | Wikijunior:Dinosaurs/Apatosaurus | <code>{{{{{1}}}|Wikijunior:Dinosaurs/Apatosaurus}}</code> |- | Wikijunior talk:Bugs/Shield Bug | <code>{{{{{1}}}|..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{| class="wikitable"
|-
! page where called
! result
|-
| Taxi Tongue/Dialogue 4
|
<code>{{{{{1}}}|Taxi Tongue/Dialogue 4}}</code>
|-
| Chess/Puzzles/Directmates
|
<code>{{{{{1}}}|Chess/Puzzles/Directmates}}</code>
|-
| Wikijunior:Biology
|
<code>{{{{{1}}}|Wikijunior:Biology}}</code>
|-
| Wikijunior:Dinosaurs/Apatosaurus
|
<code>{{{{{1}}}|Wikijunior:Dinosaurs/Apatosaurus}}</code>
|-
| Wikijunior talk:Bugs/Shield Bug
|
<code>{{{{{1}}}|Wikijunior talk:Bugs/Shield Bug}}</code>
|-
| Category:Horticulture/Templates/Boxes
|
<code>{{{{{1}}}|Category:Horticulture/Templates/Boxes}}</code>
|-
| Category:Book:Wikijunior:Solar System/Templates
|
<code>{{{{{1}}}|Category:Book:Wikijunior:Solar System/Templates}}</code>
|-
| Template:Wikijunior:Solar System/coolfacts
|
<code>{{{{{1}}}|Template:Wikijunior:Solar System/coolfacts}}</code>
|-
| User:Pi zero/Conlang/Beginner/Sounds
|
<code>{{{{{1}}}|User:Pi zero/Conlang/Beginner/Sounds}}</code>
|-
| User:Pi zero/sandbox/Conlang/Beginner/Sounds
|
<code>{{{{{1}}}|User:Pi zero/sandbox/Conlang/Beginner/Sounds}}</code>
|-
| Category:User:Pi zero/sandbox/Conlang/Beginner/Sounds
|
<code>{{{{{1}}}|Category:User:Pi zero/sandbox/Conlang/Beginner/Sounds}}</code>
|-
| Template:User:Pi zero/sandbox/Conlang/Beginner/Sounds
|
<code>{{{{{1}}}|Template:User:Pi zero/sandbox/Conlang/Beginner/Sounds}}</code>
|-
| Shelf:Physical sciences
|
<code>{{{{{1}}}|Shelf:Physical sciences}}</code>
|-
| Template:Shelf:Page
|
<code>{{{{{1}}}|Template:Shelf:Page}}</code>
|-
| Template:Shelf:Page/display
|
<code>{{{{{1}}}|Template:Shelf:Page/display}}</code>
|}</includeonly><noinclude>
{{documentation}}
</noinclude>
1rndchpp5q9v3iv467t1zmu5mg45syy
ਫਰਮਾ:Magic word templates/book page examples/core/doc
10
2797
5466
2023-03-23T13:38:34Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate of {{tl|magic word templates/book page examples}} contains the table of examples; the parent template chooses the target for demonstration. === Usage === The target template name is expected as unnamed parameter. <includeonly> <!-- Categories and interwikis go here, and interwikis also go on W..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate of {{tl|magic word templates/book page examples}} contains the table of examples; the parent template chooses the target for demonstration.
=== Usage ===
The target template name is expected as unnamed parameter.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
8mvcy91tffxd4g5vmk8nuck8g593sph
ਫਰਮਾ:OBJECTPAGENAME
10
2798
5467
2023-03-23T13:39:21Z
Kuldeepburjbhalaike
1880
"{{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>#titleparts:{{{1|{{safesubst:<noinclude/>FULLPAGENAME}}}}}||-1}}|doc|{{safesubst:<noinclude/>#titleparts:{{{1|{{safesubst:<noinclude/>FULLPAGENAME}}}}}|-1}}|{{{1|{{safesubst:<noinclude/>FULLPAGENAME}}}}}}}<noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>#titleparts:{{{1|{{safesubst:<noinclude/>FULLPAGENAME}}}}}||-1}}|doc|{{safesubst:<noinclude/>#titleparts:{{{1|{{safesubst:<noinclude/>FULLPAGENAME}}}}}|-1}}|{{{1|{{safesubst:<noinclude/>FULLPAGENAME}}}}}}}<noinclude>
{{Documentation}}
</noinclude>
evribh5lu9ysqdsl55ru87zsdk4qdv5
ਫਰਮਾ:OBJECTPAGENAME/doc
10
2799
5468
2023-03-23T13:39:48Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === Returns the name of the non-documentation page presumably associated with the transcluding page: returns <nowiki>{{FULLPAGENAME}}</nowiki> with a <code>/doc</code> suffix, if any, stripped off. Use on a documentation subpage names the documented page (the object of the documentation) both when viewing the subpage directly and when tr..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
=== Usage ===
Returns the name of the non-documentation page presumably associated with the transcluding page: returns <nowiki>{{FULLPAGENAME}}</nowiki> with a <code>/doc</code> suffix, if any, stripped off.
Use on a documentation subpage names the documented page (the object of the documentation) both when viewing the subpage directly and when transcluding it on the documented page.
An optional unnamed parameter specifies a name to use in place of <nowiki>{{FULLPAGENAME}}</nowiki>.
This template can be substituted (via <code>[[mw:Help:Substitution|subst:]]</code>) as well as transcluded.
=== Examples ===
{| class="wikitable"
! page where called
! result
|-
| Template:Assistant/dwim
| <code>{{{{OBJECTPAGENAME}}|Template:Assistant/dwim}}</code>
|-
| Template:Assistant/dwim/doc
| <code>{{{{OBJECTPAGENAME}}|Template:Assistant/dwim/doc}}</code>
|-
| {{SITENAME}}:Assistant/dwim
| <code>{{{{OBJECTPAGENAME}}|{{SITENAME}}:Assistant/dwim}}</code>
|-
| {{SITENAME}}:Assistant/dwim/doc
| <code>{{{{OBJECTPAGENAME}}|{{SITENAME}}:Assistant/dwim/doc}}</code>
|}
=== See also ===
* {{tl|Documentation}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template documentation| ]]
[[Category:Magic word templates]]
[[Category:Dialog optional support templates]]
</includeonly>
5n0w0bdljtk5uk07vkfdkjmvw2p508d
ਫਰਮਾ:Documentation/doc
10
2800
5470
2023-03-23T13:41:16Z
Kuldeepburjbhalaike
1880
"{{template shortcut|doc}} {{documentation subpage}} __NOTOC__ This template automatically displays a documentation box like you are seeing now, whose content is transcluded from another page. It is intended for pages which are [[w:Wikipedia:Transclusion|transcluded]] in other pages, i.e. templates, whether in the template namespace or not. ==Usage== ===Normal /doc=== <noinclude>{{{{{template-name|Documentation}}}}}&l..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{template shortcut|doc}}
{{documentation subpage}}
__NOTOC__
This template automatically displays a documentation box like you are seeing now, whose content is transcluded from another page. It is intended for pages which are [[w:Wikipedia:Transclusion|transcluded]] in other pages, i.e. templates, whether in the template namespace or not.
==Usage==
===Normal /doc===
<noinclude>{{{{{template-name|Documentation}}}}}</noinclude>
===Any /doc page===
<noinclude>{{{{{template-name|Documentation}}}|Template:any page/doc}}</noinclude>
===In-line content===
<noinclude>{{{{{template-name|Documentation}}}|content=This is documentation.}}</noinclude>
===In-line content with [view][edit] links===
<noinclude>{{{{{template-name|Documentation}}}
|1=Template:any page/doc
|content={{Template:any page/doc|parameters}}
}}</noinclude>
===Best practice===
This code should be added at the bottom of the template code, with no extra space before "<code><noinclude></code>" (which would cause extra space on pages where the template is used). The parameter can be used as shown above to transclude an arbitrary documentation page.
Add categories and interwiki links to the documentation page inside <kbd><includeonly> </includeonly></kbd> tags.
If the documentation page contains includeonly or noinclude tags as part of the documentation, replace the "<" with "&lt;".
===Customizing display===
Overrides exist to customize the output in special cases:
* <nowiki>{{</nowiki>documentation|'''heading'''=}}: change the text of the "documentation" heading. If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.
==Functions==
If the documentation page doesn't exist, the "edit" link includes a [[mw:Manual:Creating pages with preloaded text|preload]] parameter so that clicking it will pre-fill the edit form with the basic documentation page format.
==Rationale==
*Use of this template allows templates to be [[Wikipedia:Protection policy|protected]] where necessary, while allowing anyone to edit the documentation, categories, and interwiki links.
*Text on the template page itself adds to the amount of text which must be processed when displaying the template, which is limited for performance reasons: there is a [[w:Wikipedia:Template limits|pre-expand include size maximum]] of 2,048,000 bytes. Placing the documentation in a subpage reduces the wikitext for documentation on the template page itself to a template call and noinclude tags. MediaWiki developers have <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&diff=prev&oldid=69888944 recommended]</span> this system for this reason.
== Remember==
Add categories to the /doc subpage and interwikis in Wikidata, not in the template page.
==See also==
{{Documentation/doc/see also }}
<includeonly>
[[Category:Template documentation| ]]
[[eo:Ŝablono:Dok]]
[[es:Plantilla:Documentación]]
[[fr:Modèle:Documentation modèle]]
[[hu:Sablon:Sablondokumentáció]]
[[ja:Template:Documentation]]
[[ko:틀:틀 설명문서]]
[[pt:Predefinição:Documentação]]
[[ru:Шаблон:Doc]]
[[th:แม่แบบ:Documentation]]
</includeonly>
lrw78arorq3rias2eusvvnryilp4nq8
ਫਰਮਾ:Template shortcut
10
2801
5471
2023-03-23T13:42:00Z
Kuldeepburjbhalaike
1880
"<table class="shortcutbox shortcutbox-template plainlinks noprint" style=" {{#ifeq:{{{float|}}}|left | float:left; margin: .3em 1em .3em .3em; | float:right; margin: .3em .3em .3em 1em; }} border:1px solid #aaa; background:#fff; padding:3px; text-align:center;"><tr><th style="border:none; background:transparent;"><span style="font-size:smaller;">Shortcut{{#if:{{{2|}}}|s}}:<!-- --><br> {{{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<table class="shortcutbox shortcutbox-template plainlinks noprint" style="
{{#ifeq:{{{float|}}}|left
| float:left; margin: .3em 1em .3em .3em;
| float:right; margin: .3em .3em .3em 1em;
}}
border:1px solid #aaa; background:#fff; padding:3px; text-align:center;"><tr><th style="border:none; background:transparent;"><span style="font-size:smaller;">Shortcut{{#if:{{{2|}}}|s}}:<!--
--><br> {{{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]}}<!--
-->{{#if:{{{2|}}}|<br> {{{{{pre2|}}}[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}]}}}}<!--
-->{{#if:{{{3|}}}|<br> {{{{{pre2|}}}[{{fullurl:Template:{{{3}}}|redirect=no}} {{{3}}}]}}}}<!--
-->{{#if:{{{4|}}}|<br> {{{{{pre2|}}}[{{fullurl:Template:{{{4}}}|redirect=no}} {{{4}}}]}}}}<!--
-->{{#if:{{{5|}}}|<br> {{{{{pre2|}}}[{{fullurl:Template:{{{5}}}|redirect=no}} {{{5}}}]}}}}<!--
-->{{#if:{{{6|}}}|<br> {{{{{pre3|}}}[{{fullurl:Template:{{{6}}}|redirect=no}} {{{6}}}]}}}}</span></table><noinclude>
{{Documentation}}
</noinclude>
qgsd6be7xktnljboe32z518z0mmkyqb
ਫਰਮਾ:Template shortcut/doc
10
2802
5472
2023-03-23T13:42:39Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Template shortcut|Shc|Short|Shorthand}} This is the {{tl|template shortcut}} template. It can be used to show the names of shortcuts to a template. It can take up to six shortcuts as parameters. === Usage === If you want to indicate that <nowiki>{{uw-vandalism1}} has shortcuts named {{uw-v1}}, {{uw-vandal1}}, and {{uw-vand1}}</nowiki>, then y..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{Template shortcut|Shc|Short|Shorthand}}
This is the {{tl|template shortcut}} template.
It can be used to show the names of shortcuts to a template.
It can take up to six shortcuts as parameters.
=== Usage ===
If you want to indicate that <nowiki>{{uw-vandalism1}} has shortcuts named {{uw-v1}}, {{uw-vandal1}}, and {{uw-vand1}}</nowiki>, then you could use one of:
{{template shortcut|uw-v1}}
{{tlx|template shortcut|uw-v1}}
{{clear}}
{{template shortcut|uw-v1|uw-vand1}}
{{tlx|template shortcut|uw-v1|uw-vand1}}
{{clear}}
{{template shortcut|uw-v1|uw-vand1|uw-vandal1}}
{{tlx|template shortcut|uw-v1|uw-vand1|uw-vandal1}}
{{clear}}
=== Additional parameters ===
This template has some additional parameters.
"float=left" makes this template flow to the left of the page instead:
{{template shortcut|float=left|uw-v1}}
<code><nowiki>{{template shortcut|float=left|uw-v1}}</nowiki></code>
{{clear}}
"pre=something", "pre2=something" and "pre3=something" feeds some text to show before the shortcut links but within the braces. This is mostly used to indicate that the template should be used with substitution. Then you can do like this:
{{template shortcut|pre=subst:|uw-v1|uw-vand1}}
<code><nowiki>{{template shortcut|pre=subst:|uw-v1|uw-vand1}}</nowiki></code>
{{clear}}
{{template shortcut|uw-v1|pre2=subst:|uw-vand1|pre3=subst:|uw-vandal1}}
<code><nowiki>{{template shortcut|uw-v1|pre2=subst:|uw-vand1|pre3=subst:|uw-vandal1}}</nowiki></code>
{{clear}}
=== See also ===
* {{tl|shortcut}} – The normal shortcut.
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Internal link templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
2944qpne1mn472yo41ym7b9il0s971l
ਫਰਮਾ:Clear
10
2803
5473
2023-03-23T13:43:30Z
Kuldeepburjbhalaike
1880
"<div style="clear: {{{1|both}}};"></div><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div style="clear: {{{1|both}}};"></div><noinclude>
{{documentation}}
</noinclude>
s0bfh0joiyvltmzxikramg1z0v3obd7
ਫਰਮਾ:Clear/doc
10
2804
5474
2023-03-23T13:44:58Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} {{possible-risk}} This template adds <kbd><div style="clear:both;"></div></kbd>. {{tlx|clear}}: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images. ===Usage=== <nowiki>{{Clear}}</nowiki> The template may also be substituted, but as the markup provided will be confusing to many editors, and this template provides documentatio..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
{{possible-risk}}
This template adds <kbd><div style="clear:both;"></div></kbd>.
{{tlx|clear}}: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.
===Usage===
<nowiki>{{Clear}}</nowiki>
The template may also be substituted, but as the markup provided will be confusing to many editors, and this template provides documentation for itself, there is little justification for substitution.
===Example without the {{tl|clear}} template===
[[File:HeidelbergTun.jpg|200px|left]]
{{lorem}}
==== New section ====
See how this section starts at the right of the image, with the line actually overlapping the image
<div style="clear:both;"></div> <!-- a genuine use of the template! -->
=== Example with the {{tl|clear}} template ===
[[File:HeidelbergTun.jpg|200px|left]]
{{lorem}}
'''{{tl|clear}}'''
<div style="clear:both;"></div>
==== New section ====
See how this looks much better?
=== See also ===
* {{tl|clearleft}} delays content until left column is complete.
* {{tl|clearright}} delays content until right column is complete.
* {{tl|-}} is similar, but technically different.
<includeonly>
[[Category:Float templates|{{PAGENAME}}]]
</includeonly>
ri1cu5d0wa17rzj0al2baf1fljywmz8
ਫਰਮਾ:Documentation/styles.css
10
2805
5475
2023-03-23T13:46:15Z
Kuldeepburjbhalaike
1880
"/*Template documentation*/ .template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #aaddff; background-color: #eef5ff; padding: 5px; } /* force edit links to right in start box span#doc_editlinks { float: right !important; margin-right: 0.50em !important; } */" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
sanitized-css
text/css
/*Template documentation*/
.template-documentation {
clear: both;
margin: 1em 0 0 0;
border: 1px solid #aaddff;
background-color: #eef5ff;
padding: 5px;
}
/* force edit links to right in start box
span#doc_editlinks {
float: right !important;
margin-right: 0.50em !important;
} */
obutt3hng35r7u910olh8une4136en4
ਮੌਡਿਊਲ:Documentation
828
2806
5476
2023-03-23T13:47:10Z
Kuldeepburjbhalaike
1880
"-- This module implements {{Documentation}}. -- Get required modules. local getArgs = require('Module:Arguments').getArgs -- Get the config table. local cfg = mw.loadData('Module:Documentation/config') local p = {} -- Often-used functions. local ugsub = mw.ustring.gsub ---------------------------------------------------------------------------- -- Helper functions -- -- These are defined as local functions, but are made available in the p --..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
-- This module implements {{Documentation}}.
-- Get required modules.
local getArgs = require('Module:Arguments').getArgs
-- Get the config table.
local cfg = mw.loadData('Module:Documentation/config')
local p = {}
-- Often-used functions.
local ugsub = mw.ustring.gsub
----------------------------------------------------------------------------
-- Helper functions
--
-- These are defined as local functions, but are made available in the p
-- table for testing purposes.
----------------------------------------------------------------------------
local function message(cfgKey, valArray, expectType)
--[[
-- Gets a message from the cfg table and formats it if appropriate.
-- The function raises an error if the value from the cfg table is not
-- of the type expectType. The default type for expectType is 'string'.
-- If the table valArray is present, strings such as $1, $2 etc. in the
-- message are substituted with values from the table keys [1], [2] etc.
-- For example, if the message "foo-message" had the value 'Foo $2 bar $1.',
-- message('foo-message', {'baz', 'qux'}) would return "Foo qux bar baz."
--]]
local msg = cfg[cfgKey]
expectType = expectType or 'string'
if type(msg) ~= expectType then
error('message: type error in message cfg.' .. cfgKey .. ' (' .. expectType .. ' expected, got ' .. type(msg) .. ')', 2)
end
if not valArray then
return msg
end
local function getMessageVal(match)
match = tonumber(match)
return valArray[match] or error('message: no value found for key $' .. match .. ' in message cfg.' .. cfgKey, 4)
end
return ugsub(msg, '$([1-9][0-9]*)', getMessageVal)
end
p.message = message
local function makeWikilink(page, display)
if display then
return mw.ustring.format('[[%s|%s]]', page, display)
else
return mw.ustring.format('[[%s]]', page)
end
end
p.makeWikilink = makeWikilink
local function makeCategoryLink(cat, sort)
local catns = mw.site.namespaces[14].name
return makeWikilink(catns .. ':' .. cat, sort)
end
p.makeCategoryLink = makeCategoryLink
local function makeUrlLink(url, display)
return mw.ustring.format('[%s %s]', url, display)
end
p.makeUrlLink = makeUrlLink
local function makeToolbar(...)
local ret = {}
local lim = select('#', ...)
if lim < 1 then
return nil
end
for i = 1, lim do
ret[#ret + 1] = select(i, ...)
end
-- 'documentation-toolbar'
return '<span class="' .. message('toolbar-class') .. '">('
.. table.concat(ret, ' | ') .. ')</span>'
end
p.makeToolbar = makeToolbar
----------------------------------------------------------------------------
-- Argument processing
----------------------------------------------------------------------------
local function makeInvokeFunc(funcName)
return function (frame)
local args = getArgs(frame, {
valueFunc = function (key, value)
if type(value) == 'string' then
value = value:match('^%s*(.-)%s*$') -- Remove whitespace.
if key == 'heading' or value ~= '' then
return value
else
return nil
end
else
return value
end
end
})
return p[funcName](args)
end
end
----------------------------------------------------------------------------
-- Entry points
----------------------------------------------------------------------------
function p.nonexistent(frame)
if mw.title.getCurrentTitle().subpageText == 'testcases' then
return frame:expandTemplate{title = 'module test cases notice'}
else
return p.main(frame)
end
end
p.main = makeInvokeFunc('_main')
function p._main(args)
--[[
-- This function defines logic flow for the module.
-- @args - table of arguments passed by the user
--]]
local env = p.getEnvironment(args)
local root = mw.html.create()
root
:wikitext(p._getModuleWikitext(args, env))
:wikitext(p.protectionTemplate(env))
:wikitext(p.sandboxNotice(args, env))
:tag('div')
-- 'documentation-container'
:addClass(message('container'))
:attr('role', 'complementary')
:attr('aria-labelledby', args.heading ~= '' and 'documentation-heading' or nil)
:attr('aria-label', args.heading == '' and 'Documentation' or nil)
:newline()
:tag('div')
-- 'documentation'
:addClass(message('main-div-classes'))
:newline()
:wikitext(p._startBox(args, env))
:wikitext(p._content(args, env))
:tag('div')
-- 'documentation-clear'
:addClass(message('clear'))
:done()
:newline()
:done()
:wikitext(p._endBox(args, env))
:done()
:wikitext(p.addTrackingCategories(env))
-- 'Module:Documentation/styles.css'
return mw.getCurrentFrame():extensionTag (
'templatestyles', '', {src=cfg['templatestyles']
}) .. tostring(root)
end
----------------------------------------------------------------------------
-- Environment settings
----------------------------------------------------------------------------
function p.getEnvironment(args)
--[[
-- Returns a table with information about the environment, including title
-- objects and other namespace- or path-related data.
-- @args - table of arguments passed by the user
--
-- Title objects include:
-- env.title - the page we are making documentation for (usually the current title)
-- env.templateTitle - the template (or module, file, etc.)
-- env.docTitle - the /doc subpage.
-- env.sandboxTitle - the /sandbox subpage.
-- env.testcasesTitle - the /testcases subpage.
--
-- Data includes:
-- env.protectionLevels - the protection levels table of the title object.
-- env.subjectSpace - the number of the title's subject namespace.
-- env.docSpace - the number of the namespace the title puts its documentation in.
-- env.docpageBase - the text of the base page of the /doc, /sandbox and /testcases pages, with namespace.
-- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template.
--
-- All table lookups are passed through pcall so that errors are caught. If an error occurs, the value
-- returned will be nil.
--]]
local env, envFuncs = {}, {}
-- Set up the metatable. If triggered we call the corresponding function in the envFuncs table. The value
-- returned by that function is memoized in the env table so that we don't call any of the functions
-- more than once. (Nils won't be memoized.)
setmetatable(env, {
__index = function (t, key)
local envFunc = envFuncs[key]
if envFunc then
local success, val = pcall(envFunc)
if success then
env[key] = val -- Memoise the value.
return val
end
end
return nil
end
})
function envFuncs.title()
-- The title object for the current page, or a test page passed with args.page.
local title
local titleArg = args.page
if titleArg then
title = mw.title.new(titleArg)
else
title = mw.title.getCurrentTitle()
end
return title
end
function envFuncs.templateTitle()
--[[
-- The template (or module, etc.) title object.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
-- 'testcases-subpage' --> 'testcases'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local subpage = title.subpageText
if subpage == message('sandbox-subpage') or subpage == message('testcases-subpage') then
return mw.title.makeTitle(subjectSpace, title.baseText)
else
return mw.title.makeTitle(subjectSpace, title.text)
end
end
function envFuncs.docTitle()
--[[
-- Title object of the /doc subpage.
-- Messages:
-- 'doc-subpage' --> 'doc'
--]]
local title = env.title
local docname = args[1] -- User-specified doc page.
local docpage
if docname then
docpage = docname
else
docpage = env.docpageBase .. '/' .. message('doc-subpage')
end
return mw.title.new(docpage)
end
function envFuncs.sandboxTitle()
--[[
-- Title object for the /sandbox subpage.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('sandbox-subpage'))
end
function envFuncs.testcasesTitle()
--[[
-- Title object for the /testcases subpage.
-- Messages:
-- 'testcases-subpage' --> 'testcases'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('testcases-subpage'))
end
function envFuncs.protectionLevels()
-- The protection levels table of the title object.
return env.title.protectionLevels
end
function envFuncs.subjectSpace()
-- The subject namespace number.
return mw.site.namespaces[env.title.namespace].subject.id
end
function envFuncs.docSpace()
-- The documentation namespace number. For most namespaces this is the
-- same as the subject namespace. However, pages in the Article, File,
-- MediaWiki or Category namespaces must have their /doc, /sandbox and
-- /testcases pages in talk space.
local subjectSpace = env.subjectSpace
if subjectSpace == 0 or subjectSpace == 6 or subjectSpace == 8 or subjectSpace == 14 then
return subjectSpace + 1
else
return subjectSpace
end
end
function envFuncs.docpageBase()
-- The base page of the /doc, /sandbox, and /testcases subpages.
-- For some namespaces this is the talk page, rather than the template page.
local templateTitle = env.templateTitle
local docSpace = env.docSpace
local docSpaceText = mw.site.namespaces[docSpace].name
-- Assemble the link. docSpace is never the main namespace, so we can hardcode the colon.
return docSpaceText .. ':' .. templateTitle.text
end
function envFuncs.compareUrl()
-- Diff link between the sandbox and the main template using [[Special:ComparePages]].
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
if templateTitle.exists and sandboxTitle.exists then
local compareUrl = mw.uri.fullUrl(
'Special:ComparePages',
{ page1 = templateTitle.prefixedText, page2 = sandboxTitle.prefixedText}
)
return tostring(compareUrl)
else
return nil
end
end
return env
end
----------------------------------------------------------------------------
-- Auxiliary templates
----------------------------------------------------------------------------
p.getModuleWikitext = makeInvokeFunc('_getModuleWikitext')
function p._getModuleWikitext(args, env)
local currentTitle = mw.title.getCurrentTitle()
if currentTitle.contentModel ~= 'Scribunto' then return end
pcall(require, currentTitle.prefixedText) -- if it fails, we don't care
local moduleWikitext = package.loaded["Module:Module wikitext"]
if moduleWikitext then
return moduleWikitext.main()
end
end
function p.sandboxNotice(args, env)
--[=[
-- Generates a sandbox notice for display above sandbox pages.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-notice-image' --> '[[File:Sandbox.svg|50px|alt=|link=]]'
-- 'sandbox-notice-blurb' --> 'This is the $1 for $2.'
-- 'sandbox-notice-diff-blurb' --> 'This is the $1 for $2 ($3).'
-- 'sandbox-notice-pagetype-template' --> '[[wikipedia:Wikipedia:Template test cases|template sandbox]] page'
-- 'sandbox-notice-pagetype-module' --> '[[wikipedia:Wikipedia:Template test cases|module sandbox]] page'
-- 'sandbox-notice-pagetype-other' --> 'sandbox page'
-- 'sandbox-notice-compare-link-display' --> 'diff'
-- 'sandbox-notice-testcases-blurb' --> 'See also the companion subpage for $1.'
-- 'sandbox-notice-testcases-link-display' --> 'test cases'
-- 'sandbox-category' --> 'Template sandboxes'
--]=]
local title = env.title
local sandboxTitle = env.sandboxTitle
local templateTitle = env.templateTitle
local subjectSpace = env.subjectSpace
if not (subjectSpace and title and sandboxTitle and templateTitle
and mw.title.equals(title, sandboxTitle)) then
return nil
end
-- Build the table of arguments to pass to {{ombox}}. We need just two fields, "image" and "text".
local omargs = {}
omargs.image = message('sandbox-notice-image')
-- Get the text. We start with the opening blurb, which is something like
-- "This is the template sandbox for [[Template:Foo]] (diff)."
local text = ''
local pagetype
if subjectSpace == 10 then
pagetype = message('sandbox-notice-pagetype-template')
elseif subjectSpace == 828 then
pagetype = message('sandbox-notice-pagetype-module')
else
pagetype = message('sandbox-notice-pagetype-other')
end
local templateLink = makeWikilink(templateTitle.prefixedText)
local compareUrl = env.compareUrl
if compareUrl then
local compareDisplay = message('sandbox-notice-compare-link-display')
local compareLink = makeUrlLink(compareUrl, compareDisplay)
text = text .. message('sandbox-notice-diff-blurb', {pagetype, templateLink, compareLink})
else
text = text .. message('sandbox-notice-blurb', {pagetype, templateLink})
end
-- Get the test cases page blurb if the page exists. This is something like
-- "See also the companion subpage for [[Template:Foo/testcases|test cases]]."
local testcasesTitle = env.testcasesTitle
if testcasesTitle and testcasesTitle.exists then
if testcasesTitle.contentModel == "Scribunto" then
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesRunLinkDisplay = message('sandbox-notice-testcases-run-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-run-blurb', {testcasesLink, testcasesRunLink})
else
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-blurb', {testcasesLink})
end
end
-- Add the sandbox to the sandbox category.
omargs.text = text .. makeCategoryLink(message('sandbox-category'))
-- 'documentation-clear'
return '<div class="' .. message('clear') .. '"></div>'
.. require('Module:Message box').main('ombox', omargs)
end
function p.protectionTemplate(env)
-- Generates the padlock icon in the top right.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'protection-template' --> 'pp-template'
-- 'protection-template-args' --> {docusage = 'yes'}
local protectionLevels = env.protectionLevels
if not protectionLevels then
return nil
end
local editProt = protectionLevels.edit and protectionLevels.edit[1]
local moveProt = protectionLevels.move and protectionLevels.move[1]
if editProt then
-- The page is edit-protected.
return require('Module:Protection banner')._main{
message('protection-reason-edit'), small = true
}
elseif moveProt and moveProt ~= 'autoconfirmed' then
-- The page is move-protected but not edit-protected. Exclude move
-- protection with the level "autoconfirmed", as this is equivalent to
-- no move protection at all.
return require('Module:Protection banner')._main{
action = 'move', small = true
}
else
return nil
end
end
----------------------------------------------------------------------------
-- Start box
----------------------------------------------------------------------------
p.startBox = makeInvokeFunc('_startBox')
function p._startBox(args, env)
--[[
-- This function generates the start box.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- The actual work is done by p.makeStartBoxLinksData and p.renderStartBoxLinks which make
-- the [view] [edit] [history] [purge] links, and by p.makeStartBoxData and p.renderStartBox
-- which generate the box HTML.
--]]
env = env or p.getEnvironment(args)
local links
local content = args.content
if not content or args[1] then
-- No need to include the links if the documentation is on the template page itself.
local linksData = p.makeStartBoxLinksData(args, env)
if linksData then
links = p.renderStartBoxLinks(linksData)
end
end
-- Generate the start box html.
local data = p.makeStartBoxData(args, env, links)
if data then
return p.renderStartBox(data)
else
-- User specified no heading.
return nil
end
end
function p.makeStartBoxLinksData(args, env)
--[[
-- Does initial processing of data to make the [view] [edit] [history] [purge] links.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'view-link-display' --> 'view'
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'purge-link-display' --> 'purge'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'docpage-preload' --> 'Template:Documentation/preload'
-- 'create-link-display' --> 'create'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local docTitle = env.docTitle
if not title or not docTitle then
return nil
end
if docTitle.isRedirect then
docTitle = docTitle.redirectTarget
end
local data = {}
data.title = title
data.docTitle = docTitle
-- View, display, edit, and purge links if /doc exists.
data.viewLinkDisplay = message('view-link-display')
data.editLinkDisplay = message('edit-link-display')
data.historyLinkDisplay = message('history-link-display')
data.purgeLinkDisplay = message('purge-link-display')
-- Create link if /doc doesn't exist.
local preload = args.preload
if not preload then
if subjectSpace == 828 then -- Module namespace
preload = message('module-preload')
else
preload = message('docpage-preload')
end
end
data.preload = preload
data.createLinkDisplay = message('create-link-display')
return data
end
function p.renderStartBoxLinks(data)
--[[
-- Generates the [view][edit][history][purge] or [create][purge] links from the data table.
-- @data - a table of data generated by p.makeStartBoxLinksData
--]]
local function escapeBrackets(s)
-- Escapes square brackets with HTML entities.
s = s:gsub('%[', '[') -- Replace square brackets with HTML entities.
s = s:gsub('%]', ']')
return s
end
local ret
local docTitle = data.docTitle
local title = data.title
local purgeLink = makeUrlLink(title:fullUrl{action = 'purge'}, data.purgeLinkDisplay)
if docTitle.exists then
local viewLink = makeWikilink(docTitle.prefixedText, data.viewLinkDisplay)
local editLink = makeUrlLink(docTitle:fullUrl{action = 'edit'}, data.editLinkDisplay)
local historyLink = makeUrlLink(docTitle:fullUrl{action = 'history'}, data.historyLinkDisplay)
ret = '[%s] [%s] [%s] [%s]'
ret = escapeBrackets(ret)
ret = mw.ustring.format(ret, viewLink, editLink, historyLink, purgeLink)
else
local createLink = makeUrlLink(docTitle:fullUrl{action = 'edit', preload = data.preload}, data.createLinkDisplay)
ret = '[%s] [%s]'
ret = escapeBrackets(ret)
ret = mw.ustring.format(ret, createLink, purgeLink)
end
return ret
end
function p.makeStartBoxData(args, env, links)
--[=[
-- Does initial processing of data to pass to the start-box render function, p.renderStartBox.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- @links - a string containing the [view][edit][history][purge] links - could be nil if there's an error.
--
-- Messages:
-- 'documentation-icon-wikitext' --> '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- 'template-namespace-heading' --> 'Template documentation'
-- 'module-namespace-heading' --> 'Module documentation'
-- 'file-namespace-heading' --> 'Summary'
-- 'other-namespaces-heading' --> 'Documentation'
-- 'testcases-create-link-display' --> 'create'
--]=]
local subjectSpace = env.subjectSpace
if not subjectSpace then
-- Default to an "other namespaces" namespace, so that we get at least some output
-- if an error occurs.
subjectSpace = 2
end
local data = {}
-- Heading
local heading = args.heading -- Blank values are not removed.
if heading == '' then
-- Don't display the start box if the heading arg is defined but blank.
return nil
end
if heading then
data.heading = heading
elseif subjectSpace == 10 then -- Template namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('template-namespace-heading')
elseif subjectSpace == 828 then -- Module namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('module-namespace-heading')
elseif subjectSpace == 6 then -- File namespace
data.heading = message('file-namespace-heading')
else
data.heading = message('other-namespaces-heading')
end
-- Heading CSS
local headingStyle = args['heading-style']
if headingStyle then
data.headingStyleText = headingStyle
else
-- 'documentation-heading'
data.headingClass = message('main-div-heading-class')
end
-- Data for the [view][edit][history][purge] or [create] links.
if links then
-- 'mw-editsection-like plainlinks'
data.linksClass = message('start-box-link-classes')
data.links = links
end
return data
end
function p.renderStartBox(data)
-- Renders the start box html.
-- @data - a table of data generated by p.makeStartBoxData.
local sbox = mw.html.create('div')
sbox
-- 'documentation-startbox'
:addClass(message('start-box-class'))
:newline()
:tag('span')
:addClass(data.headingClass)
:attr('id', 'documentation-heading')
:cssText(data.headingStyleText)
:wikitext(data.heading)
local links = data.links
if links then
sbox:tag('span')
:addClass(data.linksClass)
:attr('id', data.linksId)
:wikitext(links)
end
return tostring(sbox)
end
----------------------------------------------------------------------------
-- Documentation content
----------------------------------------------------------------------------
p.content = makeInvokeFunc('_content')
function p._content(args, env)
-- Displays the documentation contents
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
local content = args.content
if not content and docTitle and docTitle.exists then
content = args._content or mw.getCurrentFrame():expandTemplate{title = docTitle.prefixedText}
end
-- The line breaks below are necessary so that "=== Headings ===" at the start and end
-- of docs are interpreted correctly.
return '\n' .. (content or '') .. '\n'
end
p.contentTitle = makeInvokeFunc('_contentTitle')
function p._contentTitle(args, env)
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
if not args.content and docTitle and docTitle.exists then
return docTitle.prefixedText
else
return ''
end
end
----------------------------------------------------------------------------
-- End box
----------------------------------------------------------------------------
p.endBox = makeInvokeFunc('_endBox')
function p._endBox(args, env)
--[=[
-- This function generates the end box (also known as the link box).
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
--]=]
-- Get environment data.
env = env or p.getEnvironment(args)
local subjectSpace = env.subjectSpace
local docTitle = env.docTitle
if not subjectSpace or not docTitle then
return nil
end
-- Check whether we should output the end box at all. Add the end
-- box by default if the documentation exists or if we are in the
-- user, module or template namespaces.
local linkBox = args['link box']
if linkBox == 'off'
or not (
docTitle.exists
or subjectSpace == 2
or subjectSpace == 828
or subjectSpace == 10
)
then
return nil
end
-- Assemble the link box.
local text = ''
if linkBox then
text = text .. linkBox
else
text = text .. (p.makeDocPageBlurb(args, env) or '') -- "This documentation is transcluded from [[Foo]]."
if subjectSpace == 2 or subjectSpace == 10 or subjectSpace == 828 then
-- We are in the user, template or module namespaces.
-- Add sandbox and testcases links.
-- "Editors can experiment in this template's sandbox and testcases pages."
text = text .. (p.makeExperimentBlurb(args, env) or '') .. '<br />'
if not args.content and not args[1] then
-- "Please add categories to the /doc subpage."
-- Don't show this message with inline docs or with an explicitly specified doc page,
-- as then it is unclear where to add the categories.
text = text .. (p.makeCategoriesBlurb(args, env) or '')
end
text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '') --"Subpages of this template"
end
end
local box = mw.html.create('div')
-- 'documentation-metadata'
box:attr('role', 'note')
:addClass(message('end-box-class'))
-- 'plainlinks'
:addClass(message('end-box-plainlinks'))
:wikitext(text)
:done()
return '\n' .. tostring(box)
end
function p.makeDocPageBlurb(args, env)
--[=[
-- Makes the blurb "This documentation is transcluded from [[Template:Foo]] (edit, history)".
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'transcluded-from-blurb' -->
-- 'The above [[Help:Templates#Template documentation|documentation]]
-- is [[Help:Templates#Template pages and namespaces|transcluded]] from $1.'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'create-link-display' --> 'create'
-- 'create-module-doc-blurb' -->
-- 'You might want to $1 a documentation page for this [[wikipedia:Wikipedia:Lua|Scribunto module]].'
--]=]
local docTitle = env.docTitle
if not docTitle then
return nil
end
local ret
if docTitle.exists then
-- /doc exists; link to it.
local docLink = makeWikilink(docTitle.prefixedText)
local editUrl = docTitle:fullUrl{action = 'edit'}
local editDisplay = message('edit-link-display')
local editLink = makeUrlLink(editUrl, editDisplay)
local historyUrl = docTitle:fullUrl{action = 'history'}
local historyDisplay = message('history-link-display')
local historyLink = makeUrlLink(historyUrl, historyDisplay)
ret = message('transcluded-from-blurb', {docLink})
.. ' '
.. makeToolbar(editLink, historyLink)
.. '<br />'
elseif env.subjectSpace == 828 then
-- /doc does not exist; ask to create it.
local createUrl = docTitle:fullUrl{action = 'edit', preload = message('module-preload')}
local createDisplay = message('create-link-display')
local createLink = makeUrlLink(createUrl, createDisplay)
ret = message('create-module-doc-blurb', {createLink})
.. '<br />'
end
return ret
end
function p.makeExperimentBlurb(args, env)
--[[
-- Renders the text "Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-link-display' --> 'sandbox'
-- 'sandbox-edit-link-display' --> 'edit'
-- 'compare-link-display' --> 'diff'
-- 'module-sandbox-preload' --> 'Template:Documentation/preload-module-sandbox'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'sandbox-create-link-display' --> 'create'
-- 'mirror-edit-summary' --> 'Create sandbox version of $1'
-- 'mirror-link-display' --> 'mirror'
-- 'mirror-link-preload' --> 'Template:Documentation/mirror'
-- 'sandbox-link-display' --> 'sandbox'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display'--> 'edit'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'testcases-create-link-display' --> 'create'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display' --> 'edit'
-- 'module-testcases-preload' --> 'Template:Documentation/preload-module-testcases'
-- 'template-testcases-preload' --> 'Template:Documentation/preload-testcases'
-- 'experiment-blurb-module' --> 'Editors can experiment in this module's $1 and $2 pages.'
-- 'experiment-blurb-template' --> 'Editors can experiment in this template's $1 and $2 pages.'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
local testcasesTitle = env.testcasesTitle
local templatePage = templateTitle.prefixedText
if not subjectSpace or not templateTitle or not sandboxTitle or not testcasesTitle then
return nil
end
-- Make links.
local sandboxLinks, testcasesLinks
if sandboxTitle.exists then
local sandboxPage = sandboxTitle.prefixedText
local sandboxDisplay = message('sandbox-link-display')
local sandboxLink = makeWikilink(sandboxPage, sandboxDisplay)
local sandboxEditUrl = sandboxTitle:fullUrl{action = 'edit'}
local sandboxEditDisplay = message('sandbox-edit-link-display')
local sandboxEditLink = makeUrlLink(sandboxEditUrl, sandboxEditDisplay)
local compareUrl = env.compareUrl
local compareLink
if compareUrl then
local compareDisplay = message('compare-link-display')
compareLink = makeUrlLink(compareUrl, compareDisplay)
end
sandboxLinks = sandboxLink .. ' ' .. makeToolbar(sandboxEditLink, compareLink)
else
local sandboxPreload
if subjectSpace == 828 then
sandboxPreload = message('module-sandbox-preload')
else
sandboxPreload = message('template-sandbox-preload')
end
local sandboxCreateUrl = sandboxTitle:fullUrl{action = 'edit', preload = sandboxPreload}
local sandboxCreateDisplay = message('sandbox-create-link-display')
local sandboxCreateLink = makeUrlLink(sandboxCreateUrl, sandboxCreateDisplay)
local mirrorSummary = message('mirror-edit-summary', {makeWikilink(templatePage)})
local mirrorPreload = message('mirror-link-preload')
local mirrorUrl = sandboxTitle:fullUrl{action = 'edit', preload = mirrorPreload, summary = mirrorSummary}
if subjectSpace == 828 then
mirrorUrl = sandboxTitle:fullUrl{action = 'edit', preload = templateTitle.prefixedText, summary = mirrorSummary}
end
local mirrorDisplay = message('mirror-link-display')
local mirrorLink = makeUrlLink(mirrorUrl, mirrorDisplay)
sandboxLinks = message('sandbox-link-display') .. ' ' .. makeToolbar(sandboxCreateLink, mirrorLink)
end
if testcasesTitle.exists then
local testcasesPage = testcasesTitle.prefixedText
local testcasesDisplay = message('testcases-link-display')
local testcasesLink = makeWikilink(testcasesPage, testcasesDisplay)
local testcasesEditUrl = testcasesTitle:fullUrl{action = 'edit'}
local testcasesEditDisplay = message('testcases-edit-link-display')
local testcasesEditLink = makeUrlLink(testcasesEditUrl, testcasesEditDisplay)
-- for Modules, add testcases run link if exists
if testcasesTitle.contentModel == "Scribunto" and testcasesTitle.talkPageTitle and testcasesTitle.talkPageTitle.exists then
local testcasesRunLinkDisplay = message('testcases-run-link-display')
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink, testcasesRunLink)
else
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink)
end
else
local testcasesPreload
if subjectSpace == 828 then
testcasesPreload = message('module-testcases-preload')
else
testcasesPreload = message('template-testcases-preload')
end
local testcasesCreateUrl = testcasesTitle:fullUrl{action = 'edit', preload = testcasesPreload}
local testcasesCreateDisplay = message('testcases-create-link-display')
local testcasesCreateLink = makeUrlLink(testcasesCreateUrl, testcasesCreateDisplay)
testcasesLinks = message('testcases-link-display') .. ' ' .. makeToolbar(testcasesCreateLink)
end
local messageName
if subjectSpace == 828 then
messageName = 'experiment-blurb-module'
else
messageName = 'experiment-blurb-template'
end
return message(messageName, {sandboxLinks, testcasesLinks})
end
function p.makeCategoriesBlurb(args, env)
--[[
-- Generates the text "Please add categories to the /doc subpage."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'doc-link-display' --> '/doc'
-- 'add-categories-blurb' --> 'Please add categories to the $1 subpage.'
--]]
local docTitle = env.docTitle
if not docTitle then
return nil
end
local docPathLink = makeWikilink(docTitle.prefixedText, message('doc-link-display'))
return message('add-categories-blurb', {docPathLink})
end
function p.makeSubpagesBlurb(args, env)
--[[
-- Generates the "Subpages of this template" link.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'template-pagetype' --> 'template'
-- 'module-pagetype' --> 'module'
-- 'default-pagetype' --> 'page'
-- 'subpages-link-display' --> 'Subpages of this $1'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
if not subjectSpace or not templateTitle then
return nil
end
local pagetype
if subjectSpace == 10 then
pagetype = message('template-pagetype')
elseif subjectSpace == 828 then
pagetype = message('module-pagetype')
else
pagetype = message('default-pagetype')
end
local subpagesLink = makeWikilink(
'Special:PrefixIndex/' .. templateTitle.prefixedText .. '/',
message('subpages-link-display', {pagetype})
)
return message('subpages-blurb', {subpagesLink})
end
----------------------------------------------------------------------------
-- Tracking categories
----------------------------------------------------------------------------
function p.addTrackingCategories(env)
--[[
-- Check if {{documentation}} is transcluded on a /doc or /testcases page.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'display-strange-usage-category' --> true
-- 'doc-subpage' --> 'doc'
-- 'testcases-subpage' --> 'testcases'
-- 'strange-usage-category' --> 'Wikibooks pages with strange ((documentation)) usage'
--
-- /testcases pages in the module namespace are not categorised, as they may have
-- {{documentation}} transcluded automatically.
--]]
local title = env.title
local subjectSpace = env.subjectSpace
if not title or not subjectSpace then
return nil
end
local subpage = title.subpageText
local ret = ''
if message('display-strange-usage-category', nil, 'boolean')
and (
subpage == message('doc-subpage')
or subjectSpace ~= 828 and subpage == message('testcases-subpage')
)
then
ret = ret .. makeCategoryLink(message('strange-usage-category'))
end
return ret
end
return p
9rltldqqy105ibw4lv8o4omebhfw5jb
ਮੌਡਿਊਲ:Documentation/config
828
2807
5750
5664
2023-04-09T11:10:20Z
Kuldeepburjbhalaike
1880
Scribunto
text/plain
----------------------------------------------------------------------------------------------------
--
-- Configuration for Module:Documentation
--
-- Here you can set the values of the parameters and messages used in Module:Documentation to
-- localise it to your wiki and your language. Unless specified otherwise, values given here
-- should be string values.
----------------------------------------------------------------------------------------------------
local cfg = {} -- Do not edit this line.
----------------------------------------------------------------------------------------------------
-- Protection template configuration
----------------------------------------------------------------------------------------------------
-- cfg['protection-reason-edit']
-- The protection reason for edit-protected templates to pass to
-- [[Module:Protection banner]].
cfg['protection-reason-edit'] = 'template'
--[[
----------------------------------------------------------------------------------------------------
-- Sandbox notice configuration
--
-- On sandbox pages the module can display a template notifying users that the current page is a
-- sandbox, and the location of test cases pages, etc. The module decides whether the page is a
-- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the
-- messages that the notices contains.
----------------------------------------------------------------------------------------------------
--]]
-- cfg['sandbox-notice-image']
-- The image displayed in the sandbox notice.
cfg['sandbox-notice-image'] = '[[File:Sandbox.svg|50px|alt=|link=]]'
--[[
-- cfg['sandbox-notice-pagetype-template']
-- cfg['sandbox-notice-pagetype-module']
-- cfg['sandbox-notice-pagetype-other']
-- The page type of the sandbox page. The message that is displayed depends on the current subject
-- namespace. This message is used in either cfg['sandbox-notice-blurb'] or
-- cfg['sandbox-notice-diff-blurb'].
--]]
cfg['sandbox-notice-pagetype-template'] = '[[wikipedia:Wikipedia:Template test cases|template sandbox]] page'
cfg['sandbox-notice-pagetype-module'] = '[[wikipedia:Wikipedia:Template test cases|module sandbox]] page'
cfg['sandbox-notice-pagetype-other'] = 'sandbox page'
--[[
-- cfg['sandbox-notice-blurb']
-- cfg['sandbox-notice-diff-blurb']
-- cfg['sandbox-notice-diff-display']
-- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence
-- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page
-- type, which is either cfg['sandbox-notice-pagetype-template'],
-- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what
-- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between
-- the sandbox and the main template. The display value of the diff link is set by
-- cfg['sandbox-notice-compare-link-display'].
--]]
cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.'
cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).'
cfg['sandbox-notice-compare-link-display'] = 'diff'
--[[
-- cfg['sandbox-notice-testcases-blurb']
-- cfg['sandbox-notice-testcases-link-display']
-- cfg['sandbox-notice-testcases-run-blurb']
-- cfg['sandbox-notice-testcases-run-link-display']
-- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit. $1 is a link to the test cases page.
-- cfg['sandbox-notice-testcases-link-display'] is the display value for that link.
-- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test
-- cases page, and $2 is a link to the page to run it.
-- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test
-- cases.
--]]
cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.'
cfg['sandbox-notice-testcases-link-display'] = 'test cases'
cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).'
cfg['sandbox-notice-testcases-run-link-display'] = 'run'
-- cfg['sandbox-category']
-- A category to add to all template sandboxes.
cfg['sandbox-category'] = 'Template sandboxes'
----------------------------------------------------------------------------------------------------
-- Start box configuration
----------------------------------------------------------------------------------------------------
-- cfg['documentation-icon-wikitext']
-- The wikitext for the icon shown at the top of the template.
cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- cfg['template-namespace-heading']
-- The heading shown in the template namespace.
cfg['template-namespace-heading'] = 'Template documentation'
-- cfg['module-namespace-heading']
-- The heading shown in the module namespace.
cfg['module-namespace-heading'] = 'Module documentation'
-- cfg['file-namespace-heading']
-- The heading shown in the file namespace.
cfg['file-namespace-heading'] = 'Summary'
-- cfg['other-namespaces-heading']
-- The heading shown in other namespaces.
cfg['other-namespaces-heading'] = 'Documentation'
-- cfg['view-link-display']
-- The text to display for "view" links.
cfg['view-link-display'] = 'ਦੇਖੋ'
-- cfg['edit-link-display']
-- The text to display for "edit" links.
cfg['edit-link-display'] = 'ਸੋਧੋ'
-- cfg['history-link-display']
-- The text to display for "history" links.
cfg['history-link-display'] = 'ਅਤੀਤ'
-- cfg['purge-link-display']
-- The text to display for "purge" links.
cfg['purge-link-display'] = 'ਤਾਜ਼ਾ ਕਰੋ'
-- cfg['create-link-display']
-- The text to display for "create" links.
cfg['create-link-display'] = 'ਬਣਾਓ'
----------------------------------------------------------------------------------------------------
-- Link box (end box) configuration
----------------------------------------------------------------------------------------------------
-- cfg['transcluded-from-blurb']
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page.
cfg['transcluded-from-blurb'] = 'The above [[Help:Templates#Template documentation|documentation]] is [[Help:Templates#Template pages and namespaces|transcluded]] from $1.'
--[[
-- cfg['create-module-doc-blurb']
-- Notice displayed in the module namespace when the documentation subpage does not exist.
-- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the
-- display cfg['create-link-display'].
--]]
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[wikipedia:Wikipedia:Lua|Scribunto module]].'
----------------------------------------------------------------------------------------------------
-- Experiment blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['experiment-blurb-template']
-- cfg['experiment-blurb-module']
-- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages.
-- It is only shown in the template and module namespaces. With the default English settings, it
-- might look like this:
--
-- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
--
-- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links.
--
-- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending
-- on what namespace we are in.
--
-- Parameters:
--
-- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display'])
--
-- If the sandbox doesn't exist, it is in the format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display'])
--
-- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload']
-- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display']
-- loads a default edit summary of cfg['mirror-edit-summary'].
--
-- $2 is a link to the test cases page. If the test cases page exists, it is in the following format:
--
-- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display'])
--
-- If the test cases page doesn't exist, it is in the format:
--
-- cfg['testcases-link-display'] (cfg['testcases-create-link-display'])
--
-- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the
-- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current
-- namespace.
--]]
cfg['experiment-blurb-template'] = "Editors can experiment in this template's $1 and $2 pages."
cfg['experiment-blurb-module'] = "Editors can experiment in this module's $1 and $2 pages."
----------------------------------------------------------------------------------------------------
-- Sandbox link configuration
----------------------------------------------------------------------------------------------------
-- cfg['sandbox-subpage']
-- The name of the template subpage typically used for sandboxes.
cfg['sandbox-subpage'] = 'sandbox'
-- cfg['template-sandbox-preload']
-- Preload file for template sandbox pages.
cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox'
-- cfg['module-sandbox-preload']
-- Preload file for Lua module sandbox pages.
cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox'
-- cfg['sandbox-link-display']
-- The text to display for "sandbox" links.
cfg['sandbox-link-display'] = 'sandbox'
-- cfg['sandbox-edit-link-display']
-- The text to display for sandbox "edit" links.
cfg['sandbox-edit-link-display'] = 'ਸੋਧੋ'
-- cfg['sandbox-create-link-display']
-- The text to display for sandbox "create" links.
cfg['sandbox-create-link-display'] = 'ਬਣਾਓ'
-- cfg['compare-link-display']
-- The text to display for "compare" links.
cfg['compare-link-display'] = 'diff'
-- cfg['mirror-edit-summary']
-- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the
-- template page.
cfg['mirror-edit-summary'] = 'Create sandbox version of $1'
-- cfg['mirror-link-display']
-- The text to display for "mirror" links.
cfg['mirror-link-display'] = 'mirror'
-- cfg['mirror-link-preload']
-- The page to preload when a user clicks the "mirror" link.
cfg['mirror-link-preload'] = 'Template:Documentation/mirror'
----------------------------------------------------------------------------------------------------
-- Test cases link configuration
----------------------------------------------------------------------------------------------------
-- cfg['testcases-subpage']
-- The name of the template subpage typically used for test cases.
cfg['testcases-subpage'] = 'testcases'
-- cfg['template-testcases-preload']
-- Preload file for template test cases pages.
cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases'
-- cfg['module-testcases-preload']
-- Preload file for Lua module test cases pages.
cfg['module-testcases-preload'] = 'Template:Documentation/preload-module-testcases'
-- cfg['testcases-link-display']
-- The text to display for "testcases" links.
cfg['testcases-link-display'] = 'testcases'
-- cfg['testcases-edit-link-display']
-- The text to display for test cases "edit" links.
cfg['testcases-edit-link-display'] = 'ਸੋਧੋ'
-- cfg['testcases-run-link-display']
-- The text to display for test cases "run" links.
cfg['testcases-run-link-display'] = 'run'
-- cfg['testcases-create-link-display']
-- The text to display for test cases "create" links.
cfg['testcases-create-link-display'] = 'ਬਣਾਓ'
----------------------------------------------------------------------------------------------------
-- Add categories blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['add-categories-blurb']
-- Text to direct users to add categories to the /doc subpage. Not used if the "content" or
-- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a
-- link to the /doc subpage with a display value of cfg['doc-link-display'].
--]]
cfg['add-categories-blurb'] = 'Add categories to the $1 subpage.'
-- cfg['doc-link-display']
-- The text to display when linking to the /doc subpage.
cfg['doc-link-display'] = '/doc'
----------------------------------------------------------------------------------------------------
-- Subpages link configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['subpages-blurb']
-- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a
-- display value of cfg['subpages-link-display']. In the English version this blurb is simply
-- the link followed by a period, and the link display provides the actual text.
--]]
cfg['subpages-blurb'] = '$1.'
--[[
-- cfg['subpages-link-display']
-- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'],
-- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in
-- the template namespace, the module namespace, or another namespace.
--]]
cfg['subpages-link-display'] = 'Subpages of this $1'
-- cfg['template-pagetype']
-- The pagetype to display for template pages.
cfg['template-pagetype'] = 'template'
-- cfg['module-pagetype']
-- The pagetype to display for Lua module pages.
cfg['module-pagetype'] = 'module'
-- cfg['default-pagetype']
-- The pagetype to display for pages other than templates or Lua modules.
cfg['default-pagetype'] = 'page'
----------------------------------------------------------------------------------------------------
-- Doc link configuration
----------------------------------------------------------------------------------------------------
-- cfg['doc-subpage']
-- The name of the subpage typically used for documentation pages.
cfg['doc-subpage'] = 'doc'
-- cfg['docpage-preload']
-- Preload file for template documentation pages in all namespaces.
cfg['docpage-preload'] = 'Template:Documentation/preload'
-- cfg['module-preload']
-- Preload file for Lua module documentation pages.
cfg['module-preload'] = 'Template:Documentation/preload-module-doc'
----------------------------------------------------------------------------------------------------
-- HTML and CSS configuration
----------------------------------------------------------------------------------------------------
-- cfg['templatestyles']
-- The name of the TemplateStyles page where CSS is kept.
-- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed.
cfg['templatestyles'] = 'Module:Documentation/styles.css'
-- cfg['container']
-- Class which can be used to set flex or grid CSS on the
-- two child divs documentation and documentation-metadata
cfg['container'] = 'documentation-container'
-- cfg['main-div-classes']
-- Classes added to the main HTML "div" tag.
cfg['main-div-classes'] = 'documentation'
-- cfg['main-div-heading-class']
-- Class for the main heading for templates and modules and assoc. talk spaces
cfg['main-div-heading-class'] = 'documentation-heading'
-- cfg['start-box-class']
-- Class for the start box
cfg['start-box-class'] = 'documentation-startbox'
-- cfg['start-box-link-classes']
-- Classes used for the [view][edit][history] or [create] links in the start box.
-- mw-editsection-like is per [[Wikipedia:Village pump (technical)/Archive 117]]
cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks'
-- cfg['end-box-class']
-- Class for the end box.
cfg['end-box-class'] = 'documentation-metadata'
-- cfg['end-box-plainlinks']
-- Plainlinks
cfg['end-box-plainlinks'] = 'plainlinks'
-- cfg['toolbar-class']
-- Class added for toolbar links.
cfg['toolbar-class'] = 'documentation-toolbar'
-- cfg['clear']
-- Just used to clear things.
cfg['clear'] = 'documentation-clear'
----------------------------------------------------------------------------------------------------
-- Tracking category configuration
----------------------------------------------------------------------------------------------------
-- cfg['display-strange-usage-category']
-- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage
-- or a /testcases subpage. This should be a boolean value (either true or false).
cfg['display-strange-usage-category'] = true
-- cfg['strange-usage-category']
-- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a
-- /doc subpage or a /testcases subpage.
cfg['strange-usage-category'] = 'Wikibooks pages with strange ((documentation)) usage'
--[[
----------------------------------------------------------------------------------------------------
-- End configuration
--
-- Don't edit anything below this line.
----------------------------------------------------------------------------------------------------
--]]
return cfg
hr1puis21ebvm0reqk8ibnb6b14wsqu
ਮੌਡਿਊਲ:Documentation/styles.css
828
2808
5478
2023-03-23T13:50:27Z
Kuldeepburjbhalaike
1880
"/* {{pp|small=yes}} */ .documentation, .documentation-metadata { border: 1px solid #6896d2; background-color: #f3eed7; clear: both; } .documentation { margin: 1em 0 0 0; padding: 1em; } .documentation-metadata { margin: 0.2em 0; /* same margin left-right as .documentation */ font-style: italic; padding: 0.4em 1em; /* same padding left-right as .documentation */ } .documentation-startbox { padding-bottom: 3px; border-bottom: 1px..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
sanitized-css
text/css
/* {{pp|small=yes}} */
.documentation,
.documentation-metadata {
border: 1px solid #6896d2;
background-color: #f3eed7;
clear: both;
}
.documentation {
margin: 1em 0 0 0;
padding: 1em;
}
.documentation-metadata {
margin: 0.2em 0; /* same margin left-right as .documentation */
font-style: italic;
padding: 0.4em 1em; /* same padding left-right as .documentation */
}
.documentation-startbox {
padding-bottom: 3px;
border-bottom: 1px solid #aaa;
margin-bottom: 1ex;
}
.documentation-heading {
font-weight: bold;
font-size: 125%;
}
.documentation-clear { /* Don't want things to stick out where they shouldn't. */
clear: both;
}
.documentation-toolbar {
font-style: normal;
font-size: 88%;
}
0otmwmgimbm08beuwpjow0om83w93iz
ਫਰਮਾ:(*
10
2809
5479
2023-03-23T13:51:36Z
Kuldeepburjbhalaike
1880
"{{#invoke:Rptchars|leftBraces|{{{1|}}}}}<noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#invoke:Rptchars|leftBraces|{{{1|}}}}}<noinclude>
{{Documentation}}
</noinclude>
ry79c3r4bt5iq5pq79mgrna4kot4a5w
ਫਰਮਾ:(*/doc
10
2810
5480
2023-03-23T13:52:03Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === Without parameters, generates a single left brace (<code>{</code>); specify an integer no larger than {{#invoke:Rptchars|bound}} to produce more than one left brace. {| class="wikitable" |- ! markup !! produces |- | <code><nowiki>{{(*}}</nowiki></code> || <code>{{(*}}</code> |- | <code><nowiki>{{(*|1}}</nowiki></code> || <code>{{(*|1}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
=== Usage ===
Without parameters, generates a single left brace (<code>{</code>); specify an integer no larger than {{#invoke:Rptchars|bound}} to produce more than one left brace.
{| class="wikitable"
|-
! markup !! produces
|-
| <code><nowiki>{{(*}}</nowiki></code> || <code>{{(*}}</code>
|-
| <code><nowiki>{{(*|1}}</nowiki></code> || <code>{{(*|1}}</code>
|-
| <code><nowiki>{{(*|16}}</nowiki></code> || <code>{{(*|16}}</code>
|}
=== See also ===
* {{tl|*)}}
* [[Module:Rptchars]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:{{SITENAME}} character-substitution templates]]
[[Category:Dialog required support templates]]
</includeonly>
l7hmhqwd1jtz9qylhz3np83vmecprs1
ਫਰਮਾ:*)
10
2811
5481
2023-03-23T13:52:27Z
Kuldeepburjbhalaike
1880
"{{#invoke:Rptchars|rightBraces|{{{1|}}}}}<noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#invoke:Rptchars|rightBraces|{{{1|}}}}}<noinclude>
{{Documentation}}
</noinclude>
sqxygejb5dmy620tvtd1o5xh86zqrsb
ਫਰਮਾ:*)/doc
10
2812
5482
2023-03-23T13:52:54Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === Without parameters, generates a single right brace (<code>}</code>); specify an integer no larger than {{#invoke:Rptchars|bound}} to produce more than one right brace. {| class="wikitable" |- ! markup !! produces |- | <code><nowiki>{{*)}}</nowiki></code> || <code>{{*)}}</code> |- | <code><nowiki>{{*)|1}}</nowiki></code> || <code>{{*)|..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
=== Usage ===
Without parameters, generates a single right brace (<code>}</code>); specify an integer no larger than {{#invoke:Rptchars|bound}} to produce more than one right brace.
{| class="wikitable"
|-
! markup !! produces
|-
| <code><nowiki>{{*)}}</nowiki></code> || <code>{{*)}}</code>
|-
| <code><nowiki>{{*)|1}}</nowiki></code> || <code>{{*)|1}}</code>
|-
| <code><nowiki>{{*)|16}}</nowiki></code> || <code>{{*)|16}}</code>
|}
=== See also ===
* {{tl|(*}}
* [[Module:Rptchars]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:{{SITENAME}} character-substitution templates]]
[[Category:Dialog required support templates]]
</includeonly>
6jo113zo9zrhad8upk16rkm06of7wph
ਮੌਡਿਊਲ:Rptchars
828
2813
5483
2023-03-23T13:53:18Z
Kuldeepburjbhalaike
1880
"local p = {} function p.bound( ) return 16 end function p.leftBraces( frame ) local x = frame.args[1] if (x == nil) then return "{" end x = tonumber( x ) if (x == nil) then return "{" end if (x < 1) then return "" end return string.rep("{",math.min(math.floor(x),p.bound())) end function p.rightBraces( frame ) local x = frame.args[1] if (x == nil) then return "}" end x = tonumber( x ) if (x == nil) then return "}" end if (x < 1) then..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
local p = {}
function p.bound( )
return 16
end
function p.leftBraces( frame )
local x = frame.args[1]
if (x == nil) then return "{" end
x = tonumber( x )
if (x == nil) then return "{" end
if (x < 1) then return "" end
return string.rep("{",math.min(math.floor(x),p.bound()))
end
function p.rightBraces( frame )
local x = frame.args[1]
if (x == nil) then return "}" end
x = tonumber( x )
if (x == nil) then return "}" end
if (x < 1) then return "" end
return string.rep("}",math.min(math.floor(x),p.bound()))
end
function p.leftSquareBrackets( frame )
local x = frame.args[1]
if (x == nil) then return "[" end
x = tonumber( x )
if (x == nil) then return "[" end
if (x < 1) then return "" end
return string.rep("[",math.min(math.floor(x),p.bound()))
end
function p.rightSquareBrackets( frame )
local x = frame.args[1]
if (x == nil) then return "]" end
x = tonumber( x )
if (x == nil) then return "]" end
if (x < 1) then return "" end
return string.rep("]",math.min(math.floor(x),p.bound()))
end
function p.leftAngleBrackets( frame )
local x = frame.args[1]
if (x == nil) then return "<" end
x = tonumber( x )
if (x == nil) then return "<" end
if (x < 1) then return "" end
return string.rep("<",math.min(math.floor(x),p.bound()))
end
function p.rightAngleBrackets( frame )
local x = frame.args[1]
if (x == nil) then return ">" end
x = tonumber( x )
if (x == nil) then return ">" end
if (x < 1) then return "" end
return string.rep(">",math.min(math.floor(x),p.bound()))
end
function p.equalSigns( frame )
local x = frame.args[1]
if (x == nil) then return "=" end
x = tonumber( x )
if (x == nil) then return "=" end
if (x < 1) then return "" end
return string.rep("=",math.min(math.floor(x),p.bound()))
end
return p
n247lbkgp55ktekbdhzvpjba8earo4n
ਮੌਡਿਊਲ:Rptchars/doc
828
2814
5484
2023-03-23T13:53:49Z
Kuldeepburjbhalaike
1880
"<noinclude>{{documentation subpage}} </noinclude><!-- {{high-risk|over 7000}} --> == Functions == The principal exports from this module are functions to generate characters that are, for one reason or another, awkward to specify directly in wiki markup. Because the characters ''are'' awkward to specify directly, it is convenient to provide a separate function for each supported character, rather than a single function that takes a character as a..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude>{{documentation subpage}}
</noinclude><!-- {{high-risk|over 7000}} -->
== Functions ==
The principal exports from this module are functions to generate characters that are, for one reason or another, awkward to specify directly in wiki markup. Because the characters ''are'' awkward to specify directly, it is convenient to provide a separate function for each supported character, rather than a single function that takes a character as a parameter. Each character-generation function generates a sequence of one or more characters; by default, 1 character, or optionally a parameter may specify a number of characters up to a bound specified in the module. The upper bound avoids gratuitous opportunities for mayhem.
Function ''bound'' returns the integer upper bound on sequence length for the character-generation functions.
The character-generation functions are as follows:
{| class="wikitable"
|-
! function
! character
|-
| leftBraces
| align="center" | <code>{{#invoke:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}|leftBraces|1}}</code>
|-
| rightBraces
| align="center" | <code>{{#invoke:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}|rightBraces|1}}</code>
|-
| leftSquareBrackets
| align="center" | <code>{{#invoke:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}|leftSquareBrackets|1}}</code>
|-
| rightSquareBrackets
| align="center" | <code>{{#invoke:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}|rightSquareBrackets|1}}</code>
|-
| leftAngleBrackets
| align="center" | <code>{{#invoke:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}|leftAngleBrackets|1}}</code>
|-
| rightAngleBrackets
| align="center" | <code>{{#invoke:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}|rightAngleBrackets|1}}</code>
|-
| equalSigns
| align="center" | <code>{{#invoke:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}|equalSigns|1}}</code>
|}
<includeonly>
[[Category:Dialog required support templates]]
</includeonly>
iprq79yq5jr0dn2ne3iehfdjixe7w4n
ਫਰਮਾ:BOOKSORTKEY
10
2815
5485
2023-03-24T06:25:18Z
Kuldeepburjbhalaike
1880
"{{{{#if:{{BOOKPAGENAME|{{{1|{{FULLPAGENAME}}}}}}}|BOOKPAGENAME|BOOKNAME}}|{{{1|{{FULLPAGENAME}}}}}}}<noinclude>{{documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{{{#if:{{BOOKPAGENAME|{{{1|{{FULLPAGENAME}}}}}}}|BOOKPAGENAME|BOOKNAME}}|{{{1|{{FULLPAGENAME}}}}}}}<noinclude>{{documentation}}</noinclude>
jtaxod9a5ukdy5ui1sfskudad368esj
ਫਰਮਾ:BOOKSORTKEY/doc
10
2816
5486
2023-03-24T06:25:48Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> Returns the full name of a chapter or the book name if it isn't a chapter. ===Usage=== Simply place <code><nowiki>{{BOOKSORTKEY}}</nowiki></code> on a page to get the output. Optionally specify a page as a parameter to see the output for a different page than the current one. :<code><nowiki>{{BOOKSORTKEY|<full pagename>}}<..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
Returns the full name of a chapter or the book name if it isn't a chapter.
===Usage===
Simply place <code><nowiki>{{BOOKSORTKEY}}</nowiki></code> on a page to get the output.
Optionally specify a page as a parameter to see the output for a different page than the current one.
:<code><nowiki>{{BOOKSORTKEY|<full pagename>}}</nowiki></code>
=== Examples ===
{{magic word templates/book page examples}}
=== See also ===
{{magic word templates/book page see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Magic word templates|{{PAGENAME}}]]
</includeonly>
1ifr2t5zhne4cxtfyxeuwxy9vse192j
ਫਰਮਾ:BOOKPAGENAME
10
2817
5487
2023-03-24T06:26:23Z
Kuldeepburjbhalaike
1880
"<includeonly>{{BOOKPAGENAME/core|namespace={{ARTICLESPACE:{{{1|{{FULLPAGENAME}}}}}}}|pagename={{PAGENAME:{{{1|{{FULLPAGENAME}}}}}}}}}</includeonly><noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{BOOKPAGENAME/core|namespace={{ARTICLESPACE:{{{1|{{FULLPAGENAME}}}}}}}|pagename={{PAGENAME:{{{1|{{FULLPAGENAME}}}}}}}}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
stdbkao4mee1xu8fxunq5dxhz59x63a
ਫਰਮਾ:BOOKPAGENAME/doc
10
2818
5488
2023-03-24T06:26:55Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This template returns the part of the page name ''after'' the logical book name. Compare {{tl|BOOKNAME}}. __NOTOC__ === Usage === Simply place <code><nowiki>{{BOOKPAGENAME}}</nowiki></code> on a page to get the output. Optionally specify a page as a parameter to see the output for a different..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This template returns the part of the page name ''after'' the logical book name. Compare {{tl|BOOKNAME}}.
__NOTOC__
=== Usage ===
Simply place <code><nowiki>{{BOOKPAGENAME}}</nowiki></code> on a page to get the output.
Optionally specify a page as a parameter to see the output for a different page than the current one.
:<code><nowiki>{{BOOKPAGENAME|<full pagename>}}</nowiki></code>
=== Examples ===
{{magic word templates/book page examples}}
=== Internals ===
This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{tl|BOOKPAGENAME/core}}.
If the current page is part of a book (other than the book main page), {{nowrap|<code>{{tl|BOOKNAME}}/{{tl|BOOKPAGENAME}}</code>}} is the full title of the page (similarly to {{nowrap|<code><nowiki>{{NAMESPACE}}:{{PAGENAME}}</nowiki></code>}}).
=== See also ===
{{magic word templates/book page see also}}
{{magic word templates/subject page see also}}
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Magic word templates|{{PAGENAME}}]]
</includeonly>
ar372v28u8h0c1r2917d6q49i1gjj0d
ਫਰਮਾ:BOOKPAGENAME/core
10
2819
5489
2023-03-24T06:27:21Z
Kuldeepburjbhalaike
1880
"{{#invoke:TScope|override|BOOKPAGENAME/{{#switch:{{{namespace}}} |Template=refactor |Category=category |={{evalx| (let (x (get-arg 2)) (if (equal? (get-substring x 1 11) "Department:") "department" (if (equal? (get-substring x 1 6) "Shelf:") "shelf" "inbook"))) |{{ucfirst:{{{pagename}}}}}}} |#default=inbook }}}}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#invoke:TScope|override|BOOKPAGENAME/{{#switch:{{{namespace}}}
|Template=refactor
|Category=category
|={{evalx|
(let (x (get-arg 2))
(if (equal? (get-substring x 1 11) "Department:")
"department"
(if (equal? (get-substring x 1 6) "Shelf:")
"shelf"
"inbook")))
|{{ucfirst:{{{pagename}}}}}}}
|#default=inbook
}}}}<noinclude>
{{documentation}}
</noinclude>
qodhtnyqpvpqi56enjg0lvyxy0vne6i
ਫਰਮਾ:BOOKPAGENAME/core/doc
10
2820
5490
2023-03-24T06:27:54Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subpage of {{tl|BOOKPAGENAME}} does the actual deduction of the prefixed book-name, using data provided by the parent template. === Usage === The two parameters expected are <code>namespace</code> and <code>pagename</code>. === Internals === This template dispatches various cases to {{tl..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subpage of {{tl|BOOKPAGENAME}} does the actual deduction of the prefixed book-name, using data provided by the parent template.
=== Usage ===
The two parameters expected are <code>namespace</code> and <code>pagename</code>.
=== Internals ===
This template dispatches various cases to {{tl|BOOKPAGENAME/refactor}}, {{tl|BOOKPAGENAME/category}}, {{tl|BOOKPAGENAME/department}}, {{tl|BOOKPAGENAME/shelf}}, and {{tl|BOOKPAGENAME/inbook}}.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
fcsvo1vx7hqjnd71empqhzwvnnbzfjn
ਫਰਮਾ:BOOKPAGENAME/refactor
10
2821
5491
2023-03-24T06:28:22Z
Kuldeepburjbhalaike
1880
"<includeonly>{{BOOKPAGENAME/{{evalx| (let (x (get-arg 2)) (if (equal? (get-substring x 1 11) "Department:") "department" (if (equal? (get-substring x 1 6) "Shelf:") "shelf" "inbook"))) |{{ucfirst:{{{pagename}}}}}}} |namespace={{NAMESPACE:{{{pagename}}}}} |pagename={{PAGENAME:{{{pagename}}}}} }}</includeonly><noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{BOOKPAGENAME/{{evalx|
(let (x (get-arg 2))
(if (equal? (get-substring x 1 11) "Department:")
"department"
(if (equal? (get-substring x 1 6) "Shelf:")
"shelf"
"inbook")))
|{{ucfirst:{{{pagename}}}}}}}
|namespace={{NAMESPACE:{{{pagename}}}}}
|pagename={{PAGENAME:{{{pagename}}}}}
}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
frmovdwnyxbgb74vk8a2bg7yse00uez
ਫਰਮਾ:BOOKPAGENAME/refactor/doc
10
2822
5492
2023-03-24T06:28:53Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate of {{tl|BOOKPAGENAME}} handles cases where an in-book-style page name has been derived from the name of an associated non-book page. === Usage === The in-book-style name is expected as parameter <code>pagename</code>. === Internals === This template reparses the derived pagena..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate of {{tl|BOOKPAGENAME}} handles cases where an in-book-style page name has been derived from the name of an associated non-book page.
=== Usage ===
The in-book-style name is expected as parameter <code>pagename</code>.
=== Internals ===
This template reparses the derived pagename, however it was derived before calling here, dispatching further deduction to either {{tl|BOOKPAGENAME/inbook}}, {{tl|BOOKPAGENAME/shelf}}, or {{tl|BOOKPAGENAME/department}}. At this writing, the two non-book namespaces that invoke this are template space, where the derivation is trivial, and category space, where derivation is nontrivial and handled by {{tl|BOOKPAGENAME/category}}.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
jytmmbyqmkpq09sfr2i9dpkk5ecjue8
ਫਰਮਾ:BOOKPAGENAME/inbook
10
2823
5493
2023-03-24T06:29:15Z
Kuldeepburjbhalaike
1880
"{{#switch:{{{namespace}}} |User ={{#invoke:TScope|override|BOOKPAGENAME/user}} |#default={{#titleparts:{{{pagename}}}||2}} }}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#switch:{{{namespace}}}
|User ={{#invoke:TScope|override|BOOKPAGENAME/user}}
|#default={{#titleparts:{{{pagename}}}||2}}
}}<noinclude>
{{documentation}}
</noinclude>
aacktly8sjw57na8q6sbtvibf8bzzkk
ਫਰਮਾ:BOOKPAGENAME/inbook/doc
10
2824
5494
2023-03-24T06:29:45Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate of {{tl|BOOKPAGENAME}} handles all cases where the page is actually part of the book. === Usage === The two parameters expected are <code>namespace</code> and <code>pagename</code>. === Internals === This template handles most in-book cases directly, but dispatches the more co..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate of {{tl|BOOKPAGENAME}} handles all cases where the page is actually part of the book.
=== Usage ===
The two parameters expected are <code>namespace</code> and <code>pagename</code>.
=== Internals ===
This template handles most in-book cases directly, but dispatches the more complicated case of pages in userspace to {{tl|BOOKPAGENAME/user}}.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
56dew5e2fx00340vcqefi0t2i0hncx2
ਫਰਮਾ:BOOKPAGENAME/user
10
2825
5495
2023-03-24T06:30:11Z
Kuldeepburjbhalaike
1880
"{{#titleparts:{{{pagename}}}||{{#ifeq:{{#titleparts:{{{pagename}}}|1|2}}|sandbox|4|3}}}}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#titleparts:{{{pagename}}}||{{#ifeq:{{#titleparts:{{{pagename}}}|1|2}}|sandbox|4|3}}}}<noinclude>
{{documentation}}
</noinclude>
dkrcbjkktrjg4d59z7pas2efli1rnft
ਫਰਮਾ:BOOKPAGENAME/user/doc
10
2826
5496
2023-03-24T06:30:39Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate of {{tl|BOOKPAGENAME}} handles for {{tl|BOOKPAGENAME/core}} the case of userspace. === Usage === The two parameters expected are <code>namespace</code> and <code>pagename</code>. === Internals === At this writing, the associated book name for a page in userspace is everything before the ''secon..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate of {{tl|BOOKPAGENAME}} handles for {{tl|BOOKPAGENAME/core}} the case of userspace.
=== Usage ===
The two parameters expected are <code>namespace</code> and <code>pagename</code>.
=== Internals ===
At this writing, the associated book name for a page in userspace is everything before the ''second'' slash, except that if that ends with <code>/sandbox</code>, everything before the ''third'' slash is taken. Books and book fragments in userspace are likely to be exceptional anyway, so any default rule used here is only a guess and should probably be treated as provisional, subject to change without warning; but meanwhile, these rules were chosen as possibly-useful.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
f6cru1df9jjvwxxxikk7xrjyl5hznw9
ਫਰਮਾ:BOOKPAGENAME/category
10
2827
5497
2023-03-24T06:31:12Z
Kuldeepburjbhalaike
1880
"{{BOOKPAGENAME/refactor|pagename={{evalx| (let (x (get-arg 2)) (if (equal? (get-substring x 1 5) "Book:") (get-substring x 6) x)) |{{{pagename}}}}}}}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{BOOKPAGENAME/refactor|pagename={{evalx|
(let (x (get-arg 2))
(if (equal? (get-substring x 1 5) "Book:")
(get-substring x 6)
x))
|{{{pagename}}}}}}}<noinclude>
{{documentation}}
</noinclude>
k3pqb96gzys7zpolfhtdi0ae7dnef2k
ਫਰਮਾ:BOOKPAGENAME/category/doc
10
2828
5498
2023-03-24T06:31:40Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate of {{tl|BOOKPAGENAME}} handles for {{tl|BOOKPAGENAME/core}} the case of category namespace. === Usage === The two parameters expected are <code>namespace</code> and <code>pagename</code>. === Internals === At this writing, the associated book name for a category is derived fro..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate of {{tl|BOOKPAGENAME}} handles for {{tl|BOOKPAGENAME/core}} the case of category namespace.
=== Usage ===
The two parameters expected are <code>namespace</code> and <code>pagename</code>.
=== Internals ===
At this writing, the associated book name for a category is derived from the <code>pagename</code> by stripping an optional <code>Book:</code> prefix and treating the result as the full name (with namespace) of an in-book page, delegating through {{tl|BOOKPAGENAME/refactor}} to {{tl|BOOKPAGENAME/inbook}}.
If the <code>Book:</code> prefix becomes mandatory in the future, the optional-prefix-stripping ''could'' be modified to simply always strip off the first five characters, but it's not clear that making the code less able to handle contingencies is a fair exchange for vanishingly small cost savings, even if the contingencies aren't expected to happen anymore.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
bn0764khihd7ub8tz13knemxv82p2cf
ਫਰਮਾ:BOOKPAGENAME/shelf
10
2829
5499
2023-03-24T06:32:17Z
Kuldeepburjbhalaike
1880
"<includeonly>{{evalx|(get-substring (get-arg 2) 7)|{{{pagename}}}}}</includeonly><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{evalx|(get-substring (get-arg 2) 7)|{{{pagename}}}}}</includeonly><noinclude>
{{documentation}}
</noinclude>
ovhmk91zr05cdmzyj6cn2k42b234cq0
ਫਰਮਾ:BOOKPAGENAME/shelf/doc
10
2830
5500
2023-03-24T06:32:44Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate of {{tl|BOOKPAGENAME}} handles cases where the page is a shelf (in the [[Wikibooks Stacks]]). === Usage === The only parameter expected is <code>pagename</code>. === Internals === This template simply strips off the <code>Shelf:</code> prefix. <includeonly> <!-- Categories and interwikis go he..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate of {{tl|BOOKPAGENAME}} handles cases where the page is a shelf (in the [[Wikibooks Stacks]]).
=== Usage ===
The only parameter expected is <code>pagename</code>.
=== Internals ===
This template simply strips off the <code>Shelf:</code> prefix.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
4g4l0h8iouqko8abx7v1lmsdbn515iz
ਫਰਮਾ:BOOKPAGENAME/department
10
2831
5501
2023-03-24T06:33:30Z
Kuldeepburjbhalaike
1880
"<includeonly>{{evalx|(get-substring (get-arg 2) 12)|{{{pagename}}}}}</includeonly><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{evalx|(get-substring (get-arg 2) 12)|{{{pagename}}}}}</includeonly><noinclude>
{{documentation}}
</noinclude>
5ye2q9f0vqnlyn3wv32hyp8e2i05z97
ਫਰਮਾ:BOOKPAGENAME/department/doc
10
2832
5502
2023-03-24T06:33:59Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate of {{tl|BOOKPAGENAME}} handles cases where the page is a department of the [[Wikibooks Stacks]]. === Usage === The only parameter expected is <code>pagename</code>. === Internals === This template simply strips off the <code>Department:</code> prefix. <includeonly> <!-- Categories and interwik..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate of {{tl|BOOKPAGENAME}} handles cases where the page is a department of the [[Wikibooks Stacks]].
=== Usage ===
The only parameter expected is <code>pagename</code>.
=== Internals ===
This template simply strips off the <code>Department:</code> prefix.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
4rm10jyj31tdppd2lakczgwy1giesw1
ਫਰਮਾ:Evalx
10
2833
5503
2023-03-24T06:34:35Z
Kuldeepburjbhalaike
1880
"{{safesubst:<noinclude/>#invoke:{{safesubst:<noinclude/>#if:{{{test-eval|}}}|{{{test-eval}}}|Wikilisp}}|trep|{{{1|}}}}}<noinclude> {{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{safesubst:<noinclude/>#invoke:{{safesubst:<noinclude/>#if:{{{test-eval|}}}|{{{test-eval}}}|Wikilisp}}|trep|{{{1|}}}}}<noinclude>
{{Documentation}}</noinclude>
77jf01obaj2wdfjktjywia51lpveckw
ਫਰਮਾ:Evalx/doc
10
2834
5504
2023-03-24T06:35:03Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{possible-risk}} === Usage === This template evaluates an expression sequence using [[Module:Wikilisp]]. Pass the expression sequence as the first unnamed template parameter; all parameters to the template are also passed to the the module. For example, : {{tlx|evalx|(get-substring (get-arg 2) 2 3)|abcd}} would expand to : {{evalx|(get-substring..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{possible-risk}}
=== Usage ===
This template evaluates an expression sequence using [[Module:Wikilisp]]. Pass the expression sequence as the first unnamed template parameter; all parameters to the template are also passed to the the module. For example,
: {{tlx|evalx|(get-substring (get-arg 2) 2 3)|abcd}}
would expand to
: {{evalx|(get-substring (get-arg 2) 2 3)|abcd}}
{{#ifexist:Template:Dialog/ifsupported|{{dialog/ifsupported|1=<hr>
{{dialog/text|id=expr}} {{dialog/view|page=Template:Evalx/test|label=eval|delegable=yes|expr|test-eval::{{{test-eval|}}}}}
<hr>|2=}}}}
{{#ifexist:Template:Dialog/ifsupported|
Here's a nontrivial example, made to work in concert with [[Help:Dialog|dialog]] verb [[{{SITENAME}}:Dialog/do/doc#Verb: edit|edit]]. It modifies the entire content of a wiki page (provided through template parameter {{nowrap|<code>SUBJECT-CONTENT</code>}}) to submit the article for review{{#ifeq:{{SITENAME}}|Wikinews||‍ on Wikinews}}, by removing calls to templates {{(*|2}}[[n:Template:Develop|develop]]{{*)|2}} and {{(*|2}}[[n:Template:Tasks|tasks]]{{*)|2}} and adding a call at the top of the page to template {{(*|2}}[[n:Template:Review|review]]{{*)|2}}.
<pre>
{{evalx|(define s (get-arg 2))
(define t (filter (parse s)
call?
(\x (member? (ucfirst (trim (get-substring s (nth (get-parts x) 1))))
(list "Dialog/submit" "Develop" "Developing" "Development" "Draft" "Tasks")))))
(set-substring s (+ (list (list 1 0)) t)
(+ (list "{{(*}}{{(*}}review{{*)}}{{*)}}") (map (\x "") t)))
|{{{SUBJECT-CONTENT|}}}}}
</pre>
}}A different module, to use instead of [[Module:Wikilisp]], may be specified by non-blank template parameter <code>test-eval</code>.
=== Internals ===
When [[Module:Wikilisp]] is <code>#invoke</code>d directly, rather than through an intermediary template such as {{tl|evalx}}, the module point of entry is Lua function <code>rep</code>, and the invocation parameters are accessible through Wikilisp functions {{nowrap|<code>get-arg</code>}} and {{nowrap|<code>get-arg-expr</code>}}. However, the intermediary template cannot explicitly pass its arbitrary template parameters to the invocation since it doesn't know their names in advance. To compensate, an alternative point of entry is provided through Lua function <code>trep</code>, that feeds {{nowrap|<code>get-arg</code>}} and {{nowrap|<code>get-arg-expr</code>}} the parameters to the intermediary template instead of the parameters to <code>#invoke</code>.
=== See also ===
* [[Module:Wikilisp]] for documentation of the expression language.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
{{#ifeq:{{SITENAME}}|Wikinews|[[Category:Wikinews tech]]}}
[[Category:Dialog required support templates]]
</includeonly>
deqc1imgjzdlirydmeoqpgpj17f6msq
ਮੌਡਿਊਲ:Wikilisp
828
2835
5505
2023-03-24T06:35:34Z
Kuldeepburjbhalaike
1880
"local export = {} local wikilispversion = "0.19 (November 4, 2019)" --[[ some basic abstractions ]] local function stype( x ) -- type of sexpr local t = type( x ) if t == "table" then t = x.type end return t end local function seterr( x, ... ) if type(x) ~= "table" then return seterr( {}, x, ... ) else x.type = "error" x.msg = mw.ustring.format( ... ) return x end end --[[ parse text to a sequence of sexprs ]] local function to..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
local export = {}
local wikilispversion = "0.19 (November 4, 2019)"
--[[ some basic abstractions ]]
local function stype( x ) -- type of sexpr
local t = type( x )
if t == "table" then t = x.type end
return t
end
local function seterr( x, ... )
if type(x) ~= "table" then
return seterr( {}, x, ... )
else
x.type = "error"
x.msg = mw.ustring.format( ... )
return x
end
end
--[[ parse text to a sequence of sexprs ]]
local function tok3( ls, t )
-- tokenize lua string t, with no string literals comments or parens;
-- append to ls
local p1,p2 = mw.ustring.find( t, "[^%s]+" )
while p1 ~= nil do
local t1 = mw.ustring.sub(t, p1, p2)
local n1 = tonumber(t1)
if n1 ~= nil then
ls[1 + #ls] = n1
elseif t1 == "true" then
ls[1 + #ls] = true
elseif t1 == "false" then
ls[1 + #ls] = false
else
ls[1 + #ls] = {
type = "symbol",
name = t1
}
end
t = mw.ustring.sub(t, (p2 + 1))
p1,p2 = mw.ustring.find( t, "[^%s]+" )
end
end
local function tok2( ls, t )
-- tokenize lua string t, with no string literals or comments; append to ls
local p1 = mw.ustring.find( t, "[()\\]" )
while p1 ~= nil do
tok3( ls, mw.ustring.sub(t, 1, (p1 - 1)) )
ls[1 + #ls] = { type = mw.ustring.sub(t, p1, p1) }
if ls[#ls].type == "\\" then
ls[#ls].name = ls[#ls].type
ls[#ls].type = "symbol"
end
t = mw.ustring.sub(t, (p1 + 1))
p1 = mw.ustring.find( t, "[()\\]" )
end
tok3( ls, t )
end
local function tok1( ls, t )
-- tokenize lua string t, thru first string literal or comment; append to ls
-- if not finished, append untokenized remainder string and return true
local p0 = mw.ustring.find( t, ';' )
local p1 = mw.ustring.find( t, '"' )
local p2 = mw.ustring.find( t, "'" )
if (p0 ~= nil) and (((p1 == nil) or (p0 < p1)) and
((p2 == nil) or (p0 < p2))) then
-- process a comment
tok2( ls, mw.ustring.sub( t, 1, (p0 - 1) ) )
p1 = mw.ustring.find( t, '\n', (p0 + 1) )
if p1 == nil then
return false
else
ls[1 + #ls] = mw.ustring.sub( t, (p1 + 1) )
return true
end
elseif (p1 ~= nil) and ((p2 == nil) or (p1 < p2)) then
-- process a string literal starting with double-quote
p2 = p1 + 1
while true do
p2 = mw.ustring.find( t, '"', p2 )
if p2 == nil then
seterr(ls, 'mismatched string-literal delimiter (")')
return false
elseif (p2 < mw.ustring.len( t )) and
(mw.ustring.codepoint( t, (p2 + 1) ) == 34)
then
p2 = (p2 + 2)
else
tok2( ls, mw.ustring.sub( t, 1, (p1 - 1) ) )
ls[1 + #ls] = mw.ustring.gsub(
mw.ustring.sub( t, (p1 + 1), (p2 - 1) ),
'""', '"') -- inverse operation is at write_sexpr
ls[1 + #ls] = mw.ustring.sub( t, (p2 + 1) )
return true
end
end
elseif p2 ~= nil then
-- process a string literal starting with single-quote
-- side benefit: precludes Lisp shorthand for "suppress eval"
p1 = p2
p2 = mw.ustring.find( t, "'", (p1 + 1) )
if p2 == nil then
seterr(ls, "mismatched string-literal delimiter (')")
return false
else
tok2( ls, mw.ustring.sub( t, 1, (p1 - 1) ) )
ls[1 + #ls] = mw.ustring.sub( t, (p1 + 1), (p2 - 1) )
ls[1 + #ls] = mw.ustring.sub( t, (p2 + 1) )
return true
end
else
tok2( ls, t )
return false
end
end
local function parse_next( x1, p1, x2 )
-- parse one sexpr from token list x1 position p1, append sexpr to p2
-- return new value for p1
if stype(x1[p1]) == ")" then
seterr(x2, "unmatched right-paren")
return 1 + #x1
elseif stype(x1[p1]) ~= "(" then
x2[1 + #x2] = x1[p1]
return p1 + 1
else
p1 = p1 + 1
local x3 = { type = "list" }
x2[1 + #x2] = x3
while p1 <= #x1 do
if stype(x1[p1]) == ")" then
return p1 + 1
end
p1 = parse_next( x1, p1, x3 )
end
seterr(x2, "unmatched left-paren")
return p1
end
end
local function parse_sexpr( x1 )
-- x1 is an error or a list of tokens
if x1.type ~= "list" then
return x1
else
local p1 = 1 --next item to read from x1
local x2 = { type = "list" }
while p1 <= #x1 do
p1 = parse_next( x1, p1, x2 )
end
return x2
end
end
local function text_to_sexpr( t )
local ls = { type = "list" }
while tok1( ls, t ) do
t = ls[#ls]
ls[#ls] = nil
end
ls = parse_sexpr( ls )
return ls
end
--[[ write/display a sexpr ]]
local function write_sexpr( x )
if type(x) == "number" then
return tostring( x )
elseif type(x) == "string" then
return mw.ustring.format('"%s"', mw.ustring.gsub( x, '"', '""' )) -- inverse operation is at tok1
elseif type(x) == "boolean" then
if x then return "true" else return "false" end
elseif type(x) ~= "table" then
return mw.ustring.format("<unrecognized internal type: %s>", type(x))
elseif x.type == "symbol" then
return x.name
elseif x.type == "fn" then
return mw.ustring.format("<%s>", write_sexpr( x.comb ))
elseif x.type == "op" then
if x.name ~= nil then
return mw.ustring.format("[op: %s]", x.name)
else
return "[op]"
end
elseif x.type == "list" then
local r = {}
r[1] = "("
for k = 1, #x do
r[k+1] = write_sexpr( x[k] )
end
r[#r + 1] = ")"
return table.concat(r, " ")
elseif x.type == "error" then
return mw.ustring.format("<error: %s>", x.msg)
elseif x.type == "pattern" then
return mw.ustring.format('<pattern: "%s">', x.pat)
elseif x.type ~= nil then
return mw.ustring.format("<unrecognized type: %s>", x.type)
else
return "<missing type>"
end
end
local function display_sexpr( x )
if stype(x) == "string" then
return x
else
return write_sexpr( x )
end
end
--[[ evaluation tools ]]
local maxdepth = 4 -- maximum call-nesting depth
local combine
local function eval( x, env, depth )
if type(x) ~= "table" then -- literal
return x
elseif x.type == "symbol" then
local v = env[x.name]
if v == nil then
return seterr("undefined symbol: %s", x.name)
else
return v
end
elseif x.type ~= "list" then -- literal
return x
elseif #x == 0 then -- empty list
return x
else -- combination
local c = eval( x[1], env, depth )
if stype(c) == "error" then return c end
local ls = { type = "list" }
for k = 2, #x do
ls[k - 1] = x[k]
end
return combine( c, ls, env, depth )
end
end
combine = function( c, ls, env, depth )
while stype(c) == "fn" do
local ls2 = { type = "list" }
for k = 1, #ls do
ls2[k] = eval( ls[k], env, depth )
if stype(ls2[k]) == "error" then return ls2[k] end
end
c = c.comb
ls = ls2
end
if stype(c) ~= "op" then
return seterr("called object is not a combiner: %s", write_sexpr(c))
elseif (c.shallow ~= nil) then
return c.op(ls, env, depth)
elseif (depth == nil) or (depth < 1) then
if maxdepth > 1 then
return seterr(
"exceeded maximum call-nesting depth (%i)",
maxdepth)
else
return seterr("exceeded maximum call-nesting depth")
end
else
return c.op(ls, env, (depth - 1))
end
end
local function eval_seq( ls, env, depth )
-- ls must be an error or a list
if ls.type == "error" then return ls end
if #ls == 0 then return ls end
for k = 1, (#ls - 1) do
local x = eval( ls[k], env, depth )
if stype(x) == "error" then return x end
end
return eval( ls[#ls], env, depth )
end
local function eval_all( ls, env, depth, cutoff )
-- ls must be an error or a list
if ls.type == "error" then return ls end
local ls2 = { type="list" }
for k = 1, #ls do
ls2[k] = eval( ls[k], env, depth )
if stype(ls2[k]) == "error" then return ls2[k] end
if (cutoff ~= nil) and cutoff(ls2[k]) then return ls2 end
end
return ls2
end
local function combine_all( ops, args, env, depth, cutoff )
-- ops must be a list; args must be an error or a list
if args.type == "error" then return args end
local ls2 = { type="list" }
for k = 1, #ops do
ls2[k] = combine( ops[k], args, env, depth )
if stype(ls2[k]) == "error" then return ls2[k] end
if (cutoff ~= nil) and cutoff(ls2[k]) then return ls2 end
end
return ls2
end
--[[ generic combiner constructors ]]
local function make_op( f, nm, sh )
return {
type = "op",
op = f,
name = nm,
shallow = sh
}
end
local function checktype( t, o, k ) -- types list, operands list, index
if #t == 0 then return "" end
o = o[k] -- particular operand
if k > #t then k = #t end
t = t[k] -- particular type
-- t should now be a string or internal function
if type(t) == "string" then
if stype(o) == t then t = "" end -- clear if no error
else
t = t(o) -- assume internal function works correctly
end
-- t should now be type name if error, empty string if okay
return t
end
local function type_err( cname, tname, x )
-- combiner name, type name(s), operand
-- type name may be a string or an array of strings
local where = ""
if cname ~= nil then where = " to [op: " .. cname .. "]" end
if type(tname) == "table" then
if #tname == 0 then tname = "[unknown]"
else
for k = 1, #tname do
while tname[k] == "" do
for j = (k + 1), #tname do tname[j - 1] = tname[j] end
tname[#tname] = nil
end
if tname[k] ~= nil then
for j = (k + 1), #tname do
if tname[k] == tname[j] then tname[j] = "" end
end
end
end
if #tname == 1 then tname = tname[1]
else
tname[#tname] = "or " .. tname[#tname]
if #tname == 2
then tname = table.concat( tname, " " )
else tname = table.concat( tname, ", " )
end
end
end
end
local what = write_sexpr(x)
if #what > 64 then what = stype(x) end
return seterr(
"bad operand%s: expected %s, got %s", where, tname, what)
end
local function typed_op( ... )
-- alternating type (string or function) and op (table or function)
-- strong recommendation: first op should be a table
local ls0 = { ... }
local n0 = select( '#', ... )
local opname, shallow
if type(ls0[2]) == "table" then
opname = ls0[2].name
shallow = ls0[2].shallow
end
local f = function(ls, env, depth)
if #ls == 0 then
local op = ls0[2]
if type(op) == "table" then op = op.op end
return op( ls, env, depth )
end
local ek = 1 -- operand number of accumulated error type names
local enames = {} -- list of failed types for ls[ek]
for j = 1, n0, 2 do
local types = ls0[j]
local op = ls0[j + 1]
if type(op) == "table" then op = op.op end
local t = ""
for k = 1, #ls do
if #t == 0 then
t = checktype( types, ls, k )
if #t > 0 then
if k > ek then
ek = k
enames = { t }
elseif k == ek then
enames[1 + #enames] = t
end
end
end
end
if #t == 0 then return op( ls, env, depth ) end
end
return type_err( opname, enames, ls[ek] )
end
return make_op( f, opname, shallow )
end
local function nary_op( c, n, m )
local f = function(ls, env, depth)
if n < 0 then
if #ls < -n then
local where = ""
if c.name ~= nil then where = " to [op: " .. c.name .. "]" end
return seterr(
"too few operands%s: expected at least %i, got %i",
where, -n, #ls)
end
elseif m == nil then
if #ls ~= n then
local where = ""
if c.name ~= nil then where = " to [op: " .. c.name .. "]" end
return seterr(
"wrong number of operands%s: expected %i, got %i",
where, n, #ls)
end
else
if #ls < n then
local where = ""
if c.name ~= nil then where = " to [op: " .. c.name .. "]" end
return seterr(
"too few operands%s: expected at least %i, got %i",
where, n, #ls)
elseif #ls > m then
local where = ""
if c.name ~= nil then where = " to [op: " .. c.name .. "]" end
return seterr(
"too many operands%s: expected at most %i, got %i",
where, m, #ls)
end
end
return c.op( ls, env, depth )
end
return make_op( f, c.name, c.shallow )
end
local function binary_pred( test, nm )
return make_op(function (ls)
for k = 2, #ls do
if not test(ls[k - 1], ls[k]) then
return false
end
end
return true
end, nm, true)
end
local function unary_pred( test, nm )
return make_op(function (ls)
for k = 1, #ls do
if not test(ls[k]) then
return false
end
end
return true
end, nm, true)
end
local function wrap( c )
return {
type = "fn",
comb = c
}
end
--[[ wiki parsing stuff
entry: (char-code (first-pos last-pos left-index))
(descriptor (first-pos last-pos left-index) entry entry ...)
item entries contain part entries, part entries contain item entries
left-index is removed at end of parse
]]
local lsquare,rsquare, lcurly,rcurly, pipe = 91,93, 123,125, 124
local function wikileft(e) -- is entry a left-delimiter?
return ((e[1] == lsquare) or (e[1] == lcurly)) and (e[2][1] ~= e[2][2])
end
local function wikilen(e) -- how long is this entry?
return 1 + e[2][2] - e[2][1]
end
local function wikisub( m, d ) -- parse, descriptor
local k2 = #m -- index of right delimiter
local k1 = m[k2][2][3] -- index of left delimiter
local p = { type = "list", "part", { type = "list" } } -- first part
p[2][1] = (m[k1][2][2] + 1) -- start of first part
local e = { -- entry containing parts
type = "list",
d,
{ type = "list",
(m[k1][2][2] - (m[k2][2][2] - m[k2][2][1])),
m[k2][2][2],
k1
},
p
}
for k = (k1 + 1), (k2 - 1) do
if type(m[k][1]) ~= "number" then
m[k][2][3] = nil
p[1 + #p] = m[k]
elseif m[k][1] == pipe then
p[2][2] = (m[k][2][1] - 1) -- end of current part
p = { type = "list", "part", { type = "list" } } -- next part
p[2][1] = (m[k][2][2] + 1) -- start of this part
e[1 + #e] = p -- add to list of parts
end
m[k] = nil
end
p[2][2] = (m[k2][2][1] - 1) -- end of last part
m[k2] = nil
m[k1][2][2] = (e[2][1] - 1)
if (m[k1][2][1] > m[k1][2][2]) then
e[2][3] = m[k1][2][3]
m[k1] = nil
end
m[1 + #m] = e
end
local function parse_wiki( ls )
local s = ls[1] -- string to parse
local m = { type = "list" } -- result of parse
local k = mw.ustring.find( s, "[%[%]{}|]" ) -- position in string
while k ~= nil do
local c = mw.ustring.codepoint(s,k)
if #m == 0 then
if (c == lsquare) or (c == lcurly) then
m[1] = {type="list", c, {type="list", k, k, 0}}
end
elseif (k == (m[#m][2][2] + 1)) and (c == m[#m][1]) and (c ~= pipe) then
m[#m][2][2] = k
if m[#m][2][3] > 0 then
local e2 = m[#m]
local e1 = m[e2[2][3]]
if (e2[1] == rcurly) and (e1[1] == lcurly) and
(wikilen(e2) == 3) and (wikilen(e1) > 2)
then
wikisub( m, "param" )
elseif (e2[1] == rsquare) and (e1[1] == lsquare) and
(wikilen(e2) == 2) and (wikilen(e1) > 1)
then
wikisub( m, "link" )
end
end
else
if m[#m][2][3] > 0 then
local e2 = m[#m]
local e1 = m[e2[2][3]]
if (e2[1] == rcurly) and (e1[1] == lcurly) and
(wikilen(e2) == 2) and (wikilen(e1) > 1)
then
wikisub( m, "call" )
end
end
m[1 + #m] = {type="list", c, {type="list", k, k}}
if wikileft(m[#m - 1]) then
m[#m][2][3] = (#m - 1)
else
m[#m][2][3] = m[#m - 1][2][3]
end
end
k = mw.ustring.find( s, "[%[%]{}|]", (k + 1) )
end
if #m == 0 then return m end
if m[#m][2][3] > 0 then
local e2 = m[#m]
local e1 = m[e2[2][3]]
if (e2[1] == rcurly) and (e1[1] == lcurly) and
(wikilen(e2) == 2) and (wikilen(e1) > 1)
then
wikisub( m, "call" )
end
end
local m2 = { type = "list" }
for j = 1, #m do
if type(m[j][1]) ~= "number" then
m[j][2][3] = nil
m2[1 + #m2] = m[j]
end
end
return m2
end
--[[ miscellaneous ]]
local function int_tc(x)
if (type(x) ~= "number") or (x ~= math.floor(x)) then
return "integer"
else
return ""
end
end
local function posint_tc(x)
if (type(x) ~= "number") or (x ~= math.floor(x)) or (x < 1) then
return "positive integer"
else
return ""
end
end
local function logical_and( ls ) -- for and?
for k = 1, #ls do
if stype(ls[k]) ~= "boolean" then
return seterr(
"bad operand to [op: and?]: expected boolean, got %s",
write_sexpr(ls[k]))
end
end
for k = 1, #ls do if not ls[k] then return false end end
return true
end
local function logical_or( ls ) -- for or?
for k = 1, #ls do
if stype(ls[k]) ~= "boolean" then
return seterr(
"bad operand to [op: or?]: expected boolean, got %s",
write_sexpr(ls[k]))
end
end
for k = 1, #ls do if ls[k] then return true end end
return false
end
local function and_fn(ls, env, depth)
ls = eval_all( ls, env, depth,
function (x)
return (stype(x) == "boolean") and not x
end)
if stype(ls) == "error" then return ls end
if (#ls == 0) or (stype(ls[1]) == "boolean") then
return logical_and(ls)
end
local ops = { type="list" }
for k = 1, #ls do
if stype(ls[k]) == "fn" then ops[k] = ls[k].comb
elseif stype(ls[k]) == "op" then ops[k] = ls[k]
elseif k == 1 then
return seterr(
"bad operand to [op: and?]: expected boolean or combiner, got %s",
write_sexpr(ls[k]))
else
return seterr(
"bad operand to [op: and?]: expected combiner, got %s",
write_sexpr(ls[k]))
end
end
return wrap(make_op(function (ls, env, depth)
ls = combine_all(ops, ls, env, depth,
function (x)
return (stype(x) ~= "boolean") or not x
end)
if ls.type == "error" then return ls end
return logical_and(ls)
end, "and?", true))
end
local function or_fn(ls, env, depth)
ls = eval_all(ls, env, depth,
function (x)
return (stype(x) == "boolean") and x
end)
if stype(ls) == "error" then return ls end
if (#ls == 0) or (stype(ls[1]) == "boolean") then
return logical_or(ls)
end
local ops = { type="list" }
for k = 1, #ls do
if stype(ls[k]) == "fn" then ops[k] = ls[k].comb
elseif stype(ls[k]) == "op" then ops[k] = ls[k]
elseif k == 1 then
return seterr(
"bad operand to [op: or?]: expected boolean or combiner, got %s",
write_sexpr(ls[k]))
else
return seterr(
"bad operand to [op: or?]: expected combiner, got %s",
write_sexpr(ls[k]))
end
end
return wrap(make_op(function (ls, env, depth)
ls = combine_all(ops, ls, env, depth,
function (x)
return (stype(x) ~= "boolean") or x
end)
if ls.type == "error" then return ls end
return logical_or(ls)
end, "or?", true))
end
local function valid_parmlist( ls ) -- for \
if stype(ls) ~= "list" then return false end
for k = 1, #ls do
if stype(ls[k]) ~= "symbol" then return false end
end
return true
end
local function match_parmlist( parms, ls ) -- for \
local env = {}
for k = 1, #parms do env[parms[k].name] = ls[k] end
return env
end
local function lambda_fn(ls, senv)
local parms = ls[1]
if stype(parms) == "symbol" then
parms = { type="list", parms }
elseif not valid_parmlist(parms) then
return seterr(
"bad parameter-list operand to [op: \\]: %s",
write_sexpr(parms))
end
local body = { type = "list" }
for k = 2, #ls do body[k - 1] = ls[k] end
return wrap(nary_op(make_op(function (ls, denv, depth)
-- denv is ignored
local env = match_parmlist( parms, ls )
setmetatable(env, { __index = senv })
return eval_seq(body, env, depth)
end), #parms))
end
local relevantFrame = mw.getCurrentFrame()
local function getarg_fn(ls)
local args = relevantFrame.args
local t = nil
if stype(ls[1]) == "number" then
t = ls[1]
else -- must be number or string
t = ls[1]
end
t = args[t]
if t == nil then return { type = "list" } end
return t
end
local function getargexpr_fn(ls)
local args = relevantFrame.args
local t = nil
if stype(ls[1]) == "number" then
t = ls[1]
else -- must be number or string
t = ls[1]
end
t = args[t]
if t == nil then return { type = "list" } end
t = text_to_sexpr(t)
if stype(t) == "error" then return { type = "list" } end
if #t ~= 1 then return { type = "list" } end
return t[1]
end
local function filter_fn(ls, env, depth)
local preds = { type = "list" }
for k = 2, #ls do preds[k - 1] = ls[k].comb end -- predicates
local function hof(ls, n, f, app)
-- copy first n elements of ls, apply f to later elements
-- if app, instead skip first n, and return result,app
if app == nil then app = false end
local ls2 = { type = "list" }
if #ls <= n then
if app then return ls2,app else return ls end
end
if not app then for k = 1, n do ls2[k] = ls[k] end end
for k = (n + 1), #ls do
local x,app2 = f(ls[k])
if stype(x) == "error" then return x end
if app2 == nil then app2 = false end
if app2 then
for j = 1, #x do ls2[1 + #ls2] = x[j] end
else
ls2[1 + #ls2] = x
end
end
return ls2,app
end
local function filter_entry(entry)
local b = combine_all(preds, {type="list", entry}, env, depth,
function (x)
return (stype(x) ~= "boolean") or not x
end)
if stype(b) == "error" then return b end
b = logical_and(b)
if stype(b) == "error" then return b end
if b then
if stype(entry) == "list" then
return hof(entry, 2, function (part)
return hof(part, 2, filter_entry)
end)
else
return entry
end
else
if stype(entry) == "list" then
return hof(entry, 2, function (part)
return hof(part, 2, filter_entry, true)
end, true)
else
return { type = "list" }, true
end
end
end
return hof(ls[1], 0, filter_entry)
end
local function item_tc(x)
if (stype(x) == "list") and (#x > 1) and
(stype(x[1]) == "string") and (x[1] ~= "part") and
(stype(x[2]) == "list") and (#x[2] == 2) and
(int_tc(x[2][1]) == "") and (int_tc(x[2][2]) == "")
then
return ""
else
return "item"
end
end
local function part_tc(x)
if (stype(x) == "list") and (#x > 1) and (x[1] == "part") and
(stype(x[2]) == "list") and (#x[2] == 2) and
(int_tc(x[2][1]) == "") and (int_tc(x[2][2]) == "")
then
return ""
else
return "part"
end
end
local function cd_tc(x)
if (stype(x) == "list") and (#x > 0) then
if stype(x[1]) == "string" then x = x[2] end
if (x ~= nil) and (stype(x) == "list") and (#x == 2) and
(int_tc(x[1]) == "") and (int_tc(x[2]) == "")
then
return ""
end
end
return "coordinates descriptor"
end
local function cd_ls_tc(x)
local ok = true
if stype(x) ~= "list" then ok = false
else for k = 1, #x do if cd_tc(x[k]) ~= "" then ok = false end end
end
if ok then return ""
else return "list of coordinates descriptors"
end
end
local function getsubstr_ntv(s, k1, k2) -- k1, k2 ints if provided
if k1 == nil then return s end
if k1 < 1 then k1 = 1 end
if k2 ~= nil then
if k2 >= mw.ustring.len(s) then k2 = nil end
end
return mw.ustring.sub( s, k1, k2 )
end
local function cd_norm(x) -- assumes cd_tc
if stype(x[1]) == "number" then return x else return x[2] end
end
local function getsubstr_int_fn(ls)
local s = ls[1]
return getsubstr_ntv(s, ls[2], ls[3])
end
local function getsubstr_cd_fn(ls)
local s = ls[1]
local c = cd_norm(ls[2])
return getsubstr_ntv(s, c[1], c[2])
end
local function getsubstr_ls_fn(ls)
local s = ls[1]
local r = { type = "list" }
for k = 1, #ls[2] do
r[k] = cd_norm(ls[2][k])
end
for k = 1, #r do r[k] = getsubstr_ntv(s, r[k][1], r[k][2]) end
return r
end
local function setsubstr_ls(s, lsc, lss)
-- string, array of cds, array of strings
local n = math.min(#lsc, #lss) -- just ignore extras of either
if n == 0 then return s end
local function berr(...)
return seterr("bounds violation in [op: set-substring]: %s",
mw.ustring.format( ... ))
end
if lsc[1][1] < 1 then
return berr("segment starts left of string start (%i)", lsc[1][1])
end
if lsc[n][2] > mw.ustring.len(s) then
return berr("segment ends right of string end (%i, %i)",
lsc[n][2], mw.ustring.len(s))
end
local r = {}
for k = 1, n do
if lsc[k][1] > (lsc[k][2] + 1) then
return berr("segment starts right of its own end (%i, %i)",
lsc[k][1], lsc[k][2])
end
r[2 * k] = lss[k]
end
r[1] = mw.ustring.sub(s, 1, (lsc[1][1] - 1))
r[1 + (2 * n)] = mw.ustring.sub(s, (lsc[n][2] + 1))
for k = 2, n do
if lsc[k - 1][2] >= lsc[k][1] then
return berr("segment ends right of next segment start (%i, %i)",
lsc[k - 1][2], lsc[k][1])
end
r[(2 * k) - 1] = mw.ustring.sub(s,
(lsc[k - 1][2] + 1),
(lsc[k][1] - 1))
end
return table.concat(r)
end
local function str_ls_tc(x)
local ok = true
if stype(x) ~= "list" then ok = false
else for k = 1, #x do if stype(x[k]) ~= "string" then ok = false end end
end
if ok then return ""
else return "list of strings"
end
end
local function getsublist_fn(ls)
local n1 = ls[2]
local n2 = ls[3]
local ls = ls[1]
local x = { type = "list" }
if n1 < 1 then n1 = 1 end
if n2 == nil then n2 = #ls elseif n2 > #ls then ns = #ls end
for k = n1, n2 do x[1 + #x] = ls[k] end
return x
end
local function setsublist_fn(ls)
local base = ls[1]
local n1 = ls[2] - 1
local n2 = ls[3] + 1
local seg = ls[4]
if n1 < 0 then n1 = 0 end
if n2 <= n1 then n2 = n1 + 1 end
local r = { type = "list" }
for k = 1, n1 do r[k] = base[k] end
for k = 1, #seg do r[1 + #r] = seg[k] end
for k = n2, #base do r[1 + #r] = base[k] end
return r
end
local function findprd_fn(ls, env, depth)
local x = ls[1]
local p = ls[2].comb
local x2 = { type = "list" }
for k = 1, #x do
local q = combine( p, { type="list", x[k] }, env, depth )
if stype(q) == "error" then return q end
if stype(q) ~= "boolean" then
return seterr(
"bad predicate result type to [op: find]: got %s",
stype(q))
end
if q then x2[1 + #x2] = k end
end
return x2
end
local function findstr_fn(ls)
local s = ls[1]
local p = ls[2]
local x2 = { type = "list" }
if #p == 0 then return x2 end
local k = 1
repeat
local x3 = { mw.ustring.find( s, p, k, true ) }
if #x3 == 0 then return x2 end
x2[1 + #x2] = { type = "list", x3[1], x3[2] }
k = 1 + x3[2]
until false
end
local function findpat_fn(ls)
local s = ls[1]
local p = ls[2].pat
local x2 = { type = "list" }
local k = 1
repeat
local x3 = { mw.ustring.find( s, p, k ) }
if #x3 == 0 then return x2 end
x2[1 + #x2] = { type = "list", x3[1], x3[2] }
k = 1 + x3[2]
until false
end
local function any_tc(x) return "" end
local function none_tc(x) return "no operand here" end
local function member_fn(ls) -- 1 or 2 operands, second must be a list
local t = write_sexpr(ls[1])
if ls[2] ~= nil then
ls = ls[2]
for k = 1, #ls do
if write_sexpr(ls[k]) == t then return true end
end
return false
else
return wrap(nary_op(typed_op({ "list" }, make_op(function(ls)
ls = ls[1]
for k = 1, #ls do
if write_sexpr(ls[k]) == t then return true end
end
return false
end, nil, true)), 1))
end
end
local lang = mw.language.getContentLanguage()
local function let_tc(x)
if (stype(x) == "list") and (#x == 2) and (stype(x[1]) == "symbol")
then return ""
else return "symbol-value binding"
end
end
local function sorp_tc(x)
if (stype(x) == "string") or (stype(x) == "pattern")
then return ""
else return "string or pattern"
end
end
local function split_tc(x)
if (stype(x) == "list") and (#x >= 1) and (sorp_tc(x[1]) == "") and
((#x == 1) or
((#x == 2) and ((sorp_tc(x[2]) == "") or (split_tc(x[2]) == ""))) or
((#x == 3) and (sorp_tc(x[2]) == "") and (split_tc(x[3]) == "")))
then
return ""
else
return "valid string-split descriptor"
end
end
local function strnest_tc(x)
if stype(x) == "string" then return ""
elseif stype(x) == "list" then
for k = 1, #x do
local msg = strnest_tc(x[k])
if msg ~= "" then return msg end
end
return ""
end
return "string or tree of strings"
end
local function splitsep_fn(s, p)
local x
if (stype(p) == "string")
then x = mw.text.split( s, p, true )
else x = mw.text.split( s, p.pat )
end
x.type = "list"
return x
end
local function splitdelim_fn(s, lt, rt)
local lp = (stype(lt) == "string")
local rp = (stype(rt) == "string")
if not lp then lt = lt.pat end
if not rp then rt = rt.pat end
local snarf -- find next unmatched right-delimiter
snarf = function (k)
repeat
local xl = { mw.ustring.find( s, lt, k, lp ) }
local xr = { mw.ustring.find( s, rt, k, rp ) }
if #xr == 0 then return xr end
if #xl == 0 then return xr end
if xr[1] <= xl[1] then return xr end
xr = snarf(xl[2] + 1)
if #xr == 0 then return xr end
k = (xr[2] + 1)
until false
end
local results = { type = "list" }
local k = 1 -- leftmost character of interest
repeat
local xl = { mw.ustring.find( s, lt, k, lp ) }
if #xl == 0 then return results end
k = xl[2] + 1
local xr = snarf(k)
if #xr > 0 then
results[1 + #results] = mw.ustring.sub( s, k, (xr[1] - 1) )
k = xr[2] + 1
end
until false
end
local function splitrec_fn(s, rc)
local ls
if (#rc > 1) and (stype(rc[2]) ~= "list") then
ls = splitdelim_fn(s, rc[1], rc[2])
else
ls = splitsep_fn(s, rc[1])
end
ls.type = "list"
rc = rc[#rc]
if (stype(rc) == "list") then
for k = 1, #ls do
ls[k] = splitrec_fn(ls[k], rc)
end
end
return ls
end
local function splitnest_fn(s, rc)
if stype(s) == "string" then return splitrec_fn(s, rc) end
local result = { type="list" }
for k = 1, #s do
result[k] = splitnest_fn(s[k], rc)
if stype(result[k]) == "error" then return result[k] end
end
return result
end
local function split_fn(ls)
local rc = { type = "list" }
for k = 2, #ls do rc[k - 1] = ls[k] end
return splitnest_fn(ls[1], rc)
end
local function join_tc(x)
if (stype(x) == "list") and (#x >= 1) and (stype(x[1]) == "string") and
((#x == 1) or
((#x == 2) and ((stype(x[2]) == "string") or (join_tc(x[2]) == ""))) or
((#x == 3) and (stype(x[2]) == "string") and (join_tc(x[3]) == "")))
then
return ""
else
return "valid string-join descriptor"
end
end
local function neststr_tc(x)
if stype(x) == "list" then
for k = 1, #x do
if stype(x[k]) ~= "string" then
local msg = neststr_tc(x[k])
if msg ~= "" then return msg end
end
end
return ""
end
return "tree of strings"
end
local function joinsep_fn(t, s)
if #t == 0 then return "" end
if stype(t[1]) == "string" then
for k = 2, #t do if stype(t[k]) ~= "string" then
return seterr("bad target for [op: join]: uneven tree depth")
end end
return table.concat( t, s )
end
for k = 2, #t do if stype(t[k]) == "string" then
return seterr("bad target for [op: join]: uneven tree depth")
end end
local result = { type = "list" }
for k = 1, #t do
result[k] = joinsep_fn(t[k], s)
if stype(result[k]) == "error" then return result[k] end
end
return result
end
local function joindelim_fn(t, lf, rg)
if #t == 0 then return "" end
if stype(t[1]) == "string" then
for k = 2, #t do if stype(t[k]) ~= "string" then
return seterr("bad target for [op: join]: uneven tree depth")
end end
return lf .. table.concat( t, (rg .. lf) ) .. rg
end
for k = 2, #t do if stype(t[k]) == "string" then
return seterr("bad target for [op: join]: uneven tree depth")
end end
local result = { type = "list" }
for k = 1, #t do
result[k] = joindelim_fn(t[k], lf, rg)
if stype(result[k]) == "error" then return result[k] end
end
return result
end
local function joinnest_fn(t, rc)
if stype(t) == "error" then return t end
if stype(t) == "string" then
return seterr("bad target for [op: join]: tree not deep enough")
end
if #rc == 1 then
return joinsep_fn(t, rc[1])
elseif #rc == 3 then
return joinnest_fn(joindelim_fn(t, rc[1], rc[2]), rc[3])
elseif stype(rc[2]) == "string" then
return joindelim_fn(t, rc[1], rc[2])
else
return joinnest_fn(joinsep_fn(t, rc[1]), rc[2])
end
end
local function join_fn(ls)
local rc = { type = "list" }
for k = 2, #ls do rc[k - 1] = ls[k] end
return joinnest_fn(ls[1], rc)
end
local function xformer_fn(pred, basis, succ, n)
return wrap(nary_op(typed_op({ "fn", "fn", any_tc },
make_op(function (ls, denv, depth)
local leaf = ls[1]
local parent = ls[2]
local data = ls[3]
local function xform(basis, data)
local recurse = false
if stype(data) == "list" then
if stype(pred) ~= "fn" then
recurse = true
else
recurse = combine( pred.comb, { type="list", data }, env, depth )
if stype(recurse) ~= "boolean" then
if stype(recurse) == "error" then return recurse end
return seterr(
"bad predicate result type to [op transform]: %s",
stype(recurse))
end
end
end
local comb
if recurse then
local b2
if stype(succ) == "fn"
then b2 = combine( succ.comb, { type="list", basis }, env, depth )
else b2 = basis
end
local d2 = { type="list" }
for k = 1, #data do
if k <= n then
d2[k] = data[k]
else
d2[k] = xform(b2, data[k])
if stype(d2[k]) == "error" then return d2[k] end
end
end
data = d2
comb = parent.comb
else
comb = leaf.comb
end
if stype(succ) == "fn"
then data = { type="list", basis, data }
else data = { type="list", data }
end
return combine( comb, data, env, depth )
end
return xform(basis, data)
end, "transform", true)), 3))
end
--[[ standard environment ]]
local ground_env = {
list = wrap(make_op(function (ls) return ls end, "list", true)),
["+"] = wrap(typed_op(
{ "number" }, make_op(function (ls)
local sum = 0
for k = 1, #ls do sum = sum + ls[k] end
return sum
end, "add", true),
{ "string" }, function (ls)
local s = {}
for k = 1, #ls do s[k] = ls[k] end
return table.concat(s)
end,
{ "boolean" }, function (ls)
local sum = true
for k = 1, #ls do sum = sum and ls[k] end
return sum
end,
{ "list" }, function (ls)
local x = { type = "list" }
for j = 1, #ls do
for k = 1, #ls[j] do
x[1 + #x] = ls[j][k]
end
end
return x
end)),
["*"] = wrap(typed_op({ "number" }, make_op(function (ls)
local product = 1
for k = 1, #ls do product = product * ls[k] end
return product
end, "multiply", true))),
["-"] = wrap(nary_op(typed_op({ "number" }, make_op(function (ls)
local result = ls[1]
for k = 2, #ls do result = result - ls[k] end
return result
end, "subtract", true)), -2)),
["/"] = wrap(nary_op(typed_op({ "number" }, make_op(function (ls)
local result = ls[1]
for k = 2, #ls do result = result / ls[k] end
return result
end, "divide", true)), -2)),
["^"] = wrap(nary_op(typed_op({ "number" }, make_op(function (ls)
return ls[1] ^ ls[2]
end, "exponentiation", true)), 2)),
["\\"] = nary_op(make_op(lambda_fn, "\\", true), -1),
abs = wrap(nary_op(typed_op({ "number" }, make_op(function (ls)
return math.abs(ls[1])
end, "abs", true)), 1)),
anchorencode = wrap(nary_op(typed_op(
{ "string" }, make_op(function (ls)
return mw.uri.anchorEncode( ls[1] )
end, "anchorencode", true)), 1)),
["and?"] = make_op(and_fn, "and?", true),
apply = wrap(nary_op(typed_op(
{ "fn", "list" }, make_op(function (ls, env, depth)
return combine(ls[1].comb, ls[2], env, depth)
end, "apply", true)), 2)),
["boolean?"] = wrap(unary_pred(function (x)
return stype(x) == "boolean"
end, "boolean?")),
["call?"] = wrap(unary_pred(function (x)
return (stype(x) == "list") and (#x > 0) and
(stype(x[1]) == "string") and (x[1] == "call")
end, "call?")),
canonicalurl = wrap(nary_op(typed_op(
{ "string" }, make_op(function (ls)
if #ls == 1
then return tostring( mw.uri.canonicalUrl( ls[1] ) )
else return tostring( mw.uri.canonicalUrl( ls[1], ls[2] ) )
end
end, "canonicalurl", true)), 1, 2)),
ceil = wrap(nary_op(typed_op({ "number" }, make_op(function (ls)
return math.ceil(ls[1])
end, "ceil", true)), 1)),
curry = wrap(nary_op(typed_op(
{ "fn", any_tc }, make_op(function (ls1, env, depth)
return wrap(make_op(function (ls2, env, depth)
local ls3 = { type = "list" }
for k = 2, #ls1 do ls3[k - 1] = ls1[k] end
for k = 1, #ls2 do ls3[k + #ls1 - 1] = ls2[k] end
return combine(ls1[1].comb, ls3, env, depth)
end, nil, true))
end, "curry", true)), -2)),
define = nary_op(make_op(function (ls, env, depth)
if stype(ls[1]) ~= "symbol" then
return seterr(
"bad definiend to [op: define]: expected symbol, got %s",
write_sexpr(ls[1]))
end
local x = eval(ls[2], env, depth)
if stype(x) == "error" then return x end
env[ls[1].name] = x
while stype(x) == "fn" do x = x.comb end
if stype(x) == "op" and x.name == nil then x.name = ls[1].name end
return { type = "list" }
end, "define", true), 2),
["equal?"] = wrap(make_op(function (ls)
if #ls >= 2 then
local t = write_sexpr(ls[1])
for k = 2, #ls do
if write_sexpr(ls[k]) ~= t then
return false
end
end
end
return true
end, "equal?", true)),
filter = wrap(nary_op(typed_op({ "list", "fn" }, make_op(filter_fn,
"filter", true)), -1)),
find = wrap(nary_op(typed_op(
{ "list", "fn" }, make_op(findprd_fn, "find", true),
{ "string", "string" }, findstr_fn,
{ "string", "pattern" }, findpat_fn
), 2)),
floor = wrap(nary_op(typed_op({ "number" }, make_op(function (ls)
return math.floor(ls[1])
end, "floor", true)), 1)),
["fn?"] = wrap(unary_pred(function (x)
return stype(x) == "fn"
end, "fn?")),
fullurl = wrap(nary_op(typed_op(
{ "string" }, make_op(function (ls)
if #ls == 1
then return tostring( mw.uri.fullUrl( ls[1] ) )
else return tostring( mw.uri.fullUrl( ls[1], ls[2] ) )
end
end, "fullurl", true)), 1, 2)),
["ge?"] = wrap(typed_op(
{ "number" }, binary_pred(function (x1, x2) return x1 >= x2 end, "ge?"),
{ "string" }, binary_pred(function (x1, x2) return x1 >= x2 end))),
['get-arg'] = wrap(nary_op(typed_op(
{ "number" }, make_op(getarg_fn, "get-arg", true),
{ "string" }, getarg_fn), 1)),
['get-arg-expr'] = wrap(nary_op(typed_op(
{ "number" }, make_op(getargexpr_fn, "get-arg-expr", true),
{ "string" }, getargexpr_fn), 1)),
['get-args'] = nary_op(make_op(function ()
local ls = { type = "list" }
for v, k in pairs( relevantFrame.args ) do
ls[1 + #ls] = v
end
return ls
end, "get-args"), 0),
['get-coords'] = wrap(nary_op(typed_op({ cd_tc },make_op(function (ls)
ls = ls[1]
if stype(ls[1]) == "string" then ls = ls[2] end
return { type="list", ls[1], ls[2] }
end, "get-coords", true)), 1)),
["get-items"] = wrap(nary_op(typed_op({ part_tc }, make_op(function (ls)
ls = ls[1]
local ls2 = { type="list" }
for k = 3, #ls do ls2[k - 2] = ls[k] end
return ls2
end, "get-items", true)), 1)),
["get-parts"] = wrap(nary_op(typed_op({ item_tc }, make_op(function (ls)
ls = ls[1]
local ls2 = { type="list" }
for k = 3, #ls do ls2[k - 2] = ls[k] end
return ls2
end, "get-parts", true)), 1)),
["get-sublist"] = wrap(nary_op(typed_op(
{ "list", int_tc },
make_op(getsublist_fn, "get-sublist", true)), 2, 3)),
["get-substring"] = wrap(typed_op(
{ "string", int_tc },
nary_op(make_op(getsubstr_int_fn, "get-substring", true), 2, 3),
{ "string", cd_tc },
nary_op(make_op(getsubstr_cd_fn, "get-substring", true), 2),
{ "string", cd_ls_tc },
nary_op(make_op(getsubstr_ls_fn, "get-substring", true), 2))),
["gt?"] = wrap(typed_op(
{ "number" }, binary_pred(function (x1, x2) return x1 > x2 end, "gt?"),
{ "string" }, binary_pred(function (x1, x2) return x1 > x2 end))),
["if"] = nary_op(make_op(function (ls, env, depth)
local test = eval(ls[1], env, depth)
if stype(test) == "error" then return test end
if stype(test) ~= "boolean" then
return seterr(
"bad test-result in [op: if]: %s",
write_sexpr(test))
elseif test then
return eval(ls[2], env, depth)
else
return eval(ls[3], env, depth)
end
end, "if", true), 3),
join = wrap(typed_op(
{ neststr_tc, "string", join_tc },
nary_op(make_op(join_fn, "join", true), 2, 3),
{ neststr_tc, "string", "string", join_tc },
nary_op(make_op(join_fn, "split", true), 3, 4))),
lc = wrap(nary_op(typed_op(
{ "string" }, make_op(function (ls)
return lang:lc(ls[1])
end, "lc", true),
{ str_ls_tc }, function (ls)
ls = ls[1]
local r = { type = "list" }
for k = 1, #ls do r[k] = lang:lc(ls[k]) end
return r
end), 1)),
lcfirst = wrap(nary_op(typed_op(
{ "string" }, make_op(function (ls)
return lang:lcfirst(ls[1])
end, "lcfirst", true),
{ str_ls_tc }, function (ls)
ls = ls[1]
local r = { type = "list" }
for k = 1, #ls do r[k] = lang:lcfirst(ls[k]) end
return r
end), 1)),
["le?"] = wrap(typed_op(
{ "number" }, binary_pred(function (x1, x2) return x1 <= x2 end, "le?"),
{ "string" }, binary_pred(function (x1, x2) return x1 <= x2 end))),
length = wrap(nary_op(typed_op(
{ "list" }, make_op(function (ls)
return #ls[1]
end, "length", true),
{ "string" }, function (ls)
return mw.ustring.len( ls[1] )
end), 1)),
let = nary_op(typed_op({ let_tc, any_tc }, make_op(function (ls, env, depth)
local p = ls[1][1]
local v = eval( ls[1][2], env, depth )
if stype(v) == "error" then return v end
local body = { type = "list" }
for k = 2, #ls do body[k - 1] = ls[k] end
local e = {}
e[p.name] = v
setmetatable(e, { __index = env})
return eval_seq(body, e, depth)
end, "let", true)), -1),
["link?"] = wrap(unary_pred(function (x)
return (stype(x) == "list") and (#x > 0) and
(stype(x[1]) == "string") and (x[1] == "link")
end, "link?")),
["list?"] = wrap(unary_pred(function (x)
return stype(x) == "list"
end, "list?")),
["lt?"] = wrap(typed_op(
{ "number" }, binary_pred(function (x1, x2) return x1 < x2 end, "lt?"),
{ "string" }, binary_pred(function (x1, x2) return x1 < x2 end))),
map = wrap(nary_op(typed_op({ "fn", "list" }, make_op(
function (ls, env, depth)
local n = #ls[2]
for k = 3, #ls do if #ls[k] < n then n = #ls[k] end end
local x = { type = "list" }
for j = 1, n do
local x2 = { type = "list" }
for k = 2, #ls do x2[k - 1] = ls[k][j] end
x[j] = combine( ls[1].comb, x2, env, depth )
if stype(x[j]) == "error" then return x[j] end
end
return x
end, "map", true)), -2)),
["member?"] = wrap(nary_op(typed_op(
{ any_tc, "list" }, make_op(member_fn, "member?", true)), 1, 2)),
merge = wrap(nary_op(typed_op({ "fn", "list" }, make_op(
function (ls, env, depth)
local ks = {}
for k = 2, #ls do ks[k] = 1 end
local result = { type = "list" }
while true do
local j = nil
for k = 2, #ls do
if ks[k] <= #ls[k] then
if j == nil then j = k else
local x = combine( ls[1].comb,
{ ls[k][ks[k]], ls[j][ks[j]] }, env, depth )
if stype(x) == "error" then return x end
if x then j = k end
end
end
end
if j == nil then return result else
result[#result + 1] = ls[j][ks[j]]
ks[j] = ks[j] + 1
end
end
end, "merge", true)), -2)),
["not?"] = wrap(nary_op(typed_op({ "boolean" }, make_op(function (ls)
return not ls[1]
end, "not?", true)), 1)),
nth = wrap(nary_op(typed_op({ "list", posint_tc }, make_op(function (ls)
local x = ls[1]
for k = 2, #ls do
local n = ls[k]
if #x < n then
return seterr(
"bad index to [op: nth]: asked for %i, list length is %i",
n, #x)
end
x = x[n]
if (k < #ls) and (stype(x) ~= "list") then
return seterr("bad multi-index to [op: nth]: tree too shallow")
end
end
return x
end, "nth", true)), -2)),
["number?"] = wrap(unary_pred(function (x)
return stype(x) == "number"
end, "number?")),
["op?"] = wrap(unary_pred(function (x)
return stype(x) == "op"
end, "op?")),
["or?"] = make_op(or_fn, "or?", true),
["param?"] = wrap(unary_pred(function (x)
return (stype(x) == "list") and (#x > 0) and
(stype(x[1]) == "string") and (x[1] == "param")
end, "param?")),
parse = wrap(nary_op(typed_op({ "string" }, make_op(parse_wiki,
"parse", true)), 1)),
pattern = wrap(nary_op(typed_op({ "string" }, make_op(function (ls)
local p = ls[1]
if #p == 0 then p = "[^%z%Z]" end -- disable null pattern
return { type="pattern", pat=p }
end, "pattern", true)), 1)),
sequence = make_op(function (ls, env, depth)
return eval_seq(ls, env, depth)
end, "sequence", true),
["set-sublist"] = wrap(nary_op(typed_op(
{ "list", int_tc, int_tc, "list" },
make_op(setsublist_fn, "set-sublist", true)), 4)),
["set-substring"] = wrap(typed_op(
{ "string", int_tc, int_tc, "string" },
nary_op(make_op(function (ls)
return setsubstr_ls(ls[1], { { ls[2], ls[3] } }, { ls[4] })
end, "set-substring", true), 4),
{ "string", cd_tc, "string" },
nary_op(make_op(function (ls)
return setsubstr_ls(ls[1], { cd_norm(ls[2]) }, { ls[3] })
end, "set-substring", true), 3),
{ "string", cd_ls_tc, str_ls_tc },
nary_op(make_op(function (ls)
local lsc = {}
for k = 1, #ls[2] do lsc[k] = cd_norm(ls[2][k]) end
return setsubstr_ls(ls[1], lsc, ls[3])
end, "set-substring", true), 3)
)),
split = wrap(typed_op(
{ strnest_tc, sorp_tc, split_tc },
nary_op(make_op(split_fn, "split", true), 2, 3),
{ strnest_tc, sorp_tc, sorp_tc, split_tc },
nary_op(make_op(split_fn, "split", true), 3, 4))),
["string?"] = wrap(unary_pred(function (x)
return stype(x) == "string"
end, "string?")),
["symbol?"] = wrap(unary_pred(function (x)
return stype(x) == "symbol"
end, "symbol?")),
["to-entity"] = wrap(nary_op(typed_op(
{ "string" }, make_op(function (ls)
local s = ls[1]
if #s == 0 then return s end
return "&#" .. mw.ustring.codepoint(s, 1) .. ";"
end, "to-entity", true),
{ str_ls_tc }, function (ls)
ls = ls[1]
local r = { type = "list" }
for k = 1, #ls do
local s = ls[k]
if #s == 0 then r[k] = s
else r[k] = "&#" .. mw.ustring.codepoint(s, 1) .. ";"
end
end
return r
end), 1)),
["to-number"] = wrap(nary_op(typed_op(
{ "string" }, make_op(function (ls)
local n = tonumber(ls[1])
if n == nil then return { type="list" } else return n end
end, "to-number", true)), 1)),
["to-string"] = wrap(nary_op(typed_op(
{ "number" }, make_op(function (ls)
return write_sexpr(ls[1])
end, "to-string", true)),1)),
transformer = wrap(typed_op(
{ none_tc },
make_op(function (ls, env, depth)
return xformer_fn( 0, 0, 0, 0)
end, "transformer", true),
{ "fn", none_tc },
make_op(function (ls, env, depth)
return xformer_fn(ls[1], 0, 0, 0)
end, "transformer", true),
{ posint_tc, none_tc },
make_op(function (ls, env, depth)
return xformer_fn( 0, 0, 0, ls[1])
end, "transformer", true),
{ any_tc, "fn", none_tc },
nary_op(make_op(function (ls, env, depth)
return xformer_fn( 0, ls[1], ls[2], 0)
end, "transformer", true), -2),
{ "fn", posint_tc, none_tc },
make_op(function (ls, env, depth)
return xformer_fn(ls[1], 0, 0, ls[2])
end, "transformer", true),
{ "fn", any_tc, "fn", none_tc },
nary_op(make_op(function (ls, env, depth)
return xformer_fn(ls[1], ls[2], ls[3], 0)
end, "transformer", true), -3),
{ any_tc, "fn", posint_tc, none_tc },
make_op(function (ls, env, depth)
return xformer_fn( 0, ls[1], ls[2], ls[3])
end, "transformer", true),
{ "fn", any_tc, "fn", posint_tc, none_tc },
make_op(function (ls, env, depth)
return xformer_fn(ls[1], ls[2], ls[3], ls[4])
end, "transformer", true)
)),
trim = wrap(nary_op(typed_op(
{ "string" }, make_op(function (ls)
return mw.text.trim(ls[1])
end, "trim", true),
{ str_ls_tc }, function (ls)
ls = ls[1]
local r = { type = "list" }
for k = 1, #ls do r[k] = mw.text.trim(ls[k]) end
return r
end), 1)),
uc = wrap(nary_op(typed_op(
{ "string" }, make_op(function (ls)
return lang:uc(ls[1])
end, "uc", true),
{ str_ls_tc }, function (ls)
ls = ls[1]
local r = { type = "list" }
for k = 1, #ls do r[k] = lang:uc(ls[k]) end
return r
end), 1)),
ucfirst = wrap(nary_op(typed_op(
{ "string" }, make_op(function (ls)
return lang:ucfirst(ls[1])
end, "ucfirst", true),
{ str_ls_tc }, function (ls)
ls = ls[1]
local r = { type = "list" }
for k = 1, #ls do r[k] = lang:ucfirst(ls[k]) end
return r
end), 1)),
urlencode = wrap(nary_op(typed_op(
{ "string" }, make_op(function (ls)
if #ls == 1 then ls[2] = 'QUERY' end
return mw.uri.encode( ls[1], ls[2] )
end, "urlencode", true)), 1, 2)),
["wikilisp-version"] = wrap(nary_op(make_op(function (ls)
return wikilispversion
end, "wikilisp-version", true), 0)),
write = wrap(nary_op(make_op(function (ls)
return write_sexpr(ls[1])
end, "write", true), 1))
}
local function make_standard_env()
local standard_env = {}
setmetatable(standard_env, { __index = ground_env})
return standard_env
end
--[[ read-eval-print]]
function export.rep( frame )
local t = frame.args[1]
if t == nil then t = "" end
return display_sexpr(
eval_seq(
text_to_sexpr(t),
make_standard_env(),
maxdepth))
end
function export.trep( frame )
relevantFrame = frame:getParent()
return export.rep(frame)
end
return export
12jjajxcyn4sdpgtc7h7i02ar29wpjl
ਮੌਡਿਊਲ:Wikilisp/doc
828
2836
5506
2023-03-24T06:36:15Z
Kuldeepburjbhalaike
1880
"{{possible-risk}} This module supports simple but flexible and fairly powerful operations on strings and numbers. It is meant to bring the supported operations within reach of ordinary wiki contributors, by using expressions embedded in wiki markup, and by minimizing the syntactic [[wikt:red tape|red tape]] involved.{{#ifeq:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}|Wikilisp||{{#ifexist:Module:Wiki..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{possible-risk}}
This module supports simple but flexible and fairly powerful operations on strings and numbers. It is meant to bring the supported operations within reach of ordinary wiki contributors, by using expressions embedded in wiki markup, and by minimizing the syntactic [[wikt:red tape|red tape]] involved.{{#ifeq:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}|Wikilisp||{{#ifexist:Module:Wikilisp|<nowiki/>
This is a test version of the module; the release version is [[Module:Wikilisp]].}}}}
Call the module like this:
: {{(*|2}}[[Template:Evalx|evalx]]{{!}}''sequence''{{#ifeq:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}|Wikilisp||{{!}}test-eval{{==}}{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}}}{{!}}...{{*)|2}}
or
: {{(*|2}}#invoke:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}{{!}}rep{{!}}''sequence''{{!}}...{{*)|2}}
where ''sequence'' is a series of s-expressions, and there may be additional arguments thereafter (the "{{!}}..."). The s-expressions are evaluated, one at a time from left to right, and the result of evaluating the last of them is returned as the expansion of the module-call.
Although this module can be useful for tricky small-scale tasks, it can also do hefty transformations of the entire content of a wiki page, because the entire content of a wiki page is a string.
: Current version: <code>{{#invoke:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}|rep|(wikilisp-version)}}</code>
{{#ifexist:Template:Dialog/ifsupported|{{#ifexist:Template:Evalx/test|{{dialog/ifsupported|1=<nowiki/>
: Evaluate an s-expression: {{dialog/text|id=expr}} {{dialog/view|page=Template:Evalx/test|label=eval|delegable=yes|expr|test-eval::{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}}}
|2=}}}}}}
== S-expressions ==
The main kinds of values are numbers, strings (that is, unicode text), booleans (true and false), symbols (names for things), and lists.
=== Numbers, strings, booleans ===
Numbers and strings are kept separate form each other: <code>6</code> is different from <code>"6"</code>. Evaluating a number or string results in that number or string, unchanged. The result of the module-call, if a simple value (rather than a list, as discussed below), is usually a number or string, unless the module call has an error in it, or is being debugged.
A numeric literal is a series of digits, with an optional decimal point (.), optional sign at the front (+ or -), and optional {{nowrap|[[w:E notation|E notation]]}}.
A string literal may be delimited either by double-quotes (") or single-quotes ('), and may contain any characters except the delimiter. If a string needs to involve both single- and double-quotes, the easiest approach is to make the string an additional parameter to the module call; though there is also fully general [[{{FULLPAGENAME}}#advanced string syntax|advanced string syntax]].
The boolean values, true and false, usually result from some logical test and are fed as operands into some other operation; so they are usually neither written explicitly into an input expression, nor written as part of an output expression. The boolean values are represented as <code>true</code> and <code>false</code>.
=== Symbols ===
Any input-text sequence that doesn't represent a string literal or numeric literal, and doesn't contain any [[w:whitespace character|whitespace]] or parentheses or backslash or semicolon, names a symbol. Also, any backslash (<code>\</code>) that isn't inside a string literal names a symbol (the backslash symbol).
A symbol is evaluated by looking it up in the environment. For most (though not all) purposes, there's just one, global environment, defining the standard functions provided for use in expressions. There are advanced situations where you might alter the global environment, or even do some things in a local environment; but this module is really meant to provide powerful, flexible standard functions so you can almost always do the things you want to do without resorting to complicated techniques like that. When you ''do'' end up doing such things, it's probably time to think about what even better tools would make them even more rarely needed.
=== Lists ===
A list is a sequence of values. It is represented by a set of parentheses, with the values between them, separated by whitespace. A set of parentheses with nothing (but perhaps whitespace) between them represents the empty list.
When evaluating a non-empty list (the empty list evaluates to itself), the first element of the list is the ''operator'' and any additional elements are ''operands''. The operator is evaluated first, and what happens thereafter depends on what the operator evaluated to. It must evaluate to a function (if not, that's an error). A few special functions act on their operands directly, without evaluating the operands first; for all other functions, the operands are evaluated, and the results of those evaluations are passed to the function.
=== Comments ===
A semicolon in an input expression, not inside a string literal, marks a [[w:Comment (computer programming)|comment]]: the interpreter ignores all characters from the semicolon to the end of the line it is on.
== Functions ==
The interpreter is meant to be a simple device for filling in gaps in wiki-markup-based functionality; it is not meant to replace other wiki-markup facilities, and especially not to provide all functionality for template internals. It should ''not'' be capable of arbitrary ([[w:Turing-powerful|Turing-powerful]]) computation. It ''should'' provide a small, highly versatile set of functions affording succinct expression of valuable functionality not otherwise well-supported by wiki-markup. These constraints give its choice of supported functions a somewhat different character from those of a general-purpose programming language.
=== Background stuff ===
These functions do mundane tasks, filling in the gaps around the powerful tools that do the heavy lifting.
* {{anchor|function list}} Function '''<code>list</code>''' returns a list of its operands. {{nowrap|<code>(list (+ 1 1) (- 3 2))</code>}} would evaluate to (2 1), {{nowrap|<code>(list)</code>}} to ().
* {{anchors|function + number|function -|function *|function /|function ^}} The basic arithmetic functions are '''<code>+</code>''' '''<code>-</code>''' '''<code>*</code>''' '''<code>/</code>''' '''<code>^</code>'''. Subtraction and division require at least two operands; the first operand is acted on by all of the others, so {{nowrap|<code>(- 7 1 2)</code>}} would evaluate to 4, and {{nowrap|<code>(/ 12 2 3)</code>}} would evaluate to 2. Exponentiation requires exactly two operands; {{nowrap|<code>(^ 9 0.5)</code>}} would evaluate to 3.
* {{anchor|function + overload}} Function '''<code>+</code>''' also concatenates strings or lists, and combines booleans by logical conjunction. {{nowrap|<code>(+ "a" "bc" "d")</code>}} would evaluate to "abcd", {{nowrap|<code>(+ (list 1) () (list 2 3))</code>}} to (1 2 3), {{nowrap|<code>(+ true true false)</code>}} to false. This only works if the function is given at least one argument, so it knows what type to return; with no arguments, it just assumes it's doing numeric addition: {{nowrap|<code>(+)</code>}} evaluates to 0.
* {{anchors|function abs|function ceil|function floor}} Simple arithmetic functions'''<code>abs</code>''' '''<code>ceil</code>''' '''<code>floor</code>''' each take a single number operand, and return respectively its absolute value, the smallest integer not less than it (its ''ceiling''), and the greatest integer not greater than it (its floor). Thus, {{nowrap|<code>(abs -2.3)</code>}} would evaluate to 2.3, {{nowrap|<code>(ceil -2.3)</code>}} to -2, {{nowrap|<code>(floor -2.3)</code>}} to -3; while {{nowrap|<code>(abs 4)</code>}}, {{nowrap|<code>(ceil 4)</code>}}, and {{nowrap|<code>(floor 4)</code>}} would each evaluate to 4.
* {{anchors|function lt?|function gt?|function le?|function ge?}} The numeric and string comparison functions are: '''<code>lt?</code>''' (less than), '''<code>gt?</code>''' (greater than), '''<code>le?</code>''' (less than or equal), '''<code>ge?</code>''' (greater than or equal). Each function takes zero or more operands, and checks that every pair of consecutive operands have the named relation. Thus, {{nowrap|<code>(le? 2 2 3)</code>}} would evaluate to true, {{nowrap|<code>(gt? 3 2 2)</code>}} would be false because 2 is not greater than 2, {{nowrap|<code>(lt? "def" "abc")</code>}} would be false because "def" is not alphabetically before "abc".
* {{anchor|function equal?}} A general comparison function '''<code>equal?</code>''' determines whether all of its operands are (superficially) the same. Technically, it determines whether all of its operands would appear the same if they were output. There are some weird situations in which values that aren't really the same might "look" equal, but as long as you stick to numbers, strings, booleans, and lists, such situations won't happen.
* {{anchors|function number?|function string?|function boolean?|function list?}} Each of functions '''<code>number?</code>''' '''<code>string?</code>''' '''<code>boolean?</code>''' '''<code>list?</code>''' checks that all of its operands have the named type. So, {{nowrap|<code>(number? (+ 2 3))</code>}} would evaluate to true, as would {{nowrap|<code>(number?)</code>}}, while {{nowrap|<code>(string? ())</code>}} would evaluate to false. There are a few other types of values, and they have functions to check for them too, but ordinarily you shouldn't need to check for them (they're "advanced" features).
* {{anchors|function to-number|function to-string}} Functions '''<code>to-number</code>''' and '''<code>to-string</code>''' take one operand and convert it either way between a number and a string representation of a number. If the operand of <code>to-number</code> does not represent a number, it returns the empty list.
* {{anchor|function nth}} Function '''<code>nth</code>''' takes two or more operands; first a list, then an integer or integers. With one integer, it returns the ''n''<sup>th</sup> element of the list. {{nowrap|<code>(nth (list 5 7 11) 2)</code>}} would evaluate to 7. With multiple integers ''n'', ''m'', etc., it takes takes the ''n''<sup>th</sup> element of the list, then expects that to be a list and takes the ''m''<sup>th</sup> element of that, and so on.
* {{anchor|function not?}} Function '''<code>not?</code>''' takes a single boolean operand, and returns true if the operand is false, false if the operand is true. The corresponding tools <code>and?</code> and <code>or?</code> are special functions (below).
* {{anchor|function length}} Function '''<code>length</code>''' takes a single operand, which can be either a string or a list, and returns its length, as an integer: for a string, this is the number of unicode codepoints, for a list, the number of items on the list. {{nowrap|<code>(length ())</code>}} would evaluate to 0.
* {{anchors|function trim|function lc|function lcfirst|function uc|function ucfirst|function to-entity}} Functions '''<code>trim</code>''', '''<code>lc</code>''', '''<code>lcfirst</code>''', '''<code>uc</code>''', '''<code>ucfirst</code>''', '''<code>to-entity</code>''' each take a single operand, either a string or a list of strings. Given a string, <code>trim</code> returns the string with leading and trailing whitespace removed; <code>lc</code> with all letters converted to lower-case, <code>uc</code> to upper-case; <code>lcfirst</code> with the first character converted to lower-case, <code>ucfirst</code> to upper case; <code>to-entity</code> converts the first character of the string to a numeric html entity reference, or if the string is empty returns the string. Given a list of strings, each function applies its operation to each string on the list, and returns a list of the results. {{nowrap|<code>(uc (list "abc" "def"))</code>}} would evaluate to ("ABC" "DEF"). {{nowrap|<code>(to-entity "ABC")</code>}} would evaluate to "&#65;" (which would appear as "A"); {{nowrap|<code>(to-entity "")</code>}} would evaluate to "".
* {{anchor|function write}} Function '''<code>write</code>''' takes a single operand, and produces its output string representation. This is how the operand would appear if it were part of a larger result of computation, such as a list. If the operand isn't a string, it appears the same way if it is the ''entire'' result of computation as if it is embedded in some larger result; however, a string result of computation is output directly, rather than formatted with delimiters. If a value (barring oddball things like functions and patterns) is meant to be output from one evaluation and input to another, and may be a string, <code>write</code> gives it the proper output format. For example, {{nowrap|<code>"foo""bar"</code>}} represents a string of length seven with one double-quote character in it, while {{nowrap|<code>(write "foo""bar")</code>}} would evaluate to a string of length ten with four double-quote characters in it; so {{nowrap|<code><nowiki>{{evalx|"foo""bar"}}</nowiki></code>}} would expand to <code>foo"bar</code>, while {{nowrap|<code><nowiki>{{evalx|(write "foo""bar")}}</nowiki></code>}} would expand to <code>"foo""bar"</code>.
* {{anchors|function urlencode|function anchorencode|function fullurl|function canonicalurl}} Functions '''<code>urlencode</code>''', '''<code>anchorencode</code>''', '''<code>fullurl</code>''', and '''<code>canonicalurl</code>''' provide substantially the magic words of the same names, per {{nowrap|[[mw:Help:Magic words]]}}. Each takes one or, in some cases, two string operands. Some examples: {{nowrap|<code>(urlencode "fo'o bar")</code>}} would evaluate to {{nowrap|{{evalx|test-eval={{PAGENAME:{{OBJECTPAGENAME}}}}|(write (urlencode "fo'o bar"))}}}}, {{nowrap|<code>(urlencode "fo'o bar" "path")</code>}} to {{nowrap|{{evalx|test-eval={{PAGENAME:{{OBJECTPAGENAME}}}}|(write (urlencode "fo'o bar" "path"))}}}}, {{nowrap|<code>(urlencode "fo'o bar" "wiki")</code>}} to {{nowrap|{{evalx|test-eval={{PAGENAME:{{OBJECTPAGENAME}}}}|(write (urlencode "fo'o bar" "wiki"))}}}}; {{nowrap|<code>(anchorencode "fo'o bar")</code>}} to {{nowrap|{{evalx|test-eval={{PAGENAME:{{OBJECTPAGENAME}}}}|(write (anchorencode "fo'o bar"))}}}}; {{nowrap|<code>(fullurl "foo bar")</code>}} to {{nowrap|{{evalx|test-eval={{PAGENAME:{{OBJECTPAGENAME}}}}|(write (fullurl "foo bar"))}}}}; {{nowrap|<code>(canonicalurl "foo bar" "quux")</code>}} to {{nowrap|"h‍{{evalx|test-eval={{PAGENAME:{{OBJECTPAGENAME}}}}|(get-substring (canonicalurl "foo bar" "quux") 2)}}"}}.
* Function '''<code>pattern</code>''' takes a string, taken to be a [[mw:Extension:Scribunto/Lua reference manual#Ustring patterns|pattern (in the Scribuntu sense)]], and returns a ''pattern'' object, a separate data type usable in some string-search functions.
* {{anchor|background split}} Function '''<code>split</code>''' takes two strings, and splits the first string into a list of its substrings separated by the second string. {{nowrap|<code>(split "abba" "b")</code>}} would evaluate to ("a" "" "a"). Alternatively, the second string may be a pattern rather than a string; {{nowrap|<code>(split "foobar" (pattern "[ao]"))</code>}} would evaluate to ("f" "" "b" "r"). <code>split</code> also has more general forms described [[{{FULLPAGENAME}}#powerful split|in the next section]].
* {{anchor|background join}} Function '''<code>join</code>''' takes a list of strings and a string, and concatenates the strings from the list separated by the latter string. {{nowrap|<code>(join (list "a" "b") ",")</code>}} would evaluate to "a,b". <code>join</code> also has more general forms described [[{{FULLPAGENAME}}#powerful join|in the next section]].
* {{anchor|background get-substring}} Functions '''<code>get-substring</code>''' and '''<code>get-sublist</code>''' take a string or list, and one or two integers, and return the substring/sublist starting at the element with the first index (counting from 1), and continuing through the element with the second index if any. {{nowrap|<code>(get-substring "abc" 2 2)</code>}} would evaluate to "b". {{nowrap|<code>(get-sublist (list 1 2 3) 2)</code>}} would evaluate to (2 3). <code>get-substring</code> also has more general forms described [[{{FULLPAGENAME}}#powerful get-substring|in the next section]].
* {{anchor|background set-substring}} Functions '''<code>set-substring</code>''' and '''<code>set-sublist</code>''' take four operands: a base string/list, two integers describing a segment of the base to be replaced (start/end indices, counting from 1), and a string/list to splice into that segment. A new string/list is returned with the indicated splice. {{nowrap|<code>(set-substring "foobar" 3 5 "z")</code>}} would evaluate to "fozr". The second index is included in the segment; to splice between two characters of the base, the second index should be one less than the first: {{nowrap|<code>(set-substring "ab" 2 1 "123")</code>}} would evaluate to "a123b". <code>set-substring</code> also has more general forms described [[{{FULLPAGENAME}}#powerful set-substring|in the next section]].
* {{anchor|function find}} Function '''<code>find</code>''' takes two operands, the first a target string or list in which to search, and returns a list of where matches occur in the target. With a list, the second operand is a function, which is applied to each element of the list and must return a boolean; each matching position is an index into the list (counting from 1). With a string, the second operand is either a string or pattern, and each matching position is a list of start/end indices (counting from 1). {{nowrap|<code>(find (list 2 "b" 2) number?)</code>}} would evaluate to (1 3). {{nowrap|<code>(find "foobar" "o"))</code>}} would evaluate to ((2 2) (3 3)).
* {{anchor|function member?}} Function '''<code>member?</code>''' usually takes two operands, the second of which is a list, and returns true if any member of the list is equal to the first operand (per function <code>equal?</code>, above), otherwise returns false. If given just one operand, <code>member?</code> returns a function that takes a list as operand and returns true or false depending on whether any element of the list is equal to the operand passed to <code>member?</code>. {{nowrap|<code>(member? 2 (list 1 2 3))</code>}} would evaluate to true, as would {{nowrap|<code>((member? 2) (list 1 2 3))</code>}}.
* {{anchor|function apply}} Function '''<code>apply</code>''' takes a function and a list, and calls the function with the operands on the list. {{nowrap|<code>(apply + (list 1 2 3))</code>}} would evaluate to 6.
* {{anchor|function curry}} Function '''<code>curry</code>''' takes a function and one or more additional operands, and returns a function that takes zero or more operands, and calls the earlier operand function with all the operands together, both the earlier ones and the later ones. {{nowrap|<code>((curry + 1 2 3) 4 5 6)</code>}} would evaluate to 21. {{nowrap|<code>((curry + 1 2 3))</code>}} would evaluate to 6.
Special functions, whose operands are not automatically evaluated:
* {{anchor|special and?}} Special function '''<code>and?</code>''' can be used in two different ways. Given operands that evaluate to booleans, it returns true if all the operands evaluate to true, false if one of them evaluates to false; if one of them evaluates to false, it doesn't evaluate later operands. Given operands that evaluate to functions, it evaluates them all and returns a function that passes all its operands to each of those functions, expecting each of them to return a boolean; again, it returns true if they all return true, or stops and returns false if one of them returns false. {{nowrap|<code>((and? number? le?) 2 5 11)</code>}} would evaluate to true, because {{nowrap|<code>(number? 2 5 11)</code>}} and {{nowrap|<code>(le? 2 5 11)</code>}} evaluate to true. {{nowrap|<code>((and? number? le?) "foo")</code>}} would evaluate to false, because {{nowrap|<code>(number? "foo")</code>}} evaluates to false.
* {{anchor|special or?}} Special function '''<code>or?</code>''' is like <code>and?</code>, with change of form: if all are false, returns false; if any is true, stops and returns true. {{nowrap|<code>((or? string? ge?) 2 5 11)</code>}} would evaluate to false, because {{nowrap|<code>(string? 2 5 11)</code>}} and {{nowrap|<code>(ge? 2 5 11)</code>}} evaluate to false. {{nowrap|<code>((or? string? le?) "foo")</code>}} would evaluate to true, because {{nowrap|<code>(string? "foo")</code>}} evaluates to true.
* {{anchor|special if}} Special function '''<code>if</code>''' takes three operands; as a special function, its operands are not automatically evaluated. It evaluates its first operand, the result of which must be boolean, and then evaluates the second or third operand depending on whether the result from the first was true or false, and returns the result of the latter evaluation. So {{nowrap|<code>(if (ge? 3 9) 3 9)</code>}} and {{nowrap|<code>(if (ge? 9 3) 9 3)</code>}} would both evaluate to 9.
* {{anchor|background \}} Special function '''<code>\</code>''' creates a function. It ordinarily takes two operands; the first is a symbol, which is not evaluated and is the name of the parameter to the new function; the second is the ''body'' of the new function. When the function is called, its operand is evaluated, and the parameter is locally bound to the result of this evaluation; then the body of the function is evaluated locally, with the parameter bound to the function argument, and the result of this evaluation of the body is the result of the function call. For example, {{nowrap|<code>((\x (* x x)) (+ 2 3))</code>}} would evaluate to 25.
* {{anchor|special let}} Special function '''<code>let</code>''' creates a temporary name for something. It takes at least one (usually two or more) operands; the first operand is a list of a symbol and an expression. The expression is evaluated, and the result becomes the temporary meaning of the symbol; the remaining operands are evaluated, from left to right, in the local environment so constructed, and the result of the last evaluation is returned (or if there was only the one operand, the empty list is returned). For example, {{nowrap|<code>(let (x 3) (* x x))</code>}} would evaluate to 9, while {{nowrap|<code>(let (x 2) (let (y 3) (* x y)))</code>}} would evaluate to 6.
* {{anchor|special define}} Special function '''<code>define</code>''' modifies the current environment (whereas <code>let</code> creates a new environment for temporary use). It takes two operands; the first is a symbol. It evaluates its second operand, and then binds its first operand to the result in the environment. For example, evaluating <code>(define x (+ 3 4))</code> would modify the environment so that <code>x</code> would evaluate to 7; thus, {{nowrap|<code><nowiki>{{evalx|(define x (+ 3 4)) (* x x)}}</nowiki></code>}} would expand to 49.
* {{anchor|special sequence}} Special function '''<code>sequence</code>''' evaluates its operands, in order from left to right, and returns the result of the last evaluation. Given no operands, it returns the empty list. Handy for conditionally doing a series of things for effect, such as in {{nowrap|<code>(if (gt? x 10) (sequence (define y (+ y 1)) (define x (- x 10)) true) false)</code>}} which would return true or false and might also change the local values of x and y. The same thing ''could'' be accomplished using functions <code>list</code> and <code>nth</code>, or just <code>list</code> if you're just going to throw out the result anyway; but besides saving a left of nesting when you do want the result, the name "sequence" makes it clearer what you're doing.
=== Powerful stuff ===
These functions do the heavy lifting.
* {{anchors|function get-arg|function get-arg-expr|function get-args}} Function '''<code>get-arg</code>''' retrieves arguments to the module call. It takes one operand, identifying the argument to retrieve; this may be an integer or a string. Argument 1 is the sequence of s-expressions; thus, {{nowrap|<code><nowiki>{{evalx|'foobar' (get-arg 1)}}</nowiki></code>}} would expand to "'foobar' (get-arg 1)", while {{nowrap|<code><nowiki>{{#invoke:</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|rep|"foobar" (get-arg "foobar")|foobar=quux}}</nowiki></code>}} would expand to "quux". Function '''<code>get-arg-expr</code>''' also retrieves arguments, but instead of returning an argument as a string, it attempts to interpret the argument as an s-expression which it returns unevaluated. If the argument is not a valid s-expression, the function returns the empty list. This is handy for doing further computation on a data structure that was output from an earlier call to the interpreter, as perhaps in an earlier step of a [[Help:Dialog|dialog]]. {{nowrap|<code><nowiki>{{evalx|(get-arg-expr 2)|(* 2 3)}}</nowiki></code>}} would expand to (* 2 3). Function '''<code>get-args</code>''' retrieves a list of the names of all arguments to the module call.
*: If the module is invoked through alternative Lua function <code>trep</code> rather than <code>rep</code>, wikilisp functions {{nowrap|<code>get-arg</code>}} and {{nowrap|<code>get-arg-expr</code>}} access arguments of the template that invokes the module, instead of arguments of the invocation itself. Template {{tl|evalx}} does this.
* {{anchors|function parse|function get-parts|function get-items}} Function '''<code>parse</code>''' takes one operand, which must be a text string and is interpreted as raw wiki markup (before template expansion). The function returns a data structure describing the positions, within the text string, of wikilinks, template calls, and template parameters; and, within each such item, the positions of the parts of the item (which are separated from each other by the pipe character, "{{!}}"). Other tools can then use this data structure to locate particular kinds of structures within the wiki markup, and transform them in various ways.
*: The data structure is a list of "item" data structures; accessor functions can recover the string form of each item, the number of parts, the string form of each part, and a list of items within each part.
*:* Function '''<code>get-parts</code>''' takes one operand, an item descriptor as provided by <code>parse</code>, and returns a list of its parts. Function '''<code>get-items</code>''' takes one operand, a part descriptor as provided by <code>parse</code>, and returns a list of items within it.
* {{anchors|function filter|function link?|function call?|function param?}} Function '''<code>filter</code>''' at its simplest takes two operands: a data structure such as produced by function <code>parse</code>, and a predicate to be applied to the entries in the structure for links, calls, and parameters. It returns a pared-down data structure describing only those page elements that match the predicate. Additional operands are additional predicates that must also be satisfied, as with special function <code>and?</code>.
*: If the predicate(s) reject an item, but accept some items within one of the rejected item's parts, the accepted items are promoted to the level of the rejected item. For example, suppose a page contains a call to {{tl|xambox}}, and within the text message passed to the xambox are some calls to {{tl|w}}. If the page is parsed and filtered for calls to {{tl|w}}, the calls within the xambox will end up at the top level of the filtered data structure.
*:* Functions '''<code>link?</code>''' '''<code>call?</code>''' and '''<code>param?</code>''' are predicates determining whether their operands are item data structures describing, respectively, wikilinks, template calls, and template parameters.
*: Function <code>filter</code> isn't designed for selecting some members of an ordinary list, but that can be done by building a new list out of small lists, where each small list either contains a particular element of the original list or is empty. For example, given a list of numbers <code>ls</code>, one could select the ones strictly less than 10 with expression {{nowrap|<code>(apply (curry + ()) (map (\x (if (lt? x 10) (list x) ())) ls))</code>}}. (Note the trick of <code>curry</code>ing <code>+</code> with the empty list before <code>apply</code>ing it; otherwise, if <code>ls</code> happened to be empty, <code>+</code> would be applied to the empty list, producing a number instead of a list.)
* {{anchor|powerful split}} Function '''<code>split</code>''' can take more general forms of its first operand, and can take either or both of two additional operands, beyond the string and string-or-pattern as [[{{FULLPAGENAME}}#background split|in the previous section]].
** There may be a second string-or-pattern operand; instead of listing substrings ''separated'' by a single string-or-pattern, the function then lists substrings ''delimited'' by the two strings-or-patterns. For example, {{nowrap|<code>(split "a(b)c(d)e" "(" ")")</code>}} would evaluate to {{nowrap|("b" "d")}}. The delimiters are assumed to be potentially ''nesting'', and at each point in the string the leftmost left-delimiter is chosen that has a matching right-delimiter. For example, {{nowrap|<code>(split "(a(b(c)e)d(f(g(h)i)j" "(" ")")</code>}} would evaluate to {{nowrap|("b(c)e" "g(h)i")}}.
** There may be a final ''list'' operand, of 1–3 elements that could be the second-and-later operands to <code>split</code>; if this is present, instead of returning a list of substrings from the aforementioned operation, <code>split</code> recursively splits each of those substrings using this new set of second-and-later operands, and returns a list of the results of these splits. For example, {{nowrap|<code>(split "a(b,c;d,e)f(g,h;i,j)k" "(" ")" (list ";" (list ",")))</code>}} would evaluate to {{nowrap|((("b" "c") ("d" "e")) (("g" "h") ("i" "j")))}}.
** The first operand, rather than simply a string, can in general be a tree of strings; that is, either a string or a list whose elements are themselves trees of strings. The string operation specified by all the later operands is then applied recursively to each element of the tree. For example, {{nowrap|<code>(split (list (list "a(b,c)d") () "e(f,)g") "(" ")" (list ","))</code>}} would evaluate to {{nowrap|(((("b" "c")))()(("f" "")))}}.
* {{anchor|powerful join}} Function '''<code>join</code>''' can take more general forms of its first operand, and can take either or both of two additional operands, beyond the list-of-strings and string as [[{{FULLPAGENAME}}#background join|in the previous section]].
** There may be a second string operand; then each of the listed strings is delimited by the two strings. For example, {{nowrap|<code>(join (list "1" "2") "{" "}")</code>}} would evaluate to {{nowrap|"{1}{2}"}}.
** The first operand, rather than simply a list of strings, can in general be a nested list of strings; that is, either a list of strings or a list whose elements are themselves nested lists of strings. The operation specified by the one or two string operands is then applied recursively to each element of the nested list. For example, {{nowrap|<code>(join (list (list "a" "b") (list "c" "d")) ",")</code>}} would evaluate to {{nowrap|("a,b" "c,d")}}.
** There may be a final list operand, of 1–3 elements that could be the second-and-later operands to <code>join</code>; if this is present, <code>join</code> first operates on its first operand using the one or two string operands, then recursively operates on the result using the finally-listed set of operands. For example, {{nowrap|<code>(join (list (list "a" "b") (list "c" "d")) "," (list "{" "}"))</code>}} would evaluate to {{nowrap|"{a,b}{c,d}"}}. Thus <code>join</code> can restore nestings of separators and delimiters removed by <code>split</code>; for example, {{nowrap|<code>(join (split "a{b}c, d{e}f" (pattern ",%s*") (list "{" "}")) "{" "}" (list ","))</code>}} would evaluate to {{nowrap|"{b},{e}"}}.
* {{anchor|powerful get-substring}} Function '''<code>get-substring</code>''' can take a descriptor specifying a segment of the string, instead of integer indices as [[{{FULLPAGENAME}}#background get-substring|in the previous section]]. Three kinds of descriptors are accepted: an item descriptor, which is an element of a list returned by <code>parse</code> or <code>get-items</code>; a part descriptor, which is an element of a list returned by <code>get-parts</code>; or a list of two integers, which are the 1-based indices of the starting and ending character of the substring within the string. The resulting substring is returned. For example, {{nowrap|<code>(get-substring "foobar" (list 3 5))</code>}} would evaluate to "oba". Alternatively, the second operand can be a list of segment descriptors, and a list of substrings is returned; {{nowrap|<code>(get-substring "foobar" (list (list 2 2) (list 4 5)))</code>}} would evaluate to {{nowrap|("o" "ba")}}.
* {{anchor|powerful set-substring}} Function '''<code>set-substring</code>''' can take a segment-descriptor (as just described for get-substring) instead of integer indices for where to splice as [[{{FULLPAGENAME}}#background set-substring|in the previous section]]. Alternatively, it can take a list of such segment-descriptors, and a list of strings; the segments must be in order from left to right. {{nowrap|<code>(set-substring "foobar" (list 3 5) "12345")</code>}} would evaluate to "fo12345r", {{nowrap|<code>(set-substring "abcd" (list (list 2 2) (list 4 3)) (list "123" "456"))</code>}} to "a123c456d".
* {{anchor|function get-coords}} Function '''<code>get-coords</code>''' takes a segment-descriptor (as just described for get-substring) and returns a list of two integers, the 1-based indices fo the starting and ending character of the segment. This is useful for decoding item descriptors and part descriptors so that the coordinates can be manipulated directly for general purposes. For example, {{nowrap|<code><nowiki>(map get-coords (parse "a [[b]] [[c]] d"))</nowiki></code>}} would evaluate to ((3 7) (9 13)).
* {{anchor|function map}} Function '''<code>map</code>''' takes a function and one or more lists. It calls the function repeatedly, with one operand from each of the lists, and returns a list of the results. Usually it is used with just one list; for example, {{nowrap|<code>(map (\x (* x x)) (list 1 2 3))</code>}} would evaluate to (1 4 9). With multiple lists, {{nowrap|<code>(map * (list 2 3) (list 5 7))</code>}} would evaluate to (10 21). If some of the lists are longer than others, <code>map</code> stops when any of the lists runs out; for example, {{nowrap|<code>(map list (list 1 2) (list 3) (list 4 5 6))</code>}} would evaluate to ((1 3 4)).
* {{anchor|function merge}} Function '''<code>merge</code>''' takes a function and one or more lists. The function should be a binary predicate, for ordering elements of the lists. Each list is assumed already sorted by the predicate (i.e., the predicate would return true on any two elements of the same list in their order in the list). The function merges the lists into a single list sorted by the predicate. If there is only one list, it is simply returned. For example, {{nowrap|<code>(merge lt? (list 1 3 5) (list 2 4 6))</code>}} would evaluate to (1 2 3 4 5 6). This isn't meant to be used with a very large number of lists; it slows down as the square of the number of lists.
* {{anchor|function transformer}} Function '''<code>transformer</code>''' takes up to four optional operands, and generates a <code>map</code>-like function for acting on a tree, that is, a nested list. The resulting function takes three operands: a function to apply to leaf nodes of the tree, a function to apply to parent nodes of the tree, and a tree. In the simplest case, with no optional operands, if the tree is not a list then the leaf-function is applied to it and the result returned; while if the tree is a list, each element of the list is recursively transformed and the parent-function is applied to a list of the results. For example, {{nowrap|<code>((transformer) (\x (* x x)) (\x x) (list 2 (list 3 4) 5))</code>}} would evaluate to (4 (9 16) 25), {{nowrap|<code>((transformer) (\x (* x x)) (\x (apply + x)) (list 2 (list 3 4) 5))</code>}} to 54.
:* The last optional operand is a positive integer, ''n''. The first ''n'' elements of each parent-node list are left alone rather than recursively operated on. For example, {{nowrap|<code>((transformer 2) (\x (* x x)) (\x x) (list 2 3 4 5))</code>}} would evaluate to (2 3 16 25).
:* The ''first'' optional operand is a predicate. When the tree is a list, the predicate is applied to it, and if the result is false the tree is treated as a leaf instead of a parent, applying the leaf-function to it instead of recursing and passing a resultant list to the parent-function. For example, {{nowrap|<code>((transformer (\x (gt? (length x) 1))) (\x "x") (\x x) (list (list 1 2) (list 3) (list 4 5)))</code>}} would evaluate to (("x" "x") "x" ("x" "x")).
:* Between these, the second and third optional operands, which must occur together, are a ''basis'' value and a ''successor'' function, used to generate an extra, ''depth'' operand for the leaf/parent functions: at the top-level node of the tree, this value is the basis, and at each level further down the tree, the value results from applying the successor function to the value used at the level above. The depth operand is passed to the leaf/parent function as its first operand, before the tree-node operand. For example, {{nowrap|<code>((transformer 2 (\x (+ x 1))) (\(n t) n) (\(n t) t) (list "a" (list "b" "c") "d"))</code>}} would evaluate to (3 (4 4) 3). If the predicate operand is also provided, it receives only the tree-node, not the depth.
=== Advanced stuff ===
These things may help you better understand the inner workings of the interpreter, and occasionally help you do some unusual things that the more mundane features don't handle cleanly. When you start actively using these exotica to do unusual things, it ''may'' be time to look for a way to amplify the ordinary tools so it won't be necessary to resort to these; but that may be a very difficult design problem, and meanwhile these things are available to take up the slack.
* {{anchor|advanced \}} Special function '''<code>\</code>''' can create functions that take different numbers of arguments, and evaluate a sequence of expressions. For different numbers of arguments, instead of a symbol for the first operand, use a list of symbols; the list may be empty, so the function takes no arguments. To evaluate a sequence of expressions, just specify all of them after the parameter-list. When the function is called, the number of arguments to the call must be the same as the number of parameters; all the parameters are locally bound to the corresponding arguments, and the second and later operands to <code>\</code> are evaluated in this local environment from left to right. The result of the last of these evaluations is the result of the function call, or if <code>\</code> was given only one operand, the result of the function call is the empty list.
: An esoteric point: The local environment, in which the function's sequence of expressions are evaluated, is a child of the environment where <code>\</code> is called (technically, this is called ''[[w:lexical scope|lexical scope]]''). So when a local environment needs to look up a symbol that isn't locally bound, this occurs where <code>\</code> was called rather than where the created function is called. For example, {{nowrap|<code>(((\x (\y (+ (* x x) (* y y)))) 2) 3)</code>}} would evaluate to 13.
* {{anchors|function fn?|function op?}} Function '''<code>fn?</code>''' checks whether all the values passed to it are ordinary functions; function '''<code>op?</code>''' checks whether all the values passed to it are special functions. {{nowrap|<code>(fn? if)</code>}} would evaluate to false, since <code>if</code> is not an ordinary function. {{nowrap|<code>(op? +)</code>}} would evaluate to false since + is not a special function.
* {{anchor|advanced \ name}} When an ordinary function is displayed as output, it is shown as {{nowrap|<code><[op: </code>''name''<code>]></code>}}, where ''name'' is the name of the function. For example, {{nowrap|<code><nowiki>{{evalx|length}}</nowiki></code>}} would expand to {{nowrap|<code><[op: length]></code>}}. The angle-brackets mean that the operands to the function call are automatically evaluated; underneath is a special function whose operands are the ''results'' of evaluating the operands to the ordinary function call. Evaluating {{nowrap|<code>(length (+ 1 2))</code>}} would not produce an error until after the operand has been evaluated to 3, at which point the special function underlying <code>length</code> would discover it doesn't know what to do with an integer operand, producing error message {{nowrap|<code><error: bad operand to [op: length]: expected list or string, got 3></code>}}.
: When special function <code>\</code> creates a function, it doesn't give it a name. {{nowrap|<code><nowiki>{{evalx|(\x (* x x))}}</nowiki></code>}} would expand to <code><[op]></code>. However, the first time an anonymous function is given a name in an environment, that name is attached to the function, and the function is known by that name thereafter. So, {{nowrap|<code><nowiki>{{evalx|(define f (\x (* x x))) f}}</nowiki></code>}} would expand to {{nowrap|<code><[op: f]></code>}}.
* {{anchor|advanced \ depth}} There is a built-in limit on how deeply calls to <code>\</code>-defined functions can be nested. At the current writing, the limit is 4. That is, <code>(let {{nowrap|(g (\f (\x (f (f x)))))}} {{nowrap|((g (\x (+ 1 x))) 0))}}</code> would evaluate to 2, <code>(let {{nowrap|(g (\f (\x (f (f x)))))}} {{nowrap|((g (g (\x (+ 1 x)))) 0))}}</code> to 4, and <code>(let {{nowrap|(g (\f (\x (f (f x)))))}} {{nowrap|((g (g (g (\x (+ 1 x))))) 0))}}</code> to 8, but <code>(let {{nowrap|(g (\f (\x (f (f x)))))}} {{nowrap|((g (g (g (g (\x (+ 1 x)))))) 0))}}</code> would produce {{nowrap|<code><error: exceeded maximum call-nesting depth (4)></code>}}.
* {{anchor|advanced string syntax}} If you really need to embed a double-quote in a string literal delimited by double-quotes, use two double-quotes inside the literal. <code>{{nowrap|""}}</code> is the empty string; <code>{{nowrap|""""}}</code> is a string of length one, containing a single double-quote. There is no analogous way to embed a single-quote in a string literal delimited by single-quotes.
* {{anchor|function wikilisp-version}} Function '''<code>wikilisp-version</code>''' provides a string describing the current version of the module. <code>{{nowrap|(list (wikilisp-version))}}</code> currently evaluates to {{nowrap|<code>{{#invoke:{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}|rep|(list (wikilisp-version))}}</code>}}.
=== Index of functions ===
{{hidden|Index|
Special functions are '''boldfaced'''.
* <code>*</code> — [[#function *|Background]]
* <code>+</code> — Background ([[#function + number|numeric]], [[#function + overload|overloaded]])
* <code>-</code> — [[#function -|Background]]
* <code>/</code> — [[#function /|Background]]
* '''<code>\</code>''' — [[#background \|Background]], [[#advanced \|Advanced]] ([[#advanced \ name|name]], [[#advanced \ depth|depth]])
* <code>^</code> — [[#function ^|Background]]
* <code>abs</code> — [[#function abs|Background]]
* <code>anchorencode</code> — [[#function anchorencode|Background]]
* '''<code>and?</code>''' — [[#special and?|Background]]
* <code>apply</code> — [[#function apply|Background]]
* <code>boolean?</code> — [[#function boolean?|Background]]
* <code>call?</code> — [[#function call?|Powerful]]
* <code>canonicalurl</code> — [[#function canonicalurl|Background]]
* <code>ceil</code> — [[#function ceil|Background]]
* <code>curry</code> — [[#function curry|Background]]
* '''<code>define</code>''' — [[#special define|Background]]
* <code>equal?</code> — [[#function equal?|Background]]
* <code>filter</code> — [[#function filter|Powerful]]
* <code>find</code> — [[#function find|Background]]
* <code>floor</code> — [[#function floor|Background]]
* <code>fn?</code> — [[#function fn?|Advanced]]
* <code>fullurl</code> — [[#function fullurl|Background]]
* <code>ge?</code> — [[#function ge?|Background]]
* <code>get-arg</code> — [[#function get-arg|Powerful]]
* <code>get-arg-expr</code> — [[#function get-arg-expr|Powerful]]
* <code>get-args</code> — [[#function get-args|Powerful]]
* <code>get-coords</code> — [[#function get-coords|Powerful]]
* <code>get-items</code> — [[#function get-items|Powerful]]
* <code>get-parts</code> — [[#function get-parts|Powerful]]
* <code>get-substring</code> — [[#background get-substring|Background]], [[#powerful get-substring|Powerful]]
* <code>gt?</code> — [[#function gt?|Background]]
* '''<code>if</code>''' — [[#special if|Background]]
* <code>join</code> — [[#background join|Background]], [[#powerful join|Powerful]]
* <code>lc</code> — [[#function lc|Background]]
* <code>lcfirst</code> — [[#function lcfirst|Background]]
* <code>le?</code> — [[#function le?|Background]]
* <code>length</code> — [[#function length|Background]]
* '''<code>let</code>''' — [[#special let|Background]]
* <code>link?</code> — [[#function link?|Powerful]]
* <code>list</code> — [[#function list|Background]]
* <code>list?</code> — [[#function list?|Background]]
* <code>lt?</code> — [[#function lt?|Background]]
* <code>map</code> — [[#function map|Powerful]]
* <code>member?</code> — [[#function member?|Background]]
* <code>merge</code> — [[#function merge|Powerful]]
* <code>not?</code> — [[#function not?|Background]]
* <code>nth</code> — [[#function nth|Background]]
* <code>number?</code> — [[#function number?|Background]]
* <code>op?</code> — [[#function op?|Advanced]]
* '''<code>or?</code>''' — [[#special or?|Background]]
* <code>param?</code> — [[#function param?|Powerful]]
* <code>parse</code> — [[#function parse|Powerful]]
* '''<code>sequence</code>''' — [[#special sequence|Background]]
* <code>set-substring</code> — [[#background set-substring|Background]], [[#powerful set-substring|Powerful]]
* <code>split</code> — [[#background split|Background]], [[#powerful split|Powerful]]
* <code>string?</code> — [[#function string?|Background]]
* <code>to-entity</code> — [[#function to-entity|Background]]
* <code>to-number</code> — [[#function to-number|Background]]
* <code>to-string</code> — [[#function to-string|Background]]
* <code>transformer</code> — [[#function transformer|Powerful]]
* <code>trim</code> — [[#function trim|Background]]
* <code>uc</code> — [[#function uc|Background]]
* <code>ucfirst</code> — [[#function ucfirst|Background]]
* <code>urlencode</code> — [[#function urlencode|Background]]
* <code>wikilisp-version</code> — [[#function wikilisp-version|Advanced]]
* <code>write</code> — [[#function write|Background]]
}}
== Module tests ==
These aren't exhaustive. They aspire to exercise all of the code in the module at least once (both branches of an if, etc.), though there would be merit to deskchecking all the code to determine what parts of it have been overlooked.
{{hidden|Module tests|
{{module test case|top=1}}
{{module test case|rep|expected=( )|description=No tokens}}
{{module test case|rep|-10|expected=-10|description=No whitespace}}
{{module test case|rep| (list 8 false true length) |expected=( 8 false true <[op: length]> )|description=Token classes (tok3)}}
{{module test case|rep| (list 2 ( () 4 5) |expected=<error: unmatched left-paren>|description=Unbalenced left paren}}
{{module test case|rep| (list 2 ()) 4 5) |expected=<error: unmatched right-paren>|description=Unbalenced right paren}}
{{module test case|rep| (list
(+ 1;
;2
3)
(+ "a" ; "b
'c' ; 'd
); foo
(+ "a;b" 'c;d')
) |expected=( 4 "ac" "a;bc;d" )|description=comments}}
{{module test case|rep| (list 1 2 3 (list 4 5 6 (list))) |expected=( 1 2 3 ( 4 5 6 ( ) ) )|description=Nested lists}}
{{module test case|rep| (list " ' ') |expected=<error: mismatched string-literal delimiter (")>|description=Unbalenced double-quote}}
{{module test case|rep| (list ' " \" ") |expected=<error: mismatched string-literal delimiter (')>|description=Unbalenced single-quote}}
{{module test case|rep| (list "
'
" 2 '"\"\') |expected=( "
'
" 2 """\""\" )|description=String literals}}
{{module test case|rep| (list + if (\ ())) |expected=( <[op: add]> [op: if] <[op]> )|description=Write combiners}}
{{module test case|rep| 'foo bar " quux' |expected=foo bar " quux|description=Display string}}
{{module test case|rep| (list foo) | expected=<error: undefined symbol: foo>|description=Undefined symbol}}
{{module test case|rep| (()) | expected=<error: called object is not a combiner: ( )>|description=Eval nil; call non-combiner}}
{{module test case|rep| (let (g (\f (\x (f (f x))))) ((g (g (g (g (\x (+ 1 x)))))) 0)) |expected=<error: exceeded maximum call-nesting depth (4)>|description=Call-nesting beyond depth limit of 4}}
{{module test case|rep| (+ +) |expected=<error: bad operand to [op: add]: expected number, string, boolean, or list, got <[op: add]>>|description=Ordinary operand type error}}
{{module test case|rep| (split "foo" 3) |expected=<error: bad operand to [op: split]: expected string or pattern, got 3>|description=Operand type error, multiple types for non-initial operand}}
{{module test case|rep| (set-substring ()) |expected=<error: bad operand to [op: set-substring]: expected string, got ( )>|description=Operand type error, redundantly listed type}}
{{module test case|rep| (/ 3 "3456789a123456789b123456789c123456789d123456789e123456789f12345") |expected=<error: bad operand to [op: divide]: expected number, got string>|description=Operand type error, verbose operand}}
{{module test case|rep| (- ()) |expected=<error: too few operands to [op: subtract]: expected at least 2, got 1>|description=Too few operands, open arity}}
{{module test case|rep| (if) |expected=<error: wrong number of operands to [op: if]: expected 3, got 0>|description=Too few operands, fixed arity}}
{{module test case|rep| (get-sublist ()) | expected=<error: too few operands to [op: get-sublist]: expected at least 2, got 1>|description=Too few operands, range arity}}
{{module test case|rep| (if 1 2 3 4) |expected=<error: wrong number of operands to [op: if]: expected 3, got 4>|description=Too many operands, fixed arity}}
{{module test case|rep| (get-substring "" 1 2 3) |expected=<error: too many operands to [op: get-substring]: expected at most 3, got 4>|description=Too many operands, range arity}}
{{module test case|rep| (list (le?) (le? 2) (le? 2 3) (le? 2 1) (le? 1 2 3) (le? 2 1 3) (le? 1 3 2)) |expected=( true true true false true false false )|description=Binary predicate}}
{{module test case|rep| (list (boolean?) (boolean? true) (boolean? false false) (boolean? true 7) (boolean? 3 false)) |expected=( true true true false false )|description=Unary predicate}}
{{module test case|rep| (\ 4) |expected=<error: bad parameter-list operand to [op: \]: 4>|description=Parameter list not a list}}
{{module test case|rep| (\ (() x y)) |expected=<error: bad parameter-list operand to [op: \]: ( ( ) x y )>|description=First parameter not a symbol}}
{{module test case|rep| (\ (x y ())) |expected=<error: bad parameter-list operand to [op: \]: ( x y ( ) )>|description=Last parameter not a symbol}}
{{module test case|rep| (list (\ ()) (\ x) (\ (x y))) |expected=( <[op]> <[op]> <[op]> )|description=Parameter lists}}
{{module test case|rep| (list ((\ ())) ((\x (* x x)) 2) ((\ (a b c) (list c a b)) 3 4 5) ) |expected=( ( ) 4 ( 5 3 4 ) )|description=Match parameters}}
{{module test case|rep| (list (list) (list (+) (+ 8) (+ 1 2) (+ "a" "b" "c") (+ () (list 1) (list 2 3))) (- 1 2) (*) (* 8) (* 2 3) (/ 6 3) (list (lt? 1 2) (lt? 2 2) (lt? 2 1) (lt? "a" "b") (lt? "b" "b") (lt? "b" "a")) (list (le? 1 2) (le? 2 2) (le? 2 1) (le? "a" "b") (le? "b" "b") (le? "b" "a")) (list (gt? 1 2) (gt? 2 2) (gt? 2 1) (gt? "a" "b") (gt? "b" "b") (gt? "b" "a")) (list (ge? 1 2) (ge? 2 2) (ge? 2 1) (ge? "a" "b") (ge? "b" "b") (ge? "b" "a")) (not? false)) |expected=( ( ) ( 0 8 3 "abc" ( 1 2 3 ) ) -1 1 8 6 2 ( true false false true false false ) ( true true false true true false ) ( false false true false false true ) ( false true true false true true ) true )|description=list + - * / lt? le? gt? ge? not?}}
{{module test case|rep| (list (^ 3 2) (^ 4 0.5) (map abs (list 2 0 -1)) (map ceil (list 3 1.3 -1.3)) (map floor (list 3 1.3 -1.3))) |expected=( 9 2 ( 2 0 1 ) ( 3 2 -1 ) ( 3 1 -2 ) )|description=^ abs ceil floor}}
{{module test case|rep| (list (list? ()) (list? 3) (string? "") (string? 3) (number? 3) (number? list) (symbol? ()) (boolean? true) (boolean? 3) (fn? list) (fn? 2) (op? if) (op? +)) |expected=( true false true false true false false true false true false true false )|description=list? string? number? symbol? boolean? fn? op?}}
{{module test case|rep| (if 1 2 3) |expected=<error: bad test-result in [op: if]: 1>|description=if non-boolean test result}}
{{module test case|rep| (list (length "foo") (length (list 3 3)) (if (lt? 1 2) (- 3 2) x) (if false x (+ 4 5)) ) |expected=( 3 2 1 9 )|description=length if}}
{{module test case|rep| (define (foo) 2) |expected=<error: bad definiend to [op: define]: expected symbol, got ( foo )>|description=define non-symbol definiend}}
{{module test case|rep| (define x 3) (define f (\ ())) (list x f (f))|expected=( 3 <[op: f]> ( ) )|description=define}}
{{module test case|rep| (define f (\ (+ -) (* 3 4) (list - +))) (list f (f 7 8)) |expected=( <[op: f]> ( 8 7 ) )|description=\ (realistically, most aspects of \ are exercised by earlier tests))}}
{{module test case|rep| (list (get-arg 1) (get-arg "2") (get-arg 3) (get-arg 4) (get-arg 5)) | second || fourth |expected=( " (list (get-arg 1) (get-arg ""2"") (get-arg 3) (get-arg 4) (get-arg 5)) " " second " "" " fourth " ( ) )|description=get-arg}}
{{module test case|rep| (list (parse (get-arg 2)) (parse (get-arg 3)) (parse "foo")) | {{!}} {{(*}}{{(*}}{{(*}}{{(*}}foo{{!}}{{!}}bar{{*)}}{{*)}} {{*)}}{{*)}} | {{(*}}{{(*}}{{(*}}{{(*}} [[]] {{*)}}{{*)}}{{*)}} |expected=( ( ( "call" ( 4 20 ) ( "part" ( 6 18 ) ( "call" ( 6 17 ) ( "part" ( 8 10 ) ) ( "part" ( 12 11 ) ) ( "part" ( 13 15 ) ) ) ) ) ) ( ( "param" ( 3 14 ) ( "part" ( 6 11 ) ( "link" ( 7 10 ) ( "part" ( 9 8 ) ) ) ) ) ) ( ) )|description=parse: leading non-left, non-final call, final call, multiple parts, consecutive pipes, new left-index; unused top-level entry, wikilink, parameter, featureless input}}
{{module test case|rep| (nth (list 3 5 7) 0) |expected=<error: bad operand to [op: nth]: expected positive integer, got 0>|description=nth index too low}}
{{module test case|rep| (nth (list 3 5 7) "foo") |expected=<error: bad operand to [op: nth]: expected positive integer, got "foo">|description=nth index non-numeric}}
{{module test case|rep| (nth (list 1 (list 3 5 7)) 2 4) |expected=<error: bad index to [op: nth]: asked for 4, list length is 3>|description=nth index too high}}
{{module test case|rep| (nth (list 3 5 7) 1.1) |expected=<error: bad operand to [op: nth]: expected positive integer, got 1.1>|description=nth index fractional}}
{{module test case|rep| (nth (list "") 1 1) |expected=<error: bad multi-index to [op: nth]: tree too shallow>|description=nth tree too shallow}}
{{module test case|rep| (list (nth (list 3 5 7) 2) (nth (list (list 1 2 3) (list 4 5 6) (list 7 8 9)) 3 1)) |expected=( 5 7 )|description=nth}}
{{module test case|rep| (list (and?) (and? true false "foo") ((and? boolean? if) false false true) ((and? number? gt?) "foo")) |expected=( true false true false )|description=and?, non-error}}
{{module test case|rep| (and? "foo") |expected=<error: bad operand to [op: and?]: expected boolean or combiner, got "foo">|description=and? first-order operand type error, leftmost}}
{{module test case|rep| (and? true number?) |expected=<error: bad operand to [op: and?]: expected boolean, got <[op: number?]>>|description=and? first-order operand type error, after boolean}}
{{module test case|rep| (and? number? true) |expected=<error: bad operand to [op: and?]: expected combiner, got true>|description=and? first-order operand type error, after combiner}}
{{module test case|rep| ((and? gt?) true) |expected=<error: bad operand to [op: gt?]: expected number or string, got true>|description=and? second-order operand type error}}
{{module test case|rep| (list (or?) (or? false true "foo") ((or? string? if) false "foo" true) ((or? string? gt?) "foo")) |expected=( false true true true )|description=or?, non-error}}
{{module test case|rep| (or? "foo") |expected=<error: bad operand to [op: or?]: expected boolean or combiner, got "foo">|description=or? first-order operand type error, leftmost}}
{{module test case|rep| (or? false number?) |expected=<error: bad operand to [op: or?]: expected boolean, got <[op: number?]>>|description=or? first-order operand type error, after boolean}}
{{module test case|rep| (or? number? true) |expected=<error: bad operand to [op: or?]: expected combiner, got true>|description=or? first-order operand type error, after combiner}}
{{module test case|rep| ((or? gt?) false) |expected=<error: bad operand to [op: gt?]: expected number or string, got false>|description=or? second-order operand type error}}
{{module test case|rep| (filter (parse (get-arg 2)) nth) | [[foo]] |expected=<error: too few operands to [op: nth]: expected at least 2, got 1>|description=filter predicate reports error}}
{{module test case|rep| (filter (parse (get-arg 2)) length nth) | [[foo]] |expected=<error: bad operand to [op: and?]: expected boolean, got 3>|description=filter predicate returns non-boolean, later predicate would have reported error}}
{{module test case|rep| (define t (parse (get-arg 2))) (list (filter t (\x false) nth) (filter t (\x (equal? (nth x 1) "link")))) | [[foo]] {{(*}}{{(*}}foo{{*)}}{{*)}} [[foo{{!}} [[bar]] {{(*}}{{(*}}bar{{*)}}{{*)}} ]] {{(*}}{{(*}}foo{{!}} [[bar]] {{(*}}{{(*}}bar{{*)}}{{*)}} {{*)}}{{*)}} |expected=( ( ) ( ( "link" ( 2 8 ) ( "part" ( 4 6 ) ) ) ( "link" ( 18 42 ) ( "part" ( 20 22 ) ) ( "part" ( 24 40 ) ( "link" ( 25 31 ) ( "part" ( 27 29 ) ) ) ) ) ( "link" ( 51 57 ) ( "part" ( 53 55 ) ) ) ) )|description=filter: false predicate cutting off later error, items included or omitted with or without sub-items}}
{{module test case|rep| (filter (list 3 "foo" 4 "bar") string?) |expected=( "foo" "bar" )|description=filter: non-list items}}
{{module test case|rep| (list (link? 3) (call? 3) (param? 3) (link? ()) (call? ()) (param? ()) (link? (list 3)) (call? (list 3)) (param? (list 3)) (link? (list "param")) (call? (list "link")) (param? (list "call")) (link? (list "link")) (call? (list "call")) (param? (list "param"))) |expected=( false false false false false false false false false false false false true true true )|description=link? call? param?}}
{{module test case|rep| (get-parts (list "foo")) |expected=<error: bad operand to [op: get-parts]: expected item, got ( "foo" )>|description=get-parts list too short}}
{{module test case|rep| (get-items ()) |expected=<error: bad operand to [op: get-items]: expected part, got ( )>|description=get-items list too short}}
{{module test case|rep| (get-items (nth (get-parts (nth (parse (get-arg 2)) 1)) 2)) | {{{(*}}{{(*}}{foo [[]] {{!}} [[]] bar}{{*)}}{{*)}} |expected=( ( "link" ( 17 20 ) ( "part" ( 19 18 ) ) ) )|description=get-parts, get-items}}
{{module test case|rep| (define p (parse (get-arg 2))) (list (get-coords (nth p 1)) (get-coords (nth (get-parts (nth p 1)) 2))) | {{{(*}}{{(*}}{foo [[]] {{!}} [[]] bar}{{*)}}{{*)}} |expected=( ( 3 27 ) ( 16 24 ) )|description=get-coords}}
{{module test case|rep| (define s (get-arg 2)) (define t (parse s)) (list (get-substring s (nth t 1)) (get-substring s (nth (get-parts (nth t 1)) 2))) | {{{(*}}{{(*}}{foo [[]] {{!}} [[]] bar}{{*)}}{{*)}} |expected=( "{{(*}}{{(*}}{{(*}}foo [[]] {{!}} [[]] bar{{*)}}{{*)}}{{*)}}" " [[]] bar" )|description=get-substring items, parts}}
{{module test case|rep| (define s "foobar") (define s2 (get-substring s 2 5)) (list (get-substring s -2 1) (get-substring s (list 2 5)) (get-substring s (list (list -1 8))) (get-substring s2 (list (list 2 3) (list 1 8)))) |expected=( "f" "ooba" ( "foobar" ) ( "ob" "ooba" ) )|description=get-substring integers; coordinate-lists; lists of coordinate-lists}}
{{module test case|rep| (get-substring "foo" (list 2 2 2)) |expected=<error: bad operand to [op: get-substring]: expected integer, coordinates descriptor, or list of coordinates descriptors, got ( 2 2 2 )>|description=ipcs_tc coords list too long}}
{{module test case|rep| (get-substring "foo" (list 2 "x")) |expected=<error: bad operand to [op: get-substring]: expected integer, coordinates descriptor, or list of coordinates descriptors, got ( 2 "x" )>|description=ipcs_tc coords truncated item}}
{{module test case|rep| (set-substring "abc" 0 1 "123") |expected=<error: bounds violation in [op: set-substring]: segment starts left of string start (0)>|description=set-substring, segment starts before string}}
{{module test case|rep| (set-substring "abc" 3 4 "123") |expected=<error: bounds violation in [op: set-substring]: segment ends right of string end (4, 3)>|description=set-substring, segment ends after string}}
{{module test case|rep| (set-substring "abc" 3 1 "123") |expected=<error: bounds violation in [op: set-substring]: segment starts right of its own end (3, 1)>|description=set-substring, segments ends before starts}}
{{module test case|rep| (set-substring "abcdef" (list (list 2 4) (list 3 5)) (list "1" "2")) |expected=<error: bounds violation in [op: set-substring]: segment ends right of next segment start (4, 3)>|description=set-substring, segment ends after next begins}}
{{module test case|rep| (list (set-substring "123" 1 0 "a") (set-substring "12345" (list 2 2) "abc") (set-substring "abc" (list (list 2 2)) (list "1" "2")) (set-substring "abc" (list (list 2 2)) ()) (set-substring "ab" (list (list 2 1) (list 2 1)) (list "1" "2"))) |expected=( "a123" "1abc345" "a1c" "abc" "a12b" )|description=set-substring}}
{{module test case|rep| (list (split "1,2,3" ",") (split "foobar" "z") (split "abcdbc" "bc") (split "ab" "a") (split "foobar" (pattern "[oa]")) (split "foo)bar" "(" ")") (split "foo(b)a(r" "(" ")") (split "a(b(c(d)e)f)g(h(i()j" (pattern "%(") (pattern "%)")) (split "a(b(c)d(e)f)g(h)i" "(" ")" (list "(" ")")) (split (list (list) (list "c,d") "a,b") ",")) |expected=( ( "1" "2" "3" ) ( "foobar" ) ( "a" "d" "" ) ( "" "b" ) ( "f" "" "b" "r" ) ( ) ( "b" ) ( "b(c(d)e)f" "" ) ( ( "c" "e" ) ( ) ) ( ( ) ( ( "c" "d" ) ) ( "a" "b" ) ) )|description=split}}
{{module test case|rep| (list (get-sublist (list 1 2 3) 2) (get-sublist (list 1 2 3) 2 4)) |expected=( ( 2 3 ) ( 2 3 ) )|description=get-sublist}}
{{module test case|rep| (find (list 1 2 3) (\x ())) |expected=<error: bad predicate result type to [op: find]: got list>|description=find, predicate returns non-boolean}}
{{module test case|rep| (find (list true) lt?) |expected=<error: bad operand to [op: lt?]: expected number or string, got true>|description=find, predicate throws error}}
{{module test case|rep| (find ":" "") |expected=( )|description=find, empty string in nonempty string}}
{{module test case|rep| (find ":" (pattern "")) |expected=( )|description=find, empty pattern in nonempty string}}
{{module test case|rep| (list (find (list (list 1) 2 3 "d") number?) (find (list 1 2 3) string?) (find "foobar" "o") (find "foobar" (pattern "[ao]")) (find "quux" (pattern "[ao]"))) |expected=( ( 2 3 ) ( ) ( ( 2 2 ) ( 3 3 ) ) ( ( 2 2 ) ( 3 3 ) ( 5 5 ) ) ( ) )|description=find}}
{{module test case|rep| (list (set-sublist (list 1 2 3) -2 1 (list "a" "b")) (set-sublist (list 1 2 3) 2 0 (list "a")) (set-sublist (list 1 2 3 4) 2 3 ())) |expected=( ( "a" "b" 2 3 ) ( 1 "a" 2 3 ) ( 1 4 ) )|description=set-sublist}}
{{module test case|rep| (map + (list 1) (list "a")) |expected=<error: bad operand to [op: add]: expected number, got "a">|description=map, error from mapped function}}
{{module test case|rep| (list (apply + (list 1 2)) (map (\x (* x x)) (list 2 3)) (map + (list 1 "a" (list 2)) (list 3 "b")) ((curry * 2 3) 4 5)) |expected=( 3 ( 4 9 ) ( 4 "ab" ) 120 )|description=apply, map, curry}}
{{module test case|rep| (list (member? 2 ()) ((member? 2) ()) (member? 1 (list 2 3)) ((member? 1) (list 2 3)) (member? 1 (list 2 1)) ((member? 1) (list 2 1))) |expected=( false false false false true true )|description=member?}}
{{module test case|rep| (list (trim " a b c ") (trim (list " 1 ")) (lc "abc") (lc "ABC") (lc (list "abc" "ABC")) (lcfirst "abc") (lcfirst "ABC") (lcfirst (list "abc" "ABC")) (uc "abc") (uc "ABC") (uc (list "abc" "ABC")) (ucfirst "abc") (ucfirst "ABC") (ucfirst (list "abc" "ABC"))) |expected=( "a b c" ( "1" ) "abc" "abc" ( "abc" "abc" ) "abc" "aBC" ( "abc" "aBC" ) "ABC" "ABC" ( "ABC" "ABC" ) "Abc" "ABC" ( "Abc" "ABC" ) )|description=trim, lc, lcfirst, uc, ucfirst}}
{{module test case|rep| (define ls (list "ABC" "DEF" "" "GHI")) (equal? (list "A" "D" "" "G") (to-entity ls) (map to-entity ls)) |expected=true|description=to-entity}}
{{module test case|rep| (let (x 3) (+ x (let (x 4) x))) |expected=7|description=let}}
{{module test case|rep| (list (to-number "314.159265e-2") (to-number "foo") (to-number (get-substring "4567" 2 3)) (to-string 314.159265e-2)) |expected=( 3.14159265 ( ) 56 "3.14159265" )|description=to-number, to-string}}
{{module test case|rep| (define x 3) (sequence (define x 2)) (let (y 1) (define x 0)) (list x (sequence) (sequence 1) (sequence 1 2)) |expected=( 2 ( ) 1 2 )|description=sequence}}
{{module test case|rep| (define t (list 2 3 (list 4 5) 6 (list 7 8)))
(list ((transformer) (\x (* x x)) (\x x) t)
((transformer 1) (\x (* x x)) (\x x) t)
((transformer (\x (and? (ge? (length x) 1) (le? (nth x 1) 4)))) (\x "x") (\x x) t)
((transformer (\x (and? (ge? (length x) 1) (le? (nth x 1) 4))) 1) (\x "x") (\x x) t)
((transformer 2 (\x (+ x 1))) (\(n x) n) (\(n x) x) t)
((transformer (\x (and? (ge? (length x) 1) (le? (nth x 1) 4))) 2 (\x (+ x 1))) (\(n x) n) (\(n x) x) t)
((transformer -3 (\x (+ x 1)) 1) (\(n x) n) (\(n x) x) t)
((transformer (\x (and? (ge? (length x) 1) (le? (nth x 1) 4))) -3 (\x (+ x 1)) 1) (\(n x) n) (\(n x) x) t)
) |expected=( ( 4 9 ( 16 25 ) 36 ( 49 64 ) ) ( 2 9 ( 4 25 ) 36 ( 7 64 ) ) ( "x" "x" ( "x" "x" ) "x" "x" ) ( 2 "x" ( 4 "x" ) "x" "x" ) ( 3 3 ( 4 4 ) 3 ( 4 4 ) ) ( 3 3 ( 4 4 ) 3 3 ) ( 2 -2 ( 4 -1 ) -2 ( 7 -1 ) ) ( 2 -2 ( 4 -1 ) -2 -2 ) )|description=transformer, non-error}}
{{module test case|rep| (transformer true 3) |expected=<error: bad operand to [op: transformer]: expected fn, got 3>|description=transformer, boolean parameter}}
{{module test case|rep| (transformer list? true) |expected=<error: too few operands to [op: transformer]: expected at least 3, got 2>|description=transformer, fn-boolean parameters}}
{{module test case|rep| ((transformer (\x (* x x))) list? list? ()) |expected=<error: bad operand to [op: multiply]: expected number, got ( )>|description=transformer, predicate error}}
{{module test case|rep| ((transformer (\x "")) list? list? ()) |expected=<error: bad predicate result type to [op transform]: string>|description=transformer, non-boolean predicate result}}
{{module test case|rep| ((transformer) list? (\x (- x x)) ()) |expected=<error: bad operand to [op: subtract]: expected number, got ( )>|description=transformer, error from recursive call}}
{{module test case|rep| (list (get-arg-expr 2) (get-arg-expr 3)) | (* 2 3) | ( |expected=( ( * 2 3 ) ( ) )|description=get-arg-expr, non-error}}
{{module test case|rep| (list (write "foo""bar") (urlencode "fo'o bar") (urlencode "fo'o bar" "path") (urlencode "fo'o bar" "wiki") (anchorencode "fo'o bar") (fullurl "fo'o bar" "qu'ux baz") (canonicalurl "fo'o bar")) |expected=( """foo""""bar""" "fo%27o+bar" "fo%27o%20bar" "fo%27o_bar" "fo'o_bar" "//en.{{lc:{{SITENAME}}}}.org/w/index.php?title=Fo%27o_bar&qu%27ux+baz" "https://en.{{lc:{{SITENAME}}}}.org/wiki/Fo%27o_bar" )|description=write, urlencode, anchorencode, fullurl, canonicalurl}}
{{module test case|rep| (list (join () ",") (join () "(" ")") (join (list "a") ",") (join (list "a") "(" ")") (join (list (list "a" "b")) ",") (join (list (list "a" "b")) "(" ")") (join (list (list (list "a" "b") (list "c" "d")) (list (list "e" "f") (list "g" "h"))) "," (list "(" ")" (list ";")))) |expected=( "" "" "a" "(a)" ( "a,b" ) ( "(a)(b)" ) "(a,b)(c,d);(e,f)(g,h)" )|description=join, non-error}}
{{module test case|rep| (join (list "a" "b") "," (list "(" ")")) |expected=<error: bad target for [op: join]: tree not deep enough>|description=join, not-deep-enough error}}
{{module test case|rep| (join (list (list "a" ())) "," (list "(" ")")) |expected=<error: bad target for [op: join]: uneven tree depth>|description=join, uneven-depth error: sep, string first; nested}}
{{module test case|rep| (join (list (list () "a")) ",") |expected=<error: bad target for [op: join]: uneven tree depth>|description=join, uneven-depth error: sep, list first}}
{{module test case|rep| (join (list (list "a" ())) "(" ")") |expected=<error: bad target for [op: join]: uneven tree depth>|description=join, uneven-depth error: delim, string first}}
{{module test case|rep| (join (list (list () "a")) "(" ")") |expected=<error: bad target for [op: join]: uneven tree depth>|description=join, uneven-depth error: delim, string first}}
{{module test case|rep| (list (merge le? (list)) (merge le? (list 1 3 2)) (merge le? (list 2 4 6) (list 1 5 3)) (merge le? (list 1 5 7 12 14 18) (list 2 4 9 10 15 17) (list 3 6 8 11 13 16)) (merge le? (list 1 7 8) (list 6 9) (list 2 5 10) (list 4) (list 3 11))) |expected=( ( ) ( 1 3 2 ) ( 1 2 4 5 3 6 ) ( 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ) ( 1 2 3 4 5 6 7 8 9 10 11 ) )|description=merge}}
{{module test case|trep| (list (get-arg "description") (get-arg 1) (get-arg-expr 2) (get-arg-expr 3)) | (+ 1 2 3) |expected=( "trep" "trep" ( list ( get-arg "description" ) ( get-arg 1 ) ( get-arg-expr 2 ) ( get-arg-expr 3 ) ) ( + 1 2 3 ) )|description=trep}}
{{module test case|rep| (map (\x (list x (get-arg x))) (get-args)) |foobar|expected=( ( 1 " (map (\x (list x (get-arg x))) (get-args)) " ) ( 2 "foobar" ) ( 3 "" ) ( 4 "" ) )|description=get-args (rep)}}
{{module test case|trep| (get-args) |foobar|expected=( 1 2 3 "description" "expected" )|description=get-args (trep)}}
{{module test case|bottom=1}}
}}
<noinclude>
[[Category:Module documentation]]
</noinclude><includeonly>
[[Category:Dialog required support templates]]
</includeonly>
km0b4322sfn4k6ide4w6f2ybx7eea1g
ਫਰਮਾ:Hidden
10
2837
5507
2023-03-24T06:37:25Z
Kuldeepburjbhalaike
1880
"{{#if:{{{noprint|}}}|<div class="noprint">|}} <div class="collapsible" style="border:none; {{{style|{{{css|}}}}}}"> <div class="title" style="font-weight:{{{fw1|bold}}}; background:{{{bg1|transparent}}}; text-align:{{{ta1| center}}}; {{{headercss|{{{headerstyle|}}}}}}">{{{header|{{{1}}}}}}</div> <div class="body" style="font-weight:{{{fw2|normal}}}; background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{contentcss|{{{contentstyle|}}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#if:{{{noprint|}}}|<div class="noprint">|}}
<div class="collapsible" style="border:none; {{{style|{{{css|}}}}}}">
<div class="title" style="font-weight:{{{fw1|bold}}}; background:{{{bg1|transparent}}}; text-align:{{{ta1|
center}}}; {{{headercss|{{{headerstyle|}}}}}}">{{{header|{{{1}}}}}}</div>
<div class="body" style="font-weight:{{{fw2|normal}}}; background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{contentcss|{{{contentstyle|}}}}}}">
{{{content|{{{contents|{{{2}}}}}}}}}
</div>
</div>{{#if:{{{noprint|}}}|</div>|}}<noinclude>{{documentation}}</noinclude>
gdp4m0k37yt50svp5241s1i79y8ffxe
ਫਰਮਾ:Hidden/doc
10
2838
5508
2023-03-24T06:37:53Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> This template creates a dynamic navigation box using style sheet declarations in [[MediaWiki:Common.css/Nav.css]] and JavaScript code in [[MediaWiki:Common.js/CollapsibleElements.js]]. It displays the first parameter (the heading) with a [show] link on the right. If [show] is clicked by the user, the second parameter (the body) is displayed below the heading and the [..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
This template creates a dynamic navigation box using style sheet declarations in [[MediaWiki:Common.css/Nav.css]] and JavaScript code in [[MediaWiki:Common.js/CollapsibleElements.js]]. It displays the first parameter (the heading) with a [show] link on the right. If [show] is clicked by the user, the second parameter (the body) is displayed below the heading and the [show] link becomes [hide]. Clicking on [hide] then hides the body again and the [hide] link becomes [show] again.
The template does '''not''' provide an argument to designate the initial state of the show/hide control. In the nested case, show/hide controls in hidden content retain their state. There is no facility for ''collapse all'' or ''reveal all''.
===Usage===
Only two parameters are required for this template:
;header : text for header (or title); alternative to using unnamed parameter <nowiki>{{{1}}}</nowiki>
;content : text for content (or body); alternative to using unnamed parameter <nowiki>{{{2}}}</nowiki>
====Optional parameters====
;style : add [[w:Cascading Style Sheets|CSS]] to the main div.
;headerstyle : add [[w:Cascading Style Sheets|CSS]] to the header.
;contentstyle : add [[w:Cascading Style Sheets|CSS]] to the content box.
;noprint : if anything is put in for this parameter the hidden box (and its contents) won't show up in the printed version.
'''Note:''' This template will not respect the user preference "justify paragraphs".
===Examples===
====The simplest====
In this example only the two required parameters are specified.
{| class="wikitable"
| {{rh}} | Code
| <pre>{{hidden|Title text here|Body text line 1<br/>Body text line 2}}</pre>
|-
| {{rh}} | Result
| {{hidden|Title text here|Body text line 1<br/>Body text line 2}}
|}
====Header background====
{| class="wikitable"
| {{rh}} | Code
| <pre>{{hidden|Title text here|Body text line 1<br/>Body text line 2|headerstyle=background:#ccccff|bodystyle=text-align:center}}</pre>
|-
| {{rh}} | Result
| {{hidden|Title text here|Body text line 1<br/>Body text line 2|headerstyle=background:#ccccff|bodystyle=text-align:center}}
|}
====CSS====
{| class="wikitable"
| {{rh}} | Code
|
<pre>
{{hidden
| style = border:1px dashed red; width: 50%;
| headerstyle = background: #ccccff; font-size: 110%;
| contentstyle = text-align: center; color:green;
| header = Title text here
| content = Body text line 1<br />Body text line 2<br />Body text line 3
}}</pre>
|-
| {{rh}} | Result
|
{{hidden
| style = border:1px dashed red; width: 50%;
| headerstyle = background: #ccccff; font-size: 110%;
| contentstyle = text-align: center; color:green;
| header = Title text here
| content = Body text line 1<br />Body text line 2<br />Body text line 3
}}
|}
=== Issues ===
==== Sections ====
Sections included inside a hidden block result in broken anchors in the table of contents at the top of the page.
{{hidden begin|title=example}}
===== You can't get here from the table of contents =====
{{hidden end}}
===See also===
* {{tl|hidden begin}}
* {{tl|hidden end}}
* {{tl|hidden}}
* {{tl|DropBox}}
<includeonly>
[[Category:Collapse templates|{{PAGENAME}}]]
[[category:Navigational templates]]
</includeonly>
gs6dpg7cglemv1bfl6sw2i5ige1mbn8
ਫਰਮਾ:Hidden begin
10
2839
5509
2023-03-24T06:38:21Z
Kuldeepburjbhalaike
1880
"<includeonly><!-- --><div class="collapsible" style="width:100%; clear:both; border:{{{border|none}}}; {{{style|}}}"><!-- --><div class="title" style="background:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{titlestyle|}}}">{{{title|}}}</div><!-- --><div class="body" style="background:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{bodystyle|}}}"><!-- --></includeonly><noinclude><!-- -->{{documentation|Template:Hidden begin-end..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><!--
--><div class="collapsible" style="width:100%; clear:both; border:{{{border|none}}}; {{{style|}}}"><!--
--><div class="title" style="background:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{titlestyle|}}}">{{{title|}}}</div><!--
--><div class="body" style="background:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{bodystyle|}}}"><!--
--></includeonly><noinclude><!--
-->{{documentation|Template:Hidden begin-end/doc}}
{{Hidden begin/doc}}
<!--- Please add metadata to the <includeonly> section at the bottom of Template:Hidden begin-end/doc --->
</noinclude>
i18bxkicevb895xf3xb0t61bjwx0abh
ਫਰਮਾ:Hidden begin/doc
10
2840
5510
2023-03-24T06:39:28Z
Kuldeepburjbhalaike
1880
"<noinclude>This page contains the interwikis of {{tl|{{BASEPAGENAME}}}}. For its documentation, see {{tl|hidden begin-end/doc}}.[[Category:Template documentation|{{PAGENAME}}]]</noinclude><includeonly> <!-- INTERWIKIS HERE --> </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude>This page contains the interwikis of {{tl|{{BASEPAGENAME}}}}. For its documentation, see {{tl|hidden begin-end/doc}}.[[Category:Template documentation|{{PAGENAME}}]]</noinclude><includeonly>
<!-- INTERWIKIS HERE -->
</includeonly>
ka6y6a8csrnsrw0wyjjemvqrpkafsdb
ਫਰਮਾ:Hidden begin-end/doc
10
2841
5511
2023-03-24T06:39:50Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} <!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE---> *{{tl|hidden begin}} *{{tl|hidden end}} __NOTOC__ === Parameters === {| class="wikitable" style="font-size:95%; line-height:1.3em;" ! Parameter !! Description |- | ''title'' || Text shown in titlebar.</tr> | ''titlestyle'' || [[Cascading Style Sheets|CSS]] styles to apply to ''title'', e.g. "border:1px solid lightgrey;" to p..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
*{{tl|hidden begin}}
*{{tl|hidden end}}
__NOTOC__
=== Parameters ===
{| class="wikitable" style="font-size:95%; line-height:1.3em;"
! Parameter !! Description
|-
| ''title'' || Text shown in titlebar.</tr>
| ''titlestyle'' || [[Cascading Style Sheets|CSS]] styles to apply to ''title'', e.g. "border:1px solid lightgrey;" to produce a border around the titlebar, "background:''color'';" to change the titlebar's background color from transparent to ''color'', "text-align:[center/right];" to change the titlebar text's alignment from left to center or right, etc.</tr>
| ''bodystyle'' || CSS styles to apply to the hidden material, e.g. background and text-align per ''titlestyle''.
|}
=== Examples ===
{| class="wikitable" width="100%"
! Code !! Result
|- style="vertical-align:top;"
| width="50%" |
<pre style="font-size:95%; overflow:auto;">
{{hidden begin
|title = default example
}}
*def
*ghi
{{hidden end}}
</pre>
|
{{hidden begin
|title = default example
}}
*def
*ghi
{{hidden end}}
|- style="vertical-align:top;"
| width="50%" |
<pre style="font-size:95%; overflow:auto;">
{{hidden begin
|title = title with background:pink
|titlestyle = background:pink;
}}
*def
*ghi
{{hidden end}}
</pre>
|
{{hidden begin
|title = title with background:pink
|titlestyle = background:pink;
}}
*def
*ghi
{{hidden end}}
|- style="vertical-align:top;"
| width="50%" |
<pre style="font-size:95%; overflow:auto;">
{{hidden begin
|title = title aligned in the center
|titlestyle = background:pink; text-align:center;
}}
*def
*ghi
{{hidden end}}
</pre>
|
{{hidden begin
|title = title aligned in the center
|titlestyle = background:pink; text-align:center;
}}
*def
*ghi
{{hidden end}}
|- style="vertical-align:top;"
| width="50%" |
<pre style="font-size:95%; overflow:auto;">
{{hidden begin
|title = title aligned to the right
|titlestyle = background:pink; text-align:right;
}}
*def
*ghi
{{hidden end}}
</pre>
|
{{hidden begin
|title = title aligned to the right
|titlestyle = background:pink; text-align:right;
}}
*def
*ghi
{{hidden end}}
|- style="vertical-align:top;"
| width="50%" |
<pre style="font-size:95%; overflow:auto;">
{{hidden begin
|title = title with bg, ta, border
|titlestyle = font-style:italic; padding-right:3em;
|border = dashed
|bg1 = palegreen
|bg2 = cyan
|ta1 = left
|ta2 = center
}}
*make window narrower and
*title will wrap
{{hidden end}}
</pre>
|
{{hidden begin
|title = title with bg, ta, border
|titlestyle = font-style:italic; padding-right:3em;
|border = dashed
|bg1 = palegreen
|bg2 = cyan
|ta1 = left
|ta2 = center
}}
*make window narrower and
*title will wrap
{{hidden end}}
|- style="vertical-align:top;"
| width="50%" |
<pre style="font-size:95%; overflow:auto;">
{{hidden begin
|title = title with non-breaking spaces
|titlestyle =
|border = dotted
|bg1 = cyan
|bg2 = yellow
|ta1 = right
|ta2 = left
}}
*def these should have left padding
*ghi
{{hidden end}}
</pre>
|
{{hidden begin
|title = title with non-breaking spaces
|titlestyle =
|border = dotted
|bg1 = cyan
|bg2 = yellow
|ta1 = right
|ta2 = left
}}
*def these should have left padding
*ghi
{{hidden end}}
|}
=== See also ===
*{{tl|Hidden}}
<includeonly>
[[Category:Collapse templates|{{PAGENAME}}]]
</includeonly>
cgujdni27o6qmdj2m6ty868oyo2r5jx
ਫਰਮਾ:Hidden end
10
2842
5512
2023-03-24T06:40:11Z
Kuldeepburjbhalaike
1880
"</div></div><noinclude> {{Documentation|Template:Hidden begin-end/doc}} {{Hidden end/doc}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
</div></div><noinclude>
{{Documentation|Template:Hidden begin-end/doc}}
{{Hidden end/doc}}
</noinclude>
enzv15qp69d09i2yatlmst0ytneb81b
ਫਰਮਾ:Hidden end/doc
10
2843
5513
2023-03-24T06:40:46Z
Kuldeepburjbhalaike
1880
"<noinclude>This page contains the interwikis of {{tl|{{BASEPAGENAME}}}}. For its documentation, see {{tl|hidden begin-end/doc}}.[[Category:Template documentation|{{PAGENAME}}]]</noinclude><includeonly> <!-- INTERWIKIS HERE --> </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude>This page contains the interwikis of {{tl|{{BASEPAGENAME}}}}. For its documentation, see {{tl|hidden begin-end/doc}}.[[Category:Template documentation|{{PAGENAME}}]]</noinclude><includeonly>
<!-- INTERWIKIS HERE -->
</includeonly>
ka6y6a8csrnsrw0wyjjemvqrpkafsdb
ਫਰਮਾ:Rh
10
2844
5514
2023-03-24T06:41:57Z
Kuldeepburjbhalaike
1880
"style="background: #ececec; text-align: left; padding-left: 0.5em; font-weight: bold;" class="table-rh"<noinclude> This template is adopted from [[w:Template:{{PAGENAME}}|Wikipedia template]] under the terms of [[GNU Free Documentation License|GNU Free Documentation License version 1.2 or any later]]. </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
style="background: #ececec; text-align: left; padding-left: 0.5em; font-weight: bold;" class="table-rh"<noinclude>
This template is adopted from [[w:Template:{{PAGENAME}}|Wikipedia template]] under the terms of [[GNU Free Documentation License|GNU Free Documentation License version 1.2 or any later]].
</noinclude>
md15wblbul1wi1xwew2xdagwp6dbona
ਫਰਮਾ:DropBox
10
2845
5515
2023-03-24T06:42:51Z
Kuldeepburjbhalaike
1880
"<div class="{{{dropClass|collapsible}}} {{{boxClass|PrettyTextBox}}} {{#if:{{{hidden|}}}|| selected}}" style="padding: 5px; {{#if:{{{float|}}}|{{#ifeq:{{{float}}}|left|margin-right:1em;}} {{#ifeq:{{{float}}}|right|margin-left:1em;}} float: {{{float}}}; }}{{#if:{{{width|}}}|width: {{{width}}}; }}{{#if:{{{bg|}}}|background-color: {{{bg}}}; }}{{#if:{{{style|}}}| {{{style}}}; }}">{{{preHead|}}}<div class="title" style="text-align:{{{ta1|center}}}; bac..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="{{{dropClass|collapsible}}} {{{boxClass|PrettyTextBox}}} {{#if:{{{hidden|}}}|| selected}}" style="padding: 5px; {{#if:{{{float|}}}|{{#ifeq:{{{float}}}|left|margin-right:1em;}} {{#ifeq:{{{float}}}|right|margin-left:1em;}} float: {{{float}}}; }}{{#if:{{{width|}}}|width: {{{width}}}; }}{{#if:{{{bg|}}}|background-color: {{{bg}}}; }}{{#if:{{{style|}}}| {{{style}}}; }}">{{{preHead|}}}<div class="title" style="text-align:{{{ta1|center}}}; background-color: {{{bg1|transparent}}};{{#if:{{{fw1|}}}|font-weight:{{{fw1}}};}}">{{#if:{{{headType|}}}|<{{{headType}}} style="display:inline; margin: 0 4em">}}{{{header|{{{1}}}}}}{{#if:{{{headType|}}}|</{{{headType}}}>}}</div>
<div class="body" style="padding:0.2em; text-align:{{{ta2|left}}}; {{#if:{{{fw2|}}}|font-weight:{{{fw2}}};}} {{#if:{{{bg2|}}}|background-color: {{{bg2}}}; }}">
{{{content|{{{2}}}}}}
</div>
</div>
<noinclude>{{documentation}}</noinclude>
92eqny4qg72bm5pwwljhjo6ezhjtoau
ਫਰਮਾ:DropBox/doc
10
2846
5516
2023-03-24T06:43:20Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> == Documentation == A [[:Category:PrettyTextBox_Templates|PrettyTextBox]] that can be shown or hidden, designed to act as a "box" in the style of separate information boxes as seen in textbooks (often labelled Box 1.1, etc.). This requires a title, which can be seen even when the contents of the box are hidden. Much of this functionality is copied fr..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
== Documentation ==
A [[:Category:PrettyTextBox_Templates|PrettyTextBox]] that can be shown or hidden, designed to act as a "box" in the style of separate information boxes as seen in textbooks (often labelled Box 1.1, etc.). This requires a title, which can be seen even when the contents of the box are hidden. Much of this functionality is copied from [[Template:Hidden]]. By default, the box is shown, unless the "hidden" parameter is set.
For extensive box contents which are relatively independent of the main text, consider using [[Template:TranscludeBox]], which allows you to place the contents in a subpage of your book, and [[:Using_Wikibooks/The_Wikibooks_Editor/Advanced_Techniques#Templates|transclude]] it into the main page.
=== Parameters ===
This template displays the first parameter (the heading) with a [Show] link on the right. If the heading box or [Show] link is clicked by the user, the second parameter (the content) is also displayed. The following parameters are also available:
;header
: The heading for the box (e.g. Box 1.1). This can also be taken from the 1st unnamed parameter.
;content
: The content of the box. This can also be taken from the 2nd unnamed parameter.
==== Conventional css parameters ====
;fw1
:the font-weight for the heading
;fw2
:the font-weight for the body
;bg
:the background-color for the enclosing box
;bg1
:the background-color for the heading
;bg2
:the background-color for the body
;ta1
:the text-align for the heading
;ta2
:the text-align for the body
;float
:should the box be floated? (left, right, or none)
;width
: the width of the box, e.g. 33%
;style
: HTML/CSS affectionados only: any other css style arguments for the whole box
==== Special parameters ====
;hidden
: set this to any string (e.g. hidden=true) to have the box hidden by default
;headType
: allows you to set the box header to (say) "h4", which means it will be included in the table of contents. This is provided as an explicit parameter because if you just surround the title with header tags, e.g.
: <pre><h4>Box 1.1</h4></pre>
: Then the title will be displaced downwards by the show/hide button. See examples below.
;preHead
: allows you to specify stuff to place ''before'' the header. This is used, e.g. in [[Template:TranscludeBox]].
;dropClass
:(default = collapsible) The class of the dropbox which determines the drop-down behaviour. Setting this to something other than collapsible will remove the drop-down behaviour of the box.
;boxClass
:(default = PrettyTextBox) The class of the dropbox which determines the style.
=== Examples ===
The simplest example<pre>{{DropBox|Box 1.1|{{Lorem}}}}</pre> renders as:
{{DropBox|Box 1.1|{{Lorem}}}}
To hide by default, specify a value for "hidden"<pre>{{DropBox|Box 1.2|{{Lorem}}|hidden=hidden}}</pre> renders as:
{{DropBox|Box 1.2|{{Lorem}}|hidden=hidden}}
{{DropBox|Box 1.3|{{Lorem}}|
headType=h4|
float=left|
bg=#999999|
width=33%}}
A more realistic example, setting the title to h4 which will place it in the TOC. This is produced by
<nowiki>{{</nowiki>DropBox{{!}}Box 1.3{{!}}<nowiki>{{</nowiki>Lorem<nowiki>}}</nowiki>{{!}}
headType{{=}}h4{{!}}
float{{=}}left{{!}}
bg{{=}}#999999{{!}}
width{{=}}33%<nowiki>}}</nowiki>
renders as seen on the left
<div style="clear:both"> </div>
{{DropBox|Box 1.4|{{Lorem}}|
headType=h4|
float=right|
width=33%|
ta1=right|
bg=#BBBBFF|
bg1=#BBBBFF|
bg2=white|
hidden=hidden}}
Another similar layout, styled differently, and hidden by default. This is produced by
<nowiki>{{</nowiki>DropBox{{!}}Box 1.4{{!}}<nowiki>{{</nowiki>Lorem<nowiki>}}</nowiki>{{!}}
headType{{=}}h4{{!}}
float{{=}}right{{!}}
ta1{{=}}right{{!}}
bg{{=}}#BBBBFF{{!}}
bg1{{=}}#BBBBFF{{!}}
bg2{{=}}white{{!}}
hidden{{=}}hidden<nowiki>}}</nowiki>
renders as seen on the right
<div style="clear:both"> </div>
== See also ==
* [[Template:PrintDropBox]], for how this template will be rendered in a [[Help:Collections|collection]].
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Collapse templates|{{PAGENAME}}]]
</includeonly>
tlik6m3o97yrvoqkfx1mhtmfsg6khr1
ਫਰਮਾ:TranscludeBox
10
2847
5517
2023-03-24T06:44:00Z
Kuldeepburjbhalaike
1880
"{{DropBox|header={{{header|{{{1}}}}}}|content={{ {{#if:{{{abspath|}}}|{{{abspath}}}|{{#if:{{{tplname|}}}|{{{tplname}}}| {{NAMESPACE}}:{{#rel2abs:{{{relpath|{{{2}}}}}}}}}}}} }}|preHead=<div style="background-color: transparent; padding: 0; font-size:small; position:absolute; z-index: 100; color:#000000; white-space: nowrap;"> {{#if:{{{abspath|}}}|{{{abspath}}}|{{#if:{{{tplname|}}}|Template:{{{tplname}}}|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#rel2..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{DropBox|header={{{header|{{{1}}}}}}|content={{ {{#if:{{{abspath|}}}|{{{abspath}}}|{{#if:{{{tplname|}}}|{{{tplname}}}| {{NAMESPACE}}:{{#rel2abs:{{{relpath|{{{2}}}}}}}}}}}} }}|preHead=<div style="background-color: transparent; padding: 0; font-size:small; position:absolute; z-index: 100; color:#000000; white-space: nowrap;">
[[{{#if:{{{abspath|}}}|{{{abspath}}}|{{#if:{{{tplname|}}}|Template:{{{tplname}}}|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#rel2abs:{{{relpath|{{{2}}}}}}}}}}}}|<span title{{=}}"View this transcluded page.">v</span>]]·[[{{#if:{{{abspath|}}}|{{{abspath}}}|{{#if:{{{tplname|}}}|Template_talk:{{{tplname}}}|{{TALKSPACE}}:{{#rel2abs:{{{relpath|{{{2}}}}}}}}}}}}|<span title{{=}}"Discussion about this transcluded page.">d</span>]]·{{Querylink|{{#if:{{{abspath|}}}|{{{abspath}}}|{{#if:{{{tplname|}}}|Template:{{{tplname}}}|{{NAMESPACE}}:{{#rel2abs:{{{relpath|{{{2}}}}}}}}}}}}|qs=action=edit|<span title{{=}}"You can edit this transcluded page.">e</span>}}</div>|
headType={{{headType|}}}|
fw1={{{fw1|}}}|
fw2={{{fw2|}}}|
bg={{{bg|transparent}}}|
bg2={{{bg2|}}}|
bg3={{{bg3|}}}|
ta1={{{ta1|center}}}|
ta2={{{ta2|left}}}|
float={{{float|}}}|
width={{{width|}}} }}
<noinclude>
== Documentation ==
A [[Template:DropBox|DropBox]] whose contents are transcluded from elsewhere. This is useful for maintaining the contents of text boxes in a set of subpages. A relative link is is passed to this template and it is automatically [[transcluded]] as the contents of the box. When writing a book, this separates the contents of each information box from the main page: usually a desirable feature.
The contents of the box can be accessed directly by using the v d e (view, discuss, edit) links in the box title.
=== Parameters ===
;header
: The heading for the box (e.g. Box 1.1). This can also be taken from the 1st unnamed parameter.
;Box contents are specified by one of the following
:;relpath
:: A relative path to the content of the box. This can also be taken from the 2nd unnamed parameter.
:;abspath
:: Instead of a relative path, use an absolute path (this currently does not give the correct link to the discussion page)
:;tplname
:: Instead of the relative or absolute paths, give a template name, e.g. Lorem
==== Conventional css parameters ====
;fw1
:the font-weight for the heading
;fw2
:the font-weight for the body
;bg
:the background-color for the enclosing box
;bg1
:the background-color for the heading
;bg2
:the background-color for the body
;ta1
:the text-align for the heading (default center)
;ta2
:the text-align for the body (default left)
;float
:should the box be floated? (left, right, or none)
;width
: the width of the box, e.g. 33%
==== Special parameters ====
;hidden
: set this to any string (e.g. hidden=true) to have the box hidden by default
;headType
: allows you to set the box header to (say) "h4", which means it will be included in the table of contents
=== Examples ===
Also see [[Template:DropBox#Examples]] for examples of other possible stylings.
The simplest example. In this documentation we can transclude [[Template:Lorem]] using a relative link, because the documentation is aslo in the template namespace. In most cases, you will probably want to transclude a page in the same namespace as your book, so you will want to use a relative link.
<pre>{{TranscludeBox|Box 1.1|../Lorem}}</pre>
or we could be more verbose, and give the parameter name
<pre>{{TranscludeBox|Box 1.1|relpath=../Lorem}}</pre>
{{TranscludeBox|Box 1.1|../Lorem}}
If we want to transclude a template in a page that is outside the Template namespace, we can't use a relative link, so we have to specify tplname rather than relpath.
<pre>{{TranscludeBox|Box 1.2|tplname=Lorem}}</pre>
{{TranscludeBox|Box 1.2|tplname=Lorem}}
An example where the headType has been set. Note that if the title is an unnamed parameter, make sure it is not followed by a carriage return, otherwise it will not appear in the TOC.
<pre>{{TranscludeBox|Box 1.3|../Lorem|headType=h4}}</pre>
{{TranscludeBox|Box 1.3|../Lorem|headType=h4}}
{{TranscludeBox|Box 1.4|../Lorem|
headType=h4|
bg=#BBBBFF|
bg1=#BBBBFF|
bg2=white|
float=right|
width=33%}}
A more realistic example, rendered as (hopefully) seen on the right
<pre>{{TranscludeBox|Box 1.4|../Lorem|
headType=h4|
bg=#BBBBFF|
bg1=#BBBBFF|
bg2=white|
float=right|
width=33%}}
</pre>
----
[[{{BOOKCATEGORY|Statistical Analysis: an Introduction using R}}/Templates|{{PAGENAME}}]]
See also: [[Template:PrintTranscludeBox]], for how this template will be rendered in a [[Help:Collections|collection]].
</noinclude>
70of7xzvyjt780dc1mrkd3e7yk7kkgg
ਫਰਮਾ:Querylink
10
2848
5518
2023-03-24T06:45:00Z
Kuldeepburjbhalaike
1880
"<includeonly><span class="plainlinks">[{{SERVER}}{{localurl:{{{1}}}}}?{{{qs}}} {{{2|{{{1}}}}}}]</span></includeonly><noinclude> {{template doc}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><span class="plainlinks">[{{SERVER}}{{localurl:{{{1}}}}}?{{{qs}}} {{{2|{{{1}}}}}}]</span></includeonly><noinclude>
{{template doc}}
</noinclude>
krdijaqrgfvsd6a43dkcqx32qpf7yfh
ਫਰਮਾ:Template doc
10
2849
5519
2023-03-24T06:45:56Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Documentation]]
wikitext
text/x-wiki
#redirect[[Template:Documentation]]
sshuxjitujd7lb52mjo4idsn5msju1c
ਫਰਮਾ:Querylink/doc
10
2850
5520
2023-03-24T06:46:21Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} == Quick overview == This template creates an [[Help:Editing#Wikilinks|internal link]] to the specified page (1) with the specified [[w:query string|query string]] (qs) of the form <code>qs=name=value&name2=value2</code> and optionally the specified caption (2) which defaults to the specified page (1). The intended purpose of this template is to provide the ability to create internal links with a query string component,..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
== Quick overview ==
This template creates an [[Help:Editing#Wikilinks|internal link]] to the specified page (1) with the specified [[w:query string|query string]] (qs) of the form <code>qs=name=value&name2=value2</code> and optionally the specified caption (2) which defaults to the specified page (1). The intended purpose of this template is to provide the ability to create internal links with a query string component, which addresses a limitation of the current [http://www.mediawiki.org wiki software].
Example usage:
''1 query string 2''
<nowiki>{{</nowiki>{{BASEPAGENAME}}|Special:Allpages|qs=namespace=1|See what people are talking about}}
Produces:
{{{{BASEPAGENAME}}|Special:Allpages|qs=namespace=1|See what people are talking about}}
== Reason ==
The [[MediaWiki]] software does not support the use of a '''[[w:query string|query string]]''' element of an [[w:URL|URL]] as part of the [[Help:Editing#Wikilinks|internal wiki link]] syntax. This means that when wishing to link to a page that requires a query string in order to display the desired view of a page, an [[Help:Editing#External links|external link]] must be used. This is misleading when linking to a page within the wiki itself. For example, to create a link to this page's edit page, one might use the following wikitext:
<code><nowiki>[http://en.wikibooks.org/w/index.php?title={{FULLPAGENAMEE}}&action=edit edit]</nowiki></code>.
This would produce the following link: [http://en.wikibooks.org/w/index.php?title={{FULLPAGENAMEE}}&action=edit edit]. However, the edit page is not really an external link, so the desired result would be {{Querylink|{{FULLPAGENAMEE}}|qs=action=edit|edit}}, without the external link graphic.
== Description of use ==
Internal links with a query string URL element may be achieved through the use of this '''querylink''' template. This template has been provided as a workaround for the described wiki software limitation. The template has been designed to be usable in a similar manner to creating a normal internal link, and takes two to three parameters depending upon how you wish to use it. To create the example link from before to this page's edit page using the querylink template, the following wikitext markup was used:
<nowiki>{{Querylink|</nowiki>{{FULLPAGENAMEE}}<nowiki>|qs=action=edit|edit}}</nowiki>
All templates are called by enclosing the template name and parameters within a pair of curly braces "<code>{{}}</code>". All parameters are separated with the pipe character "<code>|</code>". The first "parameter" is always the ''name'' of the template that you wish to use and as such is not formally a parameter at all. In this case, it is <code>Querylink</code>.
#The first formal parameter passed to the template should be the name of the internal page that you wish to link. In this case, <code>{{FULLPAGENAMEE}}</code>.
#The second parameter is the query string used to display the desired view of the page. It has the form <code>qs=</code> followed by the name and value pairs of the query string of the form <code>name=value&name2=value2</code>. In this case, just one name and value pair is used: <code>action=edit</code>.
#The third parameter is optional. If included, the text of this parameter will be used as the display name for the link text in the article, similar to [[Help:Editing#Piped links|piped links]]. If omitted, the page name will be used instead, similar to ordinary internal links. In this case, we specify a friendly name for the link: <code>edit</code>.
If you wish to apply a query string without a page name, try passing <code>/</code> for the name of the internal link.
<nowiki>{{Querylink|/|2=id=10000|qs=oldid=10000}}</nowiki>
This produces the link {{Querylink|/|2=id=10000|qs=oldid=10000}}
to the location http://en.wikibooks.org/wiki//?oldid=10000
==Limitations==
The template normally does not work as a target for [[Help:Editing#Redirecting|<code>#REDIRECT</code>]] in redirect pages. You can subst: it to achieve that: <nowiki>{{subst:querylink|...}}</nowiki>
<includeonly>[[Category:Internal link templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
aiizqstm10f153p9qbuwdhjncdpwdfz
ਫਰਮਾ:Lorem
10
2851
5521
2023-03-24T06:47:37Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#switch:{{{1}}}|1|#default={{Lorem Ipsum}} |2={{Lorem Ipsum}}<br/><br/>{{Lorem Ipsum}}<br/> |3={{Lorem Ipsum}}<br/><br/>{{Lorem Ipsum}}<br/><br/>{{Lorem Ipsum}}<br/> |4={{Lorem Ipsum}}<br/><br/>{{Lorem Ipsum}}<br/><br/>{{Lorem Ipsum}}<br/><br/>{{Lorem Ipsum}}<br/> }}</includeonly><br/><noinclude>{{documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#switch:{{{1}}}|1|#default={{Lorem Ipsum}}
|2={{Lorem Ipsum}}<br/><br/>{{Lorem Ipsum}}<br/>
|3={{Lorem Ipsum}}<br/><br/>{{Lorem Ipsum}}<br/><br/>{{Lorem Ipsum}}<br/>
|4={{Lorem Ipsum}}<br/><br/>{{Lorem Ipsum}}<br/><br/>{{Lorem Ipsum}}<br/><br/>{{Lorem Ipsum}}<br/>
}}</includeonly><br/><noinclude>{{documentation}}</noinclude>
oet6yx3pjwp79h6f85pqwyhrq6157rh
ਫਰਮਾ:Lorem/doc
10
2852
5522
2023-03-24T06:48:08Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> Calls {{tl|Lorem Ipsum}} up to four times, delimited by line breaks. === Purpose === Provide a quick "boilerplate" filler text used solely as a template debugging aid, to examine wrapping, nesting, and margins or padding in template design and testing. === Usage === :<code><nowiki>{{Lorem|</nowiki>''number''<nowiki>}}</nowiki></code> :Here, <code..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
Calls {{tl|Lorem Ipsum}} up to four times, delimited by line breaks.
=== Purpose ===
Provide a quick "boilerplate" filler text used solely as a template debugging aid, to examine wrapping, nesting, and margins or padding in template design and testing.
=== Usage ===
:<code><nowiki>{{Lorem|</nowiki>''number''<nowiki>}}</nowiki></code>
:Here, <code>''number''</code> is the number of times to repeat the text (1, 2, 3, or 4)
=== Examples ===
; <code><nowiki>{{Lorem|2}}</nowiki></code>
{{Lorem|2}}
=== See also ===
* {{tl|Lorem Ipsum}}, the source of that Latin paragraph.
* {{tl|LoremS}}, can be used to display [[Template:Lorem_Ipsum]]'s individual nearly equal length sentences, 1 to 4 or A–D.
<includeonly>
<!-- Categories start here -->
[[category:Typing-aid templates|{{PAGENAME}}]]
<!-- Interwikis start here --->
</includeonly>
sekkm7h5fsv98f7b6kh8b6kds428qv4
ਫਰਮਾ:Lorem Ipsum
10
2853
5523
2023-03-24T06:48:46Z
Kuldeepburjbhalaike
1880
"<includeonly>[[w:Lorem ipsum|Lorem ipsum]] dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt m..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>[[w:Lorem ipsum|Lorem ipsum]] dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</includeonly><noinclude>{{documentation}}</noinclude>
sf7f8gxlpgkj28ofo46t8cwg1oscw2e
ਫਰਮਾ:Lorem Ipsum/doc
10
2854
5524
2023-03-24T06:49:21Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> Generates a quick "boilerplate" filler text used solely as a template debugging aid, to examine wrapping, nesting, and margins or padding in template design and testing. === Usage === :<code><nowiki>{{Lorem Ipsum}}</nowiki></code> === Example === * Code :<code><nowiki><blockquote style="background: white">{{Lorem Ipsum}}</blockquote></nowiki></cod..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
Generates a quick "boilerplate" filler text used solely as a template debugging aid, to examine wrapping, nesting, and margins or padding in template design and testing.
=== Usage ===
:<code><nowiki>{{Lorem Ipsum}}</nowiki></code>
=== Example ===
* Code
:<code><nowiki><blockquote style="background: white">{{Lorem Ipsum}}</blockquote></nowiki></code>
* Result
<blockquote style="background: white">{{Lorem Ipsum}}</blockquote>
=== See also ===
* {{tl|Lorem}}, can be used to call this template up to 4 times.
* {{tl|LoremS}}, can be used to call this template's individual nearly equal length sentences, 1 to 4 or A–D.
<includeonly>
<!-- Categories start here -->
[[Category:Typing-aid templates|{{PAGENAME}}]]
<!-- Interwikis here please --->
</includeonly>
f13ivqfydapcsiuak8dbpm35bpybqdi
ਫਰਮਾ:LoremS
10
2855
5525
2023-03-24T06:49:59Z
Kuldeepburjbhalaike
1880
"<noinclude>{{doc-page-head|box=1}} <!-- <div style={{TRS-style|box=1}}>--><br/></noinclude>{{#switch:{{{1|}}} |#default=[[w:Lorem ipsum|Lorem ipsum]] dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |b|B|2= Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. |c|C|3= Duis aute irure dolor in reprehenderit in voluptate velit esse c..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude>{{doc-page-head|box=1}}
<!--
<div style={{TRS-style|box=1}}>--><br/></noinclude>{{#switch:{{{1|}}}
|#default=[[w:Lorem ipsum|Lorem ipsum]] dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|b|B|2= Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|c|C|3= Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|d|D|4= Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}}<includeonly></includeonly><noinclude>
;Purpose and usage
This is a '''"Short"''' variation on the {{Tl|Lorem}} template,: primarily used in template usage, or debugging things like tables.
* The template generates single Latin sentences from the standard typesetter's [[w:Lorem ipsum|Lorem ipsum boilerplate]].
* Defining the first {{TG|placeholder parameter}} {{BL|'''<nowiki>{{{1}}} or '| 1='</nowiki>'''}} any one of the values {{nowrap|<code> {V : {a, A, 1}, {b, B, 2}, {c, C, 3}, or {d, D, 4}<nowiki>}</nowiki> </code>}} ''selects <u>just one</u>'' of the four different Latin sentences of about the same length; the longest (barely) being the default ''''A'''' phrase shown above.
;See also:the long forms
* {{tl|Lorem Ipsum}}, the source of that Latin paragraph.
* {{tl|Lorem}}, can be used to call THAT source template up to 4 times.
{{SelfTdoc||
{{SelfTmpdoc|x5={{documentation}} }}
{{TypeTaid|Lorem}}
[[Category:Typing-aid templates|LoremS]]
</div></noinclude>
6rz20fgldjj1vv0k11dg84fkvsj8bop
ਫਰਮਾ:Doc-page-head
10
2856
5526
2023-03-24T06:50:42Z
Kuldeepburjbhalaike
1880
"<div {{#if:{{{ID|{{{id|}}}}}}|id={{{ID|{{{id|}}}}}} }} style={{TRS-style |box={{{box|1}}} |1={{{1|}}};|2={{{2|}}};|3={{{3|}}}; }}>{{TRS-admin|no=1}}<noinclude> [[category:Trainz formatting templates|{{PAGENAME}}]] {{typeTbox}} {{selfTdoc}} ;usage Ported from N3V's Wiki for templates used there, copied here. This sets a style line <div> statement. The template takes several optional parameters: # id or ID t..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div {{#if:{{{ID|{{{id|}}}}}}|id={{{ID|{{{id|}}}}}}
}} style={{TRS-style
|box={{{box|1}}}
|1={{{1|}}};|2={{{2|}}};|3={{{3|}}};
}}>{{TRS-admin|no=1}}<noinclude>
[[category:Trainz formatting templates|{{PAGENAME}}]]
{{typeTbox}}
{{selfTdoc}}
;usage
Ported from N3V's Wiki for templates used there, copied here. This sets a style line <div> statement.
The template takes several optional parameters:
# id or ID tags the <code> <nowiki><div id={{{ID|{{{id|}}}}}} style="..."></nowiki> </code> as wrapper indicator.
# | box= ''anything'' changes the format width defaults for better displays when documenting full width box templates.
# placeholder parameters ''''|1=', '|2=',''' and ''''|3='''' are ''plain vanilla'' styling parameters passed onto {{tl|{{TRS-style}} which only formats a style statement. If expressed, they appear at the end of the styling string, so should override any duplicate styling command they might overlap.
</div></noinclude>
ktxfe5euofeq8pxoxu4834zngxgt9s0
ਫਰਮਾ:TypeTbox
10
2857
5527
2023-03-24T06:51:47Z
Kuldeepburjbhalaike
1880
"<includeonly>[[Category:Trainz box templates|{{{1|{{PAGENAME}}}}}]]</includeonly><noinclude><div style={{TRS-style}}>{{TRS-admin|Ohno=1}} [[Category:Trainz box templates|*{{{1|{{PAGENAME}}}}}]] ;Purpose and usage This template is to be placed within Template pages (or their associated /doc pages) solely to categorize [{Trainz]] Wikibooks box templates to [[:Category:Trainz box templates|{{{1|{{PAGENAME}}}}}]] It can be given a pipetrick as the f..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>[[Category:Trainz box templates|{{{1|{{PAGENAME}}}}}]]</includeonly><noinclude><div
style={{TRS-style}}>{{TRS-admin|Ohno=1}}
[[Category:Trainz box templates|*{{{1|{{PAGENAME}}}}}]]
;Purpose and usage
This template is to be placed within Template pages (or their associated /doc pages) solely to categorize [{Trainz]] Wikibooks box templates to [[:Category:Trainz box templates|{{{1|{{PAGENAME}}}}}]]
It can be given a pipetrick as the first placeholder pass parameter: <code><nowiki>{{{1|}}}</nowiki></code>.
</div>
</noinclude>
a4powssghf54bib2uznkbqo85unox08
ਫਰਮਾ:TRS-admin
10
2858
5528
2023-03-24T06:52:51Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Trainz-admin]]
wikitext
text/x-wiki
#redirect[[Template:Trainz-admin]]
sy1vj97cpwflp9svr7ppmj5axut5exa
ਫਰਮਾ:Trainz-admin
10
2859
5529
2023-03-24T06:53:15Z
Kuldeepburjbhalaike
1880
"<noinclude><div style={{TRS-style}}> </noinclude>{{#if:{{{inhibit|}}}|<!-- THEN no message box ---><!-- ----}} ELSE {{-->|{{tmbox|text= This page is part of Wikibooks <big>'''<u>[[Trainz]]</u> [[:Category:Trainz Admin|Wikibook Administration]]'''</big>. <!-- --->{{ #switch:<noinclude> </noinclude>{{{ns|{{NAMESPACE}}}}} | Template=<br>{{Bull}}{{{altmsg|It lists a template which may be useful editing [[Trainz]]. Trainz specific (s..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude><div style={{TRS-style}}>
</noinclude>{{#if:{{{inhibit|}}}|<!-- THEN no message box ---><!--
----}} ELSE {{-->|{{tmbox|text=
This page is part of Wikibooks <big>'''<u>[[Trainz]]</u> [[:Category:Trainz Admin|Wikibook Administration]]'''</big>. <!--
--->{{
#switch:<noinclude> </noinclude>{{{ns|{{NAMESPACE}}}}}
| Template=<br>{{Bull}}{{{altmsg|It lists a template which may be useful editing [[Trainz]]. Trainz specific (special purpose) templates will be found in or under [[:Category:Trainz Templates]], which also lists/links to '''this Help page'''.}}}
| Category=<br>{{Bull}}{{{altmsg|{{{message|This Category page lists some Trainz pages which are not directly part of the Wikibook Trainz project, but are intended for it's administration and upkeep.}}}}}}
|#default=
}}<!-- end switch
--->{{{1|{{{text|<noinclude>{{lorem}}</noinclude>}}}}}} {{
#if:{{{co-msg|}}}
|<br><hr>{{{co-msg|}}}
|{{{message|}}}
}}
}}<!-- end tmbox --->
}}<!-- endif inhibit ---><includeonly>{{#if:{{{noAdmin|{{{no|}}}}}}
|<!--
--->|{{#if:{{{admin|{{{Admin|}}}}}}
|[[Category:Trainz Admin|{{{sort|{{{1|{{SUBPAGENAME}}}}} }}}]]
}}
}}</includeonly><noinclude>
{{TypeTbox|admin}}
{{documentation}}<!--
<br> --->
</div>
</noinclude>
0iwdy7ys29mpdsiq2pipggagb31y4sh
ਫਰਮਾ:Trainz-admin/doc
10
2860
5530
2023-03-24T06:53:48Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <noinclude><div style={{TRS-style}}> [[Category:Trainz Templates Documentation|{{PAGENAME}}]] {{Trainz-admin|ns= |no=1|{{lorem}}}} Above is the appearance in main namespace with no text added. </noinclude> <!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. --> Above is the '''Default appearance''' with Lorem simulating a message in Main or article namespace, note the 'simulated tex..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<noinclude><div style={{TRS-style}}>
[[Category:Trainz Templates Documentation|{{PAGENAME}}]]
{{Trainz-admin|ns= |no=1|{{lorem}}}}
Above is the appearance in main namespace with no text added.
</noinclude>
<!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. -->
Above is the '''Default appearance''' with Lorem simulating a message in Main or article namespace, note the 'simulated text passed' message continues on the same line as the header line. So prefix with HTML break or hardbreaks as best suits your needs.
----
;Usage
Place as top item in a [[Trainz]] Wikibook-How-to-edit tutorial, Template or Trainz Wikibook Project organization or tutorial page.
* See the auto-category pages listed: [[:Category:Trainz Admin]] for examples and {{TL|Trainz templates}} for other Trainz project templates easing editing chores.
;Default message in Category namespaces
{{Trainz-admin|ns=Category|no=1}}
<br>
;Appearance with default message in Template Namespaces
{{Trainz-admin|ns=Template|no=1}}
'''Control and optional Parameters:'''<br
/>
# The 'inhibit' parameter suppresses message box generation but auto-categorizes the page. If expressed, that is ALL the template will do.<br
/>
# The Admin=''something'' asserts the autocategorization into [[:Category:Trainz Admin]].<s>The 'noAdmin' or 'no' parameter instead suppresses the normal and usual auto-category declaration incorporating the page into [[:Category:Trainz Admin]]. Then the template does no Auto-categorization and at least one must be defined on the page.</s>
# The ''''pipe'''' named parameter can be used as ''a 'auto-pipetrick override' to alter the category sort order'' from the default <nowiki>{{SUBPAGENAME}}</nowiki><br
/>
# The 'ns' parameter will replace the ''auto-namespace sensing'', so change the output to the default message depending on which namespace contains the tag.<br
/>
# The 'altmsg' named parameter takes a text string and presents that alternative message, replacing the two default messages which assert by namespace.<br
/>
## Only Categories and Template namespaces currently sense spaces and have boilerplate messages. If adding the template to a page in those namespaces, place the template, and evaluate whether to override it or not. You can then cut and paste the boilerplate and customize it as seems appropriate in the altmsg definition.<br
/>
## Defining ns= causes the namespace message generation to be skipped, showing only the output 'co-msg' or 'message' parameters. After the text box 'main explaination' passed in by defining ''''text'''' or ''''|1=''''.<br
/>
## The bulleted part (namespace sensed) is programmable with the 'alt-msg' override parameter. ''(The linefeed and prefixed bullet are provided free of charge.)''<br
/>
# The default message is ANDED with either 'co-msg' or 'message' - both of which may be blank (undefined), so presents only a box template as shown here. ''(Template namespace message shown)''
## If defined, the ''' 'co-msg' will insert a break and hard break (line across) before displaying the co-msg. 'Co-msg' asserts over 'message '''', which appends the ''''1 or text'''' parameters first displaying their text under the standard title line. (First line above in the box)<br
/>
## The 'message' parameter will asuffix onto the namespace boilerplate text, or if 'ns' suppresses the canned messages, will present as the sole message without a leading bullet. To suppress the two boilerplate messages (category space or Template namespaces, define ''''|ns= '''' which skips to the default (do nothing prefix text)
<br>
<br>
<includeonly>
<!-- Categories go here, and interwikis go on Wikidata.
[[Category:Trainz typing-aid templates|{{PAGENAME}}]]-->
[[Category:Trainz Admin|*admin]]
</includeonly>
<noinclude></div></noinclude>
a5fa6wdlfliyt5mbltp5kk7qrml2bz3
ਫਰਮਾ:Tmbox
10
2861
5531
2023-03-24T06:54:29Z
Kuldeepburjbhalaike
1880
"{{#ifeq:{{{small|}}}|yes | {{tmbox/core | small = yes | type = {{{type|}}} | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }} | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }} | style = {{{style|}}} | class = {{{class|}}} | textstyle = {{{textstyle|}}} | text = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }} }} | {{tmbox/core | type = {{{type|}}} | image =..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#ifeq:{{{small|}}}|yes
| {{tmbox/core
| small = yes
| type = {{{type|}}}
| image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
| imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
| style = {{{style|}}}
| class = {{{class|}}}
| textstyle = {{{textstyle|}}}
| text = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
}}
| {{tmbox/core
| type = {{{type|}}}
| image = {{{image|}}}
| imageright = {{{imageright|}}}
| style = {{{style|}}}
| class = {{{class|}}}
| textstyle = {{{textstyle|}}}
| text = {{{text}}}
}}
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
piy51slysucxqqtzkmysznytllhe5it
ਫਰਮਾ:Tmbox/doc
10
2862
5532
2023-03-24T06:54:57Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} {{high-risk|11,000+}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{mbox templates}} This is the {{tl|tmbox}} or '''talk page message box''' meta-template. It is used to build message box templates for talk pages. It offers several different colors, uses default images if no image parameter is given and it has some other features. This template should normally not be used for WikiProject ban..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
{{high-risk|11,000+}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{mbox templates}}
This is the {{tl|tmbox}} or '''talk page message box''' meta-template.
It is used to build message box templates for talk pages. It offers several different colors, uses default images if no image parameter is given and it has some other features.
This template should normally not be used for WikiProject banners. They have special needs and thus have their own meta-templates. See the "See also" section below for links.
This template works similarly to {{tl|ambox}} and uses the same parameters.
=== Suggested style standard ===
The types of talkpage messageboxes follow the same naming convention as the boxes for all other namespaces, but the type of any particular talkpage messagebox may not be as obvious as in other namespaces. When deciding on the type to use for a talkpage messagebox, please consider the following guidelines:
* '''speedy''' should ''only'' be used for speedy deletion templates.
* '''delete''' should ''only'' be used for templates relating to ''ongoing'' deletion discussions. Please do ''not'' use this type just to get a red border for a messagebox.
* '''content''' and '''style''' should be used for warnings and alerts. Use '''content''' (which has an orange border) for more important and immediate alerts, and '''style''' (yellow border) for less important warnings. Messageboxes of these types should ideally be ''transitory'': they should not be expected to remain on a talkpage indefinitely.
* '''move''' and '''protection''' should only be used for messageboxes relating to moves and merges, and page protection, respectively.
* The '''notice''' type should be used for the majority of talkpage messageboxes; those that are intended to convey or summarize information. If a talkpage messagebox does not obviously fit into one of the other types, it is probably a notice type.
=== Usage ===
Simple usage example:
<pre>
{{tmbox | text = Some text.}}
</pre>
{{tmbox | text = Some text.}}
Complex example:
<pre>
{{tmbox
| type = style
| image = [[Image:Emblem-question-yellow.svg|40px]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
</pre>
{{tmbox
| type = style
| image = [[Image:Emblem-question-yellow.svg|40px]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
=== Talk page message box types ===
The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type.
{{tmbox
| type = speedy
| text = type=<u>speedy</u> – Speedy deletion templates.
}}
{{tmbox
| type = delete
| text = type=<u>delete</u> – Deletion templates.
}}
{{tmbox
| type = content
| text = type=<u>content</u> – Major warnings and problems.
}}
{{tmbox
| type = style
| text = type=<u>style</u> – Minor warnings and problems.
}}
{{tmbox
| type = notice
| text = type=<u>notice</u> – Notices and messages of any kind, both permanent and temporary.
}}
{{tmbox
| type = move
| text = type=<u>move</u> – Merge, split, rename and transwiki messages and proposals.
}}
{{tmbox
| type = protection
| text = type=<u>protection</u> – Protection templates.
}}
=== Special ===
Some other parameter combinations.
{{tmbox
| text = No type and no image given ('''default''')
}}
{{tmbox
| image = none
| text = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area.
}}
{{tmbox
| image = [[Image:Gnome globe current event.svg|42px]]
| imageright = [[Image:Nuvola apps bookcase.svg|40px]]
| text = image = <nowiki>[[Image:Gnome globe current event.svg|42px]]</nowiki> <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.svg|40px]]</nowiki>
}}
=== Parameters ===
List of all parameters:
<pre>
{{tmbox
| type = speedy / delete / content / style / notice / move / protection
| image = none / [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| style = CSS values
| textstyle = CSS values
| text = The message body text.
| small = {{{small|}}} / yes
| smallimage = none / [[Image:Some image.svg|30px]]
| smallimageright = none / [[Image:Some image.svg|30px]]
| smalltext = A shorter message body text.
}}
</pre>
'''type'''
:If no '''type''' parameter is given the template defaults to type '''notice'''. That means it gets a gray border.
'''image'''
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>image = [[Image:Crystal package settings.png|40px]]</nowiki></code>
:'''none''' = Means that no image is used.
'''imageright'''
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|40px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
'''style'''
:Optional [[Cascading Style Sheets|CSS]] values used by the entire message box table. Without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>. For example:
::<code>style = margin-bottom: 0.5em;</code>
'''textstyle'''
:Optional [[Cascading Style Sheets|CSS]] values used by the text cell. For example:
::<code>textstyle = text-align: center;</code>
'''text'''
:The message body text.
==== The small parameters ====
{{tmbox
| small = yes
| text = small = yes
}}
{{tmbox
| type = style
| small = yes
| text = type = style <br /> small = yes
}}
'''small'''
:'''yes''' = Makes it a smaller right floating message box. This also makes the default images smaller. Note that any data fed to the '''smallimage''', '''smallimageright''' and '''smalltext''' parameters is only used if "small=yes". To make it so your template also understands the small parameter you can use this code:
::<code><nowiki>small = {{{small|}}}</nowiki></code>
{{tmbox
| small = yes
| image = [[Image:Nuvola apps bookcase.png|40px]]
| smallimage = [[Image:Nuvola apps bookcase.png|30px]]
| text =
small = yes <br> image = <nowiki>[[Image:Nuvola apps bookcase.png|40px]]</nowiki> <br> smallimage = <nowiki>[[Image:Nuvola apps bookcase.png|30px]]</nowiki>
}}
'''smallimage'''
:'''No parameter''' = If no '''smallimage''' parameter is given then this template falls back to use the '''image''' parameter. If the '''image''' parameter also is empty then a small default image is used.
:'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example:
::<code><nowiki>smallimage = [[Image:Crystal package settings.png|30px]]</nowiki></code>
:'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=yes".
{{tmbox
| small = yes
| imageright = [[Image:Nuvola apps bookcase.png|40px]]
| text =
small = yes <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.png|40px]]</nowiki>
}}
{{tmbox
| small = yes
| imageright = [[Image:Nuvola apps bookcase.png|30px]]
| smallimageright = none
| text =
small = yes <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.png|40px]]</nowiki> <br> smallimageright = none
}}
'''smallimageright'''
:'''No parameter''' = If no '''smallimageright''' parameter is given then this template falls back to use the '''imageright''' parameter. If the '''imageright''' parameter also is empty then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example:
::<code><nowiki>smallimageright = [[Image:Nuvola apps bookcase.png|30px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
:'''none''' = Means that no right side image is used. This overrides any image fed to '''imageright''', when "small=yes".
'''smalltext'''
:A shorter version of the message body text. If no '''smalltext''' parameter is given then this template falls back to use the '''text''' parameter.
=== Technical details ===
If you need to use special characters in the text parameter then you need to escape them like this:
<pre>
{{tmbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
</pre>
{{tmbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
This template uses the tmbox CSS classes in [[MediaWiki:Common.css/Mboxes.css]] for most of its looks, thus it is fully skinnable.
This template calls {{tl|tmbox/core}} which holds most of the code for {{tl|tmbox}}, while {{tl|tmbox}} itself does parameter preprocessing.
Internally this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
=== See also ===
{{Mbox templates see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Metatemplates|{{PAGENAME}}]]
[[Category:Talk namespace templates| ]]
</includeonly>
esz5nci77v2dibu44ow9e9lnp6r2w3l
ਫਰਮਾ:Tmbox/core
10
2863
5533
2023-03-24T06:55:42Z
Kuldeepburjbhalaike
1880
"<table class="plainlinks tmbox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}} | speedy = tmbox-speedy | warning <!-- deprecated --> | serious <!-- deprecated --> | delete = tmbox-delete | content = tmbox-content | style = tmbox-style | move = tmbox-move | protection = tmbox-protection | notice <!-- notice = default --> | #default = tmbox-notice }} {{{class|}}}" style="{{{style|}}}"> <tr> {{#ifeq:{{{imag..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<table class="plainlinks tmbox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}}
| speedy = tmbox-speedy
| warning <!-- deprecated -->
| serious <!-- deprecated -->
| delete = tmbox-delete
| content = tmbox-content
| style = tmbox-style
| move = tmbox-move
| protection = tmbox-protection
| notice <!-- notice = default -->
| #default = tmbox-notice
}} {{{class|}}}" style="{{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell" style="border: none; padding: 0px; width: 1px;"></td>
| <td class="mbox-image">
{{#if:{{{image|}}}
| {{{image}}}
| [[File:{{#switch:{{{type|}}}
| speedy = Ambox warning pn.svg
| warning <!-- deprecated -->
| serious <!-- deprecated -->
| delete = Ambox warning pn.svg
| content = Ambox Content.svg
| style = Edit-clear.svg
| move = Merge-split-transwiki default.svg
| protection = Padlock-silver-medium.svg
| notice <!-- notice = default -->
| #default = Information icon4.svg
}} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}}|link=|alt=]]
}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| <!-- No image. -->
| <td class="mbox-imageright"> {{{imageright}}} </td>
}}
}}
</tr>
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| speedy
| delete
| warning <!-- deprecated -->
| serious <!-- deprecated -->
| content
| style
| move
| protection
| notice = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
9unz8nkyc87bp5lqkl5zutxl09csr3h
ਫਰਮਾ:Tmbox/core/doc
10
2864
5534
2023-03-24T06:56:08Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|tmbox/core}} sub-template. Do not use this template directly, use {{tl|tmbox}} instead. This template is called from {{tl|tmbox}}. It holds most of the code for {{tl|tmbox}}, while {{tl|tmbox}} does parameter preprocessing. Thus simplifying the code in {{tl|tmbox/core}}. For more documentation see {{tl|tmbox}}. <includeonly> <!-..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|tmbox/core}} sub-template.
Do not use this template directly, use {{tl|tmbox}} instead.
This template is called from {{tl|tmbox}}. It holds most of the code for {{tl|tmbox}}, while {{tl|tmbox}} does parameter preprocessing. Thus simplifying the code in {{tl|tmbox/core}}.
For more documentation see {{tl|tmbox}}.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template subpages|{{PAGENAME}}]]
</includeonly>
j8amzz7a642qjarcttdpg1ieh1fxnvv
ਫਰਮਾ:Mbox templates
10
2865
5535
2023-03-24T06:56:48Z
Kuldeepburjbhalaike
1880
"{{Navbox | navbar = off | name = Mbox templates | state = off | style = width: auto; float: right; margin: 0em 0em 0em 1em; | title = Message box <br> meta-templates | list1 = {{tlx|bmbox}} ([[Template talk:bmbox|t]]) | list2 = {{tlx|tmbox}} ([[Template talk:tmbox|t]]) | list3 = {{tlx|imbox}} ([[Template talk:imbox|t]]) | list4 = {{tlx|cmbox}} ([[Template talk:cmbox|t]]) | list5 = {{tlx|ombox}} (Template talk:o..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Navbox
| navbar = off
| name = Mbox templates
| state = off
| style = width: auto; float: right; margin: 0em 0em 0em 1em;
| title = Message box <br> meta-templates
| list1 = {{tlx|bmbox}} ([[Template talk:bmbox|t]])
| list2 = {{tlx|tmbox}} ([[Template talk:tmbox|t]])
| list3 = {{tlx|imbox}} ([[Template talk:imbox|t]])
| list4 = {{tlx|cmbox}} ([[Template talk:cmbox|t]])
| list5 = {{tlx|ombox}} ([[Template talk:ombox|t]])
| list6 = {{tlx|mbox}} ([[Template talk:mbox|t]])
| list7 = {{tlx|fmbox}} ([[Template talk:fmbox|t]])
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
fel0b4s3cjhqen0mq1t1faehyibjseg
ਫਰਮਾ:Mbox templates/doc
10
2866
5536
2023-03-24T06:57:16Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{mbox templates}} This is the {{tl|mbox templates}} template. It is a small navbox used at the top of the documentation of templates in the mbox family. It takes no parameters. To the right is an example of how it looks on a documentation page like this. === See also === * {{tl|mbox templates see also}} – For the "See also" section of the doc..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{mbox templates}}
This is the {{tl|mbox templates}} template.
It is a small navbox used at the top of the documentation of templates in the mbox family. It takes no parameters.
To the right is an example of how it looks on a documentation page like this.
=== See also ===
* {{tl|mbox templates see also}} – For the "See also" section of the documentation of templates in the mbox family.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template namespace templates|{{PAGENAME}}]]
</includeonly>
p3hcxv0a2ohk9bi7vovpy4dtfk81ahw
ਫਰਮਾ:Mbox templates see also
10
2867
5537
2023-03-24T06:57:39Z
Kuldeepburjbhalaike
1880
"There are several meta-templates in the mbox family: * {{tl|ambox}} – For article message boxes. * {{tl|tmbox}} – For talk page message boxes. * {{tl|imbox}} – For file (image) page message boxes. * {{tl|cmbox}} – For category message boxes. * {{tl|ombox}} – For other pages message boxes. * {{tl|mbox}} – Has namespace detection, for message boxes that are used on several types of pages and thus need to change style depending on what pa..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
There are several meta-templates in the mbox family:
* {{tl|ambox}} – For article message boxes.
* {{tl|tmbox}} – For talk page message boxes.
* {{tl|imbox}} – For file (image) page message boxes.
* {{tl|cmbox}} – For category message boxes.
* {{tl|ombox}} – For other pages message boxes.
* {{tl|mbox}} – Has namespace detection, for message boxes that are used on several types of pages and thus need to change style depending on what page they are used on.
Closely related meta-templates:
* {{tl|fmbox}} – For header and footer message boxes.
<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
29wgknr00n4kr0o57cvehyyepouq9wn
ਫਰਮਾ:Mbox templates see also/doc
10
2868
5538
2023-03-24T06:58:10Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|mbox templates see also}} template. It is used in the "See also" section of the documentation of templates in the mbox family, such as {{tl|ambox}}. It takes no parameters. === See also === * {{tl|mbox templates}} - Small navbox used at the top of the mbox documentation pages. <includeonly> <!-- CATEGORIES AND INTERWIKIS HERE, T..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|mbox templates see also}} template.
It is used in the "See also" section of the documentation of templates in the mbox family, such as {{tl|ambox}}. It takes no parameters.
=== See also ===
* {{tl|mbox templates}} - Small navbox used at the top of the mbox documentation pages.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template namespace templates|{{PAGENAME}}]]
</includeonly>
2inj8lanqxufnz41124z08obmsdn6y6
ਫਰਮਾ:Mbox/doc
10
2869
5539
2023-03-24T06:59:16Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{high-risk|7,200+}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{mbox templates}} This is the {{tl|mbox}} or '''multi namespace message box''' meta-template. This meta-template is used to build message box templates that are used on several types of pages and thus need to change style depending on what page they are used on. Based on page type detected it uses one of {{tl|ambox}}, {{tl|tmb..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{high-risk|7,200+}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{mbox templates}}
This is the {{tl|mbox}} or '''multi namespace message box''' meta-template.
This meta-template is used to build message box templates that are used on several types of pages and thus need to change style depending on what page they are used on. Based on page type detected it uses one of
{{tl|ambox}}, {{tl|tmbox}}, {{tl|imbox}}, {{tl|cmbox}} and {{tl|ombox}}.
Note that this template should only be used for message boxes that really need to adapt their style. Most message boxes do not need this and should use one of {{tl|ambox}}, {{tl|tmbox}}, {{tl|imbox}}, {{tl|cmbox}} or {{tl|ombox}} directly. Using those templates directly means that your template will look the same on its template page and at any other place you show it, which makes it clear on what kind of pages it is supposed to be used. It also gives you access to any extra features those templates offer, and it saves some server load.
=== Usage ===
This template takes the same parameters as {{tl|ambox}} and {{tl|imbox}} etc. See full documentation there.
Some of the boxes this template calls only handles images of max 52px width, thus that limitation also applies to this template or you will get ugly padding problems.
=== Demospace ===
This template optionally takes the "demospace" parameter as described at {{tl|namespace detect}}. That parameter is only for testing and demonstration purposes. If you want to lock your message box to one style then instead use one of the other mboxes directly.
Namespace "Image:" was renamed to "File:" on 11 December 2008. This template was updated to understand both names well before that, thus it still works fine. For backwards compatibility it still understands "demospace = image" which means the same thing as "demospace = file". But using "demospace = image" is now deprecated.
This template uses the {{tl|ambox}} style on "Wikijunior:" and "Cookbook:" pages or when "demospace=wikijunior" or when "demospace=cookbook". And it uses the {{tl|tmbox}} style on "Wikijunior talk:" and "Cookbook talk:" pages or when "demospace=talk". Note that "demospace=talk" means any talk space, there is no "demospace=wikijunior talk" or "demospace=cookbook talk".
=== Parameters ===
List of all parameters:
<pre>
{{mbox
| demospace = {{{demospace|}}} / main / talk / file / category / other
| type = speedy / delete / content / style / notice / move / protection
| image = none / [[File:Some image.svg|40px]]
| imageright = [[File:Some image.svg|40px]]
| style = CSS values
| textstyle = CSS values
| text = The message body text.
| small = {{{small|}}} / left / yes
| smallimage = none / [[File:Some image.svg|30px]]
| smallimageright = none / [[File:Some image.svg|30px]]
| smalltext = A shorter message body text.
}}
</pre>
Note: The small parameters only have effect when the template is on an article, talk page or an "other" page. For documentation on the small parameters see {{tl|ambox}}, {{tl|tmbox}}, and {{tl|ombox}}. Using the small parameters when they are not valid has no effect, but also does no harm.
__NOTOC__
=== See also ===
{{Mbox templates see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Metatemplates|{{PAGENAME}}]]
[[Category:Exclude in print|{{PAGENAME}}]]
</includeonly>
pmy4uruitjx4e0teljq5gajffvtdvhc
ਫਰਮਾ:Ombox/doc
10
2870
5540
2023-03-24T07:01:18Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} {{high-risk|1,000+}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{mbox templates}} This is the {{tl|ombox}} or '''other pages message box''' meta-template. It is used to build message box templates for pages of the types: User, Wikibooks, MediaWiki, Template, Help, Subject, and any new future namespaces. That is, page types not covered by {{tl|ambox}}, {{tl|tmbox}}, {{tl|imbox}} or {{tl|cmbo..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
{{high-risk|1,000+}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{mbox templates}}
This is the {{tl|ombox}} or '''other pages message box''' meta-template.
It is used to build message box templates for pages of the types: User, Wikibooks, MediaWiki, Template, Help, Subject, and any new future namespaces. That is, page types not covered by {{tl|ambox}}, {{tl|tmbox}}, {{tl|imbox}} or {{tl|cmbox}}. Thus it should ''not'' be used for boxes for articles, talk pages, image pages or category pages.
This template works almost exactly like {{tl|ambox}} and uses the same parameters.
=== Usage ===
Simple usage example:
<pre>
{{ombox | text = Some text.}}
</pre>
{{ombox | text = Some text.}}
Complex example:
<pre>
{{ombox
| type = style
| image = [[File:Emblem-question-yellow.svg|40px|link=]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
</pre>
{{ombox
| type = style
| image = [[File:Emblem-question-yellow.svg|40px|link=]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
=== Other pages message box types ===
The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type.
{{ombox
| type = speedy
| text = type=<u>speedy</u> – Speedy deletion templates.
}}
{{ombox
| type = delete
| text = type=<u>delete</u> – Deletion templates.
}}
{{ombox
| type = content
| text = type=<u>content</u> – Major warnings and problems.
}}
{{ombox
| type = style
| text = type=<u>style</u> – Minor warnings and problems.
}}
{{ombox
| type = notice
| text = type=<u>notice</u> – Notices and messages of any kind, both permanent and temporary.
}}
{{ombox
| type = move
| text = type=<u>move</u> – Merge, split, rename and transwiki messages and proposals.
}}
{{ombox
| type = protection
| text = type=<u>protection</u> – Protection templates when shown on "other pages".
}}
=== Examples ===
Some examples using the "notice" style:
{{ombox
| text = No type and no image given ('''default''')
}}
{{ombox
| image = none
| text = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area.
}}
{{ombox
| image = [[Image:Gnome globe current event.svg|42px]]
| imageright = [[Image:Nuvola apps bookcase.svg|40px]]
| text = image = <nowiki>[[Image:Gnome globe current event.svg|42px]]</nowiki> <br /> imageright = <nowiki>[[Image:Nuvola apps bookcase.svg|40px]]</nowiki>
}}
{{ombox
| type = notice
| image = [[Image:Blue check.svg|30px]]
| text =
'''This page documents an official [[Wikibooks:Policies and guidelines|Wikibooks policy]]''' that the Wikibooks community has accepted and Wikibookians '''must follow'''. Except for minor edits, please make use of the [[{{TALKPAGENAME}}|discussion page]] to propose changes to this policy.
}}
{{ombox
| type = notice
| image = [[Image:Nutshell.png|30px]]
| text =
'''This page in a nutshell:''' This template is used to build message boxes for all pages that are ''not'' book pages, talk pages, image pages or category pages.
}}
=== Parameters ===
List of all parameters:
<pre>
{{ombox
| type = speedy / delete / content / style / notice / move / protection
| image = none / [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| style = CSS values
| textstyle = CSS values
| text = The message body text.
| small = {{{small|}}} / yes
| smallimage = none / [[Image:Some image.svg|30px]]
| smallimageright = none / [[Image:Some image.svg|30px]]
| smalltext = A shorter message body text.
}}
</pre>
'''type'''
:If no '''type''' parameter is given the template defaults to type '''notice'''. That means it gets a gray border.
'''image'''
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>image = [[Image:Crystal package settings.png|40px]]</nowiki></code>
:'''none''' = Means that no image is used.
'''imageright'''
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|40px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
'''style'''
:Optional [[Cascading Style Sheets|CSS]] values used by the entire message box table. Without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>. For example:
::<code>style = margin-bottom: 0.5em;</code>
'''textstyle'''
:Optional [[Cascading Style Sheets|CSS]] values used by the text cell. For example:
::<code>textstyle = text-align: center;</code>
'''text'''
:The message body text.
==== The small parameters ====
{{ombox
| small = yes
| text = small = yes
}}
{{ombox
| type = style
| small = yes
| text = type = style <br /> small = yes
}}
'''small'''
:'''yes''' = Makes it a smaller right floating message box. This also makes the default images smaller. Note that any data fed to the '''smallimage''', '''smallimageright''' and '''smalltext''' parameters is only used if "small=yes". To make it so your template also understands the small parameter you can use this code:
::<code><nowiki>small = {{{small|}}}</nowiki></code>
{{ombox
| small = yes
| image = [[Image:Replacement filing cabinet.svg|50px]]
| smallimage = [[Image:Replacement filing cabinet.svg|32px]]
| text =
small = yes <br> image = <nowiki>[[Image:Replacement filing cabinet.svg|50px]]</nowiki> <br> smallimage = <nowiki>[[Image:Replacement filing cabinet.svg|32px]]</nowiki>
}}
'''smallimage'''
:'''No parameter''' = If no '''smallimage''' parameter is given then this template falls back to use the '''image''' parameter. If the '''image''' parameter also is empty then a small default image is used.
:'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example:
::<code><nowiki>smallimage = [[Image:Replacement filing cabinet.svg|30px]]</nowiki></code>
:'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=yes".
{{ombox
| small = yes
| imageright = [[Image:Nuvola apps bookcase.png|50px]]
| smallimageright = none
| text =
small = yes <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.png|50px]]</nowiki> <br> smallimageright = none
}}
'''smallimageright'''
:'''No parameter''' = If no '''smallimageright''' parameter is given then this template falls back to use the '''imageright''' parameter. If the '''imageright''' parameter also is empty then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example:
::<code><nowiki>smallimageright = [[Image:Nuvola apps bookcase.png|30px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
:'''none''' = Means that no right side image is used. This overrides any image fed to '''imageright''', when "small=yes".
'''smalltext'''
:A shorter version of the message body text. If no '''smalltext''' parameter is given then this template falls back to use the '''text''' parameter.
=== Technical details ===
If you need to use special characters in the text parameter then you need to escape them like this:
<pre>
{{ombox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
</pre>
{{ombox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
This template uses the ombox CSS classes in [[MediaWiki:Common.css/Mboxes.css]] for most of its looks, thus it is fully skinnable.
This template calls {{tl|ombox/core}} which holds most of the code for {{tl|ombox}}, while {{tl|ombox}} itself does parameter preprocessing.
Internally this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
=== See also ===
{{Mbox templates see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Metatemplates|{{PAGENAME}}]]
</includeonly>
fkwez6473z7itgq8xzxqwloj7vxpc50
ਫਰਮਾ:Bmbox
10
2871
5542
2023-03-24T07:02:22Z
Kuldeepburjbhalaike
1880
"<!--{{Ambox}} begin-->{{#switch:{{{small|}}} | left = {{Ambox/core | small = left | type = {{{type|}}} | image = {{#if:{{{smallimage|}}} | {{{smallimage}}} | {{{image|}}} }} | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }} | style = {{{style|}}} | textstyle = {{{textsty..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<!--{{Ambox}} begin-->{{#switch:{{{small|}}}
| left =
{{Ambox/core
| small = left
| type = {{{type|}}}
| image = {{#if:{{{smallimage|}}}
| {{{smallimage}}}
| {{{image|}}}
}}
| imageright = {{#if:{{{smallimageright|}}}
| {{{smallimageright}}}
| {{{imageright|}}}
}}
| style = {{{style|}}}
| textstyle = {{{textstyle|}}}
| text = {{#if:{{{smalltext|}}}
| {{{smalltext}}}
| {{{text}}}
}}
}}
| #default =
{{Ambox/core
| type = {{{type|}}}
| image = {{{image|}}}
| imageright = {{{imageright|}}}
| style = {{{style|}}}
| textstyle = {{{textstyle|}}}
| text = {{{text}}}
}}
}}<!--{{Ambox}} end--><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
71dedvqsi5zx5gybeme7bvom2cuhqki
ਫਰਮਾ:Bmbox/doc
10
2872
5543
2023-03-24T07:02:51Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{template shortcut|ambox}} {{mbox templates}} This is the {{tl|bmbox}} or '''book message box''' meta-template. It is used to build ''article message box'' templates. It offers several different colors, uses default images if no image parameter is given and it has some other features. This meta-template uses the ambox CSS classes in MediaWiki:Co..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{template shortcut|ambox}}
{{mbox templates}}
This is the {{tl|bmbox}} or '''book message box''' meta-template.
It is used to build ''article message box'' templates. It offers several different colors, uses default images if no image parameter is given and it has some other features.
This meta-template uses the ambox CSS classes in [[MediaWiki:Common.css/Mboxes.css]]. The classes can also be used directly in a [[w:Help:Table|wikitable]] if special functionality is needed. See the [[w:Wikipedia:Ambox CSS classes|how-to guide]] for that.
=== Usage ===
Simple usage example:
<pre>
{{bmbox | text = Some text.}}
</pre>
{{bmbox | text = Some text.}}
Complex example:
<pre>
{{bmbox
| type = style
| small = left
| image = [[Image:Emblem-question-yellow.svg|40px]]
| smallimage = [[Image:Emblem-question-yellow.svg|20px]]
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = Text for a big box, for the top of articles.
| smalltext = Text for the top of article sections.
}}
</pre>
{{bmbox
| type = style
| small = left
| image = [[Image:Emblem-question-yellow.svg|40px]]
| smallimage = [[Image:Emblem-question-yellow.svg|20px]]
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = Text for a big box, for the top of articles.
| smalltext = Text for the top of article sections.
}}
But you are not really supposed to use red bold italic text.
=== Page message box types ===
The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type.
{{bmbox
| type = speedy
| text = type=<u>speedy</u> – Speedy deletion issues.
}}
{{bmbox
| type = delete
| text = type=<u>delete</u> – Deletion issues.
}}
{{bmbox
| type = content
| text = type=<u>content</u> – Content issues.
}}
{{bmbox
| type = style
| text = type=<u>style</u> – Style issues.
}}
{{bmbox
| type = notice
| text = type=<u>notice</u> – Page notices.
}}
{{bmbox
| type = move
| text = type=<u>move</u> – Merge, split and transwiki proposals.
}}
{{ambox
| type = protection
| text = type=<u>protection</u> – Protection notices.
}}
=== Other images ===
The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the '''image''' parameter to specify an image other than the default images.
{{bmbox
| type = content
| image = [[Image:Unbalanced scales.svg|40px]]
| text = type = content <br> image = <nowiki>[[Image:Unbalanced scales.svg|40px]]</nowiki> <br> This image is often used for {{tl|POV}} and similar issues.
}}
{{bmbox
| type = move
| image = [[Image:Merge-arrows.svg|50px]]
| text = type = move <br> image = <nowiki>[[Image:Merge-arrows.svg|50px]]</nowiki> <br> This image is used for {{tl|merge}} etc.
}}
=== More examples ===
Some other parameter combinations.
{{ambox
| text = No type and no image given ('''default''')
}}
{{bmbox
| image = none
| text = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area.
}}
{{bmbox
| image = [[Image:Gnome globe current event.svg|42px]]
| imageright = [[Image:Nuvola apps bookcase.svg|40px]]
| text = image = <nowiki>[[Image:Gnome globe current event.svg|42px]]</nowiki> <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.svg|40px]]</nowiki>
}}
=== Parameters ===
List of all parameters:
<pre>
{{bmbox
| type = speedy / delete / content / style / notice / move / protection
| image = none / [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| style = CSS values
| textstyle = CSS values
| text = The message body text.
| small = {{{small|}}} / left
| smallimage = none / [[Image:Some image.svg|20px]]
| smallimageright = none / [[Image:Some image.svg|20px]]
| smalltext = A shorter message body text.
}}
</pre>
'''type'''
:If no '''type''' parameter is given the template defaults to type '''notice'''. That means it gets a blue side bar.
'''image'''
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (Images over 52 pixels width will cause padding problems.) For example:
::<code><nowiki>image = [[Image:Unbalanced scales.svg|40px]]</nowiki></code>
:'''none''' = Means that no image is used.
:<s>'''blank'''</s> = This parameter is now deprecated. If you see it in use, change it to "image=none".
'''imageright'''
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (Images over 52 pixels width will cause padding problems.) For example:
::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|40px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
'''style'''
:Optional [[Cascading Style Sheets|CSS]] values used by the entire message box table. Without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>. For example:
::<code>style = margin-bottom: 0.5em;</code>
'''textstyle'''
:Optional [[Cascading Style Sheets|CSS]] values used by the text cell. For example:
::<code>textstyle = text-align: center;</code>
'''text'''
:The message body text.
==== The small parameters ====
The small article message boxes are meant for the top of sections. Normally they should only contain one or two lines of text.
{{bmbox
| small = left
| text = small = yes
}}
{{bmbox
| type = style
| small = left
| text = type = style <br> small = left
}}
'''small'''
:'''left''' = Makes it a smaller left aligned message box. This also makes the default images smaller. Note that any data fed to the '''smallimage''', '''smallimageright''' and '''smalltext''' parameters is only used if "small=left". To make it so your template also understands the small parameter you can use this code:
::<code><nowiki>small = {{{small|}}}</nowiki></code>
{{bmbox
| small = left
| image = [[File:Gnome globe current event.svg|50px]]
| smallimage = [[File:Gnome globe current event.svg|25px]]
| text =
small = left <br> image = <nowiki>[[Image:Replacement filing cabinet.svg|50px]]</nowiki> <br> smallimage = <nowiki>[[Image:Replacement filing cabinet.svg|25px]]</nowiki>
}}
'''smallimage'''
:'''No parameter''' = If no '''smallimage''' parameter is given then this template falls back to use the '''image''' parameter. If the '''image''' parameter also is empty then a small default image is used.
:'''An image''' = Should be an image with usual wiki notation. 20px width is usually about right for boxes with one line of text, while 25px width is usually about right for boxes with two lines of text. For example:
::<code><nowiki>smallimage = [[File:Gnome globe current event.svg|20px]]</nowiki></code>
:'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=left".
{{bmbox
| small = left
| imageright = [[File:Gnome globe current event.svg|50px]]
| smallimageright = none
| text =
small = yes <br> imageright = <nowiki>[[File:Gnome globe current event.svg|50px]]</nowiki> <br> smallimageright = none
}}
'''smallimageright'''
:'''No parameter''' = If no '''smallimageright''' parameter is given then this template falls back to use the '''imageright''' parameter. If the '''imageright''' parameter also is empty then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 20px - 25px width is usually about right. For example:
::<code><nowiki>smallimageright = [[Image:Nuvola apps bookcase.png|20px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
:'''none''' = Means that no right side image is used. This overrides any image fed to '''imageright''', when "small=left".
'''smalltext'''
:A shorter version of the message body text. If no '''smalltext''' parameter is given then this template falls back to use the '''text''' parameter.
=== Technical details ===
If you need to use special characters in the text parameter then you need to escape them like this:
<pre>
{{bmbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe &#124; and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
</pre>
{{bmbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe | and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
The <code><div></code> tags that surround the text in the example above are usually not needed. But if the text contains line breaks then sometimes we get weird line spacing. This especially happens when using vertical dotted lists. Then use the div tags to fix that.
This template uses CSS classes in [[MediaWiki:Common.css/Mboxes.css]] for most of its looks, thus it is fully skinnable.
This template calls {{tl|ambox/core}} which holds most of the code for {{tl|ambox}}, while {{tl|ambox}} itself does parameter preprocessing.
Internally this meta-template uses HTML wikimarkup instead of wikimarkup for the table code. That is the usual way we make meta-templates since wikimarkup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and some special characters in parameters.
=== See also ===
{{Mbox templates see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Metatemplates|{{PAGENAME}}]]
[[Category:Exclude in print|{{PAGENAME}}]]
</includeonly>
8n9l4kzkgr9diplfoz4ulmngqg8vdpi
ਫਰਮਾ:Bmbox/core
10
2873
5545
2023-03-24T07:03:49Z
Kuldeepburjbhalaike
1880
"<table class="metadata plainlinks ambox {{#switch:{{{small|}}} | left = mbox-small-left }} {{#switch:{{{type|}}} | speedy = ambox-speedy | delete = ambox-delete | content = ambox-content | style = ambox-style | move = ambox-move | protection = ambox-protection | notice <!-- notice = default --> | #default = ambox-notice }}" style="{{{style|}}}"> <tr> {{#switch:{{{image|}}} | blank <!-- Fall back to "none", since depr..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<table class="metadata plainlinks ambox {{#switch:{{{small|}}}
| left = mbox-small-left
}} {{#switch:{{{type|}}}
| speedy = ambox-speedy
| delete = ambox-delete
| content = ambox-content
| style = ambox-style
| move = ambox-move
| protection = ambox-protection
| notice <!-- notice = default -->
| #default = ambox-notice
}}" style="{{{style|}}}">
<tr>
{{#switch:{{{image|}}}
| blank <!-- Fall back to "none", since deprecated. -->
| none = <td class="mbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
| #default =
<td class="mbox-image">{{
#switch:{{{small|}}}
| left = <!-- Don't use the DIV -->
| #default = <div style="width: 52px;">
}}
{{#if:{{{image|}}}
| {{{image}}}
| [[File:{{#switch:{{{type|}}}
| speedy = Ambox warning pn.svg
| delete = Ambox warning pn.svg
| content = Book important2.svg
| style = Edit-clear.svg
| move = Merge-split-transwiki default.svg
| protection = Padlock-silver-medium.svg
| notice <!-- notice = default -->
| #default = Information icon4.svg
}} | {{#switch:{{{small|}}}
| left = 20x20px
| #default = 40x40px
}} |link=|alt=]]
}}{{#switch:{{{small|}}}
| left = <!-- Don't use the /DIV -->
| #default = </div>
}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| <!-- No image. -->
| <td class="mbox-imageright">{{#switch:{{{small|}}}
| left = {{{imageright}}}
| #default = <div style="width: 52px;"> {{{imageright}}} </div>
}}</td>
}}
}}
</tr>
</table><!--
Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| speedy
| delete
| content
| style
| move
| protection
| notice = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
tb1vy56jqr2f8rxcta3c3zxkitwyn88
ਫਰਮਾ:Bmbox/core/doc
10
2874
5546
2023-03-24T07:04:15Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|bmbox/core}} sub-template. Do not use this template directly, use {{tl|bmbox}} instead. This template is called from {{tl|bmbox}}. It holds almost all of the code for {{tl|bmbox}}, while {{tl|bmbox}} does parameter preprocessing. Thus simplifying the code in {{tl|bmbox/core}}. For more documentation see {{tl|bmbox}}. <includeonl..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|bmbox/core}} sub-template.
Do not use this template directly, use {{tl|bmbox}} instead.
This template is called from {{tl|bmbox}}. It holds almost all of the code for {{tl|bmbox}}, while {{tl|bmbox}} does parameter preprocessing. Thus simplifying the code in {{tl|bmbox/core}}.
For more documentation see {{tl|bmbox}}.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template subpages|{{PAGENAME}}]]
</includeonly>
e5dbskbsrfzcevuo121fxepl27avhh8
ਫਰਮਾ:Ombox/Shortcut
10
2875
5547
2023-03-24T07:06:15Z
Kuldeepburjbhalaike
1880
"<table class="shortcutbox noprint" style="float:right; border:1px solid #aaaaaa; background:#ffffff; margin:0em 0em 0em 1em; padding:3px; text-align:center; line-height:1.1em"><tr><th style="border:none; background:transparent;"><!-- Putting anchors on page: -->{{#if:{{{1|}}}|<span id="{{{1|}}}"></span> }}{{#if:{{{2|}}}|<span id="{{{2|}}}"></span> }}{{#if:{{{3|}}}|<span id="{{{3|}}}"></span> }}{{#if:{{{4|}}}|<span id="{{{4|}}}"></span> }}{{#if:{{..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<table class="shortcutbox noprint" style="float:right; border:1px solid #aaaaaa; background:#ffffff; margin:0em 0em 0em 1em; padding:3px; text-align:center; line-height:1.1em"><tr><th style="border:none; background:transparent;"><!--
Putting anchors on page:
-->{{#if:{{{1|}}}|<span id="{{{1|}}}"></span> }}{{#if:{{{2|}}}|<span id="{{{2|}}}"></span> }}{{#if:{{{3|}}}|<span id="{{{3|}}}"></span> }}{{#if:{{{4|}}}|<span id="{{{4|}}}"></span> }}{{#if:{{{5|}}}|<span id="{{{5|}}}"></span> }}<!--
Adding the shortcut links:
--><small>[[Wikibooks:Shortcuts|Shortcut{{#if:{{{2|}}}|s}}]]: {{#if:{{{1|}}}|<br /> [[{{{1}}}]] }}{{#if:{{{2|}}}|<br /> [[{{{2}}}]] }}{{#if:{{{3|}}}|<br /> [[{{{3}}}]] }}{{#if:{{{4|}}}|<br /> [[{{{4}}}]] }}{{#if:{{{5|}}}|<br /> [[{{{5}}}]] }}</small></table><noinclude>{{documentation}}</noinclude>
boyzadpv1ns6n28pm44nvpvxa432hm1
ਫਰਮਾ:Ombox/Shortcut/doc
10
2876
5548
2023-03-24T07:06:41Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <includeonly> [[Category:Template subpages|{{PAGENAME}}]] </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<includeonly>
[[Category:Template subpages|{{PAGENAME}}]]
</includeonly>
opba5vb58jesfv9vuaqs2kg664iwg70
ਫਰਮਾ:Ombox/core/doc
10
2877
5549
2023-03-24T07:08:07Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|ombox/core}} sub-template. Do not use this template directly, use {{tl|ombox}} instead. This template is called from {{tl|ombox}}. It holds most of the code for {{tl|ombox}}, while {{tl|ombox}} does parameter preprocessing. Thus simplifying the code in {{tl|ombox/core}}. For more documentation see {{tl|ombox}}. <includeonly> <!..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|ombox/core}} sub-template.
Do not use this template directly, use {{tl|ombox}} instead.
This template is called from {{tl|ombox}}. It holds most of the code for {{tl|ombox}}, while {{tl|ombox}} does parameter preprocessing. Thus simplifying the code in {{tl|ombox/core}}.
For more documentation see {{tl|ombox}}.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template subpages|{{PAGENAME}}]]
</includeonly>
8vi4vp9jerq4qgy3hblfqvn040oug8z
ਫਰਮਾ:Anchor
10
2878
5550
2023-03-24T07:10:05Z
Kuldeepburjbhalaike
1880
"{{#if: {{{1|}}}|<span id="{{anchorencode:{{{1|}}}}}"></span><!-- -->{{#if: {{{2|}}}|<span id="{{anchorencode:{{{2|}}}}}"></span><!-- -->{{#if: {{{3|}}}|<span id="{{anchorencode:{{{3|}}}}}"></span><!-- -->{{#if: {{{4|}}}|<span id="{{anchorencode:{{{4|}}}}}"></span><!-- -->{{#if: {{{5|}}}|<span id="{{anchorencode:{{{5|}}}}}"></span><!-- -->{{#if: {{{6|}}}|<span id="{{anchorencode:{{{6|}}}}}"></span><!-- -->{{#if: {{{7|}}}|<span id="{{anchorencode:{{..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#if: {{{1|}}}|<span id="{{anchorencode:{{{1|}}}}}"></span><!--
-->{{#if: {{{2|}}}|<span id="{{anchorencode:{{{2|}}}}}"></span><!--
-->{{#if: {{{3|}}}|<span id="{{anchorencode:{{{3|}}}}}"></span><!--
-->{{#if: {{{4|}}}|<span id="{{anchorencode:{{{4|}}}}}"></span><!--
-->{{#if: {{{5|}}}|<span id="{{anchorencode:{{{5|}}}}}"></span><!--
-->{{#if: {{{6|}}}|<span id="{{anchorencode:{{{6|}}}}}"></span><!--
-->{{#if: {{{7|}}}|<span id="{{anchorencode:{{{7|}}}}}"></span><!--
-->{{#if: {{{8|}}}|<span id="{{anchorencode:{{{8|}}}}}"></span><!--
-->{{#if: {{{9|}}}|<span id="{{anchorencode:{{{9|}}}}}"></span><!--
-->{{#if: {{{10|}}}|<span id="{{anchorencode:{{{10|}}}}}"></span><!--
-->{{#if: {{{11|}}}|<span class="error">[[Template:Anchor]] (or Anchors): too many anchors, maximum is 10.</span><!--
-->}} }} }} }} }} }} }} }} }} }} }}<noinclude>
{{Documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
gsa6yziysxggkwvxym4to010ihs2mso
ਫਰਮਾ:Anchor/doc
10
2879
5551
2023-03-24T07:10:32Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{TOCright}} The template {{tl|anchor}} inserts one or more [[w:HTML element#Anchor|HTML anchor]]s in a page. Those locations can then be linked to using <code><nowiki>[[#link|...]]</nowiki></code> syntax. ===Examples=== 1. <code style="color:green;"><nowiki>{{</nowiki>{{lc:{{BASEPAGENAME}}}}|foo<nowiki>}}</nowiki></code> : could be linked to with..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{TOCright}}
The template {{tl|anchor}} inserts one or more [[w:HTML element#Anchor|HTML anchor]]s in a page. Those locations can then be linked to using <code><nowiki>[[#link|...]]</nowiki></code> syntax.
===Examples===
1. <code style="color:green;"><nowiki>{{</nowiki>{{lc:{{BASEPAGENAME}}}}|foo<nowiki>}}</nowiki></code>
: could be linked to with <tt><nowiki>[[#foo|...]]</nowiki></tt> from within the same page,
: or it could be linked to with <tt><nowiki>[[</nowiki>''<small>pagename</small>''#foo|...<nowiki>]]</nowiki></tt> from other pages and from redirects.
2. Anchors can be more suitable for inter-page linking than section titles are. For example,
:<code style="color:green;"><nowiki>=={{</nowiki>{{lc:{{BASEPAGENAME}}}}|foo<nowiki>}}</nowiki></code><code style="color:gray;"> Section title <nowiki>==</nowiki></code>
:Here, links via <tt><nowiki>[[</nowiki>''articlename''#foo<nowiki>]]</nowiki></tt> would remain valid even if the section were renamed.
3. The template can be used to create up to ten anchors with a single call. For example,
: <code style="color:green;"><nowiki>{{</nowiki>{{lc:{{BASEPAGENAME}}}}|foo|bar|baz<nowiki>}}</nowiki></code>
:will create three anchors that can then be linked to with <tt><nowiki>[[#foo]]</nowiki></tt>, <tt><nowiki>[[#bar]]</nowiki></tt> and <tt><nowiki>[[#baz]]</nowiki></tt>.
:Specifying more than 10 anchors will cause an error message to be displayed.
===Limitations===
* Anchor names that contain [[w:Number sign|#]] (hash), [[w:Vertical_bar||]] (pipe), [[w:Equals sign|=]] (equal) will not work as expected. Most other characters, including white space and punctuation are not a problem.
* The template can create a maximum of 10 anchors. Specifying more than 10 anchors will result in an error message.
* Putting each anchor name on separate lines, for example
:<code style="color:green;"><nowiki>{{</nowiki>{{lc:{{BASEPAGENAME}}}}</code>
:<code style="color:green;">|humpty<br />|dumpty<nowiki>}}</nowiki></code>
:will probably not work as expected.
* Anchor names should be unique on a page, and should not duplicate any heading titles. Duplicate anchors won't work as expected since the #links go to the first anchor with that name. Duplicate anchors also result in invalid HTML, so you can check for duplicate anchors by consulting the [[w:W3C Markup Validation Service|W3C Markup Validation Service]].
* If the template is added to a section title then the code will appear in the edit summary when that section is edited, as in <nowiki>"/* {{anchor|Issues}}Limitations */ New issue"</nowiki>. This can be fixed by deleting the template code from the edit summary before the changes are saved.
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
{{DEFAULTSORT:{{PAGENAME}}}}
[[Category:Internal link templates|{{PAGENAME}}]]
</includeonly>
kxe6srpx29417hansi8yeq10k2231k2
ਫਰਮਾ:TOC right
10
2880
5556
5552
2023-03-24T07:13:12Z
Kuldeepburjbhalaike
1880
Kuldeepburjbhalaike ਨੇ ਸਫ਼ਾ [[ਫਰਮਾ:TOCright]] ਨੂੰ [[ਫਰਮਾ:TOC right]] ’ਤੇ ਭੇਜਿਆ
wikitext
text/x-wiki
<includeonly>{| cellspacing="0" cellpadding="0" style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}
| __TOC__
|}</includeonly><noinclude>
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
hbm810ou4ws9ztlovubbe9ynofvbuy1
ਫਰਮਾ:TOC right/doc
10
2881
5554
5553
2023-03-24T07:12:38Z
Kuldeepburjbhalaike
1880
Kuldeepburjbhalaike ਨੇ ਸਫ਼ਾ [[ਫਰਮਾ:TOCright/doc]] ਨੂੰ [[ਫਰਮਾ:TOC right/doc]] ’ਤੇ ਭੇਜਿਆ
wikitext
text/x-wiki
<noinclude>{{Documentation subpage}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{TOC right}}
{{tl|TOC right}} forces the auto-generated Table of Contents for a page to appear in a table that is floated to the right side of the page, in order to improve page layout.
=== Usage ===
Insert <code>{{TOC right}}</code> at the point in the page where you want the top of the Table of Contents box to appear. Use with {{tl|-}} or {{tl|clear}} to prevent collision with text; use the '''clear''' parameter (see below) to prevent collision with images.
=== Parameters (optional) ===
;clear: Sets the [[Cascading Style Sheets|CSS]] clear property, which forces this float underneath the side specified with this attribute. So, <code>clear=right</code> (which is the default) will place the element after all the right floating elements before it. Options are <code>left</code>, <code>right</code>, <code>both</code>, or <code>none</code>.
;width: Set the CSS width.
;limit: Limits the depth of subheadings shown. For instance using <code>limit=4</code> will hide the fourth level and deeper subheadings in the hierarchy. And <code>limit=2</code> will hide all subheadings leaving only the main headings. This is implemented as a CSS class in the [[MediaWiki:Common.css/toc.css]].
* Avoid placing the TOC in a visually poor location. Crossing a section division is probably a poor idea.
* If the TOC is floated left of a bulleted list, the bullets will be hidden.
=== Cautions ===
Do not place this template so that the TOC aligns with a large image or infobox; this breaks the layout on narrow screens (even users with screens as wide as 1024px wide can have problems). Also, a TOC that crosses a section division is probably a poor idea, if that can be avoided.
Unless the section in which the {{tl|TOC right}} is placed is long enough, the result may well be undesirable.
It should only be used in cases where the TOC gets in the way of other content or is detrimental to the layout of the page. See [[Help:Editing#Floating the TOC]] for further guidelines.
=== See also ===
* {{tl|TOC}}
* {{tl|TOC left}}
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Table of contents templates|Right]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
9gnfvjws3it5e5sth5ig5mwysei9xjg
ਫਰਮਾ:TOCright/doc
10
2882
5555
2023-03-24T07:12:38Z
Kuldeepburjbhalaike
1880
Kuldeepburjbhalaike ਨੇ ਸਫ਼ਾ [[ਫਰਮਾ:TOCright/doc]] ਨੂੰ [[ਫਰਮਾ:TOC right/doc]] ’ਤੇ ਭੇਜਿਆ
wikitext
text/x-wiki
#ਰੀਡਿਰੈਕਟ [[ਫਰਮਾ:TOC right/doc]]
112ixpj2n8krusuzsbiukozo8rszhnp
ਫਰਮਾ:TOCright
10
2883
5557
2023-03-24T07:13:12Z
Kuldeepburjbhalaike
1880
Kuldeepburjbhalaike ਨੇ ਸਫ਼ਾ [[ਫਰਮਾ:TOCright]] ਨੂੰ [[ਫਰਮਾ:TOC right]] ’ਤੇ ਭੇਜਿਆ
wikitext
text/x-wiki
#ਰੀਡਿਰੈਕਟ [[ਫਰਮਾ:TOC right]]
4hzcs7z7zoy16tpjzmwu0iznr2to8w5
ਫਰਮਾ:TOC left
10
2884
5558
2023-03-24T07:13:41Z
Kuldeepburjbhalaike
1880
"<includeonly>{| cellspacing="0" cellpadding="0" style="clear: {{{clear|left}}}; margin-bottom: .5em; float: left; padding: .5em 1.4em .8em 0; background: none; width: {{{width|{{{1|auto}}}}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}} | __TOC__ |}</includeonly><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{| cellspacing="0" cellpadding="0" style="clear: {{{clear|left}}}; margin-bottom: .5em; float: left; padding: .5em 1.4em .8em 0; background: none; width: {{{width|{{{1|auto}}}}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}
| __TOC__
|}</includeonly><noinclude>
{{documentation}}
</noinclude>
t7fxjkq499qd0w6yfp6rsh6zmyiatd2
ਫਰਮਾ:TOC left/doc
10
2885
5559
2023-03-24T07:14:13Z
Kuldeepburjbhalaike
1880
"<noinclude>{{Documentation subpage}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{TOC left}} {{tl|{{BASEPAGENAME}}}} forces the auto-generated "Table of Contents" for a page to appear in a table that is floated to the left side of the page (as seen left), in order to improve page layout. === Usage === Insert <code>{{TOCleft}}</code> at the point in the page where you want the top of the Table of Content..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude>{{Documentation subpage}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{TOC left}}
{{tl|{{BASEPAGENAME}}}} forces the auto-generated "Table of Contents" for a page to appear in a table that is floated to the left side of the page (as seen left), in order to improve page layout.
=== Usage ===
Insert <code>{{TOCleft}}</code> at the point in the page where you want the top of the Table of Contents box to appear. Use with {{tl|-}} or {{tl|clear}} to prevent image collisions.
=== Cautions ===
Do not place this template so that the TOC aligns with a large image or infobox; this breaks the layout on narrow screens (even users with screens as wide as 1024px wide can have problems). Also, a TOC that crosses a section division is probably a poor idea, if that can be avoided.
Unless the section in which the {{tl|TOC left}} is placed is long enough, the result may well be undesirable.
It should only be used in cases where the TOC gets in the way of other content or is detrimental to the layout of the page. See [[Help:Editing#Floating the TOC]] for further guidelines.
===See also===
* {{tl|TOC}}
* {{tl|TOC right}}
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Table of contents templates|Left]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
lcrx3gwfdw8flirfj1ohhou1a8w7pa5
ਫਰਮਾ:Magic word templates/book page see also
10
2886
5560
2023-03-24T07:15:12Z
Kuldeepburjbhalaike
1880
"{{magic word templates/book page see also/core|{{{1|{{PAGENAME:{{OBJECTPAGENAME}}}}}}}}}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{magic word templates/book page see also/core|{{{1|{{PAGENAME:{{OBJECTPAGENAME}}}}}}}}}<noinclude>
{{documentation}}
</noinclude>
6ppd48wudr7e6ckf6tvhavbifd5k0j1
ਫਰਮਾ:Magic word templates/book page see also/doc
10
2887
5561
2023-03-24T07:15:39Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> === Usage === Transclude this on a template documentation page to produce a bulleted list of ''See also'' links to [[:Category:Magic word templates|magic word templates]] relating a page to its associated book, not including the current template. See for example [[Template:BOOKNAME/doc]]. An unnamed parameter..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
=== Usage ===
Transclude this on a template documentation page to produce a bulleted list of ''See also'' links to [[:Category:Magic word templates|magic word templates]] relating a page to its associated book, not including the current template. See for example [[Template:BOOKNAME/doc]].
An unnamed parameter can override the choice of which template to omit from the list.
=== Internals ===
The list is in subtemplate {{tl|{{PAGENAME:{{OBJECTPAGENAME}}}}/core}}; this template only chooses the template to omit and delegates there.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Magic word templates/documentation|{{SUBPAGENAME}}]]
</includeonly>
ndmco0d4yocdl5zugrkvz5i1c48ebz4
ਫਰਮਾ:Magic word templates/book page see also/core
10
2888
5562
2023-03-24T07:16:27Z
Kuldeepburjbhalaike
1880
"{{#ifeq:{{{1}}}|BOOKNAME||* {{tl|BOOKNAME}} — deduces full root name of book associated with the current page. }}{{#ifeq:{{{1}}}|BOOKPAGENAME||* {{tl|BOOKPAGENAME}} — deduces the part of page name after name of associated book. }}{{#ifeq:{{{1}}}|BOOKSORTKEY||* {{tl|BOOKSORTKEY}} — deduces usual sort key for use in book categories. }}{{#ifeq:{{{1}}}|BOOKTEMPLATE||* {{tl|BOOKTEMPLATE}} — deduces full root name for templates o..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#ifeq:{{{1}}}|BOOKNAME||* {{tl|BOOKNAME}} — deduces full root name of book associated with the current page.
}}{{#ifeq:{{{1}}}|BOOKPAGENAME||* {{tl|BOOKPAGENAME}} — deduces the part of page name after name of associated book.
}}{{#ifeq:{{{1}}}|BOOKSORTKEY||* {{tl|BOOKSORTKEY}} — deduces usual sort key for use in book categories.
}}{{#ifeq:{{{1}}}|BOOKTEMPLATE||* {{tl|BOOKTEMPLATE}} — deduces full root name for templates of book associated with the current page.
}}{{#ifeq:{{{1}}}|BOOKCATEGORY||* {{tl|BOOKCATEGORY}} — deduces full root name for categories of book associated with the current page.
}}{{#ifeq:{{{1}}}|BOOKTALKNAME||* {{tl|BOOKTALKNAME}} — deduces main talk page name of book associated with the current page.
}}{{#ifeq:{{{1}}}|CHAPTERNAME||* {{tl|CHAPTERNAME}} — deduces first field of page name after the book name.
}}{{#ifeq:{{{1}}}|NAIVEBOOKNAME||* {{tl|NAIVEBOOKNAME}} — page name without subpages and retaining the namespace.
}}<noinclude>
{{documentation}}
</noinclude>
ofdxduk1l8qzdp43aaelxo8b7ud4xsj
ਫਰਮਾ:Magic word templates/book page see also/core/doc
10
2889
5563
2023-03-24T07:16:58Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate of {{tl|magic word templates/book page see also}} contains the bulleted list; the parent template determines which template to omit. === Usage === The name of the template to omit is expected as unnamed parameter. <includeonly> <!-- Categories and interwikis go here, and interwikis also go on..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate of {{tl|magic word templates/book page see also}} contains the bulleted list; the parent template determines which template to omit.
=== Usage ===
The name of the template to omit is expected as unnamed parameter.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
50rthpt6ooe67f3wnt8zx7xwi4yc6zp
ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਬਿੰਦੂ
0
2890
5911
5655
2023-07-08T02:07:00Z
Kuldeepburjbhalaike
1880
/* ਅਭਿਆਸ */
wikitext
text/x-wiki
{{Navigate|Prev=ਧਾਰਨਾਵਾਂ|Curr=ਬਿੰਦੂ|Next=ਰੇਖਾਵਾਂ}}
ਇੱਕ '''ਬਿੰਦੂ''' ('''Point''') ਇੱਕ ਨੁਕਤਾ ਹੈ ਜੋ ਇੰਨਾ ਛੋਟਾ ਹੈ ਕਿ ਉਸਦੀ ਉਚਾਈ ਅਤੇ ਚੌੜਾਈ ਅਸਲ ਵਿੱਚ ਜ਼ੀਰੋ ਹੈ! ਇਹ ਬਹੁਤ ਛੋਟਾ ਲੱਗ ਸਕਦਾ ਹੈ। ਇੰਨਾ ਛੋਟਾ ਹੈ ਕਿ ਅਜਿਹੀ ਕੋਈ ਚੀਜ਼ ਅਸਲ ਵਿੱਚ ਮੌਜੂਦ ਨਹੀਂ ਹੋ ਸਕਦੀ। ਪਰ ਇਹ ਸੰਸਾਰ ਬਾਰੇ ਸਾਡੀ ਸੂਝ ਨਾਲ ਮੇਲ ਖਾਂਦਾ ਹੈ। ਭਾਵੇਂ ਸਾਡੇ ਆਲੇ ਦੁਆਲੇ ਭੌਤਿਕ ਸੰਸਾਰ ਦੀ ਹਰ ਚੀਜ਼ ਐਟਮਾਂ ਤੋਂ ਵੱਡੀਆਂ ਚੀਜ਼ਾਂ ਦੀ ਹੈ, ਫਿਰ ਵੀ ਇਹਨਾਂ ਪਰਮਾਣੂਆਂ ਦੇ ਕੇਂਦਰਾਂ, ਜਾਂ ਇਲੈਕਟ੍ਰੌਨਾਂ ਬਾਰੇ ਗੱਲ ਕਰਨਾ ਬਹੁਤ ਲਾਭਦਾਇਕ ਹੈ। ਇੱਕ ਬਿੰਦੂ ਨੂੰ ਨੁਕਤਿਆਂ ਦੀ ਸੀਮਾ ਮੰਨਿਆ ਜਾ ਸਕਦਾ ਹੈ ਜਿਸਦਾ ਆਕਾਰ ਘਟ ਰਿਹਾ ਹੈ।
{| style="width:100%; border-spacing:1em;"
|+ਤੁਸੀਂ ਇਹ ਜਾਣ ਕੇ ਹੈਰਾਨ ਹੋਵੋਗੇ ਕਿ ਇਹ ਬਿੰਦੂ ਨਹੀਂ ਹਨ:
|-
| [[File:Disc Plain black.svg|32px|center]]
|ਇਸ ਆਕਾਰ ਦਾ ਬਿੰਦੂ ਨਾ ਹੋਣ ਦਾ ਕਾਰਨ ਇਹ ਹੈ ਕਿ ਇਹ ਬਹੁਤ ਵੱਡਾ ਹੈ, ਇਸਦਾ ਖੇਤਰਫਲ ਹੈ। ਇਹ ਇੱਕ 'ਗੋਲ ਦਾਇਰਾ' ਹੈ।
|-
| [[File:Disc Plain black.svg|16px|center]]
|ਇਸ ਦੇ ਅੱਧੇ ਆਕਾਰ ਦਾ ਇੱਕ ਚੱਕਰ ਲੈਂਦੇ ਹੋਏ ਵੀ ਸਾਨੂੰ ਇੱਕ ਬਿੰਦੂ ਨਹੀਂ ਮਿਲਦਾ।
|-
| [[File:Disc Plain black.svg|8px|center]]
|ਅਤੇ ਇਹ ਵੀ ਬਹੁਤ ਵੱਡਾ ਹੈ ...
|}
ਇੱਕ ਬਿੰਦੂ ਇੰਨਾ ਛੋਟਾ ਹੈ ਕਿ ਜੇਕਰ ਅਸੀਂ ਇਹਨਾਂ ਬਿੰਦੀਆਂ ਦੇ ਆਕਾਰ ਨੂੰ 100, 1,000 ਜਾਂ 1,000,000 ਨਾਲ ਵੰਡਦੇ ਹਾਂ ਤਾਂ ਵੀ ਇਹ ਇੱਕ ਬਿੰਦੂ ਤੋਂ ਬਹੁਤ ਵੱਡਾ ਹੋਵੇਗਾ। ਇੱਕ ਬਿੰਦੂ ਨੂੰ ''ਅਨੰਤ ਛੋਟਾ'' ਮੰਨਿਆ ਜਾਂਦਾ ਹੈ। ਕਿਸੇ ਬਿੰਦੂ ਦੇ ਆਕਾਰ ਤੱਕ ਪਹੁੰਚਣ ਲਈ ਸਾਨੂੰ ਚੱਕਰ ਦੇ ਆਕਾਰ ਨੂੰ ਦੋ – ਨਾਲ ਵੰਡਦੇ ਰਹਿਣਾ ਚਾਹੀਦਾ ਹੈ।
ਇੱਕ ਬਿੰਦੂ ਦੀ ਕੋਈ ਲੰਬਾਈ, ਚੌੜਾਈ ਜਾਂ ਡੂੰਘਾਈ ਨਹੀਂ ਹੁੰਦੀ। ਅਸਲ ਵਿੱਚ, ਇੱਕ ਬਿੰਦੂ ਦਾ ਕੋਈ ਆਕਾਰ ਨਹੀਂ ਹੁੰਦਾ। ਇੱਕ ਬਿੰਦੂ ਉਪਯੋਗੀ ਹੋਣ ਲਈ ਬਹੁਤ ਛੋਟਾ ਜਾਪਦਾ ਹੈ। ਖੁਸ਼ਕਿਸਮਤੀ ਨਾਲ, ਜਿਵੇਂ ਕਿ ਅਸੀਂ [[{{BOOKNAME}}/ਲਾਈਨਾਂ|ਲਾਈਨਾਂ]] ਦੀ ਚਰਚਾ ਕਰਦੇ ਸਮੇਂ ਦੇਖਾਂਗੇ ਕਿ ਸਾਡੇ ਕੋਲ ਉਨ੍ਹਾਂ ਦੀ ਬਹੁਤਾਤ ਹੈ। ਕਿਸੇ ਬਿੰਦੂ ਨੂੰ ਇੱਕ ਟਿਕਾਣੇ ਦੇ ਤੌਰ 'ਤੇ ਸੋਚਣਾ ਸਭ ਤੋਂ ਵਧੀਆ ਹੋ ਸਕਦਾ ਹੈ, ਜਿਵੇਂ ਕਿ ਇੱਕ ਸਥਾਨ, ਜਿੱਥੇ ਦੋ ਲਾਈਨਾਂ ਇੱਕ ਦੂਜੇ ਨੂੰ ਪਾਰ ਕਰਦੀਆਂ ਹਨ।
ਇੱਕ ਬਿੰਦੂ ਨੂੰ ਇੱਕ ਅਨੰਤ ਛੋਟੇ ਬਿੰਦੂ ਵਜੋਂ ਕਿਉਂ ਪਰਿਭਾਸ਼ਿਤ ਕਰਦੇ ਹਾਂ? ਇੱਕ ਚੀਜ਼ ਲਈ ਇਸਦਾ ਇੱਕ ਬਹੁਤ ਹੀ ਸਟੀਕ ਸਥਾਨ ਹੈ, ਨਾ ਸਿਰਫ ਇੱਕ ਮੋਟੇ ਬਿੰਦੂ ਦਾ ਕੇਂਦਰ, ਬਲਕਿ ਬਿੰਦੂ ਵੀ। ਇੱਕ ਹੋਰ ਕਾਰਨ ਇਹ ਹੈ ਕਿ ਜੇਕਰ ਡਰਾਇੰਗ ਨੂੰ ਬਹੁਤ ਵੱਡਾ ਜਾਂ ਛੋਟਾ ਬਣਾਇਆ ਜਾਂਦਾ ਹੈ ਤਾਂ ਬਿੰਦੂ ਦਾ ਆਕਾਰ ਇੱਕੋ ਜਿਹਾ ਰਹਿੰਦਾ ਹੈ। ਇੱਕ ਬਿੰਦੂ ਜੋ ਇੱਕ ਅਨੰਤ ਤੌਰ 'ਤੇ ਛੋਟਾ ਬਿੰਦੂ ਹੈ, ਦੇਖਣ ਲਈ ਬਹੁਤ ਛੋਟਾ ਹੋਵੇਗਾ, ਇਸ ਲਈ ਸਾਨੂੰ ਦਿੱਸਣ ਵਾਲੀ ਇੱਕ ਵੱਡੀ ਆਮ ਬਿੰਦੀ ਦੀ ਵਰਤੋਂ ਕਰਨੀ ਚਾਹੀਦੀ ਹੈ, ਜਾਂ ਦੋ ਲਾਈਨਾਂ ਇਸ ਨੂੰ ਦਰਸਾਉਣ ਲਈ ਜੋ ਕਾਗਜ਼ 'ਤੇ ਇਸਦੇ ਅਨੁਮਾਨਿਤ ਸਥਾਨ ਨੂੰ ਦਰਸਾਉਂਦੀਆਂ ਹਨ।
ਜਦੋਂ ਅਸੀਂ ਕਿਸੇ ਬਿੰਦੂ ਨੂੰ ਨਾਮ ਦਿੰਦੇ ਹਾਂ, ਅਸੀਂ ਹਮੇਸ਼ਾ ਇੱਕ ਵੱਡੇ ਅੱਖਰ ਦੀ ਵਰਤੋਂ ਕਰਦੇ ਹਾਂ। ਜੇਕਰ ਅਸੀਂ ਕਰ ਸਕਦੇ ਹਾਂ ਤਾਂ ਅਕਸਰ ਅਸੀਂ "ਪੁਆਇੰਟ" ਲਈ <math>P</math> ਦੀ ਵਰਤੋਂ ਕਰਾਂਗੇ, ਅਤੇ ਜੇਕਰ ਇੱਕ ਤੋਂ ਵੱਧ ਬਿੰਦੂ ਹਨ, ਤਾਂ ਅਸੀਂ ਵਰਣਮਾਲਾ ਦੁਆਰਾ ਆਪਣੇ ਤਰੀਕੇ ਨਾਲ ਕੰਮ ਕਰਾਂਗੇ ਅਤੇ <math>Q</math>, <math>R</math>, ਦੀ ਵਰਤੋਂ ਕਰਾਂਗੇ ਅਤੇ ਹੋਰ। ਹਾਲਾਂਕਿ, ਅੱਜਕੱਲ੍ਹ ਬਹੁਤ ਸਾਰੇ ਲੋਕ ਆਪਣੀ ਪਸੰਦ ਦੇ ਕਿਸੇ ਵੀ ਅੱਖਰ ਨਾਲ ਸ਼ੁਰੂ ਕਰ ਸਕਦੇ ਹਨ, ਹਾਲਾਂਕਿ <math>P</math> ਅਜੇ ਵੀ ਸਭ ਤੋਂ ਵਧੀਆ ਤਰੀਕਾ ਹੈ।
ਜੇਕਰ ਕੁਝ ਬਿੰਦੂ ਇੱਕੋ ਲਾਈਨ 'ਤੇ ਹਨ, ਤਾਂ ਅਸੀਂ ਉਨ੍ਹਾਂ ਨੂੰ 'ਸਮਰੇਖੀ' ਕਹਿੰਦੇ ਹਾਂ। ਜੇ ਉਹ ਇੱਕੋ ਪਲੇਨ 'ਤੇ ਹਨ, ਤਾਂ ਉਹ 'ਕੋਪਲਾਨਰ' ਹਨ। ਦੋ ਬਿੰਦੂ ਹਮੇਸ਼ਾ ਇਕਸਾਰ ਹੁੰਦੇ ਹਨ। ਪਰ ਇੱਕ ਬਿੰਦੂ ਕਈ ਬਿੰਦੂਆਂ ਦੇ ਨਾਲ ਸਮਕਾਲੀ ਹੋ ਸਕਦਾ ਹੈ। ਦੋ ਤੋਂ ਤਿੰਨ ਬਿੰਦੂ ਹਮੇਸ਼ਾ ਕੋਪਲਾਨਰ ਹੁੰਦੇ ਹਨ। ਬੇਸ਼ੱਕ ਇਹ ਟੌਟੋਲੋਜੀਕਲ ਹੈ ਕਿਉਂਕਿ 'ਰੇਖਾ' ਦੀ ਪਰਿਭਾਸ਼ਾ 'ਦੋ ਜੁੜੇ ਬਿੰਦੂ' ਹੈ, ਅਤੇ 'ਪਲੇਨ' ਦੀ ਪਰਿਭਾਸ਼ਾ 'ਤਿੰਨ ਬਿੰਦੂਆਂ ਦੁਆਰਾ ਨਿਰਧਾਰਤ ਸਤਹ' ਹੈ।
== ਅਭਿਆਸ==
<quiz display=simple>
{ਹੇਠਾਂ ਦਿੱਤੇ ਵਿੱਚੋਂ ਕਿਹੜਾ ''ਬਿੰਦੂ'' ਕੋਲ ਹੁੰਦਾ ਹੈ?
|type="()"}
- ਲੰਬਾਈ
+ ਟਿਕਾਣਾ
- ਆਇਤਨ
- ਖੇਤਰਫਲ
{ਬਿੰਦੂਆਂ ਦਾ ਸੰਗ੍ਰਹਿ ''ਸਮਰੇਖੀ'' ਹੁੰਦਾ ਹੈ ਜੇਕਰ ਉਹ ਹਨ:
|type="()"}
- ਜੇਕਰ ਉਹ ਇੱਕੋ ਸਤਹ ਤੇ ਹੋਣ।
- ਜੇਕਰ ਉਹ ਇੱਕੋ ਗੋਲੇ ਤੇ ਹੋਣ।
+ ਜੇਕਰ ਉਹ ਇੱਕੋ ਰੇਖਾ ਤੇ ਹੋਣ।
{ਬਿੰਦੂਆਂ ਦਾ ਸੰਗ੍ਰਹਿ ''ਕੋਪਲਾਨਰ'' ਹੁੰਦਾ ਹੈ ਜੇਕਰ ਉਹ ਹਨ:
|type="()"}
+ ਜੇਕਰ ਉਹ ਇੱਕੋ ਸਮਤਲ ਸਤਹ ਤੇ ਹੋਣ।
- ਜੇਕਰ ਉਹ ਇੱਕੋ ਘਣ ਤੇ ਹੋਣ।
- ਜੇਕਰ ਉਹ ਇੱਕੋ ਸ਼ੰਕੂ ਤੇ ਹੋਣ।
</quiz>
mhqw0lz7nb3ci3nczewlkfig7fdlopo
ਫਰਮਾ:Shelves
10
2891
5574
2023-03-24T07:52:02Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#invoke:TScope|override|Subjects}}<!-- -->{{#ifeq:{{BOOKNAME}}|{{FULLPAGENAME}}|{{#switch:{{NAMESPACE}}|Wikijunior|= [[{{BOOKCATEGORY}}| ]] [[{{BOOKCATEGORY|Shelf:}}/Books{{#if:{{{1|}}}||/Unshelved}}|{{FULLPAGENAME}}]] }} |<!--{{color|red|'''<call {{tl|Shelves}} only from a book main page>'''}} -->}}<!-- -->{{#ifeq:{{BOOKPAGENAME}}||{{#invoke:TScope|map|Shelves/leaf}}}}<!-- --></includeonly><noinclude> {{documentation}} </n..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#invoke:TScope|override|Subjects}}<!--
-->{{#ifeq:{{BOOKNAME}}|{{FULLPAGENAME}}|{{#switch:{{NAMESPACE}}|Wikijunior|=
[[{{BOOKCATEGORY}}| ]]
[[{{BOOKCATEGORY|Shelf:}}/Books{{#if:{{{1|}}}||/Unshelved}}|{{FULLPAGENAME}}]]
}}
|<!--{{color|red|'''<call {{tl|Shelves}} only from a book main page>'''}}
-->}}<!--
-->{{#ifeq:{{BOOKPAGENAME}}||{{#invoke:TScope|map|Shelves/leaf}}}}<!--
--></includeonly><noinclude>
{{documentation}}
</noinclude>
9npbxub4zefi7tzrkoiqe8p0u5ho0tc
ਫਰਮਾ:Shelves/doc
10
2892
5575
2023-03-24T07:52:32Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template categorizes a book on one or more shelves in the [[{{BOOKNAME|Shelf:}}]], plus the book category. === Usage === Use this template only on the book's main page. Specify the names of the shelves as unnamed parameters, such as {{tlx|shelves|mathematics|science|''etc''}}. For non-shelf categories, such as descendants of..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template categorizes a book on one or more shelves in the [[{{BOOKNAME|Shelf:}}]], plus the book category.
=== Usage ===
Use this template only on the book's main page. Specify the names of the shelves as unnamed parameters, such as {{tlx|shelves|mathematics|science|''etc''}}.
For non-shelf categories, such as descendants of [[:Category:Books by type]], use template {{tl|categories}}.
On subpages of a book, use {{tl|BookCat}}.
=== Internals ===
This template is responsible for adding books to the hidden {{nowrap|[[Template:Shelf:Allbooks category|allbooks categories]]}}, which allow automatic generation of lists of books belonging either to a given shelf ''or to any of its sub-shelves''. When this template detects that it is being used on the main page of a book, for each shelf specified it calls {{tl|shelves/leaf}}, via [[Module:TScope#map]]. This is why this template should only be used for shelf categories: {{tl|shelves/leaf}} uses shelf pages to figure out which allbooks categories to add the book to, and if there are no shelf pages to consult, it reports the problem to {{nowrap|[[:{{BOOKCATEGORY|Shelf:}}/Attention needed]]}}. By using {{tl|categories}} for non-subject categories, one avoids nuisance reports to {{nowrap|[[:{{BOOKCATEGORY|Shelf:}}/Attention needed]]}}.
The book is also added to hidden [[:{{BOOKCATEGORY|Shelf:}}/Books]]; and, if no shelves are specified, to [[:{{BOOKCATEGORY|Shelf:}}/Books/Unshelved]].
If the template detects that it was called on a page that isn't the main page of a book, it does nothing.
This template can be induced to display diagnostic messages, explaining why it has put the page in {{nowrap|[[:{{BOOKCATEGORY|Shelf:}}/Attention needed]]}}, by specifying parameter <code>diagnose=true</code>.
=== See also ===
*{{tl|categories}} — adds book to non-subject categories
*{{tl|alphabetical}} — adds book to alphabetical classification
*{{tl|status}} — classifies book by completion status
*{{tl|BOOKNAME}} — Returns the name of the book including the namespace
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
{{BookCat|Template:Shelf:Shelves}}
</includeonly>
130dfce3dreecg3o6y08i9ko6ubd1hy
ਫਰਮਾ:Shelves/leaf
10
2893
5576
2023-03-24T07:53:24Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#invoke:TScope|override|Shelves/leaf2|{{ucfirst:{{{1}}}}}}}</includeonly><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#invoke:TScope|override|Shelves/leaf2|{{ucfirst:{{{1}}}}}}}</includeonly><noinclude>
{{documentation}}
</noinclude>
rfvhtdzazf8l47tcmjb0fg05qc6nelw
ਫਰਮਾ:Shelves/leaf/doc
10
2894
5577
2023-03-24T07:53:51Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This template handles an individual shelf listing of a book for {{tl|Shelves}}. === Usage === The name of the shelf is the first unnamed parameter. === Internals === This template puts the first letter of the shelf name in upper case, and delegates all other processing through [[Module:TScope#override]] to {{tl..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This template handles an individual shelf listing of a book for {{tl|Shelves}}.
=== Usage ===
The name of the shelf is the first unnamed parameter.
=== Internals ===
This template puts the first letter of the shelf name in upper case, and delegates all other processing through [[Module:TScope#override]] to {{tl|Shelves/leaf2}}.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
t7kzh0u3waq8ywcyov8mkyzfsyzmbrc
ਫਰਮਾ:Shelves/leaf2
10
2895
5578
2023-03-24T07:54:13Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#switch: 1 | {{#if:{{Shelf:Page?|{{{1}}}}}|0|1}} = {{color|red|'''<{{#ifexist:Shelf:{{{1}}} |Shelf "[[Shelf:{{{1}}}|{{{1}}}]]" is apparently not set up correctly, interfering with shelving this book. |{{#ifexist:Department:{{{1}}}|Can't file a book directly in ''department'' "{{{1}}}"; please choose a shelf within the department. |Shelf "{{{1}}}" not found.}} [[{{BOOKCATEGORY|Shelf:}}/Attention needed]] }}>'''}} |..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#switch: 1
| {{#if:{{Shelf:Page?|{{{1}}}}}|0|1}} = {{color|red|'''<{{#ifexist:Shelf:{{{1}}}
|Shelf "[[Shelf:{{{1}}}|{{{1}}}]]" is apparently not set up correctly, interfering with shelving this book.
|{{#ifexist:Department:{{{1}}}|Can't file a book directly in ''department'' "{{{1}}}"; please choose a shelf within the department. |Shelf "{{{1}}}" not found.}} [[{{BOOKCATEGORY|Shelf:}}/Attention needed]]
}}>'''}}
| {{#if:{{Shelf:Ancestry?|{{{1}}}}}|0|1}}
| {{#if:{{Shelf:Nonempty list?|{{:Shelf:{{{1}}}/ancestry|list}}}}|0|1}} = [[Category:Shelf:{{{1}}}]] [[Category:Shelf:{{{1}}}/all books]] {{color|red|'''<Shelf "{{{1}}}" appears to need some attention to its ancestry list; you can check on it [[Shelf:{{{1}}}|here]].>'''}}
| #default = [[Category:Shelf:{{{1}}}]] [[Category:Shelf:{{{1}}}/all books]] {{Shelf:Map|Shelves/ancestor|{{:Shelf:{{{1}}}/ancestry|list}}}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
iddu5qsscehnjm6qxe3nswyqwtlepy7
ਫਰਮਾ:Shelves/leaf2/doc
10
2896
5579
2023-03-24T07:54:54Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This template handles an individual shelf listing of a book for {{tl|Shelves}}, after slight preprocessing by {{tl|Shelves/leaf}}. === Usage === The name of the shelf is the first unnamed parameter. On entry here, the first letter of the shelf name is upper-case. === Internals === If there is a problem with th..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This template handles an individual shelf listing of a book for {{tl|Shelves}}, after slight preprocessing by {{tl|Shelves/leaf}}.
=== Usage ===
The name of the shelf is the first unnamed parameter. On entry here, the first letter of the shelf name is upper-case.
=== Internals ===
If there is a problem with the specified shelf or with its ancestry, this template prefers to display a message and do no categorization, leaving the shelf primarily responsible for requesting help; except this isn't possible if the shelf doesn't exist, in which case the page is added to [[:{{BOOKCATEGORY|Shelf:}}/Attention needed]]. When everything looks okay, delegates [[Template:Shelf:Allbooks category|allbooks]] categorization through {{tl|Shelf:Map}} to {{tl|Shelves/ancestor}}.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
iihyyclnepfpo3zppubqpgr1wa15wit
ਫਰਮਾ:Shelves/ancestor
10
2897
5580
2023-03-24T07:55:22Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#if:{{Department:Page?|{{{1}}}}}| [[Category:Department:{{{1}}}/all books|{{{1}}}]] {{#ifeq:{{ROOTPAGENAME}}|Shelf:{{{1}}}||{{#if:{{Department:Reserved|{{{1}}}}}||[[Category:Shelf:{{{1}}}/all books|{{{1}}}]]}}}} | [[Category:Shelf:{{{1}}}/all books|{{{1}}}]] }} </includeonly><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#if:{{Department:Page?|{{{1}}}}}|
[[Category:Department:{{{1}}}/all books|{{{1}}}]]
{{#ifeq:{{ROOTPAGENAME}}|Shelf:{{{1}}}||{{#if:{{Department:Reserved|{{{1}}}}}||[[Category:Shelf:{{{1}}}/all books|{{{1}}}]]}}}}
|
[[Category:Shelf:{{{1}}}/all books|{{{1}}}]]
}}
</includeonly><noinclude>
{{documentation}}
</noinclude>
hhuwdk6xpdrsi9cjgzpnsifjazrdj6h
ਫਰਮਾ:Shelves/ancestor/doc
10
2898
5581
2023-03-24T07:55:55Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate categorizes the current page in the allbooks category of an ancestor for template {{tl|Shelves/leaf}}. === Usage === One unnamed parameter is expected. * <code>1</code> — the name of the ancestor. May be a shelf or department; <code>Shelf:</code> or <code>Department:</code> prefix omitted..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate categorizes the current page in the allbooks category of an ancestor for template {{tl|Shelves/leaf}}.
=== Usage ===
One unnamed parameter is expected.
* <code>1</code> — the name of the ancestor. May be a shelf or department; <code>Shelf:</code> or <code>Department:</code> prefix omitted.
=== Internals ===
Suitable prefix provided by {{tl|Shelf:Get parent prefix}}.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
ibbkcbelit4d6emkrvt2xrzfizidwmu
ਫਰਮਾ:Categories
10
2899
5582
2023-03-24T07:58:07Z
Kuldeepburjbhalaike
1880
"<includeonly> {{#if:{{{1|}}}|[[Category:{{{1}}}]]}} {{#if:{{{2|}}}|[[Category:{{{2}}}]]}} {{#if:{{{3|}}}|[[Category:{{{3}}}]]}} {{#if:{{{4|}}}|[[Category:{{{4}}}]]}} {{#if:{{{5|}}}|[[Category:{{{5}}}]]}} {{#if:{{{6|}}}|[[Category:{{{6}}}]]}} {{#if:{{{7|}}}|[[Category:{{{7}}}]]}} {{#if:{{{8|}}}|[[Category:{{{8}}}]]}} {{#if:{{{9|}}}|[[Category:{{{9}}}]]}} {{#if:{{{10|}}}|[[Category:{{{10}}}]]}} </includeonly><noinclude> {{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>
{{#if:{{{1|}}}|[[Category:{{{1}}}]]}}
{{#if:{{{2|}}}|[[Category:{{{2}}}]]}}
{{#if:{{{3|}}}|[[Category:{{{3}}}]]}}
{{#if:{{{4|}}}|[[Category:{{{4}}}]]}}
{{#if:{{{5|}}}|[[Category:{{{5}}}]]}}
{{#if:{{{6|}}}|[[Category:{{{6}}}]]}}
{{#if:{{{7|}}}|[[Category:{{{7}}}]]}}
{{#if:{{{8|}}}|[[Category:{{{8}}}]]}}
{{#if:{{{9|}}}|[[Category:{{{9}}}]]}}
{{#if:{{{10|}}}|[[Category:{{{10}}}]]}}
</includeonly><noinclude>
{{Documentation}}</noinclude>
jd0ebprr2frtzs24os7yi0jvnj9u767
ਫਰਮਾ:Categories/doc
10
2900
5583
2023-03-24T07:58:38Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template categorizes a book in up to ten categories that are '''not''' subject categories. For adding a book to subject categories, use template {{tl|Subjects}}, which also takes care of adding the book to its book category. This template would generally be used for subcategories of [[:Category:Books by type]]. <includeonly> <!-- CATEGORIES..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template categorizes a book in up to ten categories that are '''not''' subject categories. For adding a book to subject categories, use template {{tl|Subjects}}, which also takes care of adding the book to its book category. This template would generally be used for subcategories of [[:Category:Books by type]].
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Catalogue templates]]
</includeonly>
6cx98x75d4xfiuhcz4zofvyl7m9c2ry
ਫਰਮਾ:Subjects
10
2901
5584
2023-03-24T07:58:57Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#ifeq:{{BOOKPAGENAME}}||<!-- this isn't a subpage --> {{#switch:{{NAMESPACE}}|Wikijunior|=[[{{BOOKCATEGORY|book={{{bookcategory|{{NAIVEBOOKNAME}}}}}}}| ]]}} {{#if:{{{1|}}}|{{Subjects/leaf|{{{1}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}|[[Category:Uncategorized books|{{BOOKSORTKEY}}]]}} {{#if:{{{2|}}}|{{Subjects/leaf|{{{2}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#ifeq:{{BOOKPAGENAME}}||<!-- this isn't a subpage -->
{{#switch:{{NAMESPACE}}|Wikijunior|=[[{{BOOKCATEGORY|book={{{bookcategory|{{NAIVEBOOKNAME}}}}}}}| ]]}}
{{#if:{{{1|}}}|{{Subjects/leaf|{{{1}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}|[[Category:Uncategorized books|{{BOOKSORTKEY}}]]}}
{{#if:{{{2|}}}|{{Subjects/leaf|{{{2}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{3|}}}|{{Subjects/leaf|{{{3}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{4|}}}|{{Subjects/leaf|{{{4}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{5|}}}|{{Subjects/leaf|{{{5}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{6|}}}|{{Subjects/leaf|{{{6}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{7|}}}|{{Subjects/leaf|{{{7}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{8|}}}|{{Subjects/leaf|{{{8}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{9|}}}|{{Subjects/leaf|{{{9}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{10|}}}|{{Subjects/leaf|{{{10}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}|<!-- this is a subpage -->
{{#switch:{{NAMESPACE}}|Wikijunior|=[[{{BOOKCATEGORY|{{{bookcategory|{{BOOKNAME}}}}}}}|{{BOOKSORTKEY}}]]|#default=
{{#if:{{{1|}}}|[[Category:{{{1}}}|{{BOOKSORTKEY}}]]|[[Category:Uncategorized books|{{BOOKSORTKEY}}]]}}
{{#if:{{{2|}}}|[[Category:{{{2}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{3|}}}|[[Category:{{{3}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{4|}}}|[[Category:{{{4}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{5|}}}|[[Category:{{{5}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{6|}}}|[[Category:{{{6}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{7|}}}|[[Category:{{{7}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{8|}}}|[[Category:{{{8}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{9|}}}|[[Category:{{{9}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{10|}}}|[[Category:{{{10}}}|{{BOOKSORTKEY}}]]}}}}}}
{{#if:{{{bookcategory|}}}|[[Category:Books that specify subjects bookcategory]]}}
</includeonly><noinclude>{{documentation}}</noinclude>
lo8bi8w1rneibppi628apgfav5gbm2l
ਫਰਮਾ:Subjects/doc
10
2902
5585
2023-03-24T07:59:30Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template categorizes a book in up to 10 '''subject categories''', plus the book category (this is automatic). The book category can be modified by setting the <code>bookcategory</code> variable. You can also use this on subpages of a book and it will only add the book category; however, {{tl|BookCat}} is recommended for subpage..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template categorizes a book in up to 10 '''subject categories''', plus the book category (this is automatic). The book category can be modified by setting the <code>bookcategory</code> variable. You can also use this on subpages of a book and it will only add the book category; however, {{tl|BookCat}} is recommended for subpages.
For non-subject categories (typically, descendants of [[:Category:Books by type]]), use template {{tl|categories}} instead of this template.
=== Usage ===
{{tlx|subjects|mathematics|science|''etc''}}
=== Internals ===
This template is responsible for adding books to the hidden {{nowrap|[[Template:Allbooks category|allbooks categories]]}}, which allow automatic generation of lists of books belonging to a given subject ''or any of its sub-subjects''. When this template detects that it is being used on the main page of a book, for each subject specified it calls {{tl|subjects/leaf}}. This is why this template should only be used for subject categories: {{tl|subjects/leaf}} uses subject pages to figure out which allbooks categories to add the book to, and if there are no subject pages to consult, it reports the problem to {{nowrap|[[:Category:Attention needed (allbooks)]]}}. By using {{tl|categories}} for non-subject categories, one avoids nuisance reports to {{nowrap|[[:Category:Attention needed (allbooks)]]}}.
This template can be induced to display diagnostic messages, explaining why it has put the page in {{nowrap|[[:Category:Attention needed (allbooks)]]}}, by specifying parameter <code>diagnose=true</code>.
=== See also ===
*{{tl|categories}} — adds book to non-subject categories
*{{tl|alphabetical}} — adds book to alphabetical classification
*{{tl|status}} — classifies book by completion status
*{{tl|BOOKNAME}} — Returns the name of the book including the namespace
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Catalogue templates|{{PAGENAME}}]]
</includeonly>
au38xxijo1xjaymktcq5z0nk38royrn
ਫਰਮਾ:Subjects/leaf
10
2903
5586
2023-03-24T07:59:59Z
Kuldeepburjbhalaike
1880
"<includeonly>[[Category:Subject:{{ucfirst:{{{1}}}}}|{{ROOTPAGENAME}}]] {{#switch:{{NAMESPACE}}|Wikijunior|= {{#ifeq:{{ucfirst:{{{1}}}}}|{{ucfirst:{{{bookcategory}}}}}|[[Category:Books with book name as subject]]| }}{{Subjects/0|subject={{ucfirst:{{{1}}}}}|origin=|n=0|diagnose={{{diagnose|}}}}} }} </includeonly><noinclude>{{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>[[Category:Subject:{{ucfirst:{{{1}}}}}|{{ROOTPAGENAME}}]]
{{#switch:{{NAMESPACE}}|Wikijunior|=
{{#ifeq:{{ucfirst:{{{1}}}}}|{{ucfirst:{{{bookcategory}}}}}|[[Category:Books with book name as subject]]|
}}{{Subjects/0|subject={{ucfirst:{{{1}}}}}|origin=|n=0|diagnose={{{diagnose|}}}}}
}}
</includeonly><noinclude>{{Documentation}}</noinclude>
apj9rvj7ln7nrwwq6cb97z04vocgqac
ਫਰਮਾ:Subjects/leaf/doc
10
2904
5587
2023-03-24T08:00:29Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{high-risk|over 5000}} This template adds the current page (presumed to be the main page of a book) to a specified subject category, and tries to add it to the [[Template:Allbooks category|allbooks categories]] of that subject and all that subject's ancestors. === Usage === There are two parameters, one required and non-blank, the other optional. *..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{high-risk|over 5000}}
This template adds the current page (presumed to be the main page of a book) to a specified subject category, and tries to add it to the [[Template:Allbooks category|allbooks categories]] of that subject and all that subject's ancestors.
=== Usage ===
There are two parameters, one required and non-blank, the other optional.
* <code>1</code> — Required. Names the subject to add the book to.
* <code>diagnose</code> — Optional. If blank, error conditions result only in addition of the book to hidden [[:Category:Attention needed (allbooks)]]. If non-blank, diagnostic messages are also generated, with suggested remedies and buttons for effecting them.
Only addition to the named subject, <code>Category:{{((}}{1}{{))}}</code>, is done within this template; population of allbooks categories is delegated to {{tl|Subjects/0}}.
This template is also responsible for populating [[:Category:Books with book name as subject]].
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template subpages]]
</includeonly>
tdw2sjk6ccvtd33izl3u1f5mpw6qeuf
ਫਰਮਾ:Subjects/0
10
2905
5588
2023-03-24T08:01:18Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#if:{{{ping|}}}|ping| {{Subjects/allbooks|subject={{{subject}}}|origin={{{origin}}}|diagnose={{{diagnose|}}}}} {{#if:{{parsable|{{Subject:{{{subject}}}}}}} | {{#if:{{#titleparts:{{Subject:{{{subject}}}}}|1|2}} |{{subjects/{{subjects/name next|{{{n}}}}} |subject={{#titleparts:{{Subject:{{{subject}}}}}|1|2}} |origin={{{subject}}} |n={{#expr:{{{n}}} + 1}} |diagnose={{{diagnose|}}}}}}} {{#if:{{#titleparts:{{Subject..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#if:{{{ping|}}}|ping|
{{Subjects/allbooks|subject={{{subject}}}|origin={{{origin}}}|diagnose={{{diagnose|}}}}}
{{#if:{{parsable|{{Subject:{{{subject}}}}}}}
|
{{#if:{{#titleparts:{{Subject:{{{subject}}}}}|1|2}}
|{{subjects/{{subjects/name next|{{{n}}}}}
|subject={{#titleparts:{{Subject:{{{subject}}}}}|1|2}}
|origin={{{subject}}}
|n={{#expr:{{{n}}} + 1}}
|diagnose={{{diagnose|}}}}}}}
{{#if:{{#titleparts:{{Subject:{{{subject}}}}}|1|3}}
|{{subjects/{{subjects/name next|{{{n}}}}}
|subject={{#titleparts:{{Subject:{{{subject}}}}}|1|3}}
|origin={{{subject}}}
|n={{#expr:{{{n}}} + 1}}
|diagnose={{{diagnose|}}}}}}}
|
[[Category:Attention needed (allbooks)]]
{{#if:{{{diagnose|}}}|{{Subjects/diagnose subject|subject={{{subject}}}|origin={{{origin}}}}}}}}}}}</includeonly><noinclude>
{{Documentation|Template:Subjects/0/doc}}</noinclude>
2sbkwhbat5lnyb2nrj79t625f6u06d7
ਫਰਮਾ:Subjects/0/doc
10
2906
5589
2023-03-24T08:01:50Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{high-risk}}<!-- this documentation is used for the entire series of templates subjects/n --> This is one of a series of sub-templates of {{tl|subjects}} that add the current page to [[Template:Allbooks category|allbooks categories]]. === Usage === There are three required parameters and two optional. One of the required parameters may be blank. *..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{high-risk}}<!-- this documentation is used for the entire series of templates subjects/n -->
This is one of a series of sub-templates of {{tl|subjects}} that add the current page to [[Template:Allbooks category|allbooks categories]].
=== Usage ===
There are three required parameters and two optional. One of the required parameters may be blank.
* <code>ping</code> — Optional. If non-blank, this template is only being called to make sure it exists.
* <code>subject</code> — Required. Names a subject to whose allbooks category this page should be added.
* <code>origin</code> — Required. Names the previously visited subject, ''if any'', which provided the value for <code>subject</code>; may be blank.
* <code>n</code> — Required. An integer that names this template. The first template in the series is called 0, the second is 1, and so on.
* <code>diagnose</code> — Optional. If non-blank, diagnostic messages are provided when errors are detected, together with suggestions to fix the problem and buttons to act on the suggestions.
If <code>ping</code> is non-blank, this template simply returns "ping" without doing anything else. This makes it possible for each template in the series to look for the [[Template:Subjects/name next|next]] template in the series without using expensive parser function {{((}}#ifexist:{{))}} (instead, simply ping the next template and compare the result to "ping").
Otherwise, this template first requests the current page be added to the allbooks category associated with {{nowrap|Subject:<code>subject</code>}}, via {{tl|Subjects/allbooks}}. Then it checks to see whether the subject page itself exists and is suitably formatted for extraction of its parent parameters. If all is well, it extracts the parent parameters from the subject page, and passes each of them in turn to the next sub-template in the series. Otherwise, it adds the current page to {{nowrap|[[:Category:Attention needed (allbooks)]]}}, and if in addition <code>diagnose</code> is non-blank, also calls {{nowrap|{{tl|subjects/diagnose subject}}}}.
When calling the next template in the series, the identity of the next template is determined via {{nowrap|{{tl|subjects/name next}}}}, which detects when there are no more templates available in the series and in that case diverts the call to {{nowrap|{{tl|subjects/upper bound}}}}.
=== See also ===
* {{tl|subjects/leaf}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template subpages]]
</includeonly>
4hnn6dsseycrkskxfazcl79rsodsd8e
ਫਰਮਾ:Subjects/leaf2
10
2907
5590
2023-03-24T08:02:27Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#if:{{parsable|{{{2}}}}} |{{#if:{{#titleparts:{{{2}}}|1}} |{{#ifeq:{{#titleparts:{{{2}}}|1}}|{{{1}}} | |[[Category:Attention needed (allbooks)]]}} |}} |[[Category:Attention needed (allbooks)]]}}</includeonly><noinclude> {{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#if:{{parsable|{{{2}}}}}
|{{#if:{{#titleparts:{{{2}}}|1}}
|{{#ifeq:{{#titleparts:{{{2}}}|1}}|{{{1}}}
|
|[[Category:Attention needed (allbooks)]]}}
|}}
|[[Category:Attention needed (allbooks)]]}}</includeonly><noinclude>
{{Documentation}}</noinclude>
lmy0af1v6gi096ekj5kxp69e8crb3ij
ਫਰਮਾ:Subjects/leaf2/doc
10
2908
5591
2023-03-24T08:02:57Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template does exploratory checks on a category to which the page has been added, for future use of {{nowrap|[[Template:Allbooks category|allbook scategories]]}}; and if any such problems are detected, adds the page to {{nowrap|[[:Category:Attention needed (allbooks)]]}}. === Usage === The first parameter, {{((}}{1}{{))}}, is the name of the cat..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template does exploratory checks on a category to which the page has been added, for future use of {{nowrap|[[Template:Allbooks category|allbook scategories]]}}; and if any such problems are detected, adds the page to {{nowrap|[[:Category:Attention needed (allbooks)]]}}.
=== Usage ===
The first parameter, {{((}}{1}{{))}}, is the name of the category the page has been added to. The second parameter, {{((}}{2}{{))}}, is the transcluded content of the subject page with the same name as the category. Three checks are performed:
* Does the subject page exist? If it doesn't, the value of {{((}}{2}{{))}} will be un[[Template:parsable|parsable]].
* Is the subject page formatted correctly for extracting parameters from it? If so, the value of {{((}}{2}{{))}} will be parsable.
* Does the subject page associate itself with the category? This can be determined if the value of {{((}}{2}{{))}} is parsable.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template subpages]]
</includeonly>
c3gvfknaur5hd97f6qpr5icsuk4k9ib
ਫਰਮਾ:((
10
2909
5592
2023-03-24T08:03:39Z
Kuldeepburjbhalaike
1880
"{{<noinclude>{{documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{<noinclude>{{documentation}}</noinclude>
j9yvjf3gtxezngnbethw5gkqaa7a3je
ਫਰਮਾ:((/doc
10
2910
5593
2023-03-24T08:04:04Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Auxiliary template common notice}} <includeonly> <!-- INTERWIKIS HERE, THANKS --> </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{Auxiliary template common notice}}
<includeonly>
<!-- INTERWIKIS HERE, THANKS -->
</includeonly>
t55n519zgnjxl2d2pityrn8200aco65
ਫਰਮਾ:Auxiliary template common notice
10
2911
5594
2023-03-24T08:04:55Z
Kuldeepburjbhalaike
1880
"=== Usage === This template can be used in place of a literal "<includeonly>{{ </includeonly>{{BASEPAGENAME}}<includeonly> }}</includeonly>" when the latter would be interpreted as a syntactic marker. For example, {{tl|{{BASEPAGENAME}}}} gives "<includeonly>{{ </includeonly>{{BASEPAGENAME}}<includeonly> }}</includeonly>". === See also === *{{#ifeq: {{BASEPAGENAME}} | !( || [[Template:!(|!(]] }} *{{#ifeq: {{BASEPAGENAME}} | )! || Template:)!|..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
=== Usage ===
This template can be used in place of a literal "<includeonly>{{ </includeonly>{{BASEPAGENAME}}<includeonly> }}</includeonly>" when the latter would be interpreted as a syntactic marker.
For example, {{tl|{{BASEPAGENAME}}}} gives "<includeonly>{{ </includeonly>{{BASEPAGENAME}}<includeonly> }}</includeonly>".
=== See also ===
*{{#ifeq: {{BASEPAGENAME}} | !( || [[Template:!(|!(]] }}
*{{#ifeq: {{BASEPAGENAME}} | )! || [[Template:)!|)!]] }}
*{{#ifeq: {{BASEPAGENAME}} | !(( || [[Template:!((|!((]] }}
*{{#ifeq: {{BASEPAGENAME}} | ))! || [[Template:))!|))!]] }}
*{{#ifeq: {{BASEPAGENAME}} | ( || [[Template:(|(]] }}
*{{#ifeq: {{BASEPAGENAME}} | ) || [[Template:)|)]] }}
*{{#ifeq: {{BASEPAGENAME}} | (( || [[Template:((|((]] }}
*{{#ifeq: {{BASEPAGENAME}} | )) || [[Template:))|))]] }}
*{{#ifeq: {{BASEPAGENAME}} | ((( || [[Template:(((|(((]] }}
*{{#ifeq: {{BASEPAGENAME}} | ))) || [[Template:)))|)))]] }}
<includeonly>
<!-- Category for templates that use this template -->
{{#ifeq:{{#titleparts:{{FULLPAGENAME}}||-1}}|doc||
[[Category:{{SITENAME}} character-substitution templates|{{PAGENAME}}]]
}}
</includeonly><noinclude>
<!-- category for this template -->
[[Category:Template namespace templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIs BELOW -->
[[ka:თარგი:Auxiliary template common notice]]
</noinclude>
bku8wy933ts0r9cncn3wc2jbij2irlr
ਫਰਮਾ:))
10
2912
5595
2023-03-24T08:06:53Z
Kuldeepburjbhalaike
1880
"}}<noinclude>{{documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
}}<noinclude>{{documentation}}</noinclude>
gv3zktjw2zjk6kmjic8c3sis3hf0v3j
ਫਰਮਾ:))/doc
10
2913
5596
2023-03-24T08:07:21Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Auxiliary template common notice}} <includeonly> <!-- INTERWIKIS HERE, THANKS --> </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{Auxiliary template common notice}}
<includeonly>
<!-- INTERWIKIS HERE, THANKS -->
</includeonly>
t55n519zgnjxl2d2pityrn8200aco65
ਫਰਮਾ:(
10
2914
5597
2023-03-24T08:07:46Z
Kuldeepburjbhalaike
1880
"{<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{<noinclude>
{{documentation}}
</noinclude>
bo68003d0rx5gzaxu8kxrb3a6qyoyjo
ਫਰਮਾ:(/doc
10
2915
5598
2023-03-24T08:08:12Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Auxiliary template common notice}} <includeonly> <!-- INTERWIKIS HERE, THANKS --> [[ka:თარგი:(]] </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{Auxiliary template common notice}}
<includeonly>
<!-- INTERWIKIS HERE, THANKS -->
[[ka:თარგი:(]]
</includeonly>
obtlvvtc2yuk8zu37hft8kthbr7j5mr
ਫਰਮਾ:)
10
2916
5599
2023-03-24T08:08:36Z
Kuldeepburjbhalaike
1880
"}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
}<noinclude>
{{documentation}}
</noinclude>
trjzkxjnoc4j3s8syx7lt7qs0fnlhua
ਫਰਮਾ:)/doc
10
2917
5600
2023-03-24T08:09:02Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{Auxiliary template common notice}} <includeonly> <!-- INTERWIKIS HERE, THANKS --> [[ka:თარგი:)]] </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES TO THE TRANSCLUDED DOCUMENTATION IMMEDIATELY BELOW AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{Auxiliary template common notice}}
<includeonly>
<!-- INTERWIKIS HERE, THANKS -->
[[ka:თარგი:)]]
</includeonly>
ommrljxvo4tkqlzfkxu5ubu9y95uzge
ਫਰਮਾ:(((
10
2918
5601
2023-03-24T08:10:31Z
Kuldeepburjbhalaike
1880
"{{{<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{{<noinclude>
{{documentation}}
</noinclude>
p09oe358xifexyxixwqlowpxpmqlo9g
ਫਰਮਾ:(((/doc
10
2919
5602
2023-03-24T08:10:55Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> {{Auxiliary template common notice}} <includeonly> <!-- Categories and interwikis go here: --> </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
{{Auxiliary template common notice}}
<includeonly>
<!-- Categories and interwikis go here: -->
</includeonly>
h536jcpxngtt190i60k7fgvl17ands3
ਫਰਮਾ:)))
10
2920
5603
2023-03-24T08:11:18Z
Kuldeepburjbhalaike
1880
"}}}<noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
}}}<noinclude>
{{Documentation}}
</noinclude>
002a69ugw3az2pvs9vxuj7ng65ojzln
ਫਰਮਾ:)))/doc
10
2921
5604
2023-03-24T08:11:51Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> {{Auxiliary template common notice}} <includeonly> <!-- Categories and interwikis go here: --> </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
{{Auxiliary template common notice}}
<includeonly>
<!-- Categories and interwikis go here: -->
</includeonly>
h536jcpxngtt190i60k7fgvl17ands3
ਫਰਮਾ:Parsable
10
2922
5605
2023-03-24T08:13:49Z
Kuldeepburjbhalaike
1880
"{{#ifeq:{{{1}}}|{{#titleparts:{{{1}}}|1|2}}||yes}}<noinclude> {{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#ifeq:{{{1}}}|{{#titleparts:{{{1}}}|1|2}}||yes}}<noinclude>
{{Documentation}}</noinclude>
efml1sfdi3zeozl2qj4f82jkav6ufto
ਫਰਮਾ:Parsable/doc
10
2923
5606
2023-03-24T08:14:14Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{high-risk|4000+}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template determines whether its first parameter can be parsed by parser function [[mw:Help:Extension:ParserFunctions#.23titleparts|#titleparts]]. === Usage === : <code>{{((}}parsable{{!}}</code><parameter><code>{{))}}</code> asks #titleparts to extract the ''second'' part of <parameter>. It returns true (i.e., n..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{high-risk|4000+}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template determines whether its first parameter can be parsed by parser function [[mw:Help:Extension:ParserFunctions#.23titleparts|#titleparts]].
=== Usage ===
: <code>{{((}}parsable{{!}}</code><parameter><code>{{))}}</code>
asks #titleparts to extract the ''second'' part of <parameter>. It returns true (i.e., non-blank) iff this request produces something different from <parameter>. If <parameter> is blank, the result of the test is false (because <code>{{((}}#titleparts:</code><parameter><code>{{!}}1{{!}}2{{))}}</code> then returns a blank string, which is not different from <parameter>).
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Utility templates]]
</includeonly>
cz3hzuzcz1z3u4dy6r0rgmne4z6maek
ਫਰਮਾ:Subjects/allbooks
10
2924
5607
2023-03-24T08:18:43Z
Kuldeepburjbhalaike
1880
"<includeonly><!-<noinclude></noinclude>- {{((}}Subjects/allbooks{{!}}subject={{{subject}}}{{!}}{{{origin}}}{{!}}diagnose={{{diagnose}}}{{))}} -<noinclude></noinclude>->{{#if:{{parsable|{{Category:Subject:{{{subject}}}/all books}}}}|[[Category:Subject:{{{subject}}}/all books]]| [[Category:Attention needed (allbooks)]] {{#ifexist:Category:Subject:{{{subject}}}/all books| [[Category:Subject:{{{subject}}}/all books]] {{#if:{{{diagnose}}}|{{Allbooks ca..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><!-<noinclude></noinclude>- {{((}}Subjects/allbooks{{!}}subject={{{subject}}}{{!}}{{{origin}}}{{!}}diagnose={{{diagnose}}}{{))}} -<noinclude></noinclude>->{{#if:{{parsable|{{Category:Subject:{{{subject}}}/all books}}}}|[[Category:Subject:{{{subject}}}/all books]]|
[[Category:Attention needed (allbooks)]]
{{#ifexist:Category:Subject:{{{subject}}}/all books|
[[Category:Subject:{{{subject}}}/all books]]
{{#if:{{{diagnose}}}|{{Allbooks category/error|Format problem on page {{nowrap|<code>Category:Subject:{{{subject}}}/all books</code>}}. Please check that everything there, except the call to {{nowrap|{{tl|Allbooks category}}}}, is <noinclude>d. {{Allbooks category/button|1=Category:Subject:{{{subject}}}/all_books|2=action=edit&editintro=Template:Subjects/editintro_format&summary=noinclude|3=edit category}}}}}}
|
{{#if:{{{diagnose}}}|{{Allbooks category/error|Can't find expected page {{nowrap|<code>Category:Subject:{{{subject}}}/all books</code>}}. That name ({{nowrap|{{{subject}}}}}) is specified by <!--
-->{{#if:{{{origin}}}
|page {{nowrap|<code>Subject:{{{origin}}}</code>}}
|a parameter to template {{tl|subjects}} on this page
}}, so if the expected name is incorrect, adjust it <!--
-->{{#if:{{{origin}}}
|there ( {{Allbooks category/button|1=Subject:{{{origin}}}|2=action=edit&editintro=Template:Allbooks_category/editintro_parent&summary=parentage|3=edit}})
|here ( {{Allbooks category/button|1={{FULLPAGENAME}}|2=action=edit&editintro=Template:Subjects/editintro_book&summary=subjects|3=edit}})
}}. If the expected page name is correct, please create the expected page ( {{Allbooks category/button|1=Category:Subject:{{{subject}}}/all_books|2=action=edit&editintro=Template:Allbooks_category/editintro_allbooks&preload=Template:Allbooks_category/preload_allbooks&summary=create|3=create allbooks page}}).}}}}}}}}
</includeonly><noinclude>
{{Documentation}}</noinclude>
0me8a3jbwyycb2r4s04ccv190i95pmi
ਫਰਮਾ:Subjects/allbooks/doc
10
2925
5608
2023-03-24T08:19:14Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{high-risk|over 2500}} This template processes a request to add the current page to the allbooks category associated with a given subject. It isn't added unless the allbooks category page exists; this is because allbooks categories should not appear on a book main page, and if they exist they're probably hidden, but if they don't exist they're sur..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{high-risk|over 2500}}
This template processes a request to add the current page to the allbooks category associated with a given subject. It isn't added unless the allbooks category page exists; this is because allbooks categories should not appear on a book main page, and if they exist they're probably hidden, but if they don't exist they're sure to be visible as a redlink.
=== Usage ===
There are three required parameters, one of which must be non-blank.
* <code>subject</code> — The name of the subject of the associated allbooks page.
* <code>origin</code> — The name of the previously visited subject page, ''if any'', which provided the value for <code>subject</code>; may be blank.
* <code>diagnose</code> — If non-blank, diagnostic messages are provided when errors are detected, together with suggestions to fix the problem and buttons to act on the suggestions.
This template first attempts to verify the existence of the allbooks category page by checking that the transcluded content of the category page is {{tl|parsable}}. If so, there is presumed to be no problem, and this page is added to the category. If that test fails, expensive parser function {{((}}#ifexist:{{))}} is used to determine whether the page exists; if it exists, this page is added to the category. However, even if added, failure of {{tl|parsable}} indicates a problem, so if <code>diagnose</code> is non-blank, one or another error message is generated.
=== See also ===
* {{tl|Subjects/0}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template subpages]]
</includeonly>
kme3mo2bbfjczod5oxr5a0khts3lftz
ਫਰਮਾ:Subjects/upper bound
10
2926
5609
2023-03-24T08:19:45Z
Kuldeepburjbhalaike
1880
"<includeonly>[[Category:{{{subject}}}/all books]] [[Category:Attention needed (allbooks)]] <!-<noinclude></noinclude>- {{((}}Subjects/upper bound{{!}}diagnose={{{diagnose|}}}{{!}}n={{{n}}}{{!}}subject={{{subject|}}}{{))}} -<noinclude></noinclude>-> {{#if:{{{diagnose|}}}|{{Allbooks category/error|At lest one additional sub-template is needed to cope with the depth of the subject hierarchy. {{Allbooks category/button|1=Template:Subjects/{{{n}}}|2=a..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>[[Category:{{{subject}}}/all books]]
[[Category:Attention needed (allbooks)]]
<!-<noinclude></noinclude>- {{((}}Subjects/upper bound{{!}}diagnose={{{diagnose|}}}{{!}}n={{{n}}}{{!}}subject={{{subject|}}}{{))}} -<noinclude></noinclude>->
{{#if:{{{diagnose|}}}|{{Allbooks category/error|At lest one additional sub-template is needed to cope with the depth of the subject hierarchy. {{Allbooks category/button|1=Template:Subjects/{{{n}}}|2=action=edit&editintro=Template:Subjects/editintro_n&preload=Template:Subjects/preload_n&summary=create|3=create additional sub-template}}}}}}</includeonly><noinclude>
{{Documentation}}</noinclude>
fenawqigd2auot7skkkgk4y5ju2e31f
ਫਰਮਾ:Subjects/upper bound/doc
10
2927
5610
2023-03-24T08:20:15Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the terminating element of the series of integer-named sub-templates of template {{tl|subjects}}. === Usage === Although this template is called using the usual numbered-template [[Template:Subjects/0|interface]] (the calling numbered template doesn't know whether it's calling another numbered template, or this one), only three of the param..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the terminating element of the series of integer-named sub-templates of template {{tl|subjects}}.
=== Usage ===
Although this template is called using the usual numbered-template [[Template:Subjects/0|interface]] (the calling numbered template doesn't know whether it's calling another numbered template, or this one), only three of the parameters are ever used here.
* {{((}}{subject}{{))}} — The name of the next subject.
* {{((}}{n}{{))}} — The integer number ''after'' the number of the last existing numbered template in the series.
* {{((}}{diagnose}{{))}} — Usually blank. If non-blank, errors should be reported by messages, with suggested remedies and buttons to enact the remedies.
This template adds the current page to the allbooks category associated with the subject, and to {{nowrap|[[:Category:Attention needed (allbooks)]]}}, the attention needed being the creation of another numbered sub-template, numbered {{((}}{n}{{))}}. If {{((}}{diagnose}{{))}} is non-blank, a message is generated explaining what needs to be done and providing a button to do it.
=== See also ===
* {{tl|Subjects/0}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template subpages]]
</includeonly>
4dnoohxah1rjn7uys0191hu5kw1wr7w
ਫਰਮਾ:Subjects/name next
10
2928
5611
2023-03-24T08:20:45Z
Kuldeepburjbhalaike
1880
"{{#ifeq:{{Subjects/{{#expr:{{{1}}} + 1}}|ping=1}}|ping|{{#expr:{{{1}}} + 1}}|upper bound}}<noinclude> {{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#ifeq:{{Subjects/{{#expr:{{{1}}} + 1}}|ping=1}}|ping|{{#expr:{{{1}}} + 1}}|upper bound}}<noinclude>
{{Documentation}}</noinclude>
iuf75kbt1bbz7fr2pgof6n5t4a3lnl8
ਫਰਮਾ:Subjects/name next/doc
10
2929
5612
2023-03-24T08:21:18Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template is used by a series of sub-templates of {{tl|Subjects}} with integer names, to determine the name of the next template in the series. === Usage === The single unnamed parameter, {{((}}{1}{{))}}, is the integer number of the current sub-template. One is added to {{((}}{1}{{))}}; call the sum ''n''. If ''n'' is an integer, and there ex..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template is used by a series of sub-templates of {{tl|Subjects}} with integer names, to determine the name of the next template in the series.
=== Usage ===
The single unnamed parameter, {{((}}{1}{{))}}, is the integer number of the current sub-template. One is added to {{((}}{1}{{))}}; call the sum ''n''. If ''n'' is an integer, and there exists a template {{nowrap|{{((}}Subjects/''n''{{))}}}}, the result returned is {{nowrap|"''n''"}}. Otherwise, the result returned is {{nowrap|"upper bound"}}.
=== See also ===
* {{tl|Subjects/0}}
* {{tl|Subjects/upper bound}}
* {{tl|Subjects/leaf}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template subpages]]
</includeonly>
363s9mdf7f5k0kmpekt9so91px96k8u
ਫਰਮਾ:Subjects/diagnose subject
10
2930
5613
2023-03-24T08:22:00Z
Kuldeepburjbhalaike
1880
"<includeonly>{{Allbooks category/error| {{#ifexist:Subject:{{{subject}}} | Format problem on subject page {{nowrap|<code>Subject:{{{subject}}}</code>}}. Please check that everything there, except the call to {{nowrap|{{tl|Subject page}}}} or {{nowrap|{{tl|Root subject}}}}, is <noinclude>d. {{Allbooks category/button|1=Subject:{{{subject}}}|2=action=edit&editintro=Template:Allbooks_category/editintro_format&summary=noinclude|3=edit Subject:{..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{Allbooks category/error|
{{#ifexist:Subject:{{{subject}}}
|
Format problem on subject page {{nowrap|<code>Subject:{{{subject}}}</code>}}. Please check that everything there, except the call to {{nowrap|{{tl|Subject page}}}} or {{nowrap|{{tl|Root subject}}}}, is <noinclude>d. {{Allbooks category/button|1=Subject:{{{subject}}}|2=action=edit&editintro=Template:Allbooks_category/editintro_format&summary=noinclude|3=edit Subject:{{{subject}}}}}
|
Can't find expected subject page {{nowrap|<code>Subject:{{{subject}}}</code>}}. That page name is specified by <!--
-->{{#if:{{{origin}}}
|page {{nowrap|<code>Subject:{{{origin}}}</code>}}
|a parameter to template {{tl|subject}} on this page
}}, so if the expected name is incorrect, adjust it <!--
-->{{#if:{{{origin}}}
|there ( {{Allbooks category/button|1=Subject:{{{subject}}}|2=action=edit&editintro=Template:Allbooks_category/editintro_parent&summary=parentage|3=edit}})
|here ( {{Allbooks category/button|1={{FULLPAGENAME}}|2=action=edit&editintro=Template:Subjects/editintro_book&summary=subjects|3=edit}})
}}. If the expected page name is correct, please create the expected page (either {{Allbooks category/button|1=Subject:{{{subject}}}|2=action=edit&editintro=Template:Allbooks_category/editintro_regular&preload=Template:Allbooks_category/preload_regular&summary=create|3=create regular subject}} or {{Allbooks category/button|1=Subject:{{{subject}}}|2=action=edit&editintro=Template:Allbooks_category/editintro_root&preload=Template:Allbooks_category/preload_root&summary=create|3=create root subject}}).
}}}}</includeonly><noinclude>
{{Documentation}}</noinclude>
n5dimdhiyaiqifzmhgcy575a1cwue5s
ਫਰਮਾ:Subjects/diagnose subject/doc
10
2931
5614
2023-03-24T08:22:29Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template diagnoses a problem with a subject page, suggests possible solutions, and provides buttons to implement them. On entry here, it is known that parameter values cannot be automatically extracted from the subject page, but this could be either because the subject page does not exist, or because it does exist but is incorrectly formatted...." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template diagnoses a problem with a subject page, suggests possible solutions, and provides buttons to implement them. On entry here, it is known that parameter values cannot be automatically extracted from the subject page, but this could be either because the subject page does not exist, or because it does exist but is incorrectly formatted.
=== Usage ===
There are two required parameters, one of which can be blank.
* {{((}}{subject}{{))}} — The name of the subject page with which there is a problem.
* {{((}}{origin}{{))}} — The name of the previously visited subject page, ''if any'', which provided the value for {{((}}{subject}{{))}}; may be blank.
This template uses expensive parser function {{((}}#ifexist:{{))}} to determine whether the subject actually doesn't exist, or is merely misformatted. If it actually doesn't exist, the solution may be to either to correct the page that provided the name {{((}}{subject}{{))}}, or to create the subject page. And if {{((}}{origin}{{))}} is blank, the name {{((}}{subject}{{))}} was provided as a parameter to template {{tl|subject}}, so the page that needs correcting is the book page, {{((}}FULLPAGENAME{{))}}.
=== See also ===
* {{tl|Subjects/0}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template subpages]]
</includeonly>
j1fhti4a74fsujuhfprfiog9freqp0v
ਫਰਮਾ:Subject
10
2932
5615
2023-03-24T08:22:54Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Subjects]]
wikitext
text/x-wiki
#redirect[[Template:Subjects]]
1l4l16dsml8lhj698pq7bswcjzrt45b
ਫਰਮਾ:Status
10
2933
5616
2023-03-24T08:23:26Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#switch:{{#titleparts:{{FULLPAGENAME}}}}|Wikijunior:{{ROOTPAGENAME}}|{{ROOTPAGENAME}}=[[Category:{{#switch: {{{1|}}} |0|00|0%|00% = Freshly started books |25|25% = Partly developed books |50|50% = Half-finished books |75|75% = Books nearing completion |100|100% = Completed books |#default = Freshly started books }}]][[Category:Books by completion status/all books]]|#default = }}{{#if:{{{2|}}}||<indicator name="status-icon">F..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#switch:{{#titleparts:{{FULLPAGENAME}}}}|Wikijunior:{{ROOTPAGENAME}}|{{ROOTPAGENAME}}=[[Category:{{#switch: {{{1|}}}
|0|00|0%|00% = Freshly started books
|25|25% = Partly developed books
|50|50% = Half-finished books
|75|75% = Books nearing completion
|100|100% = Completed books
|#default = Freshly started books
}}]][[Category:Books by completion status/all books]]|#default = }}{{#if:{{{2|}}}||<indicator name="status-icon">[[File:{{#switch: {{{1|}}}
|0|00|0%|00% = 00
|25|25% = 25
|50|50% = 50
|75|75% = 75
|100|100% = 100
|#default = 00
}} percents.svg|24px|{{#switch: {{{1|}}}
|0|00|0%|00% = 0%
|25|25% = 25%
|50|50% = 50%
|75|75% = 75%
|100|100% = 100%
|#default = 0%
}} developed|link=Help:Development stages]]</indicator>}}{{#switch: {{{1|}}}
|0|00|0%|00%|25|25%|50|50%|75|75%|100|100% =
|#default = <br /><span style="color:red; font-weight:bold;">Completion status must be 0%, 25%, 50%, 75%, or 100%!</span>
}}</includeonly><noinclude>{{documentation}}</noinclude>
ll5dmp4nli7imb2olp2xhgbwk7iqvaa
ਫਰਮਾ:Status/doc
10
2934
5617
2023-03-24T08:23:55Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template places a book in a subcategory of [[:Category:Books by completion status]] for users wanting to browse books by how far along they are and should be placed on a book's main page. It also places a visual icon representing a book's completion state in the top-right corner of the book's main page. If you wish to suppres..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template places a book in a subcategory of [[:Category:Books by completion status]] for users wanting to browse books by how far along they are and should be placed on a book's main page.
It also places a visual icon representing a book's completion state in the top-right corner of the book's main page. If you wish to suppress this icon's display, add a second parameter <tt>noicon</tt> to the template, as in {{tlx|status|XX%|noicon}}.
=== Usage ===
{{completion status}}
===See also===
*{{tl|stage}} – adds an icon and an optional date to indicate the completion status of a page
*{{tl|decistage}} – adds an icon for a page's completion status using 10% divisions instead of 25%
*{{tl|alphabetical}} – adds a book to an alphabetical classification
*{{tl|subjects}} – classifies a book by subject matter
*[[Help:Development stages]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[ka:თარგი:სტატუსი]]
[[Category:Progress templates|{{PAGENAME}}]][[Category:Catalogue templates|{{PAGENAME}}]]
</includeonly>
053pp89vvtjtluy01b3feiolt1qie9j
ਫਰਮਾ:Completion status
10
2935
5618
2023-03-24T08:24:43Z
Kuldeepburjbhalaike
1880
"{| class="wikitable" !Use || To put a book in |- |{{tlx|status|100%}} || [[:Category:Completed books|Completed books]] |- |{{tlx|status|75%}} || [[:Category:Books nearing completion|Books nearing completion]] |- |{{tlx|status|50%}} || [[:Category:Half-finished books|Half-finished books]] |- |{{tlx|status|25%}} || [[:Category:Partly developed books|Partly developed books]] |- |{{tlx|status|0%}} || :Category:Freshly started books|Freshly started b..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{| class="wikitable"
!Use || To put a book in
|-
|{{tlx|status|100%}} || [[:Category:Completed books|Completed books]]
|-
|{{tlx|status|75%}} || [[:Category:Books nearing completion|Books nearing completion]]
|-
|{{tlx|status|50%}} || [[:Category:Half-finished books|Half-finished books]]
|-
|{{tlx|status|25%}} || [[:Category:Partly developed books|Partly developed books]]
|-
|{{tlx|status|0%}} || [[:Category:Freshly started books|Freshly started books]]
|}<includeonly>__HIDDENCAT__</includeonly><noinclude>[[Category:Category namespace templates|{{PAGENAME}}]]</noinclude>
808w850ztlsl4rj9mzq6fuzwio8xhvd
ਫਰਮਾ:Stage
10
2936
5619
2023-03-24T08:25:35Z
Kuldeepburjbhalaike
1880
"<includeonly><span class="noprint">[[File:{{#switch:{{{1|}}} |0|00|0%|00%=00 percents |25|25%=25 percents |50|50%=50 percents |75|75%=75 percents |100|100%=100 percents |#default=00% }}.svg|9px|{{#switch:{{{1|}}} |0|00|0%|00%=0% |25|25%=25% |50|50%=50% |75|75%=75% |100|100%=100% |#default=0% }} developed{{#if:{{{2|}}}| as of {{{2}}}}}|link=Help:Development stages]]{{#if:{{{2|}}}|<small> ({{{2}}})</small>}}</span></includeonl..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><span class="noprint">[[File:{{#switch:{{{1|}}}
|0|00|0%|00%=00 percents
|25|25%=25 percents
|50|50%=50 percents
|75|75%=75 percents
|100|100%=100 percents
|#default=00%
}}.svg|9px|{{#switch:{{{1|}}}
|0|00|0%|00%=0%
|25|25%=25%
|50|50%=50%
|75|75%=75%
|100|100%=100%
|#default=0%
}} developed{{#if:{{{2|}}}| as of {{{2}}}}}|link=Help:Development stages]]{{#if:{{{2|}}}|<small> ({{{2}}})</small>}}</span></includeonly><noinclude>{{documentation}}</noinclude>
mho16uti0dj8nne5o1yppmtqq5prg4p
ਫਰਮਾ:Stage/doc
10
2937
5620
2023-03-24T08:26:06Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template displays a small image indicating a current stage of development. === Usage === * ''<nowiki>{{{1}}}</nowiki>'' should be 0% ([[File:00%.svg|9px|link=]]), 25% ([[File:25_percent.svg|9px|link=]]), 50% ([[File:50 percents.svg|9px|link=]]), 75% ([[File:75_percent.svg|9px|link=]]), or 100% ([[File:100 percent.svg|9px|link=]]) * ''<nowiki>{{..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template displays a small image indicating a current stage of development.
=== Usage ===
* ''<nowiki>{{{1}}}</nowiki>'' should be 0% ([[File:00%.svg|9px|link=]]), 25% ([[File:25_percent.svg|9px|link=]]), 50% ([[File:50 percents.svg|9px|link=]]), 75% ([[File:75_percent.svg|9px|link=]]), or 100% ([[File:100 percent.svg|9px|link=]])
* ''<nowiki>{{{2}}}</nowiki>'' optionally the date development stage was last reviewed
===Example===
{{tlx|stage|25%|January 1, 2000}} provides {{stage|25%|January 1, 2000}}
=== See also ===
*{{tl|stage short}} – shorter version without the date
*{{tl|decistage}} – indicates progress in increments of 10%
* [[Help:Development stages]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Progress templates|{{PAGENAME}}]]
</includeonly>
mssdia4oviey81efjuc0jflotn822ds
ਫਰਮਾ:Stage short/doc
10
2938
5622
2023-03-24T08:27:05Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> <templatedata> { "description": "This template indicates how complete the current module is.", "format": "inline", "params": { "1": { "label": "percentage", "description": "Completeless of the module as a percent: 0%, 25%, 50%, 75%, or 100%", "type": "line", "default": "0%", "suggested": true }, "2": { "label": "assessment..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<templatedata>
{
"description": "This template indicates how complete the current module is.",
"format": "inline",
"params": {
"1": {
"label": "percentage",
"description": "Completeless of the module as a percent: 0%, 25%, 50%, 75%, or 100%",
"type": "line",
"default": "0%",
"suggested": true
},
"2": {
"label": "assessment date",
"description": "Date when the module was assessed and determined to have the indicated completeness",
"example": "23 April 2005",
"type": "line"
}
}
}
</templatedata>
=== Usage ===
For example, {{tlx|stage short|50%}} yields {{stage short|50%}}
=== See also ===
*{{tl|stage}} – allows indicating date of review
*{{tl|decistage}} – indicates progress in increments of 10%
*[[Help:Development stages]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Progress templates|{{PAGENAME}}]]
</includeonly>
7uk6b3mfg6zpol4uglgodk6qmlwu8t0
ਫਰਮਾ:Decistage
10
2939
5623
2023-03-24T08:27:28Z
Kuldeepburjbhalaike
1880
"<includeonly><span class="noprint">[[File:{{{1}}}of10.svg|link=Help:Development stages|Development stage: {{{1}}}0%{{#if:{{{2|}}}| (as of {{{2}}})}}]]</span></includeonly><noinclude>{{documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><span class="noprint">[[File:{{{1}}}of10.svg|link=Help:Development stages|Development stage: {{{1}}}0%{{#if:{{{2|}}}| (as of {{{2}}})}}]]</span></includeonly><noinclude>{{documentation}}</noinclude>
qf5w6w5kr5yk4pzrvduptv1brlrcmt7
ਫਰਮਾ:Decistage/doc
10
2940
5624
2023-03-24T08:27:59Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> Template showing the percentage of completion in increments of 10%. === Usage === {{decistage|7}}: '''<nowiki>{{decistage|7}}</nowiki>''' - points 0 to 10, without date {{decistage|3|1st April 2007}}: '''<nowiki>{{decistage|3|1st April 2007}}</nowiki>''' - with date of the last major change === Examples === {{Decistage|0}}{{Decistage|1}}{{Decistag..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
Template showing the percentage of completion in increments of 10%.
=== Usage ===
{{decistage|7}}: '''<nowiki>{{decistage|7}}</nowiki>''' - points 0 to 10, without date
{{decistage|3|1st April 2007}}: '''<nowiki>{{decistage|3|1st April 2007}}</nowiki>''' - with date of the last major change
=== Examples ===
{{Decistage|0}}{{Decistage|1}}{{Decistage|2}}{{Decistage|3}}{{Decistage|4}}{{Decistage|5}}{{Decistage|6}}{{Decistage|7}}{{Decistage|8}}{{Decistage|9}}{{Decistage|10}}
=== See also ===
*{{tl|stage}} – indicates progress in increments of 25%
*{{tl|stage short}} – shorter version of <nowiki>{{stage}}</nowiki> without date of review
*[[Help:Development stages]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Progress templates|{{PAGENAME}}]]
[[cs:Šablona:Stav]]
</includeonly>
hfq9m12o89sk1i01t05eilc382dd76z
ਫਰਮਾ:Documentation/template page
10
2941
5625
2023-03-24T08:32:06Z
Kuldeepburjbhalaike
1880
"{{#switch: {{SUBPAGENAME}} | sandbox | testcases = {{BASEPAGENAME}} | #default = {{PAGENAME}} }}<noinclude>{{documentation|content= This subtemplate of {{tl|documentation}} is used to determine the template page name. }}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#switch: {{SUBPAGENAME}}
| sandbox
| testcases = {{BASEPAGENAME}}
| #default = {{PAGENAME}}
}}<noinclude>{{documentation|content=
This subtemplate of {{tl|documentation}} is used to determine the template page name.
}}</noinclude>
fenc3r6oe2sito28b1d8xgyo9gpq5uf
ਫਰਮਾ:Documentation/start box
10
2942
5626
2023-03-24T09:22:34Z
Kuldeepburjbhalaike
1880
"<!-- Start of green doc box --><div id="template-documentation" class="template-documentation iezoomfix"><!-- Add the heading at the top of the doc box: -->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty--> | <!--"heading=", do nothing--> | <div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;">{{ #if: {{{content|}}} | | <!--Add the [edit][purge] or [create] links--> <span class="editsection plainlink..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<!--
Start of green doc box
--><div id="template-documentation" class="template-documentation iezoomfix"><!--
Add the heading at the top of the doc box:
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty-->
| <!--"heading=", do nothing-->
| <div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;">{{
#if: {{{content|}}}
|
| <!--Add the [edit][purge] or [create] links-->
<span class="editsection plainlinks" id="doc_editlinks">{{
#if: {{{doc exist|yes}}}
| [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history]] [{{purge|purge}}]
| <!--/doc doesn't exist-->
[[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{
#if: {{{preload|}}}
| {{urlencode:{{{preload}}}}}
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:File}}
| Template:Documentation/preload-filespace
| Template:Documentation/preload
}} }} }} create]]
}}</span>
}} <span style="{{#if: {{{heading-style|}}}
| {{{heading-style|}}}
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:Template}}
| font-weight: bold; font-size: 125%
| font-size: 150%
}}
}}">{{#switch: {{{heading|¬}}}
| ¬ =
<!--"heading" not defined in this or previous level-->
{{#switch: {{SUBJECTSPACE}}
| {{ns:Template}} = [[Image:Template-info.svg|50px|alt=Documentation icon]] Template documentation
| {{ns:File}} = Summary
| #default = Documentation
}}
| #default =
<!--"heading" has data or is empty but defined-->
{{{heading|}}}
}}</span></div>
}}</div><noinclude><!-- close the div -->
{{pp-template}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
r0vgq02yf6dcbz4y6m1cn7nhnztmgeg
ਫਰਮਾ:Documentation/start box2
10
2943
5627
2023-03-24T09:23:43Z
Kuldeepburjbhalaike
1880
"{{documentation/start box | preload = {{{preload|}}} <!--Allow custom preloads--> | heading = {{{heading|¬}}} <!--Empty but defined means no header--> | heading-style = {{{heading-style|}}} | content = {{{content|}}} | docpage = {{#if: {{{1|}}} | {{{1|}}} | {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc }} | doc exist = {{#ifexist: {{#if: {{{1|}}} | {{{1|}}} <!--Other docname fed--> | {{{docspac..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation/start box
| preload = {{{preload|}}} <!--Allow custom preloads-->
| heading = {{{heading|¬}}} <!--Empty but defined means no header-->
| heading-style = {{{heading-style|}}}
| content = {{{content|}}}
| docpage =
{{#if: {{{1|}}}
| {{{1|}}}
| {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc
}}
| doc exist =
{{#ifexist:
{{#if: {{{1|}}}
| {{{1|}}} <!--Other docname fed-->
| {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc
}}
| yes
}}
}}<noinclude>
{{pp-template}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
evvfdz38x89xmzvm8q6m4pimyhoko4m
ਫਰਮਾ:Documentation/end box2
10
2944
5628
2023-03-24T09:24:34Z
Kuldeepburjbhalaike
1880
"{{documentation/end box | preload = {{{preload|}}} <!--Allow custom preloads--> | content = {{{content|}}} | link box = {{{link box|}}} <!--So "link box=off" works--> | docpage = {{#if: {{{1|}}} | {{{1|}}} | {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc }} | doc exist = {{#ifexist: {{#if: {{{1|}}} | {{{1|}}} <!--Other docname fed--> | {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation/end box
| preload = {{{preload|}}} <!--Allow custom preloads-->
| content = {{{content|}}}
| link box = {{{link box|}}} <!--So "link box=off" works-->
| docpage =
{{#if: {{{1|}}}
| {{{1|}}}
| {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc
}}
| doc exist =
{{#ifexist:
{{#if: {{{1|}}}
| {{{1|}}} <!--Other docname fed-->
| {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc
}}
| yes
}}
| docname fed =
{{#if: {{{1|}}}
| yes
}}
| sandbox =
{{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/sandbox
| testcases =
{{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/testcases
| template page =
{{NAMESPACE}}:{{{template page|{{PAGENAME}}}}}
}}<noinclude>
{{pp-template}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
g2ve9s20z5yve6o48sscjqe0kkaz658
ਫਰਮਾ:Documentation/end box
10
2945
5629
2023-03-24T09:25:18Z
Kuldeepburjbhalaike
1880
"<noinclude><div></noinclude><div style="clear: both;"></div><!--So right or left floating items don't stick out of the doc box.--> </div><!--End of green doc box--><!-- Link box below for the doc meta-data: -->{{#if: <!--Check if we should show the link box--> {{#ifeq: {{{link box|}}} | off | | {{{doc exist|yes}}}{{ #switch: {{SUBJECTSPACE}} | {{ns:User}} | {{ns:Template}} = yes }} }} | {{fmbox | id = documentation-..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude><div></noinclude><div style="clear: both;"></div><!--So right or left floating items don't stick out of the doc box.-->
</div><!--End of green doc box--><!--
Link box below for the doc meta-data:
-->{{#if:
<!--Check if we should show the link box-->
{{#ifeq: {{{link box|}}} | off
|
| {{{doc exist|yes}}}{{
#switch: {{SUBJECTSPACE}}
| {{ns:User}}
| {{ns:Template}} = yes
}}
}}
| {{fmbox
| id = documentation-meta-data
| image = none
| style = background-color: #ecfcf4;
| textstyle = font-style: italic;
| text =
{{#if: {{{link box|}}}
| {{{link box}}} <!--Use custom link box content-->
| {{#if: {{{doc exist|yes}}}
| <!--/doc exists, link to it-->
The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. <small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] | [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])</small> <br>
}}<!--
Add links to /sandbox and /testcases when appropriate:
-->{{#switch: {{SUBJECTSPACE}}
| {{ns:User}}
| {{ns:Template}} =
Editors can experiment in this template's {{
#ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}}
| [[{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|sandbox]] <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} edit] <nowiki>|</nowiki> [{{fullurl:Special:ComparePages | page1={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&page2={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} diff])</small>
| sandbox <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-sandbox }} create] <nowiki>|</nowiki> [{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&summary={{urlencode:Create sandbox version of [[{{{template page|{{FULLPAGENAME}}}}}]]}} }} mirror])</small>
}} and {{
#ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}}
| [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|testcases]] <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit])</small>
| testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} create])</small>
}} pages. <br>
}}<!--
Show the cats and interwiki text, but not
if "content" fed or "docname fed" since then it is
unclear where to add the cats and interwikis.
-->{{#if: {{{content|}}} {{{docname fed|}}}
|
| Please add categories and interwikis to the [[{{{docpage|{{FULLPAGENAME}}/doc}}}|/doc]] subpage.
}}<!--
Show the "Subpages" link:
-->{{#switch: {{SUBJECTSPACE}}
| {{ns:File}} = <!--Don't show it-->
| {{ns:Template}} =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this template]].
| #default =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this page]].
}}
}}{{#ifexist:{{FULLPAGENAME}}/Print
|<br>A [[Help:Books/for experts#Improving the book layout|print version]] of this template exists at [[/Print]]. If you make a change to this template, please update the print version as well.[[Category:Templates with print versions]]
}}
}}
}}<!--End link box--><!--
Detect and report strange usage:
-->{{#if:
<!--Check if {{documentation}} is transcluded
on a /doc or /testcases page-->
{{#switch: {{SUBPAGENAME}}
| doc
| testcases = strange
}}
<!--More checks can be added here, just return anything
to make the surrounding if-case trigger-->
| <includeonly>[[Category:Wikipedia pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly>
}}<noinclude>
{{pp-template|small=yes}}
</noinclude>
not00a9bvzasg94u9vhqveszdbq2by2
ਫਰਮਾ:Fmbox
10
2946
5630
2023-03-24T09:26:00Z
Kuldeepburjbhalaike
1880
"<table id="{{{id|}}}" class="plainlinks fmbox {{#switch:{{{type|}}} | warning = fmbox-warning | editnotice = fmbox-editnotice | system <!-- system = default --> | #default = fmbox-system }} {{{class|}}}" style="{{{style|}}}"> <tr> {{#ifeq:{{{image|}}}|none | <!-- No image. --> | <td class="mbox-image"> {{#if:{{{image|}}} | {{{image}}} | File:{{#switch:{{{type|}}} | warning = Ambox warning pn.svg | editnotice = Info..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<table id="{{{id|}}}" class="plainlinks fmbox
{{#switch:{{{type|}}}
| warning = fmbox-warning
| editnotice = fmbox-editnotice
| system <!-- system = default -->
| #default = fmbox-system
}} {{{class|}}}" style="{{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. -->
| <td class="mbox-image">
{{#if:{{{image|}}}
| {{{image}}}
| [[File:{{#switch:{{{type|}}}
| warning = Ambox warning pn.svg
| editnotice = Information icon4.svg
| system <!-- system = default -->
| #default = Information icon4.svg
}}|40x40px|link=|alt=]]
}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright"> {{{imageright}}} </td>
}}
</tr>
</table><!--
Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| warning
| editnotice
| system = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
15f638q3x7g2of5w5fxgiwnclkf68du
ਫਰਮਾ:Fmbox/doc
10
2947
5631
2023-03-24T09:26:36Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{mbox templates}} This is the {{tl|fmbox}} or '''footer & header message box''' template. It can be used to build message boxes for system messages such as [[MediaWiki:Sp-contributions-footer-anon]]. It can also be used for footer and header boxes on user pages and for [[w:Wikipedia:Editnotice|editnotices]]. This template works similarly to {{tl|..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{mbox templates}}
This is the {{tl|fmbox}} or '''footer & header message box''' template.
It can be used to build message boxes for system messages such as [[MediaWiki:Sp-contributions-footer-anon]]. It can also be used for footer and header boxes on user pages and for [[w:Wikipedia:Editnotice|editnotices]].
This template works similarly to {{tl|ambox}} and mostly uses the same parameters. The main differences are that this box is 100% wide and has different colour styles.
=== Usage ===
Simple usage example:
<pre>
{{fmbox | text = Some text.}}
</pre>
{{fmbox | text = Some text.}}
Complex example:
<pre>
{{fmbox
| type = editnotice
| image = [[Image:Emblem-question-yellow.svg|40px]]
| style = border: 1px solid #f4c430;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
</pre>
{{fmbox
| type = editnotice
| image = [[Image:Emblem-question-yellow.svg|40px]]
| style = border: 1px solid #f4c430;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
=== Footer and header message box types ===
The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type.
{{fmbox
| type = warning
| text = type=<u>warning</u> – System warning notices such as [[MediaWiki:Revision-info]] and [[MediaWiki:Protectedpagewarning]].
}}
{{fmbox
| type = editnotice
| text = type=<u>editnotice</u> – Transparent background for [[Wikipedia:Editnotice|editnotices]].
}}
{{fmbox
| type = system
| text = type=<u>system</u> – Light grey system message background (default).
}}
=== Other images ===
The default images shown above are mostly for testing and demonstration. In most cases it is more appropriate to use a more specific image or no image at all. These examples use the '''image''' parameter to specify an image other than the default image.
{{fmbox
| image = [[Image:User-info.svg|40px]]
| text = image = <nowiki>[[Image:User-info.svg|40px]]</nowiki> <br> This image is used for [[MediaWiki:Sp-contributions-footer]].
}}
{{fmbox
| image = [[Image:Commons-logo.svg|40x40px]]
| text = image = <nowiki>[[Image:Commons-logo.svg|40x40px]]</nowiki> <br> Note the use of "40x40px" to also limit the height of the image. This image is used for [[MediaWiki:Sharedupload]].
}}
=== Special ===
Some other parameter combinations.
{{fmbox
| text = No image given ('''default''')
}}
{{fmbox
| image = none
| text = '''image=none''' – No image is used and the '''text''' uses the whole message box area.
}}
{{fmbox
| image = [[Image:User-info.svg|40px]]
| imageright = [[Image:Nuvola apps bookcase.svg|40px]]
| text = image = <nowiki>[[Image:User-info.svg|40px]]</nowiki> <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.svg|40px]]</nowiki>
}}
=== Parameters ===
List of all parameters:
<pre>
{{fmbox
| type = system / editnotice / warning
| image = none / [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| id = CSS id
| class = CSS class names
| style = CSS values
| textstyle = CSS values
| text = The message body text.
}}
</pre>
'''type'''
:If no '''type''' parameter is given the template defaults to type '''system'''. That means it gets a light grey background.
'''image'''
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>image = [[Image:User-info.svg|40px]]</nowiki></code>
:'''none''' = Means that no image is used.
'''imageright'''
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|40px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
'''id'''
:Optional [[Cascading Style Sheets|CSS]] id used by the entire message box table. Without quotation marks <code>" "</code>. Mostly meant to be used to tag a message box with its name, to make it easy to detect the presence of the message from javascript. For instance [[MediaWiki:Sp-contributions-footer]] would use:
::<code>id = sp-contributions-footer</code>
'''class'''
:Optional [[Cascading Style Sheets|CSS]] class names used by the entire message box table. Without quotation marks <code>" "</code>. Mostly meant to be used to tag a message box with its name so it can be individually skinned. For instance [[MediaWiki:Sp-contributions-footer]] would use:
::<code>class = sp-contributions-footer</code>
'''style'''
:Optional [[Cascading Style Sheets|CSS]] values used by the entire message box table. Without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>. For example:
::<code>style = margin-top: 1em;</code>
'''textstyle'''
:Optional [[Cascading Style Sheets|CSS]] values used by the text cell. For example:
::<code>textstyle = font-size: 90%; text-align: center;</code>
'''text'''
:The message body text.
=== Technical details ===
This template currently uses hard coded styles and class names. Later it will only use CSS classes making it easier to skin. (In the meantime it can be skinned by using the "<code>!important</code>" keyword.)
If you need to make a box that is less than 100% wide, then do ''not'' use this box, instead use the {{tl|ombox}}. Since this box doesn't have the "1px empty image cell" code that makes it so the other mboxes get proper box flow in all browsers when less than 100% wide.
If you need to use special characters in the text parameter then you need to escape them like this:
<pre>
{{fmbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
</pre>
{{fmbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
Internally this meta-template uses HTML wikimarkup instead of wikimarkup for the table code. That is the usual way we make meta-templates since wikimarkup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and some special characters in parameters.
The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers. Note that svg icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons.
'''Note to admins:''' MediaWiki does not parse and convert HTML wikimarkup in system messages the same way as it does for normal pages. This means for instance that <code><br></code> is not automatically converted to <code><br /></code> and missing <code></td></code> and <code></tr></code> tags are not automatically added. Thus see to that any HTML code you use in system messages are valid XHTML. That is, close all tags that you begin. However, regular wikimarkup works fine in most system messages.
{{Mbox templates see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Metatemplates|{{PAGENAME}}]]
[[et:Mall:Fmbox]]
[[id:Templat:Fmbox]]
[[it:Template:Fmbox]]
[[ja:Template:Fmbox]]
[[mk:Шаблон:Fmbox]]
[[no:mal:Fmbox]]
[[pt:Predefinição:Fmbox]]
[[ro:Format:Meta-casetămas]]
</includeonly>
5q498oms0j62qyzwx3ldcgt17t7x3rr
ਫਰਮਾ:Documentation/docspace
10
2948
5632
2023-03-24T09:27:38Z
Kuldeepburjbhalaike
1880
"{{#switch: {{SUBJECTSPACE}} | {{ns:0}} | {{ns:File}} | {{ns:MediaWiki}} | {{ns:Category}} = {{TALKSPACE}} | #default = {{SUBJECTSPACE}} }}<noinclude> {{documentation|content= This subtemplate of {{tl|documentation}} is used to determine the namespace of the documentation page. }}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#switch: {{SUBJECTSPACE}}
| {{ns:0}}
| {{ns:File}}
| {{ns:MediaWiki}}
| {{ns:Category}} = {{TALKSPACE}}
| #default = {{SUBJECTSPACE}}
}}<noinclude>
{{documentation|content=
This subtemplate of {{tl|documentation}} is used to determine the namespace of the documentation page.
}}</noinclude>
7f8iymss9sr4v7f4t5pza1arwjogrv3
ਫਰਮਾ:Documentation/doc/see also
10
2949
5633
2023-03-24T09:30:24Z
Kuldeepburjbhalaike
1880
"<!-- This subpage is transcluded into several /doc subpages to identify the near relataves, far relatives and ancestors of the templates transcluding this subpage. Listing additional unrelated templates should be done at the bottom with section headers clearly stating the relationship between such additions and the templates transcluding this subpage. Thank you, [[User:ConradPino]] 00:50, 19 November 2007 (UTC). --> === {{ Documentatio..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<!--
This subpage is transcluded into several /doc subpages to identify
the near relataves, far relatives and ancestors of the templates
transcluding this subpage.
Listing additional unrelated templates should be done at the bottom
with section headers clearly stating the relationship between such
additions and the templates transcluding this subpage.
Thank you, [[User:ConradPino]] 00:50, 19 November 2007 (UTC).
-->
=== {{ Documentation }} family ===
*[[Template:Documentation]]
**[[Template:Documentation/doc]]
**[[Template:Documentation/doc/see also]]
*[[Template:Documentation subpage]]
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
hs51xs7exm7g1uu5bwffg1l8jlp8e0k
ਫਰਮਾ:Quiz
10
2950
5658
5651
2023-03-30T16:56:24Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
<div class="collapsible" style="clear:both; width:{{{width}}}">
<div class="title" style="text-align:left;"><div class="question" style="font-weight:bold;">{{{question}}}</div>
:<div class="choice" style="text-align:left;"><span class="letter" style="font-weight:bold;">ੳ: </span><span class="choice">{{{a}}}</span></div>
:<div class="choice" style="text-align:left;"><span class="letter" style="font-weight:bold;">ਅ: </span><span class="choice">{{{b}}}</span></div>
:<div class="choice" style="text-align:left;"><span class="letter" style="font-weight:bold;">ੲ: </span><span class="choice">{{{c}}}</span></div>
:<div class="choice" style="text-align:left;"><span class="letter" style="font-weight:bold;">ਸ: </span><span class="choice">{{{d}}}</span></div>
</div>
<div class="answer" style="text-align:{{{alignA|left}}};"><span class="answerprefix" style="font-weight:bold;">ਉੱਤਰ: </span>{{{answer}}}
</div>
</div>
{{only in print|1=<br /><br /><br />}}
<br clear="both" /><noinclude>{{documentation}}</noinclude>
mndgkyy160mqu3byg2lxndokzkw56vs
ਫਰਮਾ:Quiz/doc
10
2951
5652
2023-03-29T07:42:04Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === A collapsible quiz question box based on the [[Template:Question-answer|question-answer]] and [[Template:Riddle|riddle]] templates helps editors create exercises for readers. This template includes a few things, however, not included on those templates, including bolded titles and defined answer parameters. ===Parameters=== ;width : Wi..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
=== Usage ===
A collapsible quiz question box based on the [[Template:Question-answer|question-answer]] and [[Template:Riddle|riddle]] templates helps editors create exercises for readers. This template includes a few things, however, not included on those templates, including bolded titles and defined answer parameters.
===Parameters===
;width
: Width of the "box". Defaults to 100%.
;question
: The question you want to ask. This will be in bold.
;a
: Answer choice "'''A:'''"
;b
: Answer choice "'''B:'''"
;c
: Answer choice "'''C:'''"
;d
: Answer choice "'''D:'''"
===Examples===
A simple example:
<pre>{{Quiz|question=What time is it? |a=Game time. |b=Party time. |c=Time to get a watch. |d=Who cares? |answer='''D''' is clearly the correct answer, because...}}</pre>
renders as:
{{Quiz|question=What time is it? |a=Game time. |b=Party time. |c=Time to get a watch. |d=Who cares? |answer='''D''' is clearly the correct answer, because...}}
=== See also ===
* [[Template:DropBox]]
* [[Template:Question-answer]]
* [[Template:Riddle]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Collapse templates|{{PAGENAME}}]]
</includeonly>
lnd8stsjja7gpinchwnujnz1v1u216h
ਫਰਮਾ:Only in print
10
2952
5653
2023-03-29T07:42:41Z
Kuldeepburjbhalaike
1880
"{{#if:{{hide in print|1}}||{{{1|}}}}}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#if:{{hide in print|1}}||{{{1|}}}}}<noinclude>
{{documentation}}
</noinclude>
rm8emca34tsah296fr9jh9dzgyhnfxo
ਫਰਮਾ:Only in print/doc
10
2953
5654
2023-03-29T07:43:11Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} ==Usage== This template can be used to include parts of a page (or template) ''only'' in print versions. ===Example=== <code><nowiki>{{only in print|text to be shown}}</nowiki></code> <code><nowiki>{{only in print|1=text to be shown that uses an = sign}}</nowiki></code> ==See also== *{{tl|Hide in print}} *{{tl|Noprint}} *[[Help:Collections]] <includeonly> [[Category:Print templates|{{PAGENAME}}]] </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
==Usage==
This template can be used to include parts of a page (or template) ''only'' in print versions.
===Example===
<code><nowiki>{{only in print|text to be shown}}</nowiki></code>
<code><nowiki>{{only in print|1=text to be shown that uses an = sign}}</nowiki></code>
==See also==
*{{tl|Hide in print}}
*{{tl|Noprint}}
*[[Help:Collections]]
<includeonly>
[[Category:Print templates|{{PAGENAME}}]]
</includeonly>
cii92fzi6gnk7dcodqznrzpqgqzmsj3
ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਲਾਈਨਾਂ
0
2954
5656
2023-03-29T08:02:56Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਰੇਖਾਵਾਂ]]
wikitext
text/x-wiki
#redirect[[ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਰੇਖਾਵਾਂ]]
8lqyoj0pvlp6zgx87uuphrlkyul1h38
ਫਰਮਾ:Both
10
2955
5659
2023-04-01T03:54:12Z
Kuldeepburjbhalaike
1880
"{{#if:{{{1|}}}|{{#if:{{{2|}}}|1}}}}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#if:{{{1|}}}|{{#if:{{{2|}}}|1}}}}<noinclude>
{{documentation}}
</noinclude>
i47oohqipwf7wo7gvfqydm384eronbs
ਫਰਮਾ:Both/doc
10
2956
5660
2023-04-01T03:55:23Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> ==Usage== <nowiki>{{both|string1|string2}}</nowiki> Produces '''1''' (equivalent to a true condition) if both ''string1'' and ''string2'' are non-empty; otherwise produces the empty string (false condition). ===Template Data=== {{TemplateDataHeader}} <templatedata>{ "description": "Produces '1' (equivalent to a true condition) if both 'string1' an..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
==Usage==
<nowiki>{{both|string1|string2}}</nowiki>
Produces '''1''' (equivalent to a true condition) if both ''string1'' and ''string2'' are non-empty; otherwise produces the empty string (false condition).
===Template Data===
{{TemplateDataHeader}}
<templatedata>{
"description": "Produces '1' (equivalent to a true condition) if both 'string1' and 'string2' are non-empty; otherwise produces the empty string (false condition).",
"params": {
"1": {
"label": "String1",
"description": "First string",
"type": "string",
"required": true
},
"2": {
"label": "String2",
"description": "Second string",
"type": "string",
"required": true
}
}}</templatedata>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Boolean, register, and condition testing templates]]
[[Category:Formatting and function templates]]
</includeonly>
j1fmao9hcrqaew26hwtod0c0jorsp1j
ਫਰਮਾ:TemplateDataHeader
10
2957
5661
2023-04-01T03:56:25Z
Kuldeepburjbhalaike
1880
"{{#if:{{{noheader|}}}| |This is the [[w:Wikipedia:VisualEditor/TemplateData|TemplateData]] documentation for the template used by the new VisualEditor.}} '''{{{1|{{BASEPAGENAME}}}}}''' <includeonly>[[Category:TemplateData documentation]]</includeonly><noinclude>{{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#if:{{{noheader|}}}| |This is the [[w:Wikipedia:VisualEditor/TemplateData|TemplateData]] documentation for the template used by the new VisualEditor.}}
'''{{{1|{{BASEPAGENAME}}}}}'''
<includeonly>[[Category:TemplateData documentation]]</includeonly><noinclude>{{Documentation}}</noinclude>
8z63e89khqukkw9o5w0nanp21yalo6f
ਫਰਮਾ:TemplateDataHeader/doc
10
2958
5662
2023-04-01T03:58:27Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> Inserts a brief header for the template data section. Adds the page to [[:Category:TemplateData documentation]]. == Usage == <pre> == TemplateData== {{TemplateDataHeader}} <templatedata>{ ... }</templatedata> </pre> Use <code><nowiki>{{TemplateDataHeader|Template name}}</nowiki></code> if you want an alternative name for the template to be display..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
Inserts a brief header for the template data section. Adds the page to [[:Category:TemplateData documentation]].
== Usage ==
<pre>
== TemplateData==
{{TemplateDataHeader}}
<templatedata>{
...
}</templatedata>
</pre>
Use <code><nowiki>{{TemplateDataHeader|Template name}}</nowiki></code> if you want an alternative name for the template to be displayed.
== TemplateData==
{{TemplateDataHeader}}
<templatedata>{
"description": "Inserts a brief header for the template data section. Adds the page to [[Category:TemplateData documentation]]",
"params": {
"1": {
"label": "Template name",
"description": "The name of the template to display. Default is {{BASEPAGENAME}}.",
"type": "string",
"required": false
}
}
}</templatedata>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
</includeonly>
1zixg7rwrritsm457ajjjnye7yff1eu
ਫਰਮਾ:Collapsible
10
2959
5663
2023-04-01T04:01:52Z
Kuldeepburjbhalaike
1880
"<div class="collapsible" style="clear:both; width:{{{width|70%}}}; margin-left:2em;"> <div class="title" style="background-color:#000066; color:#FFFFFF; text-align:{{{alignT|left}}}">{{{header}}}</div> <div class="body" style="text-align:{{{align|left}}}"> {{{text}}} </div> </div><noinclude>[[{{BOOKCATEGORY|SQL Exercises}}/Templates|{{PAGENAME}}]]</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="collapsible" style="clear:both; width:{{{width|70%}}}; margin-left:2em;">
<div class="title" style="background-color:#000066; color:#FFFFFF; text-align:{{{alignT|left}}}">{{{header}}}</div>
<div class="body" style="text-align:{{{align|left}}}">
{{{text}}}
</div>
</div><noinclude>[[{{BOOKCATEGORY|SQL Exercises}}/Templates|{{PAGENAME}}]]</noinclude>
ealyievrdxxwz1ef7nju3bc8r8bx6eb
ਮਦਦ:Quizzes
12
2960
5665
2023-04-07T08:12:24Z
Kuldeepburjbhalaike
1880
"{{Wikibooks help}} '''Interactive quizzes and exams''' are a great way for readers to test their knowledge, see what they have learned, and check their progress as they read a book. == Quiz usage == Books are intended to help people learn new things, and quizzes can be used to complement and improve the educational usefulness of a book. However, any work intended to ''only'' test a person's existing knowledge belongs at [[v:|Wikiversity]]. ==..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Wikibooks help}}
'''Interactive quizzes and exams''' are a great way for readers to test their knowledge, see what they have learned, and check their progress as they read a book.
== Quiz usage ==
Books are intended to help people learn new things, and quizzes can be used to complement and improve the educational usefulness of a book. However, any work intended to ''only'' test a person's existing knowledge belongs at [[v:|Wikiversity]].
== Help Guide ==
Thanks to the contribution of users from Wikiversity, a complex tutorial, on building your quizzes, is provided below.
=== The quiz tag ===
This is how to insert a quiz into your Wikibook.
{| class="wikitable"
!width="30%"|wikitext<br />(what you write)!!width="30%"|rendering<br />(what you see)!!comments
|-
|valign=top width=200|
<quiz><br />''insert questions here''<br /></quiz>
|valign=top|
{|
|<quiz>
{''This is where questions would appear.''}
</quiz>
|}
|valign=top|The ''quiz'' tags do the following:
* They insert some standard quiz options at the top and a color-key for marking. The color-key only appears when the question is marked.
* They add a "submit" button at the bottom for when the learner has finished the quiz and wants it marked.
* Everything between the quiz tags is parsed by the quiz extension and turned into questions if possible.
Theoretically, it is possible to put ''quiz'' tags around each individual question, allowing a learner to mark each one in turn.
'''Shuffling questions''': if the shuffle questions button is shown, the questions can be shuffled by clicking the button. This only works so long as the quiz-taker has not started to answer the questions. Once the quiz-taker starts answering, the order is locked.
|-
|valign=top|
<quiz display=simple><br />''insert questions here''<br /></quiz>
|valign=top|
{|
|<quiz display=simple>
{''This is where questions would appear.''}
</quiz>
|}
|valign=top|
* Importantly, the addition of "display=simple" as an attribute of the quiz tag removes the points table at the top.
* This is useful for short quizzes, and especially for situations where you insert single questions between text blocks.
|-
|valign=top|
<quiz shuffle=none><br />''insert questions here''<br /></quiz>
|valign=top|
{|
|<quiz shuffle=none>
{''This is where questions would appear.''}
</quiz>
|}
| valign=top|
* If you'd like to keep the points table but get rid of the button for shuffling questions, use ''shuffle=none'' as shown.
|}
=== Inserting questions ===
The types of questions available are shown below.
An important point is that '''each question must be separated by a blank line''', otherwise they are merged together into one question.
=== How to use the examples ===
In the examples on this page, there is both ''wikitext'' and ''rendering''. The ''wikitext'' shows you the code, which you can copy and paste into your pages, or just learn and understand. The ''rendering'' shows you what the result will look like.
==== Copying and pasting ====
The markup has been slightly simplified in order to help ''understanding''. If you copy and paste, you must insert <quiz> tags before and after the markup. You may wish to use the quiz tags with the "display=simple" option as shown above.
Note that the actual example below also use ''tables'' for clarity. If a quiz is inserted into a table, this modifies the appearance of a quiz - for example, boxes appear around some elements in the quiz. If you don't use a table, these boxes disappear and your quiz will look plainer.
When pasting, ensure that '''all the symbols are aligned with the left of the page''' - i.e. if any line begins with a space, formatting errors may occur.
==== Live demos ====
All the examples below should work. Don't be afraid to try them out. Hitting the ''correction'' button is OK - it won't change or damage this page.
== Basic question types ==
=== Multiple choice / single response ===
{| class="wikitable"
!width="30%"|wikitext!!width="30%"|rendering!!width="30%"|comments
|-
|style="vertical-align:top;"|
<syntaxhighlight lang="text">
{Question
|type="()"}
+ The correct answer.
- Distractor.
- Distractor.
- Distractor.
</syntaxhighlight>
|style="vertical-align:top;"|
{|
|
<quiz display=simple>
{Question
|type="()"}
+ The correct answer.
- Distractor.
- Distractor.
- Distractor.
</quiz>
|}
|style="vertical-align:top;"|
* This type of question allows a '''single''' correct response and any number of distractors (3 distractors are shown, but it could be one, or nine, or any other number).
* The correct answer may be in any position, and is marked by a plus sign. Distractors are marked by minus signs.
* The wikitext shown should be inserted between <quiz> tags as shown above.
* Answers appear in the same order as in the markup, so it is advisable to shuffle them before exporting into markup.
* Every symbol, i.e. '''|''', +, - and any other symbols listed further down, '''must''' be on a new line.
* The symbols must '''begin''' the newline - no spaces before them.
* The borders are a result of the border around the wiki table. They are optional.
* A ''distractor'' is the standard term for a multiple choice option which is wrong.
* The () symbol in the type attribute is supposed to look like a radio button.
* To see the full colour code (with four colours), try doing the quiz and clicking the correction button.
* A ''second'' click on a radio button (i.e. a click on an already clicked radio button) will deselect it.
|}
=== True/false questions ===
{| class="wikitable"
!width="30%"|wikitext!!width="30%"|rendering!!width="30%"|comments
|-
|style="vertical-align:top;"|
<syntaxhighlight lang="text">
{Bulgaria and Rumania joined the
European Union in 2007.
|type="()"}
+ TRUE.
- FALSE.
</syntaxhighlight>
<syntaxhighlight lang="text">
{Switzerland is a member of the
European Union.
|type="()"}
- TRUE.
+ FALSE.
</syntaxhighlight>
|style="vertical-align:top;"|
{|width=260|
<quiz display=simple>
{Bulgaria and Rumania joined the European Union in 2007.
|type="()"}
+ TRUE.
- FALSE.
{Switzerland is a member of the European Union.
|type="()"}
- TRUE.
+ FALSE.
</quiz>
|}
|style="vertical-align:top;"|
* In many quiz systems, true/false questions are listed as a separate kind of question, although they are really nothing more than a variety of multiple choice with a single response. The Quiz Extension correctly treats true/false questions as multiple choice with a single response. They are implemented in exactly the same way as above.
* The first of the two examples shows a true/false question where the correct answer is "true".
* The second of the two examples shows a true/false question where the correct answer is "false".
* The examples are live and can be tried out now.
* If you have a large number of true/false questions, a more efficient way to lay them out would be to use the [[Help:Quizzes#Tabular response type with radio buttons|tabular response type with radio buttons]] documented below.
|}
=== Multiple choice / multiple response ===
{| class="wikitable"
!width="30%"|wikitext!!width="30%"|rendering!!width="30%"|comments
|-
|valign="top"|
<syntaxhighlight lang="text">
{Question
|type="[]"}
+ Correct answer.
- Incorrect answer.
+ Correct answer.
- Incorrect answer.
</syntaxhighlight>
|valign="top"|
{|width=300|
|
<quiz display=simple>
{Question
|type="[]"}
+ Correct answer.
- Incorrect answer.
+ Correct answer.
- Incorrect answer.
</quiz>
|}
|valign="top"|
* This type of question is a multiple choice where more than one answer could be correct.
* Correct answers are indicated by plus signs, incorrect ones by minus signs.
* The wikitext shown should be inserted between <quiz> tags as shown above.
* Answers appear in the same order as in the markup, so it is advisable to shuffle them before exporting into markup.
* Every symbol, i.e. '''{{!}}''', +, - and any other symbols listed further down, '''must''' be on a new line.
* The symbols must '''begin''' the newline - no spaces before them.
* The borders are a result of the border around the wiki table. They are optional.
* The [] symbol in the type attribute is supposed to look like a checkbox.
|}
=== Typed response (short answer) ===
{| class="wikitable"
!width="30%"|wikitext!!width="30%"|rendering!!width="30%"|comments
|-
|style="vertical-align:top;"|
<syntaxhighlight lang="text">
{
|type="{}"}
Where was Aristotle born?
{ Stageira }
{
|type="{}"}
Name Aristotle's famous mentor.
{ Plato }
{
|type="{}"}
{ Alexander } was Aristotle's most
famous pupil.
</syntaxhighlight>
|valign="top"|
{|
|
<quiz display=simple>
{
|type="{}"}
Where was Aristotle born? { Stageira }
{
|type="{}"}
Name Aristotle's famous mentor. { Plato }
{
|type="{}"}
{ Alexander } was Aristotle's most famous pupil.
</quiz>
|}
|style="vertical-align:top;"|
* In a ''typed response'' the quiz-taker types an answer into a textfield using the keyboard.
* The question type is signalled using '''"{}"''' as the argument of the ''type''.
* A textfield is inserted using curly brackets at the desired position of the textfield.
** Note that curly brackets alone don't create a textfield. The curly brackets must have spaces between them and the enclosed text. '''{ Answer }''' works, but '''{Answer}''' doesn't work.
** The correct answer must be inserted between the curly brackets.
** The textfield can be positioned anywhere in the text. Text before and after the text field will display as normal text.
* The borders are a result of the border around the wiki table. They are optional.
* A non-breaking space was inserted between { and |type= because some text is required at that position (slightly buggy thing).
* Answers are case-sensitive, meaning if the answer contains a capital letter, it must be typed in the answer box with a capital letter.
|-
|style="vertical-align:top;"|
<syntaxhighlight lang="text">
{
|type="{}"}
Name a famous Greek philosopher.
{ Aristotle|Plato }
</syntaxhighlight>
|
{|
|
<quiz display=simple>
{
|type="{}"}
Name a famous Greek philosopher. { Aristotle|Plato }
</quiz>
|}
|style="vertical-align:top;"|
* Typed responses often have more than one possible answer. You can list all the possible answers inside the curly brackets using a pipe to separate them.
* In the example, there are two possible answers. Try it - the demo is live.
|-
|style="vertical-align:top;"|
<syntaxhighlight lang="text">
{
|type="{}"}
Name Aristotle's famous mentor.
{ Plato _6 }
</syntaxhighlight>
|
{|
|
<quiz display=simple>
{
|type="{}"}
Name Aristotle's famous mentor. { Plato _6 }
</quiz>
|}
|style="vertical-align:top;"|
* To modify the size of the textfield, add an underscore and an integer following the answer within the curly brackets to represent the number of glyph spaces you need.
* This number depends, however it should be around n+2 (where n is the number of glyphs in the answer)
|-
|style="vertical-align:top;"|
<syntaxhighlight lang="html">
{ Complete each box with a synonym
of the following words
|type="{}"}
<ol>
<li>free: { gratis _6 }</li>
<li>well: { good _4 }</li>
</ol>
</syntaxhighlight>
|valign="top"|
{|
|
<quiz display=simple>
{ Complete each box with a synonym of the following words
|type="{}"}
<ol><li>free: { gratis _6 }</li><li>well: { good _4 }</li></ol>
</quiz>
|}
|style="vertical-align:top;"|
* You can group the items into one only question.
* Do not use line breaks between <syntaxhighlight lang="html" inline=yes><li></syntaxhighlight> the entire list must appear as a single line (or span)
|-
|style="vertical-align:top;"|
<syntaxhighlight lang="text">
{
|type="{}"}
Where did Aristotle die?
{ Chalcis (i) }
</syntaxhighlight>
|
{|
|
<quiz display=simple>
{
|type="{}"}
Where did Aristotle die? { Chalcis (i) }
</quiz>
|}
|style="vertical-align:top;"|
* '''Case-sensitivity''': typed responses are ''case-sensitive'' unless you add '''''(i)''''' at the position shown. The (i) stands for case-'''in'''sensitive.
* If some question have more than one possible answer, you should include one '''''(i)''''' for each of them.
|}
=== Gapfill / cloze ===
{| class="wikitable"
|-
!wikitext
|
<syntaxhighlight lang="text">
{Complete the text from the Wikipedia article on [[w:Aristotle|Aristotle]].
|type="{}"}
Aristotle was born in { Stageira _8 } in Chalcidice. His parents were { Phaestis _8 }
and { Nicomachus _10 }, who became physician to King Amyntas of Macedon. Aristotle
was educated as a member of the aristocracy. At about the age of { eighteen|18 _8},
he went to { Athens _6 } to continue his education at { Plato _5 }'s Academy.
Aristotle remained at the Academy for nearly twenty years, not leaving until after
Plato's death in { 347 _3 } BC.
</syntaxhighlight>
|-
!rendering
|align=center|
{| class="wikitable" width=500
|
<quiz display=simple>
{Complete the text from the Wikipedia article on [[w:Aristotle|Aristotle]].
|type="{}"}
Aristotle was born in { Stageira _8 } in Chalcidice. His parents were { Phaestis _8 } and { Nicomachus _10 }, who became physician to King Amyntas of Macedon. Aristotle was educated as a member of the aristocracy. At about the age of { eighteen|18 _8}, he went to { Athens _6 } to continue his education at { Plato _5 }'s Academy. Aristotle remained at the Academy for nearly twenty years, not leaving until after Plato's death in { 347 _3 } BC.
</quiz>
|}
|-
!comments
|
* Gapfills (or cloze exercises) are created in almost exactly the same way as typed responses. The difference is that you just write a bit more text and add a few more textfields.
* The gapfill above was additionally placed in a box and centered using a wiki table.
|}
=== Numerical response ===
{| class="wikitable"
!width="30%"|wikitext!!width="30%"|rendering!!width="30%"|comments
|-
|style="vertical-align:top;"|
<syntaxhighlight lang="text">
{In which year was Plato born?
|type="{}"}
He was born in { 427-428 _5 } BC.
</syntaxhighlight>
|style="vertical-align:top;"|
{|
|
<quiz display=simple>
{In which year was Plato born?
|type="{}"}
He was born in { 427-428 _5 } BC.
</quiz>
|}
|style="vertical-align:top;"|
* Numerical responses are a subtle modification of typed responses. The syntax is identical, except for some additions which allow numerical ranges and numerical tolerances if the answer is a number.
* In the example to the right, the uncertainty over Plato's date of birth is reflected in the answer by using a '''range'''. A simple hyphen between the numbers permits all numbers inbetween.
|-
|style="vertical-align:top;"|
<syntaxhighlight lang="text">
{How far is the earth from the sun?
|type="{}"}
{ 91-95 _3 } million miles.
</syntaxhighlight>
|style="vertical-align:top;"|
{|
|
<quiz display=simple>
{How far is the earth from the sun?
|type="{}"}
{ 91-95 _3 } million miles.
</quiz>
|}
|style="vertical-align:top;"|
* This is another example of a range.
* The _3 ensures that the textfield doesn't get too wide.
|-
|style="vertical-align:top;"|
<syntaxhighlight lang="text">
{What is 10 times 10?
|type="{}"}
{ 100 5% _3 }
</syntaxhighlight>
|style="vertical-align:top;"|
{|
|
<quiz display=simple>
{What is 10 times 10?
|type="{}"}
{ 100 5% _3 }
</quiz>
|}
|style="vertical-align:top;"|
* This is an example of specifying a '''tolerance'''. The critical part is "5%", which specifies the expected tolerance of 5%. In this example, values between 95 and 105 should work, but try it.
* At the time of writing, the underscore method of limiting the size of the textfield does not yet work in combination with a tolerance specification, so a range may be a better method of specifying numerical accuracy.
|-
|style="vertical-align:top;" colspan=2 align=center|
{|width=500|
|
<quiz display=simple>
{Complete the following text, inserting words and numbers as appropriate.
|type="{}"}
The Earth formed around { 4.5-4.6 _3 } billion years ago and its only known natural satellite, the { Moon|moon _5 }, began orbiting it around { 4.5 _4 } billion years ago. At present, the Earth orbits the { Sun|sun _5 } once for every roughly { 366-367 _6 } times it rotates about its axis.
</quiz>
|}
|style="vertical-align:top;"|
* Because numerical responses are, programmatically, a sub-variety of typed response, numerical and text responses can be freely mixed in a gapfill as shown to the left.
|}
=== Tabular response type with radio buttons ===
{| class="wikitable"
!width="30%"|wikitext!!width="30%"|rendering!!width="30%"|comments
|-
|
<syntaxhighlight lang="text">
{Question
|type="()"}
| A | B | C
+-- A is correct.
-+- B is correct.
--+ C is correct.
</syntaxhighlight>
|
{|width=360|
|
<quiz display=simple>
{Question
|type="()"}
| A | B | C
+-- A is correct.
-+- B is correct.
--+ C is correct.
</quiz>
|}
|
* Add extra radio buttons by reduplicating the +/- signs at the beginning of each row.
* There should only be one plus sign in each row.
* Specify columns headers by using pipes at the top.
|}
=== Tabular response type with checkboxes ===
{| class="wikitable"
!width="30%"|wikitext!!width="30%"|rendering!!width="30%"|comments
|-
|valign="top"|
<syntaxhighlight lang="text">
{Question
|type="[]"}
| Option A | Option B | Option C
++- Question 1
(Clue: A and B are correct).
-++ Question 2 (
Clue: B and C are correct).
--+ Question 3
(Clue: C is correct).
</syntaxhighlight>
|valign="top"|
{|width=360|
|
<quiz display=simple>
{Question
|type="[]"}
| Option A | Option B | Option C
++- Question 1 (Clue: A and B are correct).
-++ Question 2 (Clue: B and C are correct).
--+ Question 3 (Clue: C is correct).
</quiz>
|}
|valign="top"|
* This type of question has multiple everything.
* Correct answers are indicated by plus signs, incorrect ones by minus signs. By reduplicating the +/- signs at the beginning of each row, extra checkboxes can be added.
* The column headers are defined using pipes at the top as shown.
|}
== Advanced stuff ==
===Inserting feedback===
{| class="wikitable"
!width="30%"|wikitext!!width="30%"|rendering!!width="30%"|comments
|-
|valign="top"|
<syntaxhighlight lang="text">
{Question
|type="()"}
+ The correct answer.
|| Feedback for correct answer.
- Distractor.
|| Feedback for distractor.
- Distractor.
|| Feedback for distractor.
- Distractor.
|| Feedback for distractor.
</syntaxhighlight>
|valign="top"|
{|width=250|
|
<quiz display=simple>
{Question
|type="()"}
+ The correct answer.
|| Feedback for correct answer.
- Distractor.
|| Feedback for distractor.
- Distractor.
|| Feedback for distractor.
- Distractor.
|| Feedback for distractor.
</quiz>
|}
|valign="top"|
* Feedback is text which is initially hidden, and then shown to the user when they submit the quiz for correction. Feedback typically serves the purposes of encouragement, explanation, congratulation and commiseration.
* Feedback is set with all types by using a double vertical line '''{{//}}''' immediately after a response.
* The pipes beginning the ''feedback'' section must be on a new line.
* For question types that involve multiple choices, only the feedback(s) for the choice(s) which was (were) selected by the user is (are) displayed.
* The feedback also works for other question types, e.g. short answer question, cloze, etc., as long as the pipes are on a new line.
* To try out the feedback effect, choose a response and click the correction button. The feedback will then appear.
|}
=== Inserting blocks of text between questions ===
{| class="wikitable"
!width="30%"|wikitext!!width="30%"|rendering!!width="30%"|comments
|-
|valign=top|
<syntaxhighlight lang="text">
{This is the first question.
|type="()"}
+ The correct answer.
- Distractor.
- Distractor.
{This is a block of text.}
{This is the second question.
|type="()"}
+ The correct answer.
- Distractor.
- Distractor.
</syntaxhighlight>
|
{|width=300|
|
<quiz display=simple>
{This is the first question.
|type="()"}
+ The correct answer.
- Distractor.
- Distractor.
{
<div style="float:left;margin-right:0.9em">
[[Image:Arctic terns.jpg|100px|Arctic Terns]]
</div>
The '''[[w:Arctic Tern|Arctic Tern]]''' is a [[w:seabird|seabird]] of the [[w:tern|tern]] [[w:family (biology)|family]] Sternidae. This [[w:bird|bird]] has a [[w:circumpolar|circumpolar]] distribution, breeding colonially in [[w:Arctic|Arctic]] and sub-Arctic regions of [[w:Europe|Europe]], [[w:Asia|Asia]], and [[w:North America|North America]] (as far south as [[w:Bretagne|Brittany]] and [[w:Massachusetts|Massachussets]]).
}
{This is the second question.
|type="()"}
+ The correct answer.
- Distractor.
- Distractor.
</quiz>
|}
|valign=top|
* Text blocks can be inserted between questions by placing it between curly brackets <nowiki>{....}</nowiki>.
* The text blocks can contain wiki markup, such as images, hyperlinks and formatting tags, as shown in this example.
|}
===Using images as answers ===
{| class="wikitable"
!wikitext!!rendered!!comments
|-
|valign=top|
<syntaxhighlight lang="tid">
<quiz display=simple>
{ Which of these are not nuts? }
- [[Image:Walnut03.jpg|100px]]
||do not meet the botanical definition but walnuts are nuts in the culinary sense
+ [[Image:Peanuts.jpg|100px]]
+ [[Image:Malus-Idared on tree.jpg|100px]]
- [[Image:Pistachios in a bag.jpg|100px]]
||do not meet the botanical definition but are nuts in the culinary sense
- [[Image:Chestnut.jpg|100px]]
+ [[Image:P10802511.JPG|100px]]
</quiz>
</syntaxhighlight>
|
{|
|
<quiz display=simple>
{ Which of these are not nuts? }
- [[Image:Walnut03.jpg|100px]]
+ [[Image:Peanuts.jpg|100px]]
+ [[Image:Malus-Idared on tree.jpg|100px]]
- [[Image:Pistachios in a bag.jpg|100px]]
- [[Image:Chestnut.jpg|100px]]
+ [[Image:P10802511.JPG|100px]]
</quiz>
|}
|valign=top|
* Unfortunately there does not yet seem to be a way of putting these into a row or tabularising the layout.
* Although this has not been done here for reasons of space, it is generally good practice to specify some kind of tooltip text for the images, but try to avoid text which gives away the answer.
|}
===Using images in the question===
{| class="wikitable"
!wikitext!!rendered!!comments
|-
|valign="top"|<syntaxhighlight lang="tid">
<quiz display=simple>
{ What is this? [[Image:Butterfly tongue.jpg|100px]]
| type="()" }
- Tiger
+ Butterfly
- Bee
- Fly
</quiz>
</syntaxhighlight>
|valign="top"|
{|
|<quiz display=simple>
{ What is this? [[Image:Butterfly tongue.jpg|100px]]
| type="()" }
- Tiger
+ Butterfly
- Bee
- Fly
</quiz>
|}
|valign="top"|
In this example, the image is part of the question.<br/>
You just use normal wiki-markup to insert the image(s).
|}
=== Using animations ===
The section adds no new technical tricks, but it looks pretty.
{| class="wikitable"
|valign=top|
{|
|
<quiz display="simple">
{ [[Image:Heringsschwarm.gif|thumb|left|What kind of fish are these?]]<br style="clear:both;" />
| typ="()" }
+ Herring
- Salmon
- Tunafish
- Goldfish
</quiz>
|}
|valign=top|
{|
|<quiz display=simple>
{ [[Image:Radial engine.gif|thumb|left|What's this?]]<br style="clear:both;" />
| typ="()" }
- a boxer engine
- a wankel engine
+ a radial engine
</quiz>
|}
|valign=top|
{|
|<quiz display=simple>
{ [[Image:Pyramid of 35 spheres animation.gif|thumb|left|How many balls are there here?]]<br style="clear:both;" />
| typ="{}" }
{ 35 }
</quiz>
|}
|}
===Hyperlinks and other markup===
==== Markup that works inside quizzes ====
* Hyperlinks: <syntaxhighlight lang="text" inline=yes>[[....]]</syntaxhighlight>.
* Images: <syntaxhighlight lang="text" inline=yes>[[Image:....]]</syntaxhighlight>.
* Other media: <syntaxhighlight lang="text" inline=yes>[[....]]</syntaxhighlight>.
* Bold and italic.
* {{tag|big}} and {{tag|br|s}}
==== Markup that partly works inside quizzes ====
* Templates: <syntaxhighlight lang="text" inline=yes>{{....}}</syntaxhighlight>.
** ''subst'' doesn't work.
* Tables: <syntaxhighlight lang="text" inline=yes>{|....|}</syntaxhighlight>.
* Headings: e.g. <syntaxhighlight lang="text" inline=yes>===....===</syntaxhighlight>.
** '''Warning:''' At the moment there is a problem with the table of contents feature.
* Lists and indents: using #, * and :
===Adding music and sound effects ===
This is similar to insertion of images. Standard wiki markup is used.
=== Configuring points ===
{| class="wikitable"
!width="30%"|wikitext<br />(what you write)!!width="30%"|rendering<br />(what you see)!!comments
|-
|valign=top|
<syntaxhighlight lang="text">
<quiz points="3/1!">
{Try this question now.}
+ Plus 3 points for this one.
- Minus 1 point for this one.
</quiz>
</syntaxhighlight>
|
{|
|<quiz points="3/1!">
{Try this question now.}
+ Plus 3 points for this one.
- Minus 1 point for this one.
</quiz>
|}
| valign=top|
* By default, there is 1 point for a correct answer and 0 for a wrong answer.
* You can change this for the whole quiz by using a ''points'' attribute for the ''quiz'' tag.
* The format is "X/Y!", where X gives the points for a correct answer and Y the points for a wrong answer. The Y points are expressed as a positive integer but are ''subtracted'' from the score.
* Due to a '''bug''', the ''points'' attribute has no effect if ''display=simple'' is used (version 0.9.2).
* Values like 1.25 or 2.5 are allowed
|-
|valign=top|
<syntaxhighlight lang="text">
<quiz display=simple>
{Try this question now.
|type="()" }
+ 1 points for this one.
- 0 points for this one.
{Try this question now.
|type="()" coef="2"}
+ 2 points for this one.
- 0 points for this one.
{Try this question now.
|type="()" coef="4"}
+ 4 points for this one.
- 0 points for this one.
{Try this question now.
|type="()" coef="0.5"}
+ 1/2 point for this one.
- 0 points for this one.
</quiz>
</syntaxhighlight>
|
{|
|<quiz display=simple>
{Try this question now.
|type="()" }
+ 1 point for this one.
- 0 points for this one.
{Try this question now.
|type="()" coef="2"}
+ 2 points for this one.
- 0 points for this one.
{Try this question now.
|type="()" coef="4"}
+ 4 points for this one.
- 0 points for this one.
{Try this question now.
|type="()" coef="0.5"}
+ 1/2 point for this one.
- 0 points for this one.
</quiz>
|}
| valign=top|
* A ''coefficient'' is a way of giving a weighting to a specific question. Normally all the questions have the same number of points. By default, they all have one point. By specifying a coefficient for each or any question, you can multiply the number of points for that question by the coefficient.
* Coefficients can be both numbers above one and numbers between 0 and 1. If the coefficient is above 1, the question will receive greater weighting. If the coefficient is less than 1, the question will receive less weighting.
* You '''must''' put inverted commas around the argument of the ''coef'' attribute.
|}
== Troubleshooting ==
* You '''cannot''' test out the quiz while editing a page, because the ''submit'' button is grayed out. If you wish to test your new quiz, then create a sandbox page somewhere else first (e.g. as a subpage of your user page), then test the quiz there, and finally transfer the quiz to its final location (and test it again anyway).
* The quiz was developed for IE6, IE7, Firefox (and Opera?), but display quality on Opera may not be optimal, and there may be display differences between browsers.
* A reminder: each question must be separated by a blank line, otherwise the questions are merged together into one question.
== See also ==
* {{sec link auto|mw|Extension:Quiz}}
{{Wikibooks editor navigation}}
m0tbqza6ks8a678xb4hxvpfizv6tv93
ਫਰਮਾ:Tag
10
2961
5666
2023-04-07T08:14:00Z
Kuldeepburjbhalaike
1880
"<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!-- Opening tag -->{{#switch:{{{2|pair}}} |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}| {{{params|{{{attribs}}}}}}}} }}<!-- Content between tags -->{{#switch:{{{2|pair}}} |c|cl..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
Opening tag
-->{{#switch:{{{2|pair}}}
|c|close =
|e|empty|s|single|v|void
|o|open
|p|pair = <{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}| {{{params|{{{attribs}}}}}}}}
}}<!--
Content between tags
-->{{#switch:{{{2|pair}}}
|c|close = {{{content|}}}
|e|empty|s|single|v|void =  />
|o|open = >{{{content|}}}
|p|pair = {{#ifeq:{{{1|tag}}}|!--||>}}{{{content|...}}}
}}<!--
Closing tag
-->{{#switch:{{{2|pair}}}
|e|empty|s|single|v|void
|o|open =
|c|close
|p|pair = {{#ifeq:{{{1|tag}}}|!--|-->|</{{{1|tag}}}>}}
}}<!--
--></code><noinclude>
{{Documentation}}
</noinclude>
rfqa950ndrmgt6ozaa81dwgyr2n28ea
ਫਰਮਾ:Tag/doc
10
2962
5667
2023-04-07T08:14:37Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template provides a quick way to mention an XML-style tag in a preformatted way. Mainly used in discussion/help pages. === Usage === *'''first parameter''' — ''(mandatory)'' the name of the HTML tag *'''second parameter''' — what type of tag to display: **<code>p</code> or <code>pair</code> – ''(default)'' display a matched pair of ope..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template provides a quick way to mention an XML-style tag in a preformatted way. Mainly used in discussion/help pages.
=== Usage ===
*'''first parameter''' — ''(mandatory)'' the name of the HTML tag
*'''second parameter''' — what type of tag to display:
**<code>p</code> or <code>pair</code> – ''(default)'' display a matched pair of open-and-close tags: {{tag|font|pair}}
**<code>o</code> or <code>open</code> – display only the opening tag of an open-and-close pair: {{tag|span|open}}
**<code>c</code> or <code>close</code> – display only the closing tag of an open-and-close pair: {{tag|span|close}}
**<code>s</code> or <code>single</code> – display a single tag: {{tag|br|single}}
*'''content=''' — the text content of the tags
*'''params=''' — any parameters to be included in the opening tag
====Examples====
* <code><nowiki>{{tag|ref}}</nowiki></code> → {{tag|ref}}
* <code><nowiki>{{tag|ref|content=hello}}</nowiki></code> → {{tag|ref|content=hello}}
* <code><nowiki>{{tag|font|content=foo}}</nowiki></code> → {{tag|font|content=foo}}
* <code><nowiki>{{tag|font|open}}</nowiki></code> → {{tag|font|open}}
* <code><nowiki>{{tag|font|open|content=hello}}</nowiki></code> → {{tag|font|open|content=hello}}
* <code><nowiki>{{tag|span|close|content=hello}}</nowiki></code> → {{tag|span|close|content=hello}}
* <code><nowiki>{{tag|span|pair|content=hello}}</nowiki></code> → {{tag|span|pair|content=hello}}
* <code><nowiki>{{tag|ref|open|params=group=note}}</nowiki></code> → {{tag|ref|open|params=group=note}}
* <code><nowiki>{{tag|references|single}}</nowiki></code> → {{tag|references|single}}
* <code><nowiki>{{tag|br|single}}</nowiki></code> → {{tag|br|single}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
[[Category:Typing-aid templates|{{PAGENAME}}]]
</includeonly>
suw0xn7o9sctsekfgdc5bug6yw5lg4x
ਫਰਮਾ:Question-answer
10
2963
5668
2023-04-07T08:16:10Z
Kuldeepburjbhalaike
1880
"{{dynamic navigation | titlestyle = text-align:left; | title = {{{question|(This lesson is incomplete. Click "edit" to provide an example.)}}} | body = {{Print version change | printonly = <div style="transform:rotate(-180deg);">{{{answer|<small>When you find the answer, you can add it here by clicking "edit".</small>}}}</div> | noprint = {{{answer|<small>When you find the answer, you can add it here by clicking "edit".</small..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{dynamic navigation
| titlestyle = text-align:left;
| title = {{{question|(This lesson is incomplete. Click "edit" to provide an example.)}}}
| body = {{Print version change
| printonly = <div style="transform:rotate(-180deg);">{{{answer|<small>When you find the answer, you can add it here by clicking "edit".</small>}}}</div>
| noprint = {{{answer|<small>When you find the answer, you can add it here by clicking "edit".</small>}}}
}}
}}<noinclude>
This template helps editors create exercises for readers.
The definition is:
<syntaxhighlight lang="moin">
{{dynamic navigation
| titlestyle = text-align:left;
| title = {{Print version change
| printonly = <div style="transform:rotate(-180deg);">{{{answer|<small>When you find the answer, you can add it here by clicking "edit".</small>}}}</div>
| noprint = {{{answer|<small>When you find the answer, you can add it here by clicking "edit".</small>}}}
}}
| body = {{{answer}}}
}}
</syntaxhighlight>
If the renderer supports it, the answer text will be flipped in print.
Here is an example:
<syntaxhighlight lang="moin">
{{Question-answer
| question = Who am I?
| answer = The Question-answer template!
}}
</syntaxhighlight>
This results in:
{{Question-answer
| question = Who am I?
| answer = the Question-answer template
}}
[[Category:Collapse templates|{{PAGENAME}}]]
</noinclude>
9l22b4lahqfm3n6ngwmmgo9d3n5qsuh
ਫਰਮਾ:Dynamic navigation
10
2964
5669
2023-04-07T08:16:56Z
Kuldeepburjbhalaike
1880
"<includeonly><!-- --><div class="collapsible {{#ifeq:{{{expand|no}}}|yes|selected}}" style="{{{style|clear both; border:thin solid rgb(167, 215, 249); background-color: rgb(243, 243, 243);}}}"><!-- --><div class="title" style="{{{titlestyle|font-weight:bold;}}}"><!-- -->{{#if:{{{name|}}}|<div style="float:left; white-space:nowrap; font-size:x-small;" class="plainlinks"><!-- -->Template:{{{name}}}| <span style="color:#002bb8;" title="View th..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><!--
--><div class="collapsible {{#ifeq:{{{expand|no}}}|yes|selected}}" style="{{{style|clear both; border:thin solid rgb(167, 215, 249); background-color: rgb(243, 243, 243);}}}"><!--
--><div class="title" style="{{{titlestyle|font-weight:bold;}}}"><!--
-->{{#if:{{{name|}}}|<div style="float:left; white-space:nowrap; font-size:x-small;" class="plainlinks"><!--
-->[[Template:{{{name}}}| <span style="color:#002bb8;" title="View this template.">v</span>]] <!--
-->[[Template talk:{{{name}}}|<span style="color:#002bb8;" title="Discuss this template.">d</span>]] <!--
-->[{{fullurl:Template:{{{name}}}|action=edit}} <span style="color:#002bb8;" title="Edit this template.">e</span>]</div>}}<!--
-->{{{title}}}</div><!--
--><div class="body {{#ifeq:{{{print|no}}}|yes|expand-print}}" style="{{{bodystyle|padding:0.5em; font-size:90%; text-align:left}}}">
{{{1|{{{body}}}}}}
</div></div></includeonly><noinclude>{{documentation}}</noinclude>
4d2wdze8lkhwh45rztmtg6w4z31o2g1
ਫਰਮਾ:Dynamic navigation/doc
10
2965
5670
2023-04-07T08:17:34Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === {{[[{{NAMESPACE}}:{{BASEPAGENAME}}|{{BASEPAGENAME}}]] |title= |body= }} === Example usage === {| class="wikitable" width="95%" ! width="50%" | what to type !! what it does |- | {{[[{{NAMESPACE}}:{{BASEPAGENAME}}|{{BASEPAGENAME}}]] |title = Sandboxes |bodystyle=text-align:center; |body = <nowiki>W..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
=== Usage ===
{{[[{{NAMESPACE}}:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]
|title=
|body=
}}
=== Example usage ===
{| class="wikitable" width="95%"
! width="50%" | what to type !! what it does
|-
|
{{[[{{NAMESPACE}}:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]
|title = Sandboxes
|bodystyle=text-align:center;
|body =
<nowiki>[[Wikibooks:Sandbox]]</nowiki> |
<nowiki>[[w:Wikipedia:Sandbox|Wikipedia:Sandbox]]</nowiki> |
<nowiki>[[n:Wikinews:Sandbox|Wikinews:Sandbox]]</nowiki> |
<nowiki>[[v:Wikiversity:Sandbox|Wikiversity:Sandbox]]</nowiki> |
<nowiki>[[s:Wikisource:Sandbox|Wikisource:Sandbox]]</nowiki> |
<nowiki>[[wikt:Wiktionary:Sandbox|Wiktionary:Sandbox]]</nowiki>
}}
| valign="top" | {{msg:{{BASEPAGENAME}}
|title = Sandboxes
|bodystyle=text-align:center;
|body =
[[Wikibooks:Sandbox]] |
[[w:Wikipedia:Sandbox|Wikipedia:Sandbox]] |
[[n:Wikinews:Sandbox|Wikinews:Sandbox]] |
[[v:Wikiversity:Sandbox|Wikiversity:Sandbox]] |
[[s:Wikisource:Sandbox|Wikisource:Sandbox]] |
[[wikt:Wiktionary:Sandbox|Wiktionary:Sandbox]]
}}
|}
===TemplateData Metadata===
<templatedata>
{
"params": {
"1": {
"label": "Body (Unmentioned)",
"description": "If the body parameter is not written, the first unnamed parameter is used as the body."
},
"expand": {
"label": "Expand",
"description": "Type yes to show by default.",
"example": "yes, no",
"type": "string",
"default": "no"
},
"style": {
"label": "Style",
"description": "The CSS style for the overall presentation of the template",
"type": "string"
},
"titlestyle": {
"label": "Title Style",
"description": "The CSS style for the title text",
"type": "string"
},
"name": {
"label": "Template Name",
"description": "Displays links for the template's documentation, discussion, and edit pages",
"example": "Dynamic navigation",
"type": "wiki-template-name"
},
"title": {
"label": "Title",
"description": "The displayed title of this Template",
"type": "content",
"suggested": true
},
"print": {},
"bodystyle": {
"label": "Body Style",
"description": "The CSS style for the content within the box",
"type": "string"
},
"body": {
"label": "Body",
"description": "The content in the box when expanded",
"type": "content",
"suggested": true
}
},
"description": "Creates an interactive box that expands, showing new content, when clicked.",
"paramOrder": [
"title",
"titlestyle",
"body",
"bodystyle",
"expand",
"style",
"name",
"print",
"1"
],
"format": "block"
}
</templatedata>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Collapse templates|{{PAGENAME}}]]
[[br:Patrom:Taolenn verdeiñ skeudennet]]
[[ca:Template:Navegació dinàmica]]
[[es:Plantilla:Navegación dinámica con imágen]]
[[pl:Szablon:Uniwersalny szablon nawigacyjny]]
[[ro:Format:Navigaţie dinamică cu imagine]]
[[rmy:Format:Phiripnasko moxton le chitresa]]
</includeonly>
ia57rrdfkjkndvk4mwe9q240nhoa3tk
ਫਰਮਾ:Print version change
10
2966
5671
2023-04-07T08:18:35Z
Kuldeepburjbhalaike
1880
"<noinclude>[[Category:Print templates|Change]]</noinclude> {{#if:{{{noprint|{{{1|}}}}}}|<div class="noprint">{{{noprint|{{{1|}}}}}}</div>}}{{#if:{{{printonly|{{{2|}}}}}}|<div class="printonly">{{{printonly|{{{2|}}}}}}</div>}}<noinclude> This template is used to show text that appears one way on a printable version, and another way when viewed on the wiki. It is used like this: <nowiki>{{Print version change |printonly= <Text that is only sho..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude>[[Category:Print templates|Change]]</noinclude>
{{#if:{{{noprint|{{{1|}}}}}}|<div class="noprint">{{{noprint|{{{1|}}}}}}</div>}}{{#if:{{{printonly|{{{2|}}}}}}|<div class="printonly">{{{printonly|{{{2|}}}}}}</div>}}<noinclude>
This template is used to show text that appears one way on a printable version, and another way when viewed on the wiki. It is used like this:
<nowiki>{{Print version change
|printonly= <Text that is only shown in a printed version>
|noprint= <Text that is only shown on the wiki>
}}</nowiki>
Either <code>printonly=</code> or <code>noprint=</code> can be omitted, if necessary.
<span style="color:#F00;">'''Warning:'''</span> This functionality relies on CSS and may not work (or work correctly) in all browsers.
</noinclude>
588dpmkkpzhmxsr923c5qxpe3vstjnd
ਫਰਮਾ:Riddle
10
2967
5673
5672
2023-04-07T08:21:02Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
<div class="collapsible" style="clear:both; width:{{{width}}}">
<div class="title" style="text-align:{{{alignT|left}}};">{{{title}}}</div>
<div class="body" style="text-align:{{{align|left}}};">
ਉੱਤਰ: {{{text}}}
</div>
</div>
<br clear="both" /><noinclude>
[[{{BOOKCATEGORY|Puzzles}}/Templates|{{PAGENAME}}]]
[[Category:Collapse templates|{{PAGENAME}}]]
</noinclude>
krd0u21si6yaz5zr4eextae8sly0w68
ਫਰਮਾ:Title
10
2968
5674
2023-04-07T08:22:39Z
Kuldeepburjbhalaike
1880
"<span title="{{{1}}}">{{{2}}}</span><noinclude>[[Category:Text formatting templates|{{PAGENAME}}]]</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<span title="{{{1}}}">{{{2}}}</span><noinclude>[[Category:Text formatting templates|{{PAGENAME}}]]</noinclude>
r4laqt7zm1i9b2h1lwzk0dneqe3thqo
ਫਰਮਾ:Sec link auto/doc
10
2969
5675
2023-04-07T08:27:00Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|sec link auto}} template. It can be used to link to any wikimedia project while using the type of connection the user prefers. It is mostly meant to replace hardcoded external links to wikimedia projects such as "<code><nowiki>[http://en.wikipedia.org/wiki/Example?action=history Example history]</nowiki></code>", because these links..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|sec link auto}} template. It can be used to link to any wikimedia project while using the type of connection the user prefers. It is mostly meant to replace hardcoded external links to wikimedia projects such as "<code><nowiki>[http://en.wikipedia.org/wiki/Example?action=history Example history]</nowiki></code>", because these links don't change to reflect the user's preference, like the normal wikilink notation "<code><nowiki>[[Page]]</nowiki></code>" automatically does. If you want to use a link that forces ''all'' users to use a secure connection, then use {{tl|sec link}} instead. For other secure link templates see the [[#See also|see also]] section below.
=== Usage ===
<code><nowiki>{{sec link auto| project | Pagename | text | lang = de }}</nowiki></code>
This templates takes one or more parameters:
* The first is the prefix of the Wikimedia project you want to link to. For instance "wiktionary" or "wikt" for Wiktionary, and "de" for the German Wikipedia. This parameter must always be fed. For the complete list of prefixes see [[Special:SiteMatrix]] and {{sec link auto|meta|Wikibooks/Table}}.
* The second parameter is the full pagename you want to link to, such as "User:Example" or "São Paulo". If this parameter is omitted then this template links to the main page of the project.
* The third parameter is the text that will be visible as the link. If this parameter is omitted the link address is instead shown.
* There is also a named parameter "lang=". This parameter is usually not used. It takes a language prefix such as "de" or "pt". This enables to link to for instance the German version of Wiktionary. If this parameter is omitted, then this template links to the same language on the other project as you are on here. So if on the English Wikipedia, and you link to Wiktionary, per default you get a link to the English Wiktionary.
To compare how the links on this page look and behave when using the secure server, follow this link: {{sec link| en | Template:Sec link auto | <nowiki>{{sec link auto}}</nowiki>}}
And here's some examples:
<pre>
{{sec link auto| commons }}
{{sec link auto| wikt }}
{{sec link auto| de }}
{{sec link auto| pt }}
</pre>
{{sec link auto| commons }}
{{sec link auto| wikt }}
{{sec link auto| de }}
{{sec link auto| pt }}
<pre>
{{sec link auto| commons | São Paulo }}
{{sec link auto| wikt | São Paulo }}
{{sec link auto| de | São Paulo }}
{{sec link auto| pt | São Paulo }}
</pre>
{{sec link auto| commons | São Paulo }}
{{sec link auto| wikt | São Paulo }}
{{sec link auto| de | São Paulo }}
{{sec link auto| pt | São Paulo }}
<pre>
{{sec link auto| pt | São Paulo | São Paulo, in the Portuguese Wikipedia. }}
</pre>
{{sec link auto| pt | São Paulo | São Paulo, in the Portuguese Wikipedia. }}
<pre>
{{sec link auto| wikt | São Paulo | lang=pt }}
{{sec link auto| lang=pt | wikt | São Paulo | São Paulo, in the Portuguese Wiktionary. }}
</pre>
{{sec link auto| wikt | São Paulo | lang=pt }}
{{sec link auto| lang=pt | wikt | São Paulo | São Paulo, in the Portuguese Wiktionary. }}
In the above example we fed "lang=pt" before the other parameters. That is okay since named parameters don't interfere with the numbering of unnamed parameters.
=== Anchors and queries ===
This template can also handle anchors and query parameters. Like this:
<pre>
{{sec link auto| en | Template:Sec link auto | anchor = See also }}
{{sec link auto| en | Special:Search | query = search=secure+server&fulltext=Search&ns4=1&ns5=1 }}
{{sec link auto| de | Wikipedia:Spielwiese | query = action=edit | Edit the German Wikipedia's sandbox }}
</pre>
{{sec link auto| en | Template:Sec link auto | anchor = See also }}
{{sec link auto| en | Special:Search | query = search=secure+server&fulltext=Search&ns4=1&ns5=1 }}
{{sec link auto| de | Wikipedia:Spielwiese | query = action=edit | Edit the German Wikipedia's sandbox }}
When feeding query parameters you must manually change any spaces "<code> </code>" to plus signs "<code>+</code>". But feed anchors unchanged.
=== The padlock ===
When these links are seen from the secure server, then they all have a small padlock[[File:Lock icon blue.gif|16x13px]]. That padlock is automatically added to all https links by the global CSS in all Wikimedia projects. This template does not suppress that, since it makes it clearer when it is a secure link.
But if you want to suppress the padlock, then there are two ways. Like this:
<pre>
{{sec link auto| padlock=no | pt | São Paulo }}
<span class="plainlinks">
{{sec link auto| pt | São Paulo }}
</span>
</pre>
{{sec link auto| padlock=no | pt | São Paulo }}
<span class="plainlinks">
{{sec link auto| pt | São Paulo }}
</span>
Using "<code>padlock=no</code>" is easier for a single link. But when having many links then surrounding the whole area with "<code><span class="plainlinks"></span></code>" can be more convenient.
Many templates such as the mboxes, navboxes and infoboxes use the "plainlinks" class since it also prevents the external link icon [[File:External.png|10x10px]]. Thus when this template is used inside such boxes it looses the padlock. Then you can turn on the padlock like this:
<pre>
{{sec link auto| padlock=yes | pt | São Paulo }}
</pre>
{{sec link auto| padlock=yes | pt | São Paulo }}
Note: You will only see a padlock in the above example if you {{sec link| en | {{FULLPAGENAME}} | view this page }} from the secure server, since this template only makes secure links if you already are using the secure server.
=== Technical details ===
When you are connected to the secure server, then most local links in a project is automatically secure links. But hardcoded links and links to other projects are unfortunately not auto-changed to secure links. With this template you can work around that.
This template doesn't handle the "[[bugzilla:]]" prefix, since it already points to a secure server.
Some languages on Wikisource don't have their own language project, instead they are pages under the main "{{sec link auto| oldwikisource }}" address. For instance the Afrikaans main page on Wikisourse is not "<code><nowiki>{{sec link auto|wikisource|lang=af}}</nowiki></code>", but instead "<code><nowiki>{{sec link auto|oldwikisource|Tuisblad}}</nowiki></code>".
This template internally uses the sub-templates {{tl|sec link/relative url}} and {{tl|sec link/text}}. Those sub-templates are also used by its sister templates.
=== See also ===
{{sec link see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Interwiki link templates|{{PAGENAME}}]]
</includeonly>
ocfhiybyzse02x3qe9cq2ru6qajt8mc
ਫਰਮਾ:Sec link
10
2970
5676
2023-04-07T08:27:31Z
Kuldeepburjbhalaike
1880
"{{#switch: {{lc: {{{padlock|}}} }} | yes <!--Supress CSS icon, to not get double icon--> | no = <span class="plainlinks"> }}[https:{{sec link/relative url | project = {{{1|}}} | pagename = {{{2|}}} | lang = {{{lang|}}} | query = {{{query|}}} | anchor = {{{anchor|}}} }} {{sec link/text | project = {{{1|}}} | pagename = {{{2|}}} | text = {{{3|}}} | lang = {{{lang|}}} | query = {{{query|}}} | anchor = {{{anchor|}}} }}]{{#switch: {{lc: {{{padlock|}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#switch: {{lc: {{{padlock|}}} }}
| yes <!--Supress CSS icon, to not get double icon-->
| no = <span class="plainlinks">
}}[https:{{sec link/relative url
| project = {{{1|}}}
| pagename = {{{2|}}}
| lang = {{{lang|}}}
| query = {{{query|}}}
| anchor = {{{anchor|}}}
}} {{sec link/text
| project = {{{1|}}}
| pagename = {{{2|}}}
| text = {{{3|}}}
| lang = {{{lang|}}}
| query = {{{query|}}}
| anchor = {{{anchor|}}}
}}]{{#switch: {{lc: {{{padlock|}}} }}
| no = </span>
| yes = </span>[[File:Lock icon blue.gif|16x13px|link=]]
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
hddyga56s3op1jwr3dsrar06xj1dtjk
ਫਰਮਾ:Sec link/doc
10
2971
5677
2023-04-07T08:28:09Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|sec link}} template. It creates a secure link. The link can be local or to any other Wikimedia project. It can for instance link to Wiktionary or the Portuguese Wikipedia. Secure links go through the Wikimedia secure server, so they give you an encrypted connection between your browser and the Wikimedia servers. '''Note!''' For..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|sec link}} template.
It creates a secure link. The link can be local or to any other Wikimedia project. It can for instance link to Wiktionary or the Portuguese Wikipedia.
Secure links go through the Wikimedia secure server, so they give you an encrypted connection between your browser and the Wikimedia servers.
'''Note!''' For most usage cases you should instead use {{tl|sec link auto}}. That one creates a secure link only if the user is already using the secure server, otherwise it makes a normal link. For other secure link templates see the [[#See also|see also]] section below.
=== Usage ===
<code><nowiki>{{sec link| project | Pagename | text | lang = de }}</nowiki></code>
This templates takes one or more parameters:
* The first is the prefix of the Wikimedia project you want to link to. For instance "wiktionary" or "wikt" for Wiktionary, and "de" for the German Wikipedia. This parameter must always be fed. For the complete list of prefixes see [[Special:SiteMatrix]] and {{sec link|meta|Wikibooks/Table|meta:Wikibooks/Table}}.
* The second parameter is the full pagename you want to link to, such as "User:Example" or "São Paulo". If this parameter is omitted then this template links to the main page of the project.
* The third parameter is the text that will be visible as the link. If this parameter is omitted the link address is instead shown.
* There is also a named parameter "lang=". This parameter is usually not used. It takes a language prefix such as "de" or "pt". This enables to link to for instance the German version of Wiktionary. If this parameter is omitted, then this template links to the same language on the other project as you are on here. So if on the English Wikipedia, and you link to Wiktionary, per default you get a link to the English Wiktionary.
Here's some examples:
<pre>
{{sec link| commons }}
{{sec link| wikt }}
{{sec link| de }}
{{sec link| pt }}
</pre>
{{sec link| commons }}
{{sec link| wikt }}
{{sec link| de }}
{{sec link| pt }}
<pre>
{{sec link| commons | São Paulo }}
{{sec link| wikt | São Paulo }}
{{sec link| de | São Paulo }}
{{sec link| pt | São Paulo }}
</pre>
{{sec link| commons | São Paulo }}
{{sec link| wikt | São Paulo }}
{{sec link| de | São Paulo }}
{{sec link| pt | São Paulo }}
<pre>
{{sec link| pt | São Paulo | São Paulo, in the Portuguese Wikipedia. }}
</pre>
{{sec link| pt | São Paulo | São Paulo, in the Portuguese Wikipedia. }}
<pre>
{{sec link| wikt | São Paulo | lang=pt }}
{{sec link| lang=pt | wikt | São Paulo | São Paulo, in the Portuguese Wiktionary. }}
</pre>
{{sec link| wikt | São Paulo | lang=pt }}
{{sec link| lang=pt | wikt | São Paulo | São Paulo, in the Portuguese Wiktionary. }}
In the above example we fed "lang=pt" before the other parameters. That is okay since named parameters don't interfere with the numbering of unnamed parameters.
This template can of course also create a secure link to the same project as it currently is used on. For instance, even if already on the English Wikipedia this works:
<pre>
{{sec link| en | | Secure link to the main page of the English Wikipedia }}
</pre>
{{sec link| en | | Secure link to the main page of the English Wikipedia }}
=== Anchors and queries ===
This template can also handle anchors and query parameters. Like this:
<pre>
{{sec link| en | Template:Sec link | anchor = See also }}
{{sec link| en | Special:Search | query = search=secure+server&fulltext=Search&ns4=1&ns5=1 }}
{{sec link| de | Wikipedia:Spielwiese | query = action=edit | Edit the German Wikipedia's sandbox }}
</pre>
{{sec link| en | Template:Sec link | anchor = See also }}
{{sec link| en | Special:Search | query = search=secure+server&fulltext=Search&ns4=1&ns5=1 }}
{{sec link| de | Wikipedia:Spielwiese | query = action=edit | Edit the German Wikipedia's sandbox }}
When feeding query parameters you must manually change any spaces "<code> </code>" to plus signs "<code>+</code>". But feed anchors unchanged.
=== The padlock ===
The small padlock is automatically added to all https links by the global CSS in all Wikimedia projects. This template does not suppress that, since it makes it clearer it is a secure link. But if you want to suppress the padlock, then there are two ways. Like this:
<pre>
{{sec link| padlock=no | pt | São Paulo }}
<span class="plainlinks">
{{sec link| pt | São Paulo }}
</span>
</pre>
{{sec link| padlock=no | pt | São Paulo }}
<span class="plainlinks">
{{sec link| pt | São Paulo }}
</span>
Using "<code>padlock=no</code>" is easier for a single link. But when having many links then surrounding the whole area with "<code><span class="plainlinks"></span></code>" can be more convenient.
Many templates such as the mboxes, navboxes and infoboxes use the "plainlinks" class since it also prevents the external link icon [[File:External.png|10x10px]]. Thus when this template is used inside such boxes it looses the padlock. Then you can turn on the padlock like this:
<pre>
{{sec link| padlock=yes | pt | São Paulo }}
</pre>
{{sec link| padlock=yes | pt | São Paulo }}
=== Technical details ===
When you are connected to the secure server, then most local links in a project is automatically secure links. But hardcoded links and links to other projects are unfortunately not auto-changed to secure links. With this template you can work around that.
This template doesn't handle the "[[bugzilla:]]" prefix, since it already points to a secure server.
Some languages on Wikisource don't have their own language project, instead they are pages under the main "{{sec link| oldwikisource }}" address. For instance the Afrikaans main page on Wikisourse is not "<code><nowiki>{{sec link|wikisource|lang=af}}</nowiki></code>", but instead "<code><nowiki>{{sec link|oldwikisource|Tuisblad}}</nowiki></code>".
This template internally uses the sub-templates {{tl|sec link/relative url}} and {{tl|sec link/text}}.
=== See also ===
{{sec link see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Interwiki link templates|{{PAGENAME}}]]
</includeonly>
tsj16o7qulow8s9vp5k5na3ewqtdd6f
ਫਰਮਾ:Sec link/text/doc
10
2972
5678
2023-04-07T08:29:50Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|sec link/text}} sub-template. Do not use this template directly, use {{tl|sec link}} or {{tl|sec link auto}} and their sister templates instead. This template is called from the {{tl|sec link}} family of templates. === Technical details === This sub-template returns the text (caption) for a link. It expects these parameters: <p..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|sec link/text}} sub-template.
Do not use this template directly, use {{tl|sec link}} or {{tl|sec link auto}} and their sister templates instead.
This template is called from the {{tl|sec link}} family of templates.
=== Technical details ===
This sub-template returns the text (caption) for a link. It expects these parameters:
<pre>
{{sec link/text
| project =
| pagename =
| text =
| lang =
| query =
| anchor =
}}
</pre>
If "text" is fed it simply returns that, otherwise it builds the proper default text by using the other parameters.
For more documentation see {{tl|sec link}}.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template subpages|{{PAGENAME}}]]
</includeonly>
kyntfgw0s19nr5p23gbtvwsqebl4521
ਫਰਮਾ:Sec link/relative url/doc
10
2973
5679
2023-04-07T08:31:11Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|sec link/relative url}} sub-template. Do not use this template directly, use {{tl|sec link}} or {{tl|sec link auto}} and their sister templates instead. This template is called from the {{tl|sec link}} family of templates. === Technical details === This sub-template returns a relative URL and expects these parameters: <pre> {{s..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|sec link/relative url}} sub-template.
Do not use this template directly, use {{tl|sec link}} or {{tl|sec link auto}} and their sister templates instead.
This template is called from the {{tl|sec link}} family of templates.
=== Technical details ===
This sub-template returns a relative URL and expects these parameters:
<pre>
{{sec link/relative url
| project =
| pagename =
| lang =
| query =
| anchor =
}}
</pre>
For more documentation see {{tl|sec link}}.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template subpages|{{PAGENAME}}]]
</includeonly>
h9wwrheh5rw9tbdmv0tskh9maekvgkn
ਫਰਮਾ:·wrap
10
2974
5680
2023-04-07T08:32:27Z
Kuldeepburjbhalaike
1880
"<includeonly> <b>·</b></span> <span style="white-space:nowrap"></includeonly><noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly> <b>·</b></span> <span style="white-space:nowrap"></includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
8117q59kwnw8an3mrmofwsfmne3x4wh
ਫਰਮਾ:·wrap/doc
10
2975
5681
2023-04-07T08:33:02Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!--PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> {{template shortcut|·w}} === Usage === This template works together with {{tl|nowrap begin}}. See documentation there. <includeonly> <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> [[Category:Text formatting templates|Wrap·]] </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!--PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
{{template shortcut|·w}}
=== Usage ===
This template works together with {{tl|nowrap begin}}. See documentation there.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Text formatting templates|Wrap·]]
</includeonly>
lmfy0hghwiwxj29qeh1x0lwue1lf8qq
ਫਰਮਾ:·w
10
2976
5682
2023-04-07T08:33:38Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:·wrap]]
wikitext
text/x-wiki
#redirect[[ਫਰਮਾ:·wrap]]
2mgi93rz8darujxcrle1q9keybf97lr
ਫਰਮਾ:Nowrap begin
10
2977
5683
2023-04-07T08:34:12Z
Kuldeepburjbhalaike
1880
"<includeonly><span style="white-space:nowrap"></includeonly><noinclude> {{Documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><span style="white-space:nowrap"></includeonly><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
mqp4k62bpdg4zdczvvcpvcdzw8ex9lj
ਫਰਮਾ:Nowrap begin/doc
10
2978
5684
2023-04-07T08:34:50Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|nowrap begin}} template. This template prevents word wraps (line breaks) in text and links with spaces in. It is designed to handle the really tricky wrapping cases where you need full control. For instance in very complex long link lists. It works similarly to {{tl|nowrap}} and {{tl|nowraplinks}}. This template takes no parameter..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|nowrap begin}} template.
This template prevents word wraps (line breaks) in text and links with spaces in. It is designed to handle the really tricky wrapping cases where you need full control. For instance in very complex long link lists. It works similarly to {{tl|nowrap}} and {{tl|nowraplinks}}.
This template takes no parameters, instead it works in pair with {{tl|nowrap end}}.
=== Helper templates ===
This template has a number of helper templates which allows you to tell the web browser exactly where line breaks may occur:
'''Note!''' These helper templates may only be used in sections surrounded by {{tl|nowrap begin}} and {{tl|nowrap end}} or they may cause weird behaviour of your page.
* {{tl|wrap}} - Marks where a wrap may occur.
* {{tl|·wrap}} or {{tl|·w}} - Looks like this: " '''·''' ". For dotted lists. Renders a bold middot surrounded by spaces and then marks that a wrap may occur ''after'' the middot.
* {{tl|•wrap}} or {{tl|•w}} - Looks like this: " • ". For dotted lists that use small font and thus need a bigger dot. Renders a bullet surrounded by spaces and then marks that a wrap may occur ''after'' the bullet.
* {{tl|–wrap}} or {{tl|–w}} - Looks like this: " – ". For dashed lists. Renders a ndash surrounded by spaces and then marks that a wrap may occur ''after'' the ndash.
* {{tl|—wrap}} or {{tl|—w}} - Looks like this: " — ". Renders a mdash surrounded by spaces and then marks that a wrap may occur ''after'' the mdash.
* {{tl|!wrap}} or {{tl|!w}} - Looks like this: " | ". For pipe separated lists. Renders a pipe surrounded by spaces and then marks that a wrap may occur ''after'' the pipe. The pipe used is not a real pipe but the code <code>&#124;</code> so should work within wiki tables etc.
* {{tl|\wrap}} or {{tl|\w}} - Looks like this: " / ". For slash separated lists. Renders a slash surrounded by spaces and then marks that a wrap may occur ''after'' the slash. The "\" in the name leans the other way than the rendered slash "/" for wiki-technical reasons.
=== Usage ===
<pre><nowiki>
{{nowrap begin}}
'''Salt''' and{{wrap}} '''Pepper''' and{{wrap}} '''Curry'''
and{{wrap}} '''Saffron'''.{{wrap}}
'''Salt''' and{{wrap}} '''Pepper''' and{{wrap}} '''Curry'''
and{{wrap}} '''Saffron'''.
{{nowrap end}}
</nowiki></pre>
It will render something like this:
:'''Salt''' and '''Pepper''' and '''Curry''' and
:'''Saffron'''. '''Salt''' and '''Pepper''' and
:'''Curry''' and '''Saffron'''.
But it will ''not'' render like this:
:'''Salt''' and '''Pepper''' and '''Curry'''
:and '''Saffron'''. '''Salt''' and '''Pepper'''
:and '''Curry''' and '''Saffron'''.
To make your code readable and easy to edit, you can put each wrappable "line" on its own line. And let's use some dots too. Like this:
<pre><nowiki>
{{nowrap begin}}
'''Salt''' and '''Pepper'''{{·wrap}}
'''Pepper''' and '''Curry'''{{·wrap}}
'''Curry''' and '''Saffron'''{{·wrap}}
'''Saffron''' and '''Salt'''
{{nowrap end}}
</nowiki></pre>
It will render something like this:
:'''Salt''' and '''Pepper''' '''·''' '''Pepper''' and '''Curry''' '''·'''
:'''Curry''' and '''Saffron''' '''·''' '''Saffron''' and '''Salt'''
But it will ''not'' render like this:
:'''Salt''' and '''Pepper''' '''·''' '''Pepper'''
:and '''Curry''' '''·''' '''Curry''' and '''Saffron'''
:'''·''' '''Saffron''' and '''Salt'''
=== Examples ===
Here are the above examples in actual running code in a table. Try dragging the width of your web browser window so it becomes smaller and smaller and watch how the line wrapping behaves:
{| class="wikitable"
|-
|
{{nowrap begin}}
'''Salt''' and{{wrap}} '''Pepper''' and{{wrap}} '''Curry'''
and{{wrap}} '''Saffron'''.{{wrap}}
'''Salt''' and{{wrap}} '''Pepper''' and{{wrap}} '''Curry'''
and{{wrap}} '''Saffron'''.
{{nowrap end}}
|
{{nowrap begin}}
'''Salt''' and '''Pepper'''{{·wrap}}
'''Pepper''' and '''Curry'''{{·wrap}}
'''Curry''' and '''Saffron'''{{·wrap}}
'''Saffron''' and '''Salt'''
{{nowrap end}}
|}
An example demonstrating all the helper templates:
{| class="wikitable"
|-
|
{{nowrap begin}}
'''Salt'''{{wrap}} '''Pepper'''{{wrap}} '''Curry'''{{·wrap}} '''Saffron'''{{·wrap}} '''Salt'''{{•wrap}} '''Pepper'''{{•wrap}} '''Curry'''{{–wrap}} '''Saffron'''{{–wrap}} '''Salt'''{{!wrap}} '''Pepper'''{{!wrap}} '''Curry'''{{\wrap}} '''Saffron'''{{\wrap}} '''Salt'''
{{nowrap end}}
|
{{nowrap begin}}
'''Salt'''{{wrap}} '''Pepper'''{{wrap}} '''Curry'''{{·wrap}} '''Saffron'''{{·wrap}} '''Salt'''{{•wrap}} '''Pepper'''{{•wrap}} '''Curry'''{{–wrap}} '''Saffron'''{{–wrap}} '''Salt'''{{!wrap}} '''Pepper'''{{!wrap}} '''Curry'''{{\wrap}} '''Saffron'''{{\wrap}} '''Salt'''
{{nowrap end}}
|}
=== Technical details ===
The actual code that does the job is this HTML+CSS code:
:<code><nowiki><span style="white-space:nowrap;"> Text and links </span> <span style="white-space:nowrap;"> More text and links </span></nowiki></code>
It means that wraps may only happen in the unprotected space between the <code><nowiki></span></nowiki></code> and the <code><nowiki><span ...></nowiki></code>. That's what {{tl|nowrap begin}} and its helper templates are packaging in an easy to use way.
{{tl|·wrap}} and the other helper templates should not have any spaces or newlines before them or they will render two spaces before the dot. They tolerate anything from no to several spaces and even a newline after them and they will still only render one space after the dot. If a wrap occurs then the wrap will come after the dot, even if there are spaces before the helper template.
The {{tl|·wrap}} causes problems if inside sections of bolded and/or italicized text. Do end the bold text before the {{tl|·wrap}} and continue the bold text after it to avoid the problems. {{tl|•wrap}} and the other helper templates only have this problem if the section is bolded and italicised at the same time.
=== See also ===
* {{tl|nowrap end}} - The other end of this template.
* {{tl|nowrap}} - A template with similar purpose.
* {{tl|nowraplinks}} - Prevents wraps inside links and only allows wraps between the links and in normal text. Very useful for link lists and usually easier to use than this template.
* {{tl|·}} and {{tl|•}} - If you need dots/bullets when not using <code><nowiki>{{nowrap begin}}+{{nowrap end}}</nowiki></code>.
<includeonly>
<!-- ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE -->
[[Category:Text formatting templates|{{PAGENAME}}]]
</includeonly>
qmjt7wyha7278uf20ilaeabpnn89zye
ਫਰਮਾ:Nowrap end
10
2979
5685
2023-04-07T08:35:23Z
Kuldeepburjbhalaike
1880
"<includeonly></span></includeonly><noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly></span></includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
kwum1tk143w2m8d4z5oo48bef2jhq8m
ਫਰਮਾ:Nowrap/doc
10
2980
5687
2023-04-07T08:37:17Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} {{high-risk|6,000+}} __NOTOC__ This is the {{tl|nowrap}} template. This template prevents word wraps (line breaks) in text and links that contain spaces. === Usage === <pre> Lots of text {{nowrap|10 kg (22 lb)}} more text. </pre> It may render like this: :Lots of text 10 kg (22 lb) :more text. Or like this: :Lots of text :10 kg (22 lb) more text. But it will ''not'' render like this: :Lots of text 10 kg (22 :lb) m..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
{{high-risk|6,000+}}
__NOTOC__
This is the {{tl|nowrap}} template.
This template prevents word wraps (line breaks) in text and links that contain spaces.
=== Usage ===
<pre>
Lots of text {{nowrap|10 kg (22 lb)}} more text.
</pre>
It may render like this:
:Lots of text 10 kg (22 lb)
:more text.
Or like this:
:Lots of text
:10 kg (22 lb) more text.
But it will ''not'' render like this:
:Lots of text 10 kg (22
:lb) more text.
=== Handling interpreted characters ===
[[Help:Template|Templates]] have problems to handle parameter data that contains equal signs "<code>=</code>" or vertical bars "<code>|</code>". In such cases consider using {{tl|nowrap begin}} + {{tl|nowrap end}} instead. But there are also workarounds:
For text that includes an equal sign "=", precede the text with <code>1=</code>. For example:
:<code><nowiki>{{nowrap|</nowiki>1=2 + 2 = 4}}</code>
Which renders this:
:{{nowrap|1=2 + 2 = 4}}
For text that includes a vertical bar "|", escape the bar(s) with <code><nowiki>&#124;</nowiki></code> or <code><nowiki>{{!}}</nowiki></code>. For instance like this:
:<code><nowiki>{{nowrap|</nowiki>&#124;2&#124; < 3}}</code>
Or like this:
:<code><nowiki>{{nowrap|{{!}}2{{!}} < 3}}</nowiki></code>
Which renders this:
:{{nowrap||2| < 3}}
=== Technical details ===
The actual code that does the job is this HTML+CSS code:
:<code><nowiki><span style="white-space:nowrap;">This text will not wrap</span></nowiki></code>
Spaces at the beginning or end of your text will fall outside the no-wrap tag in the rendered text due to MediaWiki rendering mechanisms.
=== See also ===
* {{tl|nowraplinks}} - Prevents wraps inside links and only allows wraps between the links and in normal text. Very useful for link lists and easy to use.
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Text formatting templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
hh2fvmvnipeixm95kuhw3lmr2lr4k01
ਫਰਮਾ:Nowraplinks
10
2981
5688
2023-04-07T08:37:47Z
Kuldeepburjbhalaike
1880
"<includeonly><span class="nowraplinks">{{#if:{{{1|}}}|{{{1}}}</span>|}}</includeonly><noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><span class="nowraplinks">{{#if:{{{1|}}}|{{{1}}}</span>|}}</includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
iwdn4ti85jyweawo25l3qknt7hnt9ka
ਫਰਮਾ:Nowraplinks/doc
10
2982
5689
2023-04-07T08:38:21Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> __NOTOC__ This is the {{tl|nowraplinks}} template. This template prevents word wraps (line breaks) inside links (links with spaces in) and only allows word wraps between the links and in normal text. This is useful for instance for long link lists. It works similarly to {{tl|nowrap}}. This template takes no parameters by default, instead it works i..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__NOTOC__
This is the {{tl|nowraplinks}} template.
This template prevents word wraps (line breaks) inside links (links with spaces in) and only allows word wraps between the links and in normal text. This is useful for instance for long link lists. It works similarly to {{tl|nowrap}}.
This template takes no parameters by default, instead it works in pair with {{tl|nowraplinks end}}. It can also optionally be used with a parameter.
==== Usage ====
<pre><nowiki>
{{nowraplinks}}
[[This link will not wrap]] - [[This link also won't wrap]] -
[[And so on]] - But this sentence might word wrap.
{{nowraplinks end}}
</nowiki></pre>
<pre><nowiki>
{{nowraplinks | [[This link will not wrap]] - [[This link also won't wrap]] -
[[And so on]] - But this sentence might word wrap. }}
</nowiki></pre>
Both examples will render something like this:
:[[Template:Nowraplinks end|This link will not wrap]] - <br>
:[[Template:Nowraplinks end|This link also won't wrap]] - <br>
:[[Template:Nowraplinks end|And so on]] - But this sentence <br>
:might word wrap.
But they will ''not'' render like this:
:[[Template:Nowraplinks end|This link will not wrap]] - [[Template:Nowraplinks end|This link]]<br>
:[[Template:Nowraplinks end|shouldn't have wrapped]] - [[Template:Nowraplinks end|And so on]] -<br>
:But this sentence might word wrap.
=== Advanced usage ===
Most of the functionality in this template is implemented as a CSS class in [[MediaWiki:Common.css|common.css]]. That class can be used together with pretty much any HTML tag or any box to prevent links to word wrap. For instance like this:
:<code><nowiki><div class="nowraplinks"> Lots of text and links </div></nowiki></code>
Or like this:
:<code><nowiki><span class="nowraplinks"> Lots of text and links </span></nowiki></code>
If the nowraplinks class is applied in the header of a table it will prevent line wrapping of links in ''all'' cells in the table. Note that in a table header there usually is a need to apply several classes. Then the class names should be separated by spaces in the class tag, not by commas or semicolons. Like this:
<pre><nowiki>
{| class="wikitable nowraplinks"
|
[[This link will not wrap]]{{·}}
[[This link also won't wrap]]{{·}}
[[And so on]]{{·}}
But this sentence might word wrap.
|
[[This link will not wrap]]{{·}}
[[This link also won't wrap]]{{·}}
[[And so on]]{{·}}
But this sentence might word wrap.
|}
</nowiki></pre>
It will render this:
{| class="wikitable nowraplinks"
|-
|
[[Template:Nowraplinks end|This link will not wrap]]{{·}}
[[Template:Nowraplinks end|This link also won't wrap]]{{·}}
[[Template:Nowraplinks end|And so on]]{{·}}
But this sentence might word wrap.
|
[[Template:Nowraplinks end|This link will not wrap]]{{·}}
[[Template:Nowraplinks end|This link also won't wrap]]{{·}}
[[Template:Nowraplinks end|And so on]]{{·}}
But this sentence might word wrap.
|}
To really see the nowrap effect on the links above you can drag the width of your web browser window so it becomes smaller and smaller.
=== Technical details ===
The actual code that does the job is this [[CSS]] code in [[MediaWiki:Common.css|Common.css]].
<syntaxhighlight lang="css">
.nowraplinks a,
.nowraplinks .selflink {
white-space: nowrap;
}
</syntaxhighlight>
It simply means that any white-space inside links (HTML A tags) and bold "links" to the page itself are not allowed to wrap.
It is then invoked like this:
:<code><nowiki><span class="nowraplinks"> Lots of text and links </span></nowiki></code>
That span code is what the {{tl|nowraplinks}} and {{tl|nowraplinks end}} tags are packaging in an easy to use way.
The [[Template:Navbox|standard navboxes]] use the .nowraplinks class, thus automatically handling most wrapping problems in those navboxes.
=== See also ===
* {{tl|nowraplinks end}} - The other end of this template.
* {{tl|nowrap}} - A template with similar purpose.
* {{tl|·}} and {{tl|•}} - If you need dots/bullets for your link lists.
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Text formatting templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
qbjghnqc4hino6642miuc4m1e1igbjb
ਫਰਮਾ:Nowraplinks end
10
2983
5690
2023-04-07T08:38:46Z
Kuldeepburjbhalaike
1880
"<includeonly></span></includeonly><noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly></span></includeonly><noinclude>
{{Documentation}}
</noinclude>
trvb6lu1btzx29nrk923pociy1wj0vc
ਫਰਮਾ:Nowraplinks end/doc
10
2984
5691
2023-04-07T08:39:19Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === This template works together with {{tl|nowraplinks}}. See the documentation there. <includeonly> <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> [[Category:Text formatting templates|{{PAGENAME}}]] </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
=== Usage ===
This template works together with {{tl|nowraplinks}}. See the documentation there.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Text formatting templates|{{PAGENAME}}]]
</includeonly>
jp25l5ak2ixnnyurhkgygickvlx97us
ਫਰਮਾ:·
10
2985
5692
2023-04-07T08:40:16Z
Kuldeepburjbhalaike
1880
"<span style="font-weight:bold;"> ·</span> <noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<span style="font-weight:bold;"> ·</span> <noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
aiv7vop1ouxt460ob7ln2l0ck44yfec
ਫਰਮਾ:·/doc
10
2986
5693
2023-04-07T08:40:53Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> __NOTOC__ This is the '''bold middot''' template, it looks like this: " '''·''' ". It works similarly to the html+wiki markup sequence "<code>'''&nbsp;<nowiki>'''&middot;'''</nowiki>''' </code>". That is, a non-breaking space, a bolded middot and a normal space. {{tl|dot}} and {{tl|middot}} redirect here and can be used as alter..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__NOTOC__
This is the '''bold middot''' template, it looks like this: " '''·''' ".
It works similarly to the html+wiki markup sequence "<code>'''&nbsp;<nowiki>'''&middot;'''</nowiki>''' </code>". That is, a non-breaking space, a bolded middot and a normal space.
{{tl|dot}} and {{tl|middot}} redirect here and can be used as alternative names for this template.
This template is usually used for dotted lists, such as for link lists in navigation boxes. (For lists that have a font-size 80% or less of normal font-size, the bold middot "'''·'''" becomes too small. Then use the [[Template:•|bullet]] "•" instead.)
This template is used when you want something smaller than a [[Template:•|bullet]] "•", "–" or "—".
=== Normal usage ===
The recommended usage is to use ''no'' space before the template and one space after the template, like this:
<nowiki>Salt{{·}} Pepper</nowiki>
The template can also be used with no space after it, but then the code does not wrap in the edit window thus making editing harder. Like this:
<nowiki>Salt{{·}}Pepper</nowiki>
Both examples will render one space on each side of the dot, like this:
:Salt '''·''' Pepper
If it line breaks then the line break will come ''after'' the dot, not before, like this:
:Salt '''·'''
:Pepper
For long dotted lists each list item can be put on its own line, with no spaces between each item and the template. Like this:
<pre><nowiki>
Salt{{·}}
Pepper{{·}}
Curry{{·}}
Saffron</nowiki></pre>
(It doesn't matter if there are no or some spaces at the end of the lines, after the templates.)
As before it will render one space on each side of the dots, like this:
:Salt '''·''' Pepper '''·''' Curry '''·''' Saffron
And if it line breaks then the line break will come ''after'' one of the dots, not before, like this:
:Salt '''·''' Pepper '''·'''
:Curry '''·''' Saffron
When using the template to separate words in italics (typically lists of artworks in [[Template:navbox|navboxes]]), put it ''within the italics'' to display with proper spacing on both sides. Compare:
<nowiki>''Salt''{{·}} ''Pepper''</nowiki>
<nowiki>''Salt{{·}} Pepper''</nowiki>
<!-- This smaller text size is necessary for the first example to "fail" as intended. -->
<div style="font-size:90%">
:''Salt''{{·}} ''Pepper''
:''Salt{{·}} Pepper''
</div>
(This also improves code brevity and clarity.)
=== Usage issues ===
Putting one or more spaces before the template will cause it to render differently, like these examples:
<nowiki>Salt {{·}}Pepper</nowiki>
<nowiki>Salt {{·}}Pepper</nowiki>
<nowiki>Salt {{·}} Pepper</nowiki>
<nowiki>Salt {{·}} Pepper</nowiki>
Then it will render with ''two'' spaces before the dot, and one after, like this:
:Salt '''·''' Pepper]
And if it line breaks it might break ''before'' the dot, like this:
:Salt
:'''·''' Pepper
Alternatively an <code>&nbsp;</code> can be added before and after the template to create extra padding around the middot.
=== Technical details ===
The space before the dot is a non-breaking space. That means it will not line break and will not collapse together with normal spaces that come before the template.
The space after the dot is a normal space. That means it wraps (allows line breaks) and it will collapse together with normal spaces that come after the template to form one single space.
Under some circumstances dotted link lists misbehave. They might get unexpected line wraps or they might expand outside the box they are enclosed in.
=== Dot size reference list ===
{| style="text-align:center; background:transparent;"
| style="width:1.7em;" | <small>·</small>
| style="text-align:left;" | <small> middot
|-
| ·
| style="text-align:left;" | middot
|-
| <small>'''·'''</small>
| style="text-align:left;" | <small> bold middot
|-
| '''·'''
| style="text-align:left;" | bold middot
|-
| <small>•</small>
| style="text-align:left;" | <small> bullet
|-
| •
| style="text-align:left;" | bullet
|-
| '''•'''
| style="text-align:left;" | bold bullet
|-
| –
| style="text-align:left;" | ndash
|-
| —
| style="text-align:left;" | mdash
|}
=== See also ===
There are several other templates with similar functionality:
* {{tl|•}} – Bullet "•" is mostly used for dotted lists that use small font sizes.
When making dotted lists you might need to handle proper word wrapping (line breaking):
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Typing-aid templates|{{PAGENAME}}]]
</includeonly>
bzdaev1zxj5shr4du8r7g23vws1uam4
ਫਰਮਾ:Middot
10
2987
5694
2023-04-07T08:41:32Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:·]]
wikitext
text/x-wiki
#redirect[[ਫਰਮਾ:·]]
l3zwip32y6241p5co2i9bkj07thykgt
ਫਰਮਾ:Dot
10
2988
5695
2023-04-07T08:41:38Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:·]]
wikitext
text/x-wiki
#redirect[[ਫਰਮਾ:·]]
l3zwip32y6241p5co2i9bkj07thykgt
ਫਰਮਾ:Navbox suite
10
2989
5696
2023-04-07T08:44:11Z
Kuldeepburjbhalaike
1880
"{{Navbox |navbar = off |state = off |style = width:auto;float:right;margin:0em 0em 0em 1em; |title = Navbox suite |list1 = {{tl|Navbox}} |list2 = {{tl|Navbox subgroup}} |list3 = {{tl|Navbox with columns}} |list4 = {{tl|Navbox with collapsible groups}} }}<noinclude>[[Category:Template namespace templates|{{PAGENAME}}]]</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Navbox
|navbar = off
|state = off
|style = width:auto;float:right;margin:0em 0em 0em 1em;
|title = Navbox suite
|list1 = {{tl|Navbox}}
|list2 = {{tl|Navbox subgroup}}
|list3 = {{tl|Navbox with columns}}
|list4 = {{tl|Navbox with collapsible groups}}
}}<noinclude>[[Category:Template namespace templates|{{PAGENAME}}]]</noinclude>
cs6ti334bmukoc5dit3ts8jjegwf3la
ਫਰਮਾ:Navbox subgroup
10
2990
5697
2023-04-07T08:44:54Z
Kuldeepburjbhalaike
1880
"{{Navbox |name = {{{name|}}} |state = {{{state|}}} |navbar = {{{navbar|}}} |border = {{#if:{{{border|}}}|{{{border}}}|child}} |title = {{{title|}}} |above = {{{above|}}} |below = {{{below|}}} |image = {{{image|}}} |imageleft = {{{imageleft|}}} |group1 = {{#if:{{{group1|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group1}}}</div>}} |group2 = {{#if:{{{group2|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group2}}}</div>}}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Navbox
|name = {{{name|}}}
|state = {{{state|}}}
|navbar = {{{navbar|}}}
|border = {{#if:{{{border|}}}|{{{border}}}|child}}
|title = {{{title|}}}
|above = {{{above|}}}
|below = {{{below|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}
|group1 = {{#if:{{{group1|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group1}}}</div>}}
|group2 = {{#if:{{{group2|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group2}}}</div>}}
|group3 = {{#if:{{{group3|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group3}}}</div>}}
|group4 = {{#if:{{{group4|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group4}}}</div>}}
|group5 = {{#if:{{{group5|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group5}}}</div>}}
|group6 = {{#if:{{{group6|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group6}}}</div>}}
|group7 = {{#if:{{{group7|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group7}}}</div>}}
|group8 = {{#if:{{{group8|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group8}}}</div>}}
|group9 = {{#if:{{{group9|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group9}}}</div>}}
|group10 = {{#if:{{{group10|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group10}}}</div>}}
|group11 = {{#if:{{{group11|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group11}}}</div>}}
|group12 = {{#if:{{{group12|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group12}}}</div>}}
|group13 = {{#if:{{{group13|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group13}}}</div>}}
|group14 = {{#if:{{{group14|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group14}}}</div>}}
|group15 = {{#if:{{{group15|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group15}}}</div>}}
|group16 = {{#if:{{{group16|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group16}}}</div>}}
|group17 = {{#if:{{{group17|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group17}}}</div>}}
|group18 = {{#if:{{{group18|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group18}}}</div>}}
|group19 = {{#if:{{{group19|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group19}}}</div>}}
|group20 = {{#if:{{{group20|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group20}}}</div>}}
|list1 = {{{list1|}}}
|list2 = {{{list2|}}}
|list3 = {{{list3|}}}
|list4 = {{{list4|}}}
|list5 = {{{list5|}}}
|list6 = {{{list6|}}}
|list7 = {{{list7|}}}
|list8 = {{{list8|}}}
|list9 = {{{list9|}}}
|list10 = {{{list10|}}}
|list11 = {{{list11|}}}
|list12 = {{{list12|}}}
|list13 = {{{list13|}}}
|list14 = {{{list14|}}}
|list15 = {{{list15|}}}
|list16 = {{{list16|}}}
|list17 = {{{list17|}}}
|list18 = {{{list18|}}}
|list19 = {{{list19|}}}
|list20 = {{{list20|}}}
|style = {{{style|}}}{{{bodystyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}
|imagestyle = {{{imagestyle|}}}
|titlestyle = {{{titlestyle|}}}
|basestyle = {{{basestyle|}}}
|abovestyle = {{{abovestyle|}}}
|belowstyle = {{{belowstyle|}}}
|groupstyle = padding-left:0em;padding-right:0em;{{{groupstyle|}}}
|liststyle = {{{liststyle|}}}
|evenstyle = {{{evenstyle|}}}
|oddstyle = {{{oddstyle|}}}
|group1style = {{{group1style|}}}
|group2style = {{{group2style|}}}
|group3style = {{{group3style|}}}
|group4style = {{{group4style|}}}
|group5style = {{{group5style|}}}
|group6style = {{{group6style|}}}
|group7style = {{{group7style|}}}
|group8style = {{{group8style|}}}
|group9style = {{{group9style|}}}
|group10style = {{{group10style|}}}
|group11style = {{{group11style|}}}
|group12style = {{{group12style|}}}
|group13style = {{{group13style|}}}
|group14style = {{{group14style|}}}
|group15style = {{{group15style|}}}
|group16style = {{{group16style|}}}
|group17style = {{{group17style|}}}
|group18style = {{{group18style|}}}
|group19style = {{{group19style|}}}
|group20style = {{{group20style|}}}
|list1style = {{{list1style|}}}
|list2style = {{{list2style|}}}
|list3style = {{{list3style|}}}
|list4style = {{{list4style|}}}
|list5style = {{{list5style|}}}
|list6style = {{{list6style|}}}
|list7style = {{{list7style|}}}
|list8style = {{{list8style|}}}
|list9style = {{{list9style|}}}
|list10style = {{{list10style|}}}
|list11style = {{{list11style|}}}
|list12style = {{{list12style|}}}
|list13style = {{{list13style|}}}
|list14style = {{{list14style|}}}
|list15style = {{{list15style|}}}
|list16style = {{{list16style|}}}
|list17style = {{{list17style|}}}
|list18style = {{{list18style|}}}
|list19style = {{{list19style|}}}
|list20style = {{{list20style|}}}
|{{#if:{{{evenodd|}}}|evenodd|void}} = {{{evenodd|}}}
|{{#if:{{{listpadding|}}}|listpadding|void}} = {{{listpadding|}}}
}}<noinclude>
{{template doc}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
p2p9mgudkk8llzyfhynzesx9t1m8fvu
ਫਰਮਾ:Navbox subgroup/doc
10
2991
5698
2023-04-07T08:45:30Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{Navbox suite}} This template is designed to be used with {{tl|Navbox}} or other navigational templates that allow creating lists of links with groups headers or titles. This template allows the creation of subgroups that can be assigned to a list item within {{tl|Navbox}}. A subgroup may contain up to 20 list items. == Blank template == <pre> {{Navbox subgroup | grou..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{Navbox suite}}
This template is designed to be used with {{tl|Navbox}} or other navigational templates that allow creating lists of links with groups headers or titles. This template allows the creation of subgroups that can be assigned to a list item within {{tl|Navbox}}. A subgroup may contain up to 20 list items.
== Blank template ==
<pre>
{{Navbox subgroup
| groupstyle =
| liststyle =
| group1 =
| list1 =
| group2 =
| list2 =
...
| group20 =
| list20 =
}}
</pre>
== Parameters ==
This template employs all parameters of {{tl|Navbox}}. Please see the documentation there for more complete descriptions. In fact, the only differences between this template and {{tl|Navbox}} are as follows:
*The border parameter defaults to "child"
*The group padding defaults to 0.75em on the left/right, and can only be changed with the <code>grouppadding</code> parameter. This is done to prevent the [[w:Internet Explorer box model bug|Internet Explorer box model bug]] from affecting the width of groups.
Everything else is ''exactly'' the same as {{tl|Navbox}}.
Only the most common parameters are listed below.
=== Cells ===
:; ''list<sub>n</sub>''
:: (i.e. ''list1'', ''list2'', ... ''list20'') The body of the template, usually a list of links. Format is inline. At least one ''list'' parameter is required; each additional ''list'' is displayed in a separate row of the table. Each ''list<sub>n</sub>'' may be preceded by a corresponding ''group<sub>n</sub>'' parameter, if provided (see below). The background color of the list items (and the entire table) defaults to <code>transparent</code>, therefore it displays the same background color used in the parent navigation box.
:; ''group<sub>n</sub>''
:: (i.e. ''group1'', ''group2'', ..., ''group20'') If specified, text appears in a header cell displayed to the left of ''list<sub>n</sub>''. If omitted, ''list<sub>n</sub>'' uses the full width of the table. The background color defaults to <code><span style="background:#e6e6ff; color:black;">#e6e6ff</span></code>, but can be changed via the ''groupstyle'' parameter (see below).
=== Styles ===
:; ''bodystyle''
:: Specifies [[Cascading Style Sheets|CSS]] styles to apply to the template body. Examples:
::: <code>background:#''nnnnnn'';</code>
::: <code>text-align:[''right/center/left/justified''];</code>
:; ''groupstyle''
:: CSS styles to apply to the ''group<sub>n</sub>'' cells. This option overrides any styles that are applied to the entire table. Examples:
::: <code>background:#''nnnnnn'';</code>
::: <code>text-align:[''left/center/right''];</code>
::: <code>vertical-align:[''top/middle/bottom''];</code>
::: <code>white-space:nowrap;</code>
:; ''grouppadding''
:: CSS style to specify group padding. Should usually be specified using em units. It is recommended to leave this parameter alone and use the default padding. Examples:
::: <code>grouppadding = 0em 1em;</code> (1em on left/right, 0em on top/bottom)
::: <code>grouppadding = 0em 0.5em 0em 1em;</code> (0em top, 0.5em right, 0em bottom, 1em left)
:; ''liststyle''
:: CSS styles to apply to all lists. Overridden by the ''oddstyle'' and ''evenstyle'' parameters (if specified) below.
:; ''oddstyle''
:; ''evenstyle''
:: CSS styles to apply to the odd-numbered list items (''list1'', ''list3'', etc) or even-numbered list items (''list2'', ''list4'', etc), respectively. Typically used to set background color (<code>background:#''nnnnnn'';</code>) in order to achieve an alternating background color between odd and even-numbered lists.
:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd, off]</code></span>
:: If set to <code>swap</code>, then the automatic striping of even and odd rows is reversed. Normally, even rows get a light gray background for striping; when this parameter is used, the odd rows receive the gray striping instead of the even rows. Setting to <code>even</code> or <code>odd</code> sets all rows to have that striping color. Setting to <code>off</code> disables automatic row striping. NOTE: Due to system limitations, do '''not''' use a semi-colon to close this command.
==Setting the width of groups==
If multiple {{tl|Navbox subgroup}} templates are used inside of a parent {{tl|Navbox}}, it generally looks better if the width of the groups matches up. In order to do this, one must set the <code>groupstyle</code> parameters to contain the desired width, and the <code>liststyle</code> parameters to have width:auto (due to HTML/CSS reasons). For example, place the following code in each {{tl|Navbox subgroup}} to adjust the widths:
:<code>groupstyle = width:10em;</code>
:<code>liststyle = width:auto;</code>
*NOTE: For the <code>groupstyle</code> widths to work, you '''must''' set the <code>liststyle</code> width to "auto".
If you also use the <code>image</code> or <code>imageleft</code> parameters, then you will most likely also need to set their width manually using the <code>imagestyle</code> and <code>imageleftstyle</code> parameters.
==Examples==
=== Example 1 ===
The following is an example of ''Navbox subgroup'' used within a ''Navbox'' template.
<pre style="overflow:scroll;">
{{Navbox
| state = uncollapsed
| name = Protected Areas of Colorado
| title = Protected Areas of Colorado
| group1 = National Park Service
| list1 =
{{Navbox subgroup
| group1 = National Parks
| list1 = Black Canyon of the Gunnison{{·}} |Great Sand Dunes{{·}} Mesa Verde{{·}} Rocky Mountain
| group2 = National Monuments
| list2 = Colorado{{·}} Florissant Fossil Beds{{·}} Hovenweep{{·}} Yucca House
| group3 = National Historic Sites
| list3 = Bent's Old Fort{{·}} Sand Creek Massacre
| group4 = National Recreation Area
| list4 = Curecanti
}}
| group2 = National Forests
| list2 = Arapaho{{·}} Grand Mesa{{·}} Gunnison{{·}} |Pike{{·}} Rio Grande{{·}} Roosevelt{{·}} Medicine Bow - Routt{{·}} San Isabel{{·}} San Juan{{·}} Uncompahgre{{·}} White River
}}
</pre>
{{Navbox
| state = uncollapsed
| name = Protected Areas of Colorado
| title = Protected Areas of Colorado
| group1 = National Park Service
| list1 =
{{Navbox subgroup
| group1 = National Parks
| list1 = Black Canyon of the Gunnison{{·}} |Great Sand Dunes{{·}} Mesa Verde{{·}} Rocky Mountain
| group2 = National Monuments
| list2 = Colorado{{·}} Florissant Fossil Beds{{·}} Hovenweep{{·}} Yucca House
| group3 = National Historic Sites
| list3 = Bent's Old Fort{{·}} Sand Creek Massacre
| group4 = National Recreation Area
| list4 = Curecanti
}}
| group2 = National Forests
| list2 = Arapaho{{·}} Grand Mesa{{·}} Gunnison{{·}} |Pike{{·}} Rio Grande{{·}} Roosevelt{{·}} Medicine Bow - Routt{{·}} San Isabel{{·}} San Juan{{·}} Uncompahgre{{·}} White River
}}
=== Example 2 ===
This example implements horizontal group headings by assigning the headings to <code>list1</code> and <code>list3</code> and the links to <code>list2</code> and <code>list4</code>), then using <code>list1style</code> and <code>list3style</code> to set the background color of the headings.
<pre style="overflow:scroll;">
{{Navbox
| name = Roman Emperors
| title = Roman Emperors
| group1 = Crisis 235 AD - 284 AD
| list1 = Maximinus Thrax{{·}} Gordian I{{·}} Gordian II{{·}} Pupienus and Balbinus{{·}} Gordian III{{·}} Philip the Arab{{·}} Decius{{·}} Trebonianus Gallus{{·}} Aemilianus{{·}} Valerian{{·}} Gallienus{{·}} Claudius II{{·}} Quintillus{{·}} Aurelian{{·}} Marcus Claudius Tacitus{{·}} Florianus{{·}} Probus{{·}} Carus{{·}} Numerian{{·}} Carinus
| group2 = Dominate
| list2 =
{{Navbox subgroup
|list1style = background:#ddf;
|list1 = '''284 AD - 395 AD'''
|list2 = Diocletian{{·}} Maximian{{·}} Constantius I{{·}} Galerius{{·}} Severus II{{·}} Maxentius{{·}} Maximinus{{·}} Licinius{{·}} Constantine I{{·}} Constantine II{{·}} Constans I{{·}} Constantius II{{·}} Julian the Apostate{{·}} Jovian{{·}} Valentinian I{{·}} Valens{{·}} Gratian{{·}} Valentinian II{{·}} Eugenius{{·}} Theodosius I
|list3style = background:#ddf;
|list3 = '''Western Empire (393 AD - 476 AD)'''
|list4 = Honorius{{·}} Constantius III{{·}} Joannes{{·}} Valentinian III{{·}} Petronius Maximus{{·}} Avitus{{·}} Majorian{{·}} Libius Severus{{·}} Anthemius{{·}} Olybrius{{·}} Glycerius{{·}} Julius Nepos{{·}} Romulus Augustus
}}
}}
</pre>
{{Navbox
| name = Roman Emperors
| title = Roman Emperors
| group1 = Crisis 235 AD - 284 AD
| list1 = Maximinus Thrax{{·}} Gordian I{{·}} Gordian II{{·}} Pupienus and Balbinus{{·}} Gordian III{{·}} Philip the Arab{{·}} Decius{{·}} Trebonianus Gallus{{·}} Aemilianus{{·}} Valerian{{·}} Gallienus{{·}} Claudius II{{·}} Quintillus{{·}} Aurelian{{·}} Marcus Claudius Tacitus{{·}} Florianus{{·}} Probus{{·}} Carus{{·}} Numerian{{·}} Carinus
| group2 = Dominate
| list2 =
{{Navbox subgroup
|list1style = background:#ddf;
|list1 = '''284 AD - 395 AD'''
|list2 = Diocletian{{·}} Maximian{{·}} Constantius I{{·}} Galerius{{·}} Severus II{{·}} Maxentius{{·}} Maximinus{{·}} Licinius{{·}} Constantine I{{·}} Constantine II{{·}} Constans I{{·}} Constantius II{{·}} Julian the Apostate{{·}} Jovian{{·}} Valentinian I{{·}} Valens{{·}} Gratian{{·}} Valentinian II{{·}} Eugenius{{·}} Theodosius I
|list3style = background:#ddf;
|list3 = '''Western Empire (393 AD - 476 AD)'''
|list4 = Honorius{{·}} Constantius III{{·}} Joannes{{·}} Valentinian III{{·}} Petronius Maximus{{·}} Avitus{{·}} Majorian{{·}} Libius Severus{{·}} Anthemius{{·}} Olybrius{{·}} Glycerius{{·}} Julius Nepos{{·}} Romulus Augustus
}}
}}
== See also ==
* {{tl|Navbox}} – Basic navbox
* {{tl|Navbox with columns}} – Allows columns instead of groups/lists
* {{tl|Navbox with collapsible groups}} – Another variation.
<includeonly>
<!--Categories-->
[[Category:Navbox (navigational) templates| ]]
</includeonly>
orhhezp1kqifh102vs7dawqg25ply8k
ਫਰਮਾ:Navbox with columns
10
2992
5699
2023-04-07T08:46:13Z
Kuldeepburjbhalaike
1880
"<includeonly>{{Navbox |name = {{{name|}}} |navbar = {{{navbar|}}} |state = {{{state|}}} |border = {{{border|{{{1|}}}}}} |title = {{{title|}}} |above = {{{above|}}} |below = {{{below|}}} |image = {{{image|}}} |imageleft = {{{imageleft|}}} |style = {{{style|}}}{{{bodystyle|}}} |basestyle = {{{basestyle|}}} |titlestyle = {{{titlestyle|}}} |abovestyle = {{{abovestyle|}}} |belowstyle = {{{belowstyle|}}} |imagestyle = {{{imagestyle|}}} |imageleftstyle..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{Navbox
|name = {{{name|}}}
|navbar = {{{navbar|}}}
|state = {{{state|}}}
|border = {{{border|{{{1|}}}}}}
|title = {{{title|}}}
|above = {{{above|}}}
|below = {{{below|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}
|style = {{{style|}}}{{{bodystyle|}}}
|basestyle = {{{basestyle|}}}
|titlestyle = {{{titlestyle|}}}
|abovestyle = {{{abovestyle|}}}
|belowstyle = {{{belowstyle|}}}
|imagestyle = {{{imagestyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}
|list1padding = 0px;
|list1 = <!--
--><table cellspacing="0" class="navbox-columns-table" style="text-align:left;<!--
-->{{#if:{{{col1header|}}}{{{fullwidth|}}}|width:100%;<!--
-->|width:auto;margin-left:auto;margin-right:auto;}}{{{coltablestyle|}}}"><!--
--- Header row ---
-->{{#if:{{{col1header|}}}|<tr><!--
--><td class="navbox-abovebelow" <!--
-->colspan={{{col1headercolspan|1}}} style="<!--
-->{{{colheaderstyle|}}}{{{col1headerstyle|}}}">'''{{{col1header}}}'''</td><!--
-->{{#if:{{{col2header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col2headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col2headerstyle|}}}">'''{{{col2header}}}'''</td>}}<!--
-->{{#if:{{{col3header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col3headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col3headerstyle|}}}">'''{{{col3header}}}'''</td>}}<!--
-->{{#if:{{{col4header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col4headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col4headerstyle|}}}">'''{{{col4header}}}'''</td>}}<!--
-->{{#if:{{{col5header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col5headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col5headerstyle|}}}">'''{{{col5header}}}'''</td>}}<!--
-->{{#if:{{{col6header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col6headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col6headerstyle|}}}">'''{{{col6header}}}'''</td>}}<!--
-->{{#if:{{{col7header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col7headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col7headerstyle|}}}">'''{{{col7header}}}'''</td>}}<!--
-->{{#if:{{{col8header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col8headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col8headerstyle|}}}">'''{{{col8header}}}'''</td>}}<!--
-->{{#if:{{{col9header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col9headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col9headerstyle|}}}">'''{{{col9header}}}'''</td>}}<!--
-->{{#if:{{{col10header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col10headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col10headerstyle|}}}">'''{{{col10header}}}'''</td>}}<!--
-->{{#if:{{{col11header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col11headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col11headerstyle|}}}">'''{{{col11header}}}'''</td>}}<!--
-->{{#if:{{{col12header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col12headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col12headerstyle|}}}">'''{{{col12header}}}'''</td>}}<!--
-->{{#if:{{{col13header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col13headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col13headerstyle|}}}">'''{{{col13header}}}'''</td>}}<!--
-->{{#if:{{{col14header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col14headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col14headerstyle|}}}">'''{{{col14header}}}'''</td>}}<!--
-->{{#if:{{{col15header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col15headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col15headerstyle|}}}">'''{{{col15header}}}'''</td>}}<!--
-->{{#if:{{{col16header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col16headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col16headerstyle|}}}">'''{{{col16header}}}'''</td>}}<!--
-->{{#if:{{{col17header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col17headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col17headerstyle|}}}">'''{{{col17header}}}'''</td>}}<!--
-->{{#if:{{{col18header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col18headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col18headerstyle|}}}">'''{{{col18header}}}'''</td>}}<!--
-->{{#if:{{{col19header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col19headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col19headerstyle|}}}">'''{{{col19header}}}'''</td>}}<!--
-->{{#if:{{{col20header|}}}|<td class="navbox-abovebelow" <!--
-->style="border-left:2px solid #fdfdfd;<!--
-->{{{colheaderstyle|}}}{{{col20headerstyle|}}}">'''{{{col20header}}}'''</td>}}<!--
--></tr>}}<!--
--- Main columns---
-->{{#if:{{{col1|}}}|{{#if:{{{col1header|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
--><tr style="vertical-align:top;"><!--
-->{{#if:{{{col1header|}}}{{{col1footer|}}}{{{fullwidth|}}}|<!--
-->|{{#switch:{{{padding|}}}|off|0|0em|0px|0%|0;|0em;|0px;|0%;=<!--
-->|#default=<td style="width:{{{padding|5em}}};"> </td>}}}}<!--
--><td style="padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col1style|}}};width:{{{col1width|{{{colwidth|10em}}}}}};"><div>
{{{col1}}}
</div></td>}}<!--
-->{{#if:{{{col2|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col2style|}}};width:{{{col2width|{{{colwidth|10em}}}}}};"><div>
{{{col2}}}
</div></td>}}<!--
-->{{#if:{{{col3|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col3style|}}};width:{{{col3width|{{{colwidth|10em}}}}}};"><div>
{{{col3}}}
</div></td>}}<!--
-->{{#if:{{{col4|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col4style|}}};width:{{{col4width|{{{colwidth|10em}}}}}};"><div>
{{{col4}}}
</div></td>}}<!--
-->{{#if:{{{col5|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col5style|}}};width:{{{col5width|{{{colwidth|10em}}}}}};"><div>
{{{col5}}}
</div></td>}}<!--
-->{{#if:{{{col6|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col6style|}}};width:{{{col6width|{{{colwidth|10em}}}}}};"><div>
{{{col6}}}
</div></td>}}<!--
-->{{#if:{{{col7|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col7style|}}};width:{{{col7width|{{{colwidth|10em}}}}}};"><div>
{{{col7}}}
</div></td>}}<!--
-->{{#if:{{{col8|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col8style|}}};width:{{{col8width|{{{colwidth|10em}}}}}};"><div>
{{{col8}}}
</div></td>}}<!--
-->{{#if:{{{col9|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col9style|}}};width:{{{col9width|{{{colwidth|10em}}}}}};"><div>
{{{col9}}}
</div></td>}}<!--
-->{{#if:{{{col10|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col10style|}}};width:{{{col10width|{{{colwidth|10em}}}}}};"><div>
{{{col10}}}
</div></td>}}<!--
-->{{#if:{{{col11|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col11style|}}};width:{{{col11width|{{{colwidth|10em}}}}}};"><div>
{{{col11}}}
</div></td>}}<!--
-->{{#if:{{{col12|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col12style|}}};width:{{{col12width|{{{colwidth|10em}}}}}};"><div>
{{{col12}}}
</div></td>}}<!--
-->{{#if:{{{col13|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col13style|}}};width:{{{col13width|{{{colwidth|10em}}}}}};"><div>
{{{col13}}}
</div></td>}}<!--
-->{{#if:{{{col14|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col14style|}}};width:{{{col14width|{{{colwidth|10em}}}}}};"><div>
{{{col14}}}
</div></td>}}<!--
-->{{#if:{{{col15|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col15style|}}};width:{{{col15width|{{{colwidth|10em}}}}}};"><div>
{{{col15}}}
</div></td>}}<!--
-->{{#if:{{{col16|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col16style|}}};width:{{{col16width|{{{colwidth|10em}}}}}};"><div>
{{{col16}}}
</div></td>}}<!--
-->{{#if:{{{col17|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col17style|}}};width:{{{col17width|{{{colwidth|10em}}}}}};"><div>
{{{col17}}}
</div></td>}}<!--
-->{{#if:{{{col18|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col18style|}}};width:{{{col18width|{{{colwidth|10em}}}}}};"><div>
{{{col18}}}
</div></td>}}<!--
-->{{#if:{{{col19|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col19style|}}};width:{{{col19width|{{{colwidth|10em}}}}}};"><div>
{{{col19}}}
</div></td>}}<!--
-->{{#if:{{{col20|}}}|<td style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col20style|}}};width:{{{col20width|{{{colwidth|10em}}}}}};"><div>
{{{col20}}}
</div></td>}}<!--
--- Footer row ---
-->{{#if:{{{col1footer|}}}|<!--
-->{{#if:{{{col1|}}}{{{col1header|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
--><td class="navbox-abovebelow" colspan={{{col1footercolspan|1}}} style="<!--
-->{{{colfooterstyle|}}};{{{col1footerstyle|}}}">'''{{{col1footer}}}'''</td><!--
-->{{#if:{{{col2footer|}}}|<td class="navbox-abovebelow" colspan={{{col2footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col2footerstyle|}}}">'''{{{col2footer}}}'''</td>}}<!--
-->{{#if:{{{col3footer|}}}|<td class="navbox-abovebelow" colspan={{{col3footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col3footerstyle|}}}">'''{{{col3footer}}}'''</td>}}<!--
-->{{#if:{{{col4footer|}}}|<td class="navbox-abovebelow" colspan={{{col4footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col4footerstyle|}}}">'''{{{col4footer}}}'''</td>}}<!--
-->{{#if:{{{col5footer|}}}|<td class="navbox-abovebelow" colspan={{{col5footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col5footerstyle|}}}">'''{{{col5footer}}}'''</td>}}<!--
-->{{#if:{{{col6footer|}}}|<td class="navbox-abovebelow" colspan={{{col6footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col6footerstyle|}}}">'''{{{col6footer}}}'''</td>}}<!--
-->{{#if:{{{col7footer|}}}|<td class="navbox-abovebelow" colspan={{{col7footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col7footerstyle|}}}">'''{{{col7footer}}}'''</td>}}<!--
-->{{#if:{{{col8footer|}}}|<td class="navbox-abovebelow" colspan={{{col8footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col8footerstyle|}}}">'''{{{col8footer}}}'''</td>}}<!--
-->{{#if:{{{col9footer|}}}|<td class="navbox-abovebelow" colspan={{{col9footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col9footerstyle|}}}">'''{{{col9footer}}}'''</td>}}<!--
-->{{#if:{{{col10footer|}}}|<td class="navbox-abovebelow" colspan={{{col10footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col10footerstyle|}}}">'''{{{col10footer}}}'''</td>}}<!--
-->{{#if:{{{col11footer|}}}|<td class="navbox-abovebelow" colspan={{{col11footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col11footerstyle|}}}">'''{{{col11footer}}}'''</td>}}<!--
-->{{#if:{{{col12footer|}}}|<td class="navbox-abovebelow" colspan={{{col12footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col12footerstyle|}}}">'''{{{col12footer}}}'''</td>}}<!--
-->{{#if:{{{col13footer|}}}|<td class="navbox-abovebelow" colspan={{{col13footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col13footerstyle|}}}">'''{{{col13footer}}}'''</td>}}<!--
-->{{#if:{{{col14footer|}}}|<td class="navbox-abovebelow" colspan={{{col14footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col14footerstyle|}}}">'''{{{col14footer}}}'''</td>}}<!--
-->{{#if:{{{col15footer|}}}|<td class="navbox-abovebelow" colspan={{{col15footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col15footerstyle|}}}">'''{{{col15footer}}}'''</td>}}<!--
-->{{#if:{{{col16footer|}}}|<td class="navbox-abovebelow" colspan={{{col16footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col16footerstyle|}}}">'''{{{col16footer}}}'''</td>}}<!--
-->{{#if:{{{col17footer|}}}|<td class="navbox-abovebelow" colspan={{{col17footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col17footerstyle|}}}">'''{{{col17footer}}}'''</td>}}<!--
-->{{#if:{{{col18footer|}}}|<td class="navbox-abovebelow" colspan={{{col18footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col18footerstyle|}}}">'''{{{col18footer}}}'''</td>}}<!--
-->{{#if:{{{col19footer|}}}|<td class="navbox-abovebelow" colspan={{{col19footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col19footerstyle|}}}">'''{{{col19footer}}}'''</td>}}<!--
-->{{#if:{{{col20footer|}}}|<td class="navbox-abovebelow" style="<!--
-->border-left:2px solid #fdfdfd;{{{colfooterstyle|}}};{{{col20footerstyle|}}}">'''{{{col20footer}}}'''</td>}}<!--
--></tr>}}<!--
--></tr></table>
<!-- Allow a few additional groups/lists after columns -->
|liststyle = {{{liststyle|}}}
|list1style = background:transparent;color:inherit;
|list3style = {{{list1style|}}}
|list4style = {{{list2style|}}}
|list5style = {{{list3style|}}}
|list6style = {{{list3style|}}}
|list7style = {{{list5style|}}}
|list8style = {{{list6style|}}}
|list3 = {{{list1|}}}
|list4 = {{{list2|}}}
|list5 = {{{list3|}}}
|list6 = {{{list4|}}}
|list7 = {{{list5|}}}
|list8 = {{{list6|}}}
|groupstyle = {{{groupstyle|}}}
|group3style = {{{group1style|}}}
|group4style = {{{group2style|}}}
|group5style = {{{group3style|}}}
|group6style = {{{group4style|}}}
|group7style = {{{group5style|}}}
|group8style = {{{group6style|}}}
|group3 = {{{group1|}}}
|group4 = {{{group2|}}}
|group5 = {{{group3|}}}
|group6 = {{{group4|}}}
|group7 = {{{group5|}}}
|group8 = {{{group6|}}}
|oddstyle = {{{oddstyle|}}}
|evenstyle = {{{evenstyle|}}}
|{{#if:{{{evenodd|}}}|evenodd|void}} = {{{evenodd|}}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
ih8tq02wow8tqkw1w6jqpec4b5i0frp
ਫਰਮਾ:Navbox with columns/doc
10
2993
5700
2023-04-07T08:46:55Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} {{Navbox suite}} A navigation box that presents its content in columns. Originally intended to provide a relatively straightforward means to align links prefixed by flag icons, e.g. in templates offering links to country articles. == Basic syntax == Only required parameters and ''colwidth'' included. <pre style="overflow:auto;"> {{Navbox with columns |name = {{subst:PAGENAME}} |title = |colwidth = <!--(to set a defau..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
{{Navbox suite}}
A navigation box that presents its content in columns. Originally intended to provide a relatively straightforward means to align links prefixed by flag icons, e.g. in templates offering links to country articles.
== Basic syntax ==
Only required parameters and ''colwidth'' included.
<pre style="overflow:auto;">
{{Navbox with columns
|name = {{subst:PAGENAME}}
|title =
|colwidth = <!--(to set a default width for each column,
preferably in a proportional unit such as 'em'*)-->
|col1 =
|col2 =
}}
</pre>
<div style="line-height:1.35em; font-size:90%;">*Using proportional units means the template should still be displayed correctly across a range of browser font-sizes. If ''colwidth'' not specified, a default 10em is used.</div>
== Parameters ==
Required parameters in '''bold'''. Parameters marked with a cross'''<sup>†</sup>''' are parameters in common with the sister templates {{tl|Navbox}} and {{tl|Navbox with collapsible groups}}. A much more complete description of those parameters is available at {{tl|Navbox}}.
=== Setup parameters ===
:;name<sup>†</sup>
::The name of the template. The name of this template, for example, is "Navbox with columns".
:;state<sup>†</sup>
::Possible values are <code>collapsed</code>, <code>uncollapsed</code>, <code>plain</code>, <code>off</code>, and the default <code>autocollapse</code>. See {{tl|Navbox}} for more information.
:;''navbar''<sup>†</sup>
::Possible values are <code>plain</code>, <code>off</code>, and the default value of blank. See {{tl|Navbox}} for more information.
:;''border''<sup>†</sup>
::Possible values are <code>child</code>, <code>none</code>, and the default value of blank. Set to <code>child</code> if you wish to use the navbox inside of another navbox; with this option, the child navbox is borderless and fits snuggly inside of its parent navbox. The parent navbox may be the list area of {{tl|Navbox}}, a columns of another {{tl|Navbox with columns}}, or a section of {{tl|Navbox with collapsible groups}}. See {{tl|Navbox}} for more information and examples.
===Basic data parameters===
:;'''''title'''''<sup>†</sup>
::The title of the template, displayed centered in the titlebar at the top of the template.
:;''above''<sup>†</sup>
::Text or other elements to appear above the columns.
:;''image''<sup>†</sup>
::Image to the right of all of the columns.
:;''imageleft''<sup>†</sup>
::Image to the left of all of the columns.
:;''below''<sup>†</sup>
::Text or other elements to appear below the columns.
===Style parameters===
:;''bodystyle''<sup>†</sup>
::CSS style/s to apply to the template's body (i.e. including space not used by columns)
:;''titlestyle''<sup>†</sup>
::[[Cascading Style Sheets|CSS]] style/s to apply to titlebar; usually <code>background:''color''</code>.
:;''abovestyle''<sup>†</sup>
:;''belowstyle''<sup>†</sup>
::CSS style/s to apply to the ''above'' and ''below'' parameters, respectively.
:;''basestyle''<sup>†</sup>
::CSS style/s to apply to the ''title'', ''above'', and ''below'', parameters, all at the same time.
:;''imagestyle''<sup>†</sup>
::CSS style/s to apply to the ''image'' parameter.
:;''imageleftstyle''<sup>†</sup>
::CSS style/s to apply to the ''imageleft'' parameter
:;''colstyle''
::CSS style/s to apply across all columns; if used, usually <code>background:''color''</code> per ''titlestyle'' above.
:;''oddcolstyle''
:;''evencolstyle''
::CSS style/s to apply to all odd/even-numbered columns, respectively.
:;''col<sub>n</sub>style''
::CSS style/s to apply to the n<sup>th</sup> column only.
:;''colheaderstyle''
::CSS style/s to apply to all column headers.
:;''col<sub>n</sub>headerstyle''
::CSS style/s to apply to the n<sup>th</sup> column header.
:;''col<sub>n</sub>footerstyle''
::CSS style/s to apply to the n<sup>th</sup> column footer cell.
===Columns parameters===
:;''colwidth''
::Width, preferably in a proportional unit such as 'em', or as a percentage, used for each column whose width not specified by ''colNwidth'' below. Defaults to 10em. Examples:
:::<code>colwidth = 15em</code>
:::<code>colwidth = 25%</code>
:;''fullwidth''
::If set to anything, then the total width of the columns are scaled linearly to make the sum of the widths 100%. A rather advanced parameter, this usually need not be used and should be left blank. If a colheader or colfooter is used, then fullwidth is used automatically. Example:
:::<code>fullwidth = true</code>
:;''padding''
::Padding before first column, preferably in a proportional unit. Defaults to 5em. Padding is disabled by setting it to 0 (or 0em, or 0%).
:;''col<sub>n</sub>width''
::The n<sup>th</sup> column's width (overrides ''colwidth'' above).
:;'''''col<sub>n</sub>'''''
::The content of the n<sup>th</sup> column. If any columns are used, then <code>col1</code> is required. There can be a maximum of 20 columns.
:;''col<sub>n</sub>header''
::A header cell for the n<sup>th</sup> column that appears above the column. See below for examples.
:;''col<sub>n</sub>footer
::A footer cell that appears below the n<sup>th</sup> column.
:;''col<sub>n</sub>headercolspan
::A number specifying how many columns the n<sup>th</sup> column header should span. It defaults to 1. If it is greater than one, then do not specify column headers that it covers. For example, if <code>col1headercolspan = 3</code>, then leave <code>col2header</code> and <code>col3header</code> blank.
:;''col<sub>n</sub>footercolspan
::A number specifying how many columns the n<sup>th</sup> column footer should span. It defaults to 1. If it is greater than one, then do not specify column footers that it covers. For example, if <code>col1footercolspan = 3</code>, then leave <code>col2footer</code> and <code>col3footer</code> blank.
===Additional groups/lists===
You may wish to add a few extra groups and/or lists below the columns. The following parameters are given to provide such functionality. See {{tl|Navbox}} for a more complete description of how they work, and for more examples.
:;''group<sub>n</sub>''<sup>†</sup>
::Allows up to 6 additional groups to go along with the lists below the columns.
:;''list<sub>n</sub>''<sup>†</sup>
::Allows up to 6 additional lists below the columns.
:;''groupstyle<sup>†</sup>
::The general CSS style/s for the groups.
:;''group<sub>n</sub>''style<sup>†</sup>
::CSS style/s for the n<sup>th</sup> group parameter.
:;''liststyle''<sup>†</sup>
::The general CSS style/s for the lists.
:;''list<sub>n</sub>style''<sup>†</sup>
::CSS style/s for the n<sup>th</sup> list parameter.
:;''listpadding''<sup>†</sup>
::Amount of padding to have in each list cell.
:; ''oddstyle''
:; ''evenstyle''
::Applies to odd/even list numbers. Overrules styles defined by ''liststyle''. The default behavior is to add striped colors (white and gray) to odd/even rows, respectively, in order to improve readability. These should not be changed except in extraordinary circumstances.
:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd, off]</code></span>
::See {{tl|Navbox}} for description.
== Examples ==
===Basic example===
<pre style="overflow:scroll;">
{{Navbox with columns
|name = East Asia Summit (EAS)
|title = Member states of the East Asia Summit (EAS)
|width = 18.25em
|padding = 10em
|above = ''This is where the <nowiki>{{{above}}}</nowiki> would appear.''
|col1 = AUS<br /> BRU<br /> CHN<br /> CAM
|col2 = IND<br /> IDN<br /> JPN<br /> LAO
|col3 = MAS<br /> MMR<br /> NZL<br /> PHI
|col4width = 17em
|col4 = SIN<br /> KOR<br /> THA<br /> VIE
|below = '''Potential future members''' TLS RUS
}}
</pre>
{{Navbox with columns
|name = East Asia Summit (EAS)
|title = Member states of the East Asia Summit (EAS)
|width = 18.25em
|padding = 10em
|above = ''This is where the <nowiki>{{{above}}}</nowiki> would appear.''
|col1 = AUS<br /> BRU<br /> CHN<br /> CAM
|col2 = IND<br /> IDN<br /> JPN<br /> LAO
|col3 = MAS<br /> MMR<br /> NZL<br /> PHI
|col4width = 17em
|col4 = SIN<br /> KOR<br /> THA<br /> VIE
|below = '''Potential future members''' TLS RUS
}}
===Example with percentage widths===
<pre style="overflow:scroll;">
{{Navbox with columns
| name = Plastics
| title = Plastics
| colwidth = 33%
| colstyle = text-align: center
| col1 = Polyethylene (PE)<br /> Polyethylene terephthalate (PET or PETE)<br /> Polyvinyl chloride (PVC)<br /> Polyvinylidene chloride (PVDC)<br /> Polylactic acid (PLA)
| col2 = Polypropylene (PP)<br /> Polyamide (PA)<br /> Polycarbonate (PC)<br /> Polytetrafluoroethylene (PTFE)<br /> Polyurethane (PU)
| col3 = Polystyrene (PS)<br /> Polyester<br /> Acrylonitrile butadiene styrene (ABS)<br /> Polymethyl methacrylate (PMMA)<br /> Polyoxymethylene (POM)
}}
</pre>
{{Navbox with columns
| name = Plastics
| title = Plastics
| state = uncollapsed
| cols = 3
| colwidth = 33%
| colstyle = text-align: center
| col1 = Polyethylene (PE)<br /> Polyethylene terephthalate (PET or PETE)<br /> Polyvinyl chloride (PVC)<br /> Polyvinylidene chloride (PVDC)<br /> Polylactic acid (PLA)
| col2 = Polypropylene (PP)<br /> Polyamide (PA)<br /> Polycarbonate (PC)<br /> Polytetrafluoroethylene (PTFE)<br /> Polyurethane (PU)
| col3 = Polystyrene (PS)<br /> Polyester<br /> Acrylonitrile butadiene styrene (ABS)<br /> Polymethyl methacrylate (PMMA)<br /> Polyoxymethylene (POM)
}}
===Example with col<sub>n</sub>header and col<sub>n</sub>footer===
The gray background for the columns is added for illustration only.
{{Navbox with columns
|name = Navbox with columns/doc
|state = uncollapsed
|title = col<sub>n</sub>header and col<sub>n</sub>footer example
|colstyle = text-align:center;background:silver;
|colwidth = 25%
|col1header = col1header
|col2header = col2header
|col3header = col3header
|col4header = col4header
|col1 = col1
|col2 = col2
|col3 = col3
|col4 = col4
|col1footer = col1footer
|col2footer = col2footer
|col3footer = col3footer
|col4footer = col4footer
}}
===Example with col<sub>n</sub>header using col<sub>n</sub>headercolspan===
The gray background for the columns is added for illustration only. This example shows the col<sub>n</sub>headercolspan parameter being used, but you may also use col<sub>n</sub>footercolspan to adjust the span of the footer cells.
{{Navbox with columns
|name = Navbox with columns/doc
|state = uncollapsed
|title = col<sub>n</sub>header with col<sub>n</sub>colspan example
|colstyle = text-align:center;background:silver;
|col1header = col1header
|col2header = col2header (colspan=2)
|col4header = col4header
|col5header = col5header (colspan=3)
|col2headercolspan = 2
|col5headercolspan = 3
|col1 = col1
|col2 = col2
|col3 = col3
|col4 = col4
|col5 = col5
|col6 = col6
|col7 = col7
}}
===Example to illustrate most fields===
The gray background and centered text for the columns is for illustration only. The columns default to an off-white background and left text alignment. This example shows how you can use up to six additional groups/lists after the columns.
{{Navbox with columns
|name = Navbox with columns/doc
|state = uncollapsed
|title = Example to illustrate most fields
|colstyle = text-align:center;background:silver;
|col1 = col1
|col2 = col2
|col3 = col3
|col4 = col4
|col5 = col5
|col1header = col1header
|col2header = col2header
|col3header = col3header
|col4header = col4header
|col5header = col5header
|col1footer = col1footer
|col2footer = col2footer
|col3footer = col3footer
|col4footer = col4footer
|col5footer = col5footer
|group1 = group1
|group2 = group2
|group3 = group3
|group4 = group4
|group5 = group5
|group6 = group6
|list1 = list1
|list2 = list2
|list3 = list3
|list4 = list4
|list5 = list5
|list6 = list6
|above = above
|below = below
}}
==Using child navboxes==
All three types of navbox templates, namely {{tl|Navbox}}, {{tl|Navbox with columns}}, and {{tl|Navbox with collapsible groups}}, can be nested inside of one another using the <code>border</code> parameter (which is common to all three). For complex templates, it may be necessary to use nesting to achieve a desired look.
===Nesting Navbox with columns in itself===
This example shows how one can nest multiple {{tl|Navbox with columns}} templates to get the right look. Edit this page to see the code. There is a main {{tl|Navbox with columns}} and two additional {{tl|Navbox with columns}} templates, with the "child" option set (see code).
{{Navbox with columns
|name = Navbox with columns/doc
|state = uncollapsed
|title = Subgroups with nesting
|colstyle = text-align:center;background:silver;
|col1width = 33%
|col2width = 17%
|col3width = 33%
|col4width = 17%
|col1header = Col1Header
|col2header = Col2Header
|col3header = Col3Header
|col4header = Col4Header
|col1 = {{Navbox with columns|child
|colwidth = 50%
|colstyle = text-align:center;background:silver;
|col1header = Col1.1Header
|col2header = Col1.2Header
|col1 = Col1.1
|col2 = Col1.2
}}
|col2 = Col2
|col3 = {{Navbox with columns|child
|colwidth = 33%
|colstyle = text-align:center;background:silver;
|col1header = Col3.1Header
|col2header = Col3.2Header
|col3header = Col3.3Header
|col1 = Col3.1
|col2 = Col3.2
|col3 = Col3.3
}}
|col4 = Col4
}}
===Nesting other Navbox forms===
This example shows {{tl|Navbox}}, {{tl|Navbox with collapsible groups}} and {{tl|Navbox with columns}} all working together. Edit this page to see the code. Note that each of the child navboxes has the first parameter set to <code>child</code>.
{{Navbox with collapsible groups
|name = Navbox with collapsible groups
|title = Navbox, Navbox with columns, and Navbox with collapsible groups together
|selected = {{{1|}}}
|group1 = The Scouting Movement
|abbr1 = movement
|list1 = Scouting{{·}}''Scouting for Boys''{{·}}Scout method{{·}}Scout Law{{·}}Scout Promise{{·}}Scout Motto{{·}}Wood Badge{{·}}Age groups in Scouting and Guiding{{·}}Cub Scout{{·}}Boy Scout{{·}}Rover Scout{{·}}Brownie{{·}}Girl Guiding and Girl Scouting{{·}}Ranger (Girl Guide){{·}}Jamboree{{·}}Scout Leader{{·}}WOSM{{·}}WAGGGS{{·}}Non-aligned organisations{{·}}Scouting controversy and conflict{{·}}Scouting in popular culture{{·}}List of Scouts{{·}}List of highest awards in Scouting
|list2 = {{Navbox|child
|title = [[French colonial empires|Former French colonies]] in [[Africa]] and the [[Indian Ocean]]
|titlestyle = background#
|groupstyle = background:lavender;
|group1 = [[Mahgreb]]
|list1 = [[French rule in Algeria|Algeria]]{{·}} [[French Morocco|Morocco]] <small>([[Arguin|Arguin Island]])</small>{{·}} [[History of Tunisia|Tunisia]]
|group2 = French West Africa
|list2 = Côte d'Ivoire{{·}} Dahomey{{·}} [[French Sudan]]{{·}} [[French Guinea|Guinea]]{{·}} Mauritania{{·}} Niger{{·}} Senegal{{·}} Upper Volta
|group3 = Togo
|list3 = French Togoland{{·}} James Island
|group4 = French Equatorial Africa
|list4 = Chad{{·}} Gabon{{·}} Middle Congo{{·}} Oubangui-Chari
|group5 = Comoros
|list5 = Anjouan{{·}} [[Grande Comore]]{{·}} [[Mohéli]]
|group6 = Southern Africa
|list6 = French Somaliland (Djibouti){{·}} Madagascar{{·}} Ile de France{{·}} Seychelles
}}
|group3 = Scouting in the United Kingdom
|abbr3 = Scouting
|list3 = The Scout Association{{·}}Girlguiding UK{{·}}Beaver Scouts{{·}}Cub Section (UK){{·}}Venture Scout{{·}}Explorer Scouts{{·}}Brownie (Girl Guides){{·}}Ranger (Girl Guide){{·}}Rainbow (Girl Guides){{·}}Scout Network{{·}}Chief Scout (United Kingdom){{·}}Scout Counties{{·}}Scout District{{·}}Scout Section (UK){{·}}Scout Activity Centre{{·}}Young Leaders
|list4 = {{Navbox with columns|child
|title = Navbox with columns nested in itself
|colstyle = text-align:center;
|col1width = 33%
|col2width = 17%
|col3width = 33%
|col4width = 17%
|col1header = Col1Header
|col2header = Col2Header
|col3header = Col3Header
|col4header = Col4Header
|col1 = {{Navbox with columns|child
|colwidth = 50%
|colstyle = text-align:center;
|col1header = Col1.1Header
|col2header = Col1.2Header
|col1 = Col1.1
|col2 = Col1.2
}}
|col2 = Col2
|col3 = {{Navbox with columns|child
|colwidth = 33%
|colstyle = text-align:center;
|col1header = Col3.1Header
|col2header = Col3.2Header
|col3header = Col3.3Header
|col1 = Col3.1
|col2 = Col3.2
|col3 = Col3.3
}}
|col4 = Col4
}}
}}
== See also ==
* {{tl|Navbox}} – Allows groups/lists instead of columns
* {{tl|Navbox subgroup}} – Allows subgroups
* {{tl|Navbox with collapsible groups}} – Another variation.
<includeonly>
[[Category:Navbox (navigational) templates| ]]
</includeonly>
f3mehsv059udjsdwut3i8n27uie5gsm
ਫਰਮਾ:Navbox with collapsible groups
10
2994
5701
2023-04-07T08:49:24Z
Kuldeepburjbhalaike
1880
"{{Navbox |name = {{{name|<noinclude>Navbox with collapsible groups</noinclude>}}} |navbar = {{{navbar|}}} |state = {{{state|<noinclude>uncollapsed</noinclude>}}} |border = {{{border|{{{1|}}}}}} |title = {{{title<includeonly>|</includeonly>}}} |above = {{{above|}}} |below = {{{below|}}} |image = {{{image|}}} |imageleft = {{{imageleft|}}} |style = {{{style|}}}{{{bodystyle|}}} |basestyle = {{{basestyle|}}} |titlestyle = {{{titlestyle|}}} |abovestyl..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Navbox
|name = {{{name|<noinclude>Navbox with collapsible groups</noinclude>}}}
|navbar = {{{navbar|}}}
|state = {{{state|<noinclude>uncollapsed</noinclude>}}}
|border = {{{border|{{{1|}}}}}}
|title = {{{title<includeonly>|</includeonly>}}}
|above = {{{above|}}}
|below = {{{below|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}
|style = {{{style|}}}{{{bodystyle|}}}
|basestyle = {{{basestyle|}}}
|titlestyle = {{{titlestyle|}}}
|abovestyle = {{{abovestyle|}}}
|belowstyle = {{{belowstyle|}}}
|imagestyle = {{{imagestyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}
|bodyclass = {{{bodyclass|}}}
|titleclass = {{{titleclass|}}}
|list1 =
{{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}}
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr1}}} |uncollapsed |{{{state1|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group1style|}}}{{{sect1titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list1style|}}}{{{content1style|}}}
|title = {{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}}<noinclude> or {{{section1}}} or {{{sect1}}}</noinclude>
|list1 = {{{list1<includeonly>|</includeonly>}}}{{{content1|}}}<noinclude> or {{{content1}}}</noinclude>
|image = {{{image1|}}}
|imageleft = {{{imageleft1|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list1|}}}{{{content1|}}}
}}
|list2 =
{{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}}
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr2}}} |uncollapsed |{{{state2|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group2style|}}}{{{sect2titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list2style|}}}{{{content2style|}}}
|title = {{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}}<noinclude> or {{{section2}}} or {{{sect2}}}</noinclude>
|list1 = {{{list2<includeonly>|</includeonly>}}}{{{content2|}}}<noinclude> or {{{content2}}}</noinclude>
|image = {{{image2|}}}
|imageleft = {{{imageleft2|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list2|}}}{{{content2|}}}
}}
|list3 =
{{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}}
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr3}}} |uncollapsed |{{{state3|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group3style|}}}{{{sect3titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list3style|}}}{{{content3style|}}}
|title = {{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}}<noinclude> or {{{section3}}} or {{{sect3}}}</noinclude>
|list1 = {{{list3<includeonly>|</includeonly>}}}{{{content3|}}}<noinclude> or {{{content3}}}</noinclude>
|image = {{{image3|}}}
|imageleft = {{{imageleft3|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list3|}}}{{{content3|}}}
}}
|list4 =
{{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}}
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr4}}} |uncollapsed |{{{state4|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group4style|}}}{{{sect4titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list4style|}}}{{{content4style|}}}
|title = {{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}}<noinclude> or {{{section4}}} or {{{sect4}}}</noinclude>
|list1 = {{{list4<includeonly>|</includeonly>}}}{{{content4|}}}<noinclude> or {{{content4}}}</noinclude>
|image = {{{image4|}}}
|imageleft = {{{imageleft4|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list4|}}}{{{content4|}}}
}}
|list5 =
{{#if:{{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section|5}}}
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr5}}} |uncollapsed |{{{state5|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group5style|}}}{{{sect5titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list5style|}}}{{{content5style|}}}
|title = {{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section5|}}}<noinclude> or {{{section5}}} or {{{sect5}}}</noinclude>
|list1 = {{{list5<includeonly>|</includeonly>}}}{{{content5|}}}<noinclude> or {{{content5}}}</noinclude>
|image = {{{image5|}}}
|imageleft = {{{imageleft5|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list5|}}}{{{content5|}}}
}}
|list6 =
{{#if:{{{group6|}}}{{{sect6|}}}{{{section6|}}}
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr6}}} |uncollapsed |{{{state6|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group6style|}}}{{{sect6titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list6style|}}}{{{content6style|}}}
|title = {{{group6|}}}{{{sect6|}}}{{{section6|}}}
|list1 = {{{list6|}}}{{{content6|}}}
|image = {{{image6|}}}
|imageleft = {{{imageleft6|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list6|}}}{{{content6|<noinclude>''(...etc, to group11/sect11/section11 and list11/content11)''</noinclude>}}}
}}
|list7 =
{{#if:{{{group7|}}}{{{sect7|}}}{{{section7|}}}
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr7}}} |uncollapsed |{{{state7|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group7style|}}}{{{sect7titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list7style|}}}{{{content7style|}}}
|title = {{{group7|}}}{{{sect7|}}}{{{section7|}}}
|list1 = {{{list7|}}}{{{content7|}}}
|image = {{{image7|}}}
|imageleft = {{{imageleft7|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list7|}}}{{{content7|}}}
}}
|list8 =
{{#if:{{{group8|}}}{{{sect8|}}}{{{section8|}}}
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr8}}} |uncollapsed |{{{state8|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group8style|}}}{{{sect8titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list8style|}}}{{{content8style|}}}
|title = {{{group8|}}}{{{sect8|}}}{{{section8|}}}
|list1 = {{{list8|}}}{{{content8|}}}
|image = {{{image8|}}}
|imageleft = {{{imageleft8|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list8|}}}{{{content8|}}}
}}
|list9 =
{{#if:{{{group9|}}}{{{sect9|}}}{{{section9|}}}
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr9}}} |uncollapsed |{{{state9|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group9style|}}}{{{sect9titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list9style|}}}{{{content9style|}}}
|title = {{{group9|}}}{{{sect9|}}}{{{section9|}}}
|list1 = {{{list9|}}}{{{content9|}}}
|image = {{{image9|}}}
|imageleft = {{{imageleft9|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list9|}}}{{{content9|}}}
}}
|list10 =
{{#if:{{{group10|}}}{{{sect10|}}}{{{section10|}}}
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr10}}} |uncollapsed |{{{state10|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group10style|}}}{{{sect10titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list10style|}}}{{{content10style|}}}
|title = {{{group10|}}}{{{sect10|}}}{{{section10|}}}
|list1 = {{{list10|}}}{{{content10|}}}
|image = {{{image10|}}}
|imageleft = {{{imageleft10|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list10|}}}{{{content10|}}}
}}
|list11 =
{{#if:{{{group11|}}}{{{sect11|}}}{{{section11|}}}
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr11}}} |uncollapsed |{{{state11|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group11style|}}}{{{sect11titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{list11style|}}}{{{content11style|}}}
|title = {{{group11|}}}{{{sect11|}}}{{{section11|}}}
|list1 = {{{list11|}}}{{{content11|}}}
|image = {{{image11|}}}
|imageleft = {{{imageleft11|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list11|}}}{{{content11|}}}
}}
}}<noinclude>
{{documentation}}
</noinclude>
64grgd45738lv6aik783auupo6l4lm9
ਫਰਮਾ:Navbox with collapsible groups/doc
10
2995
5702
2023-04-07T08:50:12Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} <includeonly>{{Intricate template}}</includeonly> {{Navbox suite}} This template produces a navigational template that has groups of relevant articles on a certain topic. All groups are hidden by default. However, with a parameter call, an individual group can be shown that has the other articles in the same group. == Usage == Please remove the parameters that are left blank. The template currently supports up to 10 grou..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
<includeonly>{{Intricate template}}</includeonly>
{{Navbox suite}}
This template produces a navigational template that has groups of relevant articles on a certain topic. All groups are hidden by default. However, with a parameter call, an individual group can be shown that has the other articles in the same group.
== Usage ==
Please remove the parameters that are left blank. The template currently supports up to 10 groups/lists but more can be added if needed. You should use a minimum of two groups/lists; otherwise, use {{tl|Navbox}} instead.
<pre>{{Navbox with collapsible groups
|name = {{subst:PAGENAME}}
|state =
|selected = {{{1|}}}
|title =
|titlestyle =
|groupstyle =
|image =
|group1 =
|abbr1 =
|list1 =
|group2 =
|abbr2 =
|list2 =
...
|group10 =
|abbr10 =
|list10 =
}}</pre>
== Parameters ==
This template shares many common parameters with its sister templates {{tl|Navbox}} and {{tl|Navbox with columns}}. The common parameters are marked with a cross<sup>'''†'''</sup>. Please refer to the documentation of {{tl|Navbox}} for more in depth descriptions and examples of those parameters.
===Setup parameters===
:;name<sup>†</sup>
::The name of the template. The name of this template, for example, is "Navbox with collapsible groups".
:; ''state''<sup>†</sup> <span style="font-weight:normal;">[<code>autocollapse, uncollapsed, collapsed, plain, off</code>]</span>
::The initial state of the show/hide feature for the main title. See {{tl|Navbox}} for more information. Does not affect display or hiding of group items, see ''state<sub>n</sub>'', below.
:;''navbar''<sup>†</sup>
::Possible values are <code>plain</code>, <code>off</code>, and the default value of blank. See {{tl|Navbox}} for more information.
:;''border''<sup>†</sup>
::Possible values are <code>child</code>, <code>none</code>, and the default value of blank. Set to <code>child</code> if you wish to use the navbox inside of another navbox; with this option, the child navbox is borderless and fits snuggly inside of its parent navbox. The parent navbox may be the list area of {{tl|Navbox}}, the columns of a {{tl|Navbox with columns}}, or a list area of {{tl|Navbox with collapsible groups}}. See {{tl|Navbox}} for more information and examples.
===Basic data parameters===
:;'''''title'''''<sup>†</sup>
::The title of the template, displayed centered in the titlebar at the top of the template.
:;''above''<sup>†</sup>
::Text or other elements to appear above groups/lists.
:;''image''<sup>†</sup>
::Image to the right of all of the groups/lists.
:;''imageleft''<sup>†</sup>
::Image to the left of all of the groups/lists.
:;''below''<sup>†</sup>
::Text or other elements to appear below the groups/lists.
===Group/list parameters===
:; ''group<sub>n</sub>''<sup>†</sup>
:: The title of each section.
:; ''list<sub>n</sub>''<sup>†</sup>
:: The content/wikilinks that will be shown in the group. Use dots or bullets as separators (see the [[#See also|See also]] section). A {{tl|Navbox}} or {{tl|Navbox with columns}} can optionally be used here with its <code>border = child</code> parameter set. If this is done, leave the corresponding group<sub>n</sub> blank, as the child navbox will already provide the collapsible feature.
:; ''abbr<sub>n</sub>''
:: This is the abbreviation of the group. See <code>selected</code> parameter below to see how to use this parameter. This parameter is optional, but recommended.
:; ''selected''
:: If the value of <code>selected</code> equals the value of <code>abbr<sub>n</sub></code>, then list<sub>n</sub> is uncollapsed and all other lists are collapsed. If <code>selected</code> is left blank, or if it does not match any <code>abbr<sub>n</sub></code>, then all groups are collapsed. Usually this parameter should be set to <tt><nowiki>{{{1|}}}</nowiki></tt>. Since this template is a base template for others, there has to be a way to pass the group parameter from the article, to the secondary template to this one.
:; ''state<sub>n</sub>'' <span style="font-weight:normal;">[<code>autocollapse, uncollapsed, collapsed, plain, off</code>]</span>
:: The initial collapsible state of list<sub>n</sub>. Set to collapsed by default. Overridden to uncollapsed if <code>selected</code> equals <code>abbr<sub>n</sub></code>.
:; ''image<sub>n</sub>''
:: An image to appear in the list<sub>n</sub> content area on the right side.
:; ''imageleft<sub>n</sub>''
:: An image to appear in the list<sub>n</sub> content area on the left side.
===Style parameters===
:;''bodystyle''<sup>†</sup>
::CSS style/s to apply to the entire template
:;''titlestyle''<sup>†</sup>
::[[Cascading Style Sheets|CSS]] style/s to apply to titlebar; usually <code>background:''color''</code>. The color of wikilink text must be manually changed using span tags. For example use <code><nowiki>title = [[Main Page|<span style="color:ivory;">Main Page</span>]]</nowiki></code> to change the color of the link to ivory. The [show]/[hide] button and the vde link button use the color set in the titlestyle parameter. Here is an example of setting the titlestyle:
:::<code>titlestyle = background:darkgreen;color:ivory;</code>
:;''abovestyle''<sup>†</sup>
:;''belowstyle''<sup>†</sup>
::CSS style/s to apply to the ''above'' and ''below'' parameters, respectively.
:;''basestyle''<sup>†</sup>
::CSS style/s to apply to the ''title'', ''above'', ''below'', and ''group<sub>n</sub>'' parameters, all at the same time.
:;''imagestyle''<sup>†</sup>
::CSS style/s to apply to the ''image'' parameter. Does not get applied to the image<sub>n</sub> parameters.
:;''imageleftstyle''<sup>†</sup>
::CSS style/s to apply to the ''imageleft'' parameter. Does not get applied to the imageleft<sub>n</sub> parameters.
:; ''groupstyle''<sup>†</sup>
:: CSS style/s to apply to all group heading parameters. Visit [http://meyerweb.com/eric/tools/color-blend/ this website] to get a lighter color similar to the title background color. Example:
:::<code>groupstyle = background:lightgreen;</code>
:; ''group<sub>n</sub>''style<sup>†</sup>
:: CSS style/s to apply to a specific group heading; overrides any CSS styles set in ''groupstyle''.
:; ''liststyle''<sup>†</sup>
:: CSS style/s to apply to all list content parameters.
:; ''list<sub>n</sub>''style<sup>†</sup>
:: CSS style/s to apply to specific list content parameters; overrides any CSS styles set in ''liststyle''.
:; ''listpadding''<sup>†</sup>
:: Padding to have in each list cell; defaults to 0.25em on the left/right and 0em on the top/bottom.
== Examples ==
===Basic example===
<pre style="overflow:scroll;">
{{Navbox with collapsible groups
|name = University of Michigan
|title = <span style="color:#FFD700;">The University of Michigan, Ann Arbor</span>
|titlestyle = background:#00008B;color:#FFD700;
|groupstyle = background:#FFD700;color:#00008B;
|image =
|selected = {{{1|}}}
|state = collapsed
|group1 = <span style="color:#00008B;">Academics</span>
|abbr1 = academics
|list1 = College of Engineering{{·}} College of Literature, Science and the Arts{{·}} Gerald R. Ford School of Public Policy{{·}} Law School{{·}} Medical School{{·}} Ross School of Business{{·}} School of Education{{·}} School of Information{{·}} School of Music, Theatre & Dance{{·}}School of Natural Resources and Environment{{·}} School of Public Health{{·}} Taubman College of Architecture and Urban Planning
|group2 = <span style="color:#00008B;">Athletics</span>
|abbr2 = athletics
|list2 = Michigan Stadium{{·}} Crisler Arena{{·}} Yost Ice Arena{{·}} Michigan Wolverines{{·}} Football{{·}} UM-OSU Rivalry{{·}} Little Brown Jug{{·}} Paul Bunyan Trophy{{·}} Cold War
|group3 = Campus
|abbr3 = campus
|list3 = Angell Hall Observatory{{·}} Burton Tower{{·}} The Diag{{·}} Dennison Building{{·}} Gerald R. Ford Presidential Library{{·}} Hill Auditorium{{·}} Lurie Tower{{·}} Matthaei Botanical Gardens{{·}} Michigan Union{{·}} Museums{{·}} Nichols Arboretum{{·}} UM Health System{{·}} University Library
}}
</pre>
{{Navbox with collapsible groups
|name = University of Michigan
|title = <span style="color:#FFD700;">The University of Michigan, Ann Arbor</span>
|titlestyle = background:#00008B;color:#FFD700;
|groupstyle = background:#FFD700;color:#00008B;
|image =
|selected = {{{1|}}}
|state = collapsed
|group1 = <span style="color:#00008B;">Academics</span>
|abbr1 = academics
|list1 = College of Engineering{{·}} College of Literature, Science and the Arts{{·}} Gerald R. Ford School of Public Policy{{·}} Law School{{·}} Medical School{{·}} Ross School of Business{{·}} School of Education{{·}} School of Information{{·}} School of Music, Theatre & Dance{{·}}School of Natural Resources and Environment{{·}} School of Public Health{{·}} Taubman College of Architecture and Urban Planning
|group2 = <span style="color:#00008B;">Athletics</span>
|abbr2 = athletics
|list2 = Michigan Stadium{{·}} Crisler Arena{{·}} Yost Ice Arena{{·}} Michigan Wolverines{{·}} Football{{·}} UM-OSU Rivalry{{·}} Little Brown Jug{{·}} Paul Bunyan Trophy{{·}} Cold War
|group3 = Campus
|abbr3 = campus
|list3 = Angell Hall Observatory{{·}} Burton Tower{{·}} The Diag{{·}} Dennison Building{{·}} Gerald R. Ford Presidential Library{{·}} Hill Auditorium{{·}} Lurie Tower{{·}} Matthaei Botanical Gardens{{·}} Michigan Union{{·}} Museums{{·}} Nichols Arboretum{{·}} UM Health System{{·}} University Library
}}
===Nesting other Navbox forms===
This example shows {{tl|Navbox}}, {{tl|Navbox with collapsible groups}} and {{tl|Navbox with columns}} all working together. Press the edit button for the section to view the code. Note that each of the child navboxes has the first parameter set to <code>child</code>
{{Navbox with collapsible groups
|name = Navbox with collapsible groups
|title = Navbox, Navbox with columns, and Navbox with collapsible groups together
|selected = {{{1|}}}
|group1 = The Scouting Movement
|abbr1 = movement
|list1 = Scouting{{·}}''Scouting for Boys''{{·}}Scout method{{·}}Scout Law{{·}}Scout Promise{{·}}Scout Motto{{·}}Wood Badge{{·}}Age groups in Scouting and Guiding{{·}}Cub Scout{{·}}Boy Scout{{·}}Rover Scout{{·}}Brownie{{·}}Girl Guiding and Girl Scouting{{·}}Ranger (Girl Guide){{·}}Jamboree{{·}}Scout Leader{{·}}WOSM{{·}}WAGGGS{{·}}Non-aligned organisations{{·}}Scouting controversy and conflict{{·}}Scouting in popular culture{{·}}List of Scouts{{·}}List of highest awards in Scouting
|list2 = {{Navbox|child
|title = Former French colonies in Africa and the Indian Ocean
|state = {{#ifeq:{{{1|}}}|french|uncollapsed|collapsed}}
|titlestyle = background#
|groupstyle = background:lavender;
|group1 = Mahgreb
|list1 = Algeria{{·}} Morocco <small>(Arguin Island)</small>{{·}} Tunisia
|group2 = French West Africa
|list2 = Côte d'Ivoire{{·}} Dahomey{{·}} French Sudan{{·}} Guinea{{·}} Mauritania{{·}} Niger{{·}} Senegal{{·}} Upper Volta
|group3 =
|list3 = French Togoland{{·}} James Island
|group4 = French Equatorial Africa
|list4 = Chad{{·}} Gabon{{·}} Middle Congo{{·}} Oubangui-Chari
|group5 = Comoros
|list5 = Anjouan{{·}} Grande Comore{{·}} Mohéli
|group6 =
|list6 = French Somaliland (Djibouti){{·}} Madagascar{{·}} Ile de France{{·}} Seychelles
}}
|group3 = Scouting in the United Kingdom
|abbr3 = Scouting
|list3 = The Scout Association{{·}}Girlguiding UK{{·}}Beaver Scouts{{·}}Cub Section (UK){{·}}Venture Scout{{·}}Explorer Scouts{{·}}Brownie (Girl Guides){{·}}Ranger (Girl Guide){{·}}Rainbow (Girl Guides){{·}}Scout Network{{·}}Chief Scout (United Kingdom){{·}}Scout Counties{{·}}Scout District{{·}}Scout Section (UK){{·}}Scout Activity Centre{{·}}Young Leaders
|list4 = {{Navbox with columns|child
|state = {{#ifeq:{{{1|}}}|coltest|uncollapsed|collapsed}}
|title = Navbox with columns nested in itself
|colstyle = text-align:center;
|col1width = 33%
|col2width = 17%
|col3width = 33%
|col4width = 17%
|col1header = Col1Header
|col2header = Col2Header
|col3header = Col3Header
|col4header = Col4Header
|col1 = {{Navbox with columns|child
|colwidth = 50%
|colstyle = text-align:center;
|col1header = Col1.1Header
|col2header = Col1.2Header
|col1 = Col1.1
|col2 = Col1.2
}}
|col2 = Col2
|col3 = {{Navbox with columns|child
|colwidth = 33%
|colstyle = text-align:center;
|col1header = Col3.1Header
|col2header = Col3.2Header
|col3header = Col3.3Header
|col1 = Col3.1
|col2 = Col3.2
|col3 = Col3.3
}}
|col4 = Col4
}}
}}
===Nesting Navboxes to get more groups/lists===
You can conveniently nest Navboxes, including {{tl|Navbox with collapsible groups}}, to get an unlimited number of groups/lists. The following example uses one instance of {{tl|Navbox with collapsible groups}} to get the first 10 collapsible groups, a nested instance to get the next 10, and another nested instance to get the last 6. See the code to learn how it works. It is fairly simple to extend this to as many groups/lists as you like:
{{Navbox with collapsible groups
|name = {{PAGENAME}}
|state = collapsed
|title = Title
|selected = {{{1|}}}
|group1 = A
|list1 = List A
|group2 = B
|list2 = List B
|group3 = C
|list3 = List C
|group4 = D
|list4 = List D
|group5 = E
|list5 = List E
|group6 = F
|list6 = List F
|group7 = G
|list7 = List G
|group8 = H
|list8 = List H
|group9 = I
|list9 = List I
|list10 = {{Navbox with collapsible groups|child
|selected = {{{1|}}}
|group1 = J
|list1 = List J
|group2 = K
|list2 = List K
|group3 = L
|list3 = List L
|group4 = M
|list4 = List M
|group5 = N
|list5 = List N
|group6 = O
|list6 = List O
|group7 = P
|list7 = List P
|group8 = Q
|list8 = List Q
|group9 = R
|list9 = List R
|list10 = {{Navbox with collapsible groups|child
|selected = {{{1|}}}
|group1 = S
|list1 = List S
|group2 = T
|list2 = List T
|group3 = U
|list3 = List U
|group4 = V
|list4 = List V
|group5 = W
|list5 = List W
|group6 = X
|list6 = List X
|group7 = Y
|list7 = List Y
|group8 = Z
|list8 = List Z
}}
}}
}}
== See also ==
* {{tl|Navbox}} - Basic navbox.
* {{tl|Navbox with columns}} - Sister template that provides columns in a navbox
* {{tl|Navbox subgroup}} - Allows the creation of subgroups within {{tl|Navbox}}.
<includeonly>
<!--Categories-->
[[Category:Navbox (navigational) templates| ]]
</includeonly>
2riavq747l4o0x79i5vqlsgz4icf6w0
ਮੌਡਿਊਲ:Navbox
828
2996
5703
2023-04-07T08:52:20Z
Kuldeepburjbhalaike
1880
"local p = {} local navbar = require('Module:Navbar')._navbar local cfg = mw.loadData('Module:Navbox/configuration') local getArgs -- lazily initialized local args local format = string.format local function striped(wikitext, border) -- Return wikitext with markers replaced for odd/even striping. -- Child (subgroup) navboxes are flagged with a category that is removed -- by parent navboxes. The result is that the category shows all pages -- wh..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
local p = {}
local navbar = require('Module:Navbar')._navbar
local cfg = mw.loadData('Module:Navbox/configuration')
local getArgs -- lazily initialized
local args
local format = string.format
local function striped(wikitext, border)
-- Return wikitext with markers replaced for odd/even striping.
-- Child (subgroup) navboxes are flagged with a category that is removed
-- by parent navboxes. The result is that the category shows all pages
-- where a child navbox is not contained in a parent navbox.
local orphanCat = cfg.category.orphan
if border == cfg.keyword.border_subgroup and args[cfg.arg.orphan] ~= cfg.keyword.orphan_yes then
-- No change; striping occurs in outermost navbox.
return wikitext .. orphanCat
end
local first, second = cfg.class.navbox_odd_part, cfg.class.navbox_even_part
if args[cfg.arg.evenodd] then
if args[cfg.arg.evenodd] == cfg.keyword.evenodd_swap then
first, second = second, first
else
first = args[cfg.arg.evenodd]
second = first
end
end
local changer
if first == second then
changer = first
else
local index = 0
changer = function (code)
if code == '0' then
-- Current occurrence is for a group before a nested table.
-- Set it to first as a valid although pointless class.
-- The next occurrence will be the first row after a title
-- in a subgroup and will also be first.
index = 0
return first
end
index = index + 1
return index % 2 == 1 and first or second
end
end
local regex = orphanCat:gsub('([%[%]])', '%%%1')
return (wikitext:gsub(regex, ''):gsub(cfg.marker.regex, changer)) -- () omits gsub count
end
local function processItem(item, nowrapitems)
if item:sub(1, 2) == '{|' then
-- Applying nowrap to lines in a table does not make sense.
-- Add newlines to compensate for trim of x in |parm=x in a template.
return '\n' .. item ..'\n'
end
if nowrapitems == cfg.keyword.nowrapitems_yes then
local lines = {}
for line in (item .. '\n'):gmatch('([^\n]*)\n') do
local prefix, content = line:match('^([*:;#]+)%s*(.*)')
if prefix and not content:match(cfg.pattern.nowrap) then
line = format(cfg.nowrap_item, prefix, content)
end
table.insert(lines, line)
end
item = table.concat(lines, '\n')
end
if item:match('^[*:;#]') then
return '\n' .. item ..'\n'
end
return item
end
local function has_navbar()
return args[cfg.arg.navbar] ~= cfg.keyword.navbar_off
and args[cfg.arg.navbar] ~= cfg.keyword.navbar_plain
and (
args[cfg.arg.name]
or mw.getCurrentFrame():getParent():getTitle():gsub(cfg.pattern.sandbox, '')
~= cfg.pattern.navbox
)
end
local function renderNavBar(titleCell)
if has_navbar() then
titleCell:wikitext(navbar{
[cfg.navbar.name] = args[cfg.arg.name],
[cfg.navbar.mini] = 1,
[cfg.navbar.fontstyle] = (args[cfg.arg.basestyle] or '') .. ';' ..
(args[cfg.arg.titlestyle] or '') ..
';background:none transparent;border:none;box-shadow:none;padding:0;'
})
end
end
local function renderTitleRow(tbl)
if not args[cfg.arg.title] then return end
local titleRow = tbl:tag('tr')
local titleCell = titleRow:tag('th'):attr('scope', 'col')
local titleColspan = 2
if args[cfg.arg.imageleft] then titleColspan = titleColspan + 1 end
if args[cfg.arg.image] then titleColspan = titleColspan + 1 end
titleCell
:cssText(args[cfg.arg.basestyle])
:cssText(args[cfg.arg.titlestyle])
:addClass(cfg.class.navbox_title)
:attr('colspan', titleColspan)
renderNavBar(titleCell)
titleCell
:tag('div')
-- id for aria-labelledby attribute
:attr('id', mw.uri.anchorEncode(args[cfg.arg.title]))
:addClass(args[cfg.arg.titleclass])
:css('font-size', '114%')
:css('margin', '0 4em')
:wikitext(processItem(args[cfg.arg.title]))
end
local function getAboveBelowColspan()
local ret = 2
if args[cfg.arg.imageleft] then ret = ret + 1 end
if args[cfg.arg.image] then ret = ret + 1 end
return ret
end
local function renderAboveRow(tbl)
if not args[cfg.arg.above] then return end
tbl:tag('tr')
:tag('td')
:addClass(cfg.class.navbox_abovebelow)
:addClass(args[cfg.arg.aboveclass])
:cssText(args[cfg.arg.basestyle])
:cssText(args[cfg.arg.abovestyle])
:attr('colspan', getAboveBelowColspan())
:tag('div')
-- id for aria-labelledby attribute, if no title
:attr('id', args[cfg.arg.title] and nil or mw.uri.anchorEncode(args[cfg.arg.above]))
:wikitext(processItem(args[cfg.arg.above], args[cfg.arg.nowrapitems]))
end
local function renderBelowRow(tbl)
if not args[cfg.arg.below] then return end
tbl:tag('tr')
:tag('td')
:addClass(cfg.class.navbox_abovebelow)
:addClass(args[cfg.arg.belowclass])
:cssText(args[cfg.arg.basestyle])
:cssText(args[cfg.arg.belowstyle])
:attr('colspan', getAboveBelowColspan())
:tag('div')
:wikitext(processItem(args[cfg.arg.below], args[cfg.arg.nowrapitems]))
end
local function renderListRow(tbl, index, listnum, listnums_size)
local row = tbl:tag('tr')
if index == 1 and args[cfg.arg.imageleft] then
row
:tag('td')
:addClass(cfg.class.noviewer)
:addClass(cfg.class.navbox_image)
:addClass(args[cfg.arg.imageclass])
:css('width', '1px') -- Minimize width
:css('padding', '0 2px 0 0')
:cssText(args[cfg.arg.imageleftstyle])
:attr('rowspan', listnums_size)
:tag('div')
:wikitext(processItem(args[cfg.arg.imageleft]))
end
local group_and_num = format(cfg.arg.group_and_num, listnum)
local groupstyle_and_num = format(cfg.arg.groupstyle_and_num, listnum)
if args[group_and_num] then
local groupCell = row:tag('th')
-- id for aria-labelledby attribute, if lone group with no title or above
if listnum == 1 and not (args[cfg.arg.title] or args[cfg.arg.above] or args[cfg.arg.group2]) then
groupCell
:attr('id', mw.uri.anchorEncode(args[cfg.arg.group1]))
end
groupCell
:attr('scope', 'row')
:addClass(cfg.class.navbox_group)
:addClass(args[cfg.arg.groupclass])
:cssText(args[cfg.arg.basestyle])
-- If groupwidth not specified, minimize width
:css('width', args[cfg.arg.groupwidth] or '1%')
groupCell
:cssText(args[cfg.arg.groupstyle])
:cssText(args[groupstyle_and_num])
:wikitext(args[group_and_num])
end
local listCell = row:tag('td')
if args[group_and_num] then
listCell
:addClass(cfg.class.navbox_list_with_group)
else
listCell:attr('colspan', 2)
end
if not args[cfg.arg.groupwidth] then
listCell:css('width', '100%')
end
local rowstyle -- usually nil so cssText(rowstyle) usually adds nothing
if index % 2 == 1 then
rowstyle = args[cfg.arg.oddstyle]
else
rowstyle = args[cfg.arg.evenstyle]
end
local list_and_num = format(cfg.arg.list_and_num, listnum)
local listText = args[list_and_num]
local oddEven = cfg.marker.oddeven
if listText:sub(1, 12) == '</div><table' then
-- Assume list text is for a subgroup navbox so no automatic striping for this row.
oddEven = listText:find(cfg.pattern.navbox_title) and cfg.marker.restart or cfg.class.navbox_odd_part
end
local liststyle_and_num = format(cfg.arg.liststyle_and_num, listnum)
local listclass_and_num = format(cfg.arg.listclass_and_num, listnum)
listCell
:css('padding', '0')
:cssText(args[cfg.arg.liststyle])
:cssText(rowstyle)
:cssText(args[liststyle_and_num])
:addClass(cfg.class.navbox_list)
:addClass(cfg.class.navbox_part .. oddEven)
:addClass(args[cfg.arg.listclass])
:addClass(args[listclass_and_num])
:tag('div')
:css('padding',
(index == 1 and args[cfg.arg.list1padding]) or args[cfg.arg.listpadding] or '0 0.25em'
)
:wikitext(processItem(listText, args[cfg.arg.nowrapitems]))
if index == 1 and args[cfg.arg.image] then
row
:tag('td')
:addClass(cfg.class.noviewer)
:addClass(cfg.class.navbox_image)
:addClass(args[cfg.arg.imageclass])
:css('width', '1px') -- Minimize width
:css('padding', '0 0 0 2px')
:cssText(args[cfg.arg.imagestyle])
:attr('rowspan', listnums_size)
:tag('div')
:wikitext(processItem(args[cfg.arg.image]))
end
end
local function has_list_class(htmlclass)
local patterns = {
'^' .. htmlclass .. '$',
'%s' .. htmlclass .. '$',
'^' .. htmlclass .. '%s',
'%s' .. htmlclass .. '%s'
}
for arg, _ in pairs(args) do
if type(arg) == 'string' and mw.ustring.find(arg, cfg.pattern.class) then
for _, pattern in ipairs(patterns) do
if mw.ustring.find(args[arg] or '', pattern) then
return true
end
end
end
end
return false
end
-- there are a lot of list classes in the wild, so we add their TemplateStyles
local function add_list_styles()
local frame = mw.getCurrentFrame()
local function add_list_templatestyles(htmlclass, templatestyles)
if has_list_class(htmlclass) then
return frame:extensionTag{
name = 'templatestyles', args = { src = templatestyles }
}
else
return ''
end
end
local hlist_styles = add_list_templatestyles('hlist', cfg.hlist_templatestyles)
local plainlist_styles = add_list_templatestyles('plainlist', cfg.plainlist_templatestyles)
-- a second workaround for [[phab:T303378]]
-- when that issue is fixed, we can actually use has_navbar not to emit the
-- tag here if we want
if has_navbar() and hlist_styles == '' then
hlist_styles = frame:extensionTag{
name = 'templatestyles', args = { src = cfg.hlist_templatestyles }
}
end
-- hlist -> plainlist is best-effort to preserve old Common.css ordering.
-- this ordering is not a guarantee because most navboxes will emit only
-- one of these classes [hlist_note]
return hlist_styles .. plainlist_styles
end
local function needsHorizontalLists(border)
if border == cfg.keyword.border_subgroup or args[cfg.arg.tracking] == cfg.keyword.tracking_no then
return false
end
return not has_list_class(cfg.pattern.hlist) and not has_list_class(cfg.pattern.plainlist)
end
local function hasBackgroundColors()
for _, key in ipairs({cfg.arg.titlestyle, cfg.arg.groupstyle,
cfg.arg.basestyle, cfg.arg.abovestyle, cfg.arg.belowstyle}) do
if tostring(args[key]):find('background', 1, true) then
return true
end
end
return false
end
local function hasBorders()
for _, key in ipairs({cfg.arg.groupstyle, cfg.arg.basestyle,
cfg.arg.abovestyle, cfg.arg.belowstyle}) do
if tostring(args[key]):find('border', 1, true) then
return true
end
end
return false
end
local function isIllegible()
local styleratio = require('Module:Color contrast')._styleratio
for key, style in pairs(args) do
if tostring(key):match(cfg.pattern.style) then
if styleratio{mw.text.unstripNoWiki(style)} < 4.5 then
return true
end
end
end
return false
end
local function getTrackingCategories(border)
local cats = {}
if needsHorizontalLists(border) then table.insert(cats, cfg.category.horizontal_lists) end
if hasBackgroundColors() then table.insert(cats, cfg.category.background_colors) end
if isIllegible() then table.insert(cats, cfg.category.illegible) end
if hasBorders() then table.insert(cats, cfg.category.borders) end
return cats
end
local function renderTrackingCategories(builder, border)
local title = mw.title.getCurrentTitle()
if title.namespace ~= 10 then return end -- not in template space
local subpage = title.subpageText
if subpage == cfg.keyword.subpage_doc or subpage == cfg.keyword.subpage_sandbox
or subpage == cfg.keyword.subpage_testcases then return end
for _, cat in ipairs(getTrackingCategories(border)) do
builder:wikitext('[[Category:' .. cat .. ']]')
end
end
local function renderMainTable(border, listnums)
local tbl = mw.html.create('table')
:addClass(cfg.class.nowraplinks)
:addClass(args[cfg.arg.bodyclass])
local state = args[cfg.arg.state]
if args[cfg.arg.title] and state ~= cfg.keyword.state_plain and state ~= cfg.keyword.state_off then
if state == cfg.keyword.state_collapsed then
state = cfg.class.collapsed
end
tbl
:addClass(cfg.class.collapsible)
:addClass(state or cfg.class.autocollapse)
end
tbl:css('border-spacing', 0)
if border == cfg.keyword.border_subgroup or border == cfg.keyword.border_none then
tbl
:addClass(cfg.class.navbox_subgroup)
:cssText(args[cfg.arg.bodystyle])
:cssText(args[cfg.arg.style])
else -- regular navbox - bodystyle and style will be applied to the wrapper table
tbl
:addClass(cfg.class.navbox_inner)
:css('background', 'transparent')
:css('color', 'inherit')
end
tbl:cssText(args[cfg.arg.innerstyle])
renderTitleRow(tbl)
renderAboveRow(tbl)
local listnums_size = #listnums
for i, listnum in ipairs(listnums) do
renderListRow(tbl, i, listnum, listnums_size)
end
renderBelowRow(tbl)
return tbl
end
local function add_navbox_styles(hiding_templatestyles)
local frame = mw.getCurrentFrame()
-- This is a lambda so that it doesn't need the frame as a parameter
local function add_user_styles(templatestyles)
if templatestyles and templatestyles ~= '' then
return frame:extensionTag{
name = 'templatestyles', args = { src = templatestyles }
}
end
return ''
end
-- get templatestyles. load base from config so that Lua only needs to do
-- the work once of parser tag expansion
local base_templatestyles = cfg.templatestyles
local templatestyles = add_user_styles(args[cfg.arg.templatestyles])
local child_templatestyles = add_user_styles(args[cfg.arg.child_templatestyles])
-- The 'navbox-styles' div exists to wrap the styles to work around T200206
-- more elegantly. Instead of combinatorial rules, this ends up being linear
-- number of CSS rules.
return mw.html.create('div')
:addClass(cfg.class.navbox_styles)
:wikitext(
add_list_styles() .. -- see [hlist_note] applied to 'before base_templatestyles'
base_templatestyles ..
templatestyles ..
child_templatestyles ..
table.concat(hiding_templatestyles)
)
:done()
end
-- work around [[phab:T303378]]
-- for each arg: find all the templatestyles strip markers, insert them into a
-- table. then remove all templatestyles markers from the arg
local function move_hiding_templatestyles(args)
local gfind = string.gfind
local gsub = string.gsub
local templatestyles_markers = {}
local strip_marker_pattern = '(\127[^\127]*UNIQ%-%-templatestyles%-%x+%-QINU[^\127]*\127)'
for k, arg in pairs(args) do
for marker in gfind(arg, strip_marker_pattern) do
table.insert(templatestyles_markers, marker)
end
args[k] = gsub(arg, strip_marker_pattern, '')
end
return templatestyles_markers
end
function p._navbox(navboxArgs)
args = navboxArgs
local hiding_templatestyles = move_hiding_templatestyles(args)
local listnums = {}
for k, _ in pairs(args) do
if type(k) == 'string' then
local listnum = k:match(cfg.pattern.listnum)
if listnum then table.insert(listnums, tonumber(listnum)) end
end
end
table.sort(listnums)
local border = mw.text.trim(args[cfg.arg.border] or args[1] or '')
if border == cfg.keyword.border_child then
border = cfg.keyword.border_subgroup
end
-- render the main body of the navbox
local tbl = renderMainTable(border, listnums)
local res = mw.html.create()
-- render the appropriate wrapper for the navbox, based on the border param
if border == cfg.keyword.border_none then
res:node(add_navbox_styles(hiding_templatestyles))
local nav = res:tag('div')
:attr('role', 'navigation')
:node(tbl)
-- aria-labelledby title, otherwise above, otherwise lone group
if args[cfg.arg.title] or args[cfg.arg.above] or (args[cfg.arg.group1]
and not args[cfg.arg.group2]) then
nav:attr(
'aria-labelledby',
mw.uri.anchorEncode(
args[cfg.arg.title] or args[cfg.arg.above] or args[cfg.arg.group1]
)
)
else
nav:attr('aria-label', cfg.aria_label)
end
elseif border == cfg.keyword.border_subgroup then
-- We assume that this navbox is being rendered in a list cell of a
-- parent navbox, and is therefore inside a div with padding:0em 0.25em.
-- We start with a </div> to avoid the padding being applied, and at the
-- end add a <div> to balance out the parent's </div>
res
:wikitext('</div>')
:node(tbl)
:wikitext('<div>')
else
res:node(add_navbox_styles(hiding_templatestyles))
local nav = res:tag('div')
:attr('role', 'navigation')
:addClass(cfg.class.navbox)
:addClass(args[cfg.arg.navboxclass])
:cssText(args[cfg.arg.bodystyle])
:cssText(args[cfg.arg.style])
:css('padding', '3px')
:node(tbl)
-- aria-labelledby title, otherwise above, otherwise lone group
if args[cfg.arg.title] or args[cfg.arg.above]
or (args[cfg.arg.group1] and not args[cfg.arg.group2]) then
nav:attr(
'aria-labelledby',
mw.uri.anchorEncode(args[cfg.arg.title] or args[cfg.arg.above] or args[cfg.arg.group1])
)
else
nav:attr('aria-label', cfg.aria_label)
end
end
if (args[cfg.arg.nocat] or cfg.keyword.nocat_false):lower() == cfg.keyword.nocat_false then
renderTrackingCategories(res, border)
end
return striped(tostring(res), border)
end
function p.navbox(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
args = getArgs(frame, {wrappers = {cfg.pattern.navbox}})
-- Read the arguments in the order they'll be output in, to make references
-- number in the right order.
local _
_ = args[cfg.arg.title]
_ = args[cfg.arg.above]
-- Limit this to 20 as covering 'most' cases (that's a SWAG) and because
-- iterator approach won't work here
for i = 1, 20 do
_ = args[format(cfg.arg.group_and_num, i)]
_ = args[format(cfg.arg.list_and_num, i)]
end
_ = args[cfg.arg.below]
return p._navbox(args)
end
return p
t7wpbpsk2issbvsmbic7keehrtse5wh
ਮੌਡਿਊਲ:Navbox/doc
828
2997
5704
2023-04-07T08:52:58Z
Kuldeepburjbhalaike
1880
"{{High-use}} {{module rating|protected}} {{Lua|Module:Navbox/configuration|Module:Navbar|Module:Color contrast|Module:Arguments}} {{Uses TemplateStyles|Module:Navbox/styles.css|Template:Plainlist/styles.css|Template:Hlist/styles.css}} {{Lua sidebar}} This module implements the {{tl|Navbox}} template. Please see the [[Template:Navbox|template page]] for usage instructions. == Tracking/maintenance categories == * {{clc|Navbox orphans}} * {{clc|Nav..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{High-use}}
{{module rating|protected}}
{{Lua|Module:Navbox/configuration|Module:Navbar|Module:Color contrast|Module:Arguments}}
{{Uses TemplateStyles|Module:Navbox/styles.css|Template:Plainlist/styles.css|Template:Hlist/styles.css}}
{{Lua sidebar}}
This module implements the {{tl|Navbox}} template. Please see the [[Template:Navbox|template page]] for usage instructions.
== Tracking/maintenance categories ==
* {{clc|Navbox orphans}}
* {{clc|Navigational boxes without horizontal lists}}
* {{clc|Navboxes using background colours}}
* {{clc|Potentially illegible navboxes}}
* {{clc|Navboxes using borders}}
<includeonly>{{sandbox other||
[[Category:Modules that add a tracking category]]
[[Category:Modules that check for strip markers]]
}}</includeonly>
crx92g0qqulma3r1pp3ol94u5106gkq
ਮੌਡਿਊਲ:Navbox/configuration
828
2998
5705
2023-04-07T08:53:27Z
Kuldeepburjbhalaike
1880
"return { aria_label = 'Navbox', nowrap_item = '%s<span class="nowrap">%s</span>', templatestyles = mw.getCurrentFrame():extensionTag{ name = 'templatestyles', args = { src = 'Module:Navbox/styles.css' } }, hlist_templatestyles = 'Hlist/styles.css', plainlist_templatestyles = 'Plainlist/styles.css', -- do not localize marker table marker = { oddeven = '\127_ODDEVEN_\127', restart = '\127_ODDEVEN0_\127', regex = '\127_ODDEVEN(%d?)_\1..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
return {
aria_label = 'Navbox',
nowrap_item = '%s<span class="nowrap">%s</span>',
templatestyles = mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = 'Module:Navbox/styles.css' }
},
hlist_templatestyles = 'Hlist/styles.css',
plainlist_templatestyles = 'Plainlist/styles.css',
-- do not localize marker table
marker = {
oddeven = '\127_ODDEVEN_\127',
restart = '\127_ODDEVEN0_\127',
regex = '\127_ODDEVEN(%d?)_\127'
},
category = {
orphan = '[[Category:Navbox orphans]]',
horizontal_lists = 'Navigational boxes without horizontal lists',
background_colors = 'Navboxes using background colours',
illegible = 'Potentially illegible navboxes',
borders = 'Navboxes using borders',
},
keyword = {
border_subgroup = 'subgroup',
border_child = 'child',
border_none = 'none',
evenodd_swap = 'swap',
navbar_off = 'off',
navbar_plain = 'plain',
nocat_false = 'false',
nowrapitems_yes = 'yes',
orphan_yes = 'yes',
state_collapsed = 'collapsed',
state_off = 'off',
state_plain = 'plain',
subpage_doc = 'doc',
subpage_sandbox = 'sandbox',
subpage_testcases = 'testcases',
tracking_no = 'no'
},
class = {
autocollapse = 'autocollapse',
collapsible = 'mw-collapsible',
collapsed = 'mw-collapsed',
-- Warning
navbox = 'navbox', -- WMF currently hides 'navbox' from mobile,
-- so you probably shouldn't change the navbox class.
navbox_abovebelow = 'navbox-abovebelow',
navbox_group = 'navbox-group',
navbox_image = 'navbox-image',
navbox_inner = 'navbox-inner',
navbox_list = 'navbox-list',
navbox_list_with_group = 'navbox-list-with-group',
navbox_part = 'navbox-', -- do not l10n
navbox_styles = 'navbox-styles',
navbox_subgroup = 'navbox-subgroup',
navbox_title = 'navbox-title', -- l10n only if you change pattern.navbox_title below
navbox_odd_part = 'odd', -- do not l10n
navbox_even_part = 'even', -- do not l10n
nomobile = 'nomobile',
nowraplinks = 'nowraplinks',
noviewer = 'noviewer' -- used to remove images from MediaViewer
},
pattern = {
listnum = '^list(%d+)$',
class = 'class',
sandbox = '/sandbox$',
navbox = 'Template:Navbox',
nowrap = '^<span class="nowrap">',
style = 'style$',
navbox_title = '<th[^>]*"navbox%-title"',
hlist = 'hlist',
plainlist = 'plainlist',
},
arg = {
above = 'above',
aboveclass = 'aboveclass',
abovestyle = 'abovestyle',
basestyle = 'basestyle',
bodyclass = 'bodyclass',
bodystyle = 'bodystyle',
border = 'border',
below = 'below',
belowclass = 'belowclass',
belowstyle = 'belowstyle',
evenodd = 'evenodd',
evenstyle = 'evenstyle',
group1 = 'group1',
group2 = 'group2',
group_and_num = 'group%d',
groupstyle_and_num = 'group%dstyle',
groupclass = 'groupclass',
groupstyle = 'groupstyle',
groupwidth = 'groupwidth',
innerstyle = 'innerstyle',
image = 'image',
imageclass = 'imageclass',
imageleft = 'imageleft',
imageleftstyle = 'imageleftstyle',
imagesetyle = 'imagestyle',
list_and_num = 'list%d',
listclass_and_num = 'list%dclass',
liststyle_and_num = 'list%dstyle',
list1padding = 'list1padding',
listclass = 'listclass',
listpadding = 'listpadding',
liststyle = 'liststyle',
name = 'name',
navbar = 'navbar',
navboxclass = 'navboxclass',
nocat = 'nocat',
nowrapitems = 'nowrapitems',
oddstyle = 'oddstyle',
orphan = 'orphan',
state = 'state',
style = 'style',
templatestyles = 'templatestyles',
child_templatestyles = 'child templatestyles',
title = 'title',
titleclass = 'titleclass',
titlestyle = 'titlestyle',
tracking = 'tracking'
},
-- names of navbar arguments
navbar = {
name = 1,
fontstyle = 'fontstyle',
mini = 'mini'
}
}
7mj0kr78pzwcz3ekw0yzlsf1d0gfsnd
ਫਰਮਾ:Uses TemplateStyles
10
2999
5706
2023-04-07T08:54:59Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#invoke:Uses TemplateStyles|main}}</includeonly><noinclude> {{Uses TemplateStyles|Template:Uses TemplateStyles/example.css|nocat=true}} {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#invoke:Uses TemplateStyles|main}}</includeonly><noinclude>
{{Uses TemplateStyles|Template:Uses TemplateStyles/example.css|nocat=true}}
{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
eqhrm3aklele9wufyv66k58upan0j1w
ਫਰਮਾ:Uses TemplateStyles/doc
10
3000
5707
2023-04-07T08:55:38Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{Template shortcut|TemplateStyles}} {{Lua|{{\sandbox}}|Module:Uses TemplateStyles}} <!-- Categories go at the bottom of this page, and interwikis go on Wikidata. --> This template is used to show that templates have been converted to use [[w:WP:TemplateStyles|TemplateStyles]]. It is placed at the top of the template's /doc page. It automatically adds the template to [[:Category:Templates using TemplateStyles]], or to on..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{Template shortcut|TemplateStyles}}
{{Lua|{{\sandbox}}|Module:Uses TemplateStyles}}
<!-- Categories go at the bottom of this page, and interwikis go on Wikidata. -->
This template is used to show that templates have been converted to use [[w:WP:TemplateStyles|TemplateStyles]]. It is placed at the top of the template's /doc page. It automatically adds the template to [[:Category:Templates using TemplateStyles]], or to one of its subcategories.
== Usage ==
; Basic : {{tlx|Uses TemplateStyles|''TemplateStyles page name''}}
; All parameters : {{tlx|Uses TemplateStyles|''TemplateStyles page 1''|''TemplateStyles page 2''|''TemplateStyles page 3''|...|category{{=}}''custom category''|nocat{{=}}''true''}}
The first TemplateStyles page name is required.
===TemplateStyles sandboxes===
Note that if a sandbox version of the TemplateStyle exists, it will also be linked. This is only for sandbox versions. The subpage name of the sandbox version should be the same, but as a subpage of the templates sandbox. For example, if the TemplateStyles page name is <code>Template:Foo/styles.css</code>, then the sandbox version should be <code>Template:Foo/sandbox/styles.css</code>
== Examples ==
===One style page===
{{tlx|Uses TemplateStyles|Template:Arrowlist/styles.css}}
{{Uses TemplateStyles{{\sandbox}}|Template:Arrowlist/styles.css|nocat=true}}
{{clear}}
===Multiple style pages===
{{tlx|Uses TemplateStyles|Template:Arrowlist/styles.css|Template:Routemap/styles.css}}
{{Uses TemplateStyles{{\sandbox}}|Template:Arrowlist/styles.css|Template:Routemap/styles.css|nocat=true}}
{{clear}}
===Sandbox version of style page exists===
{{tlx|Uses TemplateStyles|Template:Uses TemplateStyles/example.css}}
{{Uses TemplateStyles{{\sandbox}}|Template:Uses TemplateStyles/example.css|nocat=true}}
{{clear}}
===No style pages specified===
{{tlx|Uses TemplateStyles}}
{{Uses TemplateStyles{{\sandbox}}|nocat=true}}
{{clear}}
== Categorisation ==
===Template category===
This template adds pages to [[:Category:Templates using TemplateStyles]] if the page is in the template namespace, and it is not on any of the subpages /doc, /sandbox, /sandbox2 or /testcases. You can specify a different category with the {{para|category}} parameter, e.g. {{para|category|Lua String-based templates}}.
===Error category===
If no modules are specified, the transcluded page will be added to [[:Category:Uses TemplateStyles templates with errors]].
===Protection level category===
TemplateStyles should have the same protection level as the template they are used on. If a difference is detected, the transcluded page will be added to [[:Category:Templates using TemplateStyles with a different protection level]].
===Category suppression===
To suppress all categorisation, use {{para|nocat|true}}. (As well as "true", the values "yes", "y", and "1" will also work.)
== See also ==
* {{tl|Lua}}
* {{tl|Uses Wikidata}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- Categories go here, and interwikis go on Wikidata. -->
[[Category:Wikipedia Lua templates| ]]
}}</includeonly>
9gcry2rlusb56bu46s710sevcpbuamc
ਫਰਮਾ:TemplateStyles
10
3001
5708
2023-04-07T08:56:14Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Uses TemplateStyles]]
wikitext
text/x-wiki
#redirect[[ਫਰਮਾ:Uses TemplateStyles]]
hpueqve3vdv01mvumwrnymicp4bukiy
ਮੌਡਿਊਲ:Uses TemplateStyles
828
3002
5709
2023-04-07T08:57:22Z
Kuldeepburjbhalaike
1880
"local yesno = require('Module:Yesno') local mList = require('Module:List') local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local TNT = require('Module:TNT') local p = {} local function format(msg, ...) return TNT.format('I18n/Uses TemplateStyles', msg, ...) end local function getConfig() return mw.loadData('Module:Uses TemplateStyles/config') end local function renderBox(tStyles) local boxA..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
local yesno = require('Module:Yesno')
local mList = require('Module:List')
local mTableTools = require('Module:TableTools')
local mMessageBox = require('Module:Message box')
local TNT = require('Module:TNT')
local p = {}
local function format(msg, ...)
return TNT.format('I18n/Uses TemplateStyles', msg, ...)
end
local function getConfig()
return mw.loadData('Module:Uses TemplateStyles/config')
end
local function renderBox(tStyles)
local boxArgs = {
type = 'notice',
small = true,
image = string.format('[[File:Farm-Fresh css add.svg|32px|alt=%s]]', format('logo-alt'))
}
if #tStyles < 1 then
boxArgs.text = string.format('<strong class="error">%s</strong>', format('error-emptylist'))
else
local cfg = getConfig()
local tStylesLinks = {}
for i, ts in ipairs(tStyles) do
local link = string.format('[[:%s]]', ts)
local sandboxLink = nil
local tsTitle = mw.title.new(ts)
if tsTitle and cfg['sandbox_title'] then
local tsSandboxTitle = mw.title.new(string.format(
'%s:%s/%s/%s', tsTitle.nsText, tsTitle.baseText, cfg['sandbox_title'], tsTitle.subpageText))
if tsSandboxTitle and tsSandboxTitle.exists then
sandboxLink = format('sandboxlink', link, ':' .. tsSandboxTitle.prefixedText)
end
end
tStylesLinks[i] = sandboxLink or link
end
local tStylesList = mList.makeList('bulleted', tStylesLinks)
boxArgs.text = format(
mw.title.getCurrentTitle():inNamespaces(828,829) and 'header-module' or 'header-template') ..
'\n' .. tStylesList
end
return mMessageBox.main('mbox', boxArgs)
end
local function renderTrackingCategories(args, tStyles, titleObj)
if yesno(args.nocat) then
return ''
end
local cfg = getConfig()
local cats = {}
-- Error category
if #tStyles < 1 and cfg['error_category'] then
cats[#cats + 1] = cfg['error_category']
end
-- TemplateStyles category
titleObj = titleObj or mw.title.getCurrentTitle()
if (titleObj.namespace == 10 or titleObj.namespace == 828)
and not cfg['subpage_blacklist'][titleObj.subpageText]
then
local category = args.category or cfg['default_category']
if category then
cats[#cats + 1] = category
end
if not yesno(args.noprotcat) and (cfg['protection_conflict_category'] or cfg['padlock_pattern']) then
local currentProt = titleObj.protectionLevels["edit"] and titleObj.protectionLevels["edit"][1] or nil
local addedLevelCat = false
local addedPadlockCat = false
for i, ts in ipairs(tStyles) do
local tsTitleObj = mw.title.new(ts)
local tsProt = tsTitleObj.protectionLevels["edit"] and tsTitleObj.protectionLevels["edit"][1] or nil
if cfg['padlock_pattern'] and tsProt and not addedPadlockCat then
local content = tsTitleObj:getContent()
if not content:find(cfg['padlock_pattern']) then
cats[#cats + 1] = cfg['missing_padlock_category']
addedPadlockCat = true
end
end
if cfg['protection_conflict_category'] and currentProt and tsProt ~= currentProt and not addedLevelCat then
currentProt = cfg['protection_hierarchy'][currentProt] or 0
tsProt = cfg['protection_hierarchy'][tsProt] or 0
if tsProt < currentProt then
addedLevelCat = true
cats[#cats + 1] = cfg['protection_conflict_category']
end
end
end
end
end
for i, cat in ipairs(cats) do
cats[i] = string.format('[[Category:%s]]', cat)
end
return table.concat(cats)
end
function p._main(args, cfg)
local tStyles = mTableTools.compressSparseArray(args)
local box = renderBox(tStyles)
local trackingCategories = renderTrackingCategories(args, tStyles)
return box .. trackingCategories
end
function p.main(frame)
local origArgs = frame:getParent().args
local args = {}
for k, v in pairs(origArgs) do
v = v:match('^%s*(.-)%s*$')
if v ~= '' then
args[k] = v
end
end
return p._main(args)
end
return p
daif0490r1ry4uy21dl7p3ae7h4onf2
ਮੌਡਿਊਲ:Uses TemplateStyles/doc
828
3003
5710
2023-04-07T08:57:58Z
Kuldeepburjbhalaike
1880
"{{Lua|Module:Uses TemplateStyles/config|Module:Yesno|Module:List|Module:TableTools|Module:Message box|Module:TNT}} {{Mbox|type=notice|This module uses data stored on Wikimedia Commons at [[commons:Data:I18n/Uses_TemplateStyles.tab|Data:I18n/Uses_TemplateStyles.tab]]}} This module implements {{Template link general|Uses TemplateStyles|bold=yes|kbd=yes}}." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Lua|Module:Uses TemplateStyles/config|Module:Yesno|Module:List|Module:TableTools|Module:Message box|Module:TNT}}
{{Mbox|type=notice|This module uses data stored on Wikimedia Commons at [[commons:Data:I18n/Uses_TemplateStyles.tab|Data:I18n/Uses_TemplateStyles.tab]]}}
This module implements {{Template link general|Uses TemplateStyles|bold=yes|kbd=yes}}.
lw1ie7l2yb258iq2bbth0v4jp0cfg4m
ਮੌਡਿਊਲ:Uses TemplateStyles/config
828
3004
5711
2023-04-07T08:58:25Z
Kuldeepburjbhalaike
1880
"local cfg = {} -- Don’t touch this line. -- Subpage blacklist: these subpages will not be categorized (except for the -- error category, which is always added if there is an error). -- For example “Template:Foo/doc” matches the `doc = true` rule, so it will have -- no categories. “Template:Foo” and “Template:Foo/documentation” match no rules, -- so they *will* have categories. All rules should be in the -- ['<subpage name>'] = tru..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
local cfg = {} -- Don’t touch this line.
-- Subpage blacklist: these subpages will not be categorized (except for the
-- error category, which is always added if there is an error).
-- For example “Template:Foo/doc” matches the `doc = true` rule, so it will have
-- no categories. “Template:Foo” and “Template:Foo/documentation” match no rules,
-- so they *will* have categories. All rules should be in the
-- ['<subpage name>'] = true,
-- format.
cfg['subpage_blacklist'] = {
['doc'] = true,
['sandbox'] = true,
['sandbox2'] = true,
['testcases'] = true,
}
-- Sandbox title: if the stylesheet’s title is <template>/<stylesheet>.css, the
-- stylesheet’s sandbox is expected to be at <template>/<sandbox_title>/<stylesheet>.css
-- Set to nil to disable sandbox links.
cfg['sandbox_title'] = 'sandbox'
-- Error category: this category is added if the module call contains errors
-- (e.g. no stylesheet listed). A category name without namespace, or nil
-- to disable categorization (not recommended).
cfg['error_category'] = 'Uses TemplateStyles templates with errors'
-- Default category: this category is added if no custom category is specified
-- in module/template call. A category name without namespace, or nil
-- to disable categorization.
cfg['default_category'] = 'Templates using TemplateStyles'
-- Protection conflict category: this category is added if the protection level
-- of any stylesheet is lower than the protection level of the template. A category name
-- without namespace, or nil to disable categorization (not recommended).
cfg['protection_conflict_category'] = 'Templates using TemplateStyles with a different protection level'
-- Hierarchy of protection levels, used to determine whether one protection level is lower
-- than another and thus should populate protection_conflict_category. No protection is treated as zero
cfg['protection_hierarchy'] = {
autoconfirmed = 1,
extendedconfirmed = 2,
templateeditor = 3,
sysop = 4
}
-- Padlock pattern: Lua pattern to search on protected stylesheets for, or nil
-- to disable padlock check.
cfg['padlock_pattern'] = '{{pp-'
-- Missing padlock category: this category is added if a protected stylesheet
-- doesn’t contain any padlock template (specified by the above Lua pattern).
-- A category name without namespace (no nil allowed) if the pattern is not nil,
-- unused (and thus may be nil) otherwise.
cfg['missing_padlock_category'] = 'Templates using TemplateStyles without padlocks'
return cfg -- Don’t touch this line.
adv258brx4dxb1cf3mprf0q8mky2k5v
ਫਰਮਾ:Template link general
10
3005
5712
2023-04-07T08:59:49Z
Kuldeepburjbhalaike
1880
"{{{{{|safesubst:}}}#invoke:Template link general|main}}<noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{{{{|safesubst:}}}#invoke:Template link general|main}}<noinclude>
{{Documentation}}
</noinclude>
8b9yosef7ekve4ol455ndvt8nuf3one
ਫਰਮਾ:Template link general/doc
10
3006
5713
2023-04-07T09:00:30Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> {{Template shortcut|{{{1|Tlg}}}|{{{2|}}}}} {{Lua|Module:Template link general}} This template, often abbreviated as {{Tlf|bold=yes|{{#switch:{{lc:{{ROOTPAGENAME}}}} | tlg | Template link general = Tlg | tlb | Template link with bold = Tlb | tlc | Template link code = Tlc | tlw ||Template link with linked braces = Tlw | tlf | Template link with link..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
{{Template shortcut|{{{1|Tlg}}}|{{{2|}}}}}
{{Lua|Module:Template link general}}
This template, often abbreviated as {{Tlf|bold=yes|{{#switch:{{lc:{{ROOTPAGENAME}}}}
| tlg | Template link general = Tlg
| tlb | Template link with bold = Tlb
| tlc | Template link code = Tlc
| tlw ||Template link with linked braces = Tlw
| tlf | Template link with link off = Tlf
| tltss | Template link with title span, subst = Tltss
| tlx | Template link expanded = Tlx
| tlxb | Template link expanded with bold = Tlxb
| tlxi | Template link expanded with italic = Tlxi
| tlxs | Template link expanded with subst = Tlxs
| tls | Template link with subst = Tls
| tnull | Template link null = Tnull
| tlp | Template link with parameters = Tlp
| #default | Template link general = Tlg}}
}}, is used to provide stylized formatting to template displays without actually using the template itself.
=== Parameters ===
With the exception of {{Mono|alttext}}, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order ([[#Examples|see Examples below]]). Certain templates have the parameter "on" by default; see the main table below for all alternate options.
{| class="wikitable"
! scope="col" | Parameter || Action || Use with<br />{{Tl|Example}} || Default active
|-
| || Default (without accessory parameters) || {{Template link general|Example}} ||
|-
| brace || Include braces as part of the template link || {{Template link general|brace=yes|Example}} ||
|-
| braceinside || Include innermost braces as part of the template link || {{Template link general|Example|braceinside=yes}} ||
|-
| bold || Renders the template link/name in '''bold''' || {{Template link general|bold=yes|Example}} ||
|-
| code || Display output using HTML [[wikipedia:HTML element#code|{{Tag|code}}]] tags ([[wikipedia:Monospaced font|monospaced font]]) || {{Template link general|code=yes|Example}} || {{Tl|Template link expanded}}
|-
| italic || Display any parameters accompanying the template link/name in ''italics'' ||| {{Template link general|italic=yes|Example|param}} ||
|-
| kbd || Display output using HTML [[wikipedia:HTML element#kbd|{{Tag|kbd}}]] tags (monospaced font) || {{Template link general|kbd=yes|Example}} ||
|-
| nolink || Don't render the template name as a link || {{Template link general|nolink=yes|Example}} || {{Tl|Tlf}}
|-
| nowrap || Prevent the insertion of line breaks ([[wikipedia:word wrap|word wrap]]) in the output || {{Template link general|nowrap=yes|Example}} ||
|-
| nowrapname || Prevent word wrapping in the output of template name/link (parameters will wrap if needed) || {{Template link general|nowrapname=yes|Example}} ||
|-
| plaincode || Uses {{Tag|code|params=style="background: transparent; border: none;"}} || {{Template link general|plaincode=yes|Example}} ||
|-
| subst || Include a [[wikipedia:Help:Substitution|subst:]] prefix before the template link/name || {{Template link general|subst=yes|Example}} || {{Tl|Tls}}, {{Tl|Tlxs}}, etc.
|-
| {{Para|alttext|[text]}} || Use [text] as the label for the template link || {{Template link general|alttext=Other|Example}} ||
|-
| _show_result || Will also display the result of the template. || {{Template link expanded|Min|7|-5|_show_result=y}} ||
|-
| _expand || Will add a link to the expanded template page. || {{Template link expanded|Min|7|-5|_expand=y}} ||
|}
==== Unnamed (Positional) ====
This template can take any number of [[wikipedia:Unnamed parameter|unnamed parameter]]s as parameters accompanying the template link (or name); see Examples below.
=== Examples ===
{{Aligned table|cols=3|class=wikitable|style=background-color: transparent;<!-- To see background of code tags. -->
| '''Code''' | '''Output''' | '''Remarks'''
| {{Template link expanded|{{{1|Template link general}}}|Banner}} | <nowiki>{{</nowiki>[[Template:Banner|Banner]]<nowiki>}}</nowiki> | {{Error|Banner}} template does not exist. Be aware with linking to non-existing templates.
| {{Template link expanded|{{{1|Template link general}}}|Ok}} | {{{{{1|Template link general}}}|Ok}} | Ok template does exist
| {{Template link expanded|{{{1|Template link general}}}|Convert|<nowiki><nowiki>14|m|ftin|abbr=out|sp=us</nowiki></nowiki>}} | {{{{{1|Template link general}}}|Convert|<nowiki>14|m|ftin|abbr=out|sp=us</nowiki>}} | Unlimited parameters as one {{Tag|nowiki|link=yes}} [[wikipedia:Help:Wikitext#Nowiki|string]]
| {{Template link expanded|{{{1|Template link general}}}|Abbr}} | {{{{{1|Template link general}}}|Abbr}} |
| {{Template link expanded|{{{1|Template link general}}}|AbbR}} | <nowiki>{{</nowiki>[[Template:AbbR|AbbR]]<nowiki>}}</nowiki> | Template names are case-sensitive.
| {{Template link expanded|{{{1|Template link general}}}|abbr}} | {{{{{1|Template link general}}}|abbr}} | The first letter in template names is case-insensitive, though.
| {{Template link expanded|{{{1|Template link general}}}|Abbr|'''<nowiki>{{Spaces}}</nowiki>'''{{{1}}}'''<nowiki>{{Spaces}}</nowiki>'''}} | {{{{{1|Template link general}}}|Abbr|{{Spaces}}{{{1}}}{{Spaces}}}}| Using {{Tl|Spaces}} before and after <nowiki>{{{1}}}</nowiki> parameter.
| {{Template link expanded|{{{1|Template link general}}}|XCode}} | {{{{{1|Template link general}}}|XCode}} |
| {{Template link expanded|{{{1|Template link general}}}|XCode|code{{=}}on}} | {{{{{1|Template link general}}}|XCode|code=on}} | <code> style
| {{Template link expanded|{{{1|Template link general}}}|XCode|plaincode{{=}}on}} | {{{{{1|Template link general}}}|XCode|plaincode=on}} | Plaincode style
| {{Template link expanded|{{{1|Template link general}}}|XCode|kbd{{=}}on}} | {{{{{1|Template link general}}}|XCode|kbd=on}} | <kbd> style
| {{Template link expanded|{{{1|Template link general}}}|XCode|bold{{=}}on}} | {{{{{1|Template link general}}}|XCode|bold=on}} | Bold link/name
| {{Template link expanded|{{{1|Template link general}}}|XCode|one|italic{{=}}on}} | {{{{{1|Template link general}}}|XCode|one|italic=on}} | Parameter(s) in italics
| {{Template link expanded|{{{1|Template link general}}}|XCode|nolink{{=}}on}} | {{{{{1|Template link general}}}|XCode|nolink=on}} |
| {{Template link expanded|{{{1|Template link general}}}|XCode|subst{{=}}on}} | {{{{{1|Template link general}}}|XCode|subst=on}} |
| {{Template link expanded|{{{1|Template link general}}}|XCode|brace{{=}}on}} | {{{{{1|Template link general}}}|XCode|brace=on}} | All braces in link
| {{Template link expanded|{{{1|Template link general}}}|XCode|braceinside{{=}}on}} | {{{{{1|Template link general}}}|XCode|braceinside=on}} | Only inside braces in link
| {{Template link expanded|{{{1|Template link general}}}|XCode|alttext{{=}}XCode link}} | {{{{{1|Template link general}}}|XCode|alttext=XCode link}} |
| {{Template link expanded|{{{1|Template link general}}}|XCode|bold{{=}}on|code{{=}}on|brace{{=}}on}} | {{{{{1|Template link general}}}|XCode|bold=on|code=on|brace=on}} | No reason you can't combine multiple parameter settings.
| {{Template link expanded|{{{1|Template link general}}}|XCode|one}} | {{{{{1|Template link general}}}|XCode|one}} |
| {{Template link expanded|{{{1|Template link general}}}|XCode|one|two}} | {{{{{1|Template link general}}}|XCode|one|two}} |
| {{Template link expanded|{{{1|Template link general}}}|XCode|bold{{=}}on|code{{=}}on|one|two}} | {{{{{1|Template link general}}}|XCode|bold=on|code=on|one|two}} | Can combine named and positional/unnamed parameters without issue…
| {{Template link expanded|{{{1|Template link general}}}|XCode|one|two|bold{{=}}on|code{{=}}on}} | {{{{{1|Template link general}}}|XCode|one|two|bold=on|code=on}} | …in any order…
| {{Template link expanded|{{{1|Template link general}}}|XCode|one|code{{=}}on|two|bold{{=}}on|three}} | {{{{{1|Template link general}}}|XCode|one|code=on|two|bold=on|three}} | …even intermixed…
| {{Template link expanded|{{{1|Template link general}}}|XCode|one|code{{=}}on|two|bold{{=}}on|three|italic{{=}}on}} | {{{{{1|Template link general}}}|XCode|one|code=on|two|bold=on|three|italic=on}} | …with many different configurations.
| {{Template link expanded|{{{1|Template link general}}}|XCode|1|2|3|4|5|6|7|8|9|10}} | {{{{{1|Template link general}}}|XCode|1|2|3|4|5|6|7|8|9|10}} |
| {{Template link expanded|{{{1|Template link general}}}}} | {{{1|Template link general}}} | With no arguments, the current page name is substituted.
| {{Template link expanded|{{{1|Template link general}}}|XCode|x=u}} | {{{{{1|Template link general}}}|XCode|x=u}} | Using '''{{=}}''' won't work.
| {{Template link expanded|{{{1|Template link general}}}|XCode|x&#61;u}} | {{{{{1|Template link general}}}|XCode|x=u}} | But <code>&#61;</code> works fine.
| {{Template link expanded|{{{1|Template link general}}}|XCode|x<nowiki>{{=}}</nowiki>u}} | {{{{{1|Template link general}}}|XCode|x{{=}}u}} | The common shortcut <code><nowiki>{{=}}</nowiki></code> is okay too. (See [[:Template:=|Template equal sign]])
| {{Template link expanded|{{{1|Template link general}}}|XCode|x<nowiki>=</nowiki>u}} | {{{{{1|Template link general}}}|XCode|x<nowiki>=</nowiki>u}} | Sticky nowiki is okay, too.
| {{Template link expanded|{{{1|Template link general}}}|XCode|<nowiki />|two|<nowiki />|<nowiki />}} | {{{{{1|Template link general}}}|XCode||two||}} | Empty parameters work too, even at the end!
| {{Template link expanded|{{{1|Template link general}}}|XCode|<nowiki>3=two</nowiki>|<nowiki>2=one</nowiki>}} | {{{{{1|Template link general}}}|XCode|3=two|2=one}} | Even right-to-left is A-okay.
}}
{| class="wikitable" style="background-color: transparent;"
|+ style="text-align: left;" | Wrapping of long names (default)
|-
! scope="col" | Code
! scope="col" style="width: 15em;" | Output
|-
| {{Template link expanded|{{{1|Tlg}}}|Long template name that would wrap to new line|This is a long value for the 1st parameter that would wrap}}
| {{{{{1|Tlg}}}|Long template name that would wrap to new line|This is a long value for the 1st parameter that would wrap}}
|}
{| class="wikitable" style="background-color: transparent;"
|+ style="text-align: left;" | Wrapping of long names (<kbd>nowrap=on</kbd>)
|-
! scope="col" | Code
! scope="col" style="width: 15em;" | Output
|-
| {{Template link expanded|{{{1|Tlg}}}|nowrap{{=}}on|Long template name that would wrap to new line|Long value for the 1st parameter that would wrap}}
| {{{{{1|Tlg}}}|nowrap=on|Long template name that would wrap to new line|Long value for the 1st parameter that would wrap}}
|}
{| class="wikitable" style="background-color: transparent; width: 100%;"
|+ style="text-align: left;" | Wrapping of long names (<kbd>nowrapname=on</kbd>)
|-
! scope="col" style="max-width: 50%;" | Code
! scope="col" style="width: 15em;" | Output
|-
| {{Template link expanded|{{{1|Tlg}}}|nowrapname{{=}}on|Long template name that would wrap to new line|Long value for the 1st parameter that would wrap}}
| {{{{{1|Tlg}}}|nowrapname=on|Long template name that would wrap to new line|Long value for the 1st parameter that would wrap}}
|}<includeonly>
{{Sandbox other|| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Internal template-link templates]]
[[Category:Wikitext typing-aid templates]]
}}</includeonly>
2n4ncx5qvx5514a585o6ll5eolsd109
ਫਰਮਾ:Tlg
10
3007
5714
2023-04-07T09:01:08Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Template link general]]
wikitext
text/x-wiki
#redirect[[Template:Template link general]]
awued3998irulmezcu4xuzh6s1r9qmb
ਮੌਡਿਊਲ:Template link general
828
3008
5715
2023-04-07T09:01:27Z
Kuldeepburjbhalaike
1880
"-- This implements Template:Template link general local getArgs = require('Module:Arguments').getArgs local p = {} -- Is a string non-empty? local function _ne(s) return s ~= nil and s ~= "" end local nw = mw.text.nowiki local function addTemplate(s) local i, _ = s:find(':', 1, true) if i == nil then return 'Template:' .. s end local ns = s:sub(1, i - 1) if ns == '' or mw.site.namespaces[ns] then return s else return 'Template:' ...." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
-- This implements Template:Template link general
local getArgs = require('Module:Arguments').getArgs
local p = {}
-- Is a string non-empty?
local function _ne(s)
return s ~= nil and s ~= ""
end
local nw = mw.text.nowiki
local function addTemplate(s)
local i, _ = s:find(':', 1, true)
if i == nil then
return 'Template:' .. s
end
local ns = s:sub(1, i - 1)
if ns == '' or mw.site.namespaces[ns] then
return s
else
return 'Template:' .. s
end
end
local function trimTemplate(s)
local needle = 'template:'
if s:sub(1, needle:len()):lower() == needle then
return s:sub(needle:len() + 1)
else
return s
end
end
local function linkTitle(args)
if _ne(args.nolink) then
return args['1']
end
local titleObj
local titlePart = '[['
if args['1'] then
-- This handles :Page and other NS
titleObj = mw.title.new(args['1'], 'Template')
else
titleObj = mw.title.getCurrentTitle()
end
titlePart = titlePart .. (titleObj ~= nil and titleObj.fullText or
addTemplate(args['1']))
local textPart = args.alttext
if not _ne(textPart) then
if titleObj ~= nil then
textPart = titleObj:inNamespace("Template") and args['1'] or titleObj.fullText
else
-- redlink
textPart = args['1']
end
end
if _ne(args.subst) then
-- HACK: the ns thing above is probably broken
textPart = 'subst:' .. textPart
end
if _ne(args.brace) then
textPart = nw('{{') .. textPart .. nw('}}')
elseif _ne(args.braceinside) then
textPart = nw('{') .. textPart .. nw('}')
end
titlePart = titlePart .. '|' .. textPart .. ']]'
if _ne(args.braceinside) then
titlePart = nw('{') .. titlePart .. nw('}')
end
return titlePart
end
function p.main(frame)
local args = getArgs(frame, {
trim = true,
removeBlanks = false
})
return p._main(args)
end
function p._main(args)
local bold = _ne(args.bold) or _ne(args.boldlink) or _ne(args.boldname)
local italic = _ne(args.italic) or _ne(args.italics)
local dontBrace = _ne(args.brace) or _ne(args.braceinside)
local code = _ne(args.code) or _ne(args.tt)
local show_result = _ne(args._show_result)
local expand = _ne(args._expand)
-- Build the link part
local titlePart = linkTitle(args)
if bold then titlePart = "'''" .. titlePart .. "'''" end
if _ne(args.nowrapname) then titlePart = '<span class="nowrap">' .. titlePart .. '</span>' end
-- Build the arguments
local textPart = ""
local textPartBuffer = "|"
local codeArguments = {}
local codeArgumentsString = ""
local i = 2
local j = 1
while args[i] do
local val = args[i]
if val ~= "" then
if _ne(args.nowiki) then
-- Unstrip nowiki tags first because calling nw on something that already contains nowiki tags will
-- mangle the nowiki strip marker and result in literal UNIQ...QINU showing up
val = nw(mw.text.unstripNoWiki(val))
end
local k, v = string.match(val, "(.*)=(.*)")
if not k then
codeArguments[j] = val
j = j + 1
else
codeArguments[k] = v
end
codeArgumentsString = codeArgumentsString .. textPartBuffer .. val
if italic then
val = '<span style="font-style:italic;">' .. val .. '</span>'
end
textPart = textPart .. textPartBuffer .. val
end
i = i + 1
end
-- final wrap
local ret = titlePart .. textPart
if not dontBrace then ret = nw('{{') .. ret .. nw('}}') end
if _ne(args.a) then ret = nw('*') .. ' ' .. ret end
if _ne(args.kbd) then ret = '<kbd>' .. ret .. '</kbd>' end
if code then
ret = '<code>' .. ret .. '</code>'
elseif _ne(args.plaincode) then
ret = '<code style="border:none;background:transparent;">' .. ret .. '</code>'
end
if _ne(args.nowrap) then ret = '<span class="nowrap">' .. ret .. '</span>' end
--[[ Wrap as html??
local span = mw.html.create('span')
span:wikitext(ret)
--]]
if _ne(args.debug) then ret = ret .. '\n<pre>' .. mw.text.encode(mw.dumpObject(args)) .. '</pre>' end
if show_result then
local result = mw.getCurrentFrame():expandTemplate{title = addTemplate(args[1]), args = codeArguments}
ret = ret .. " → " .. result
end
if expand then
local query = mw.text.encode('{{' .. addTemplate(args[1]) .. string.gsub(codeArgumentsString, textPartBuffer, "|") .. '}}')
local url = mw.uri.fullUrl('special:ExpandTemplates', 'wpInput=' .. query)
mw.log()
ret = ret .. " [" .. tostring(url) .. "]"
end
return ret
end
return p
h9pkq3146761l1ni3mv8ntbf0wvmxjv
ਮੌਡਿਊਲ:Template link general/doc
828
3009
5716
2023-04-07T09:02:24Z
Kuldeepburjbhalaike
1880
"{{Lua|Module:Arguments}} Implements {{Tl|Template link general}} and other templates in its family. == Basic usage == <pre>{{#invoke:Template link general|main}}</pre> This module is used by {{T|Template link general}} and related templates to display links to templates. It is similar to {{T|Tl}} but with additional formatting options and the ability to include parameters in the display. See the Template:Template link general#Parameters|Parame..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Lua|Module:Arguments}}
Implements {{Tl|Template link general}} and other templates in its family.
== Basic usage ==
<pre>{{#invoke:Template link general|main}}</pre>
This module is used by {{T|Template link general}} and related templates to display links to templates. It is similar to {{T|Tl}} but with additional formatting options and the ability to include parameters in the display. See the [[Template:Template link general#Parameters|Parameters section]] of the Template documentation subpage for the full list, which can be enabled by passing any value to them (such as "on", "yes", etc.).
8wdqwqvwebfy68mun5kliap58hs1teu
ਮੌਡਿਊਲ:TNT
828
3010
5968
5717
2024-03-02T19:13:09Z
ExE Boss
1783
Update from [[d:Special:GoToLinkedPage/mediawikiwiki/Q28132212|master]] using [[mw:Synchronizer| #Synchronizer]]
Scribunto
text/plain
--
-- INTRO: (!!! DO NOT RENAME THIS PAGE !!!)
-- This module allows any template or module to be copy/pasted between
-- wikis without any translation changes. All translation text is stored
-- in the global Data:*.tab pages on Commons, and used everywhere.
--
-- SEE: https://www.mediawiki.org/wiki/Multilingual_Templates_and_Modules
--
-- ATTENTION:
-- Please do NOT rename this module - it has to be identical on all wikis.
-- This code is maintained at https://www.mediawiki.org/wiki/Module:TNT
-- Please do not modify it anywhere else, as it may get copied and override your changes.
-- Suggestions can be made at https://www.mediawiki.org/wiki/Module_talk:TNT
--
-- DESCRIPTION:
-- The "msg" function uses a Commons dataset to translate a message
-- with a given key (e.g. source-table), plus optional arguments
-- to the wiki markup in the current content language.
-- Use lang=xx to set language. Example:
--
-- {{#invoke:TNT | msg
-- | I18n/Template:Graphs.tab <!-- https://commons.wikimedia.org/wiki/Data:I18n/Template:Graphs.tab -->
-- | source-table <!-- uses a translation message with id = "source-table" -->
-- | param1 }} <!-- optional parameter -->
--
--
-- The "doc" function will generate the <templatedata> parameter documentation for templates.
-- This way all template parameters can be stored and localized in a single Commons dataset.
-- NOTE: "doc" assumes that all documentation is located in Data:Templatedata/* on Commons.
--
-- {{#invoke:TNT | doc | Graph:Lines }}
-- uses https://commons.wikimedia.org/wiki/Data:Templatedata/Graph:Lines.tab
-- if the current page is Template:Graph:Lines/doc
--
local p = {}
local i18nDataset = 'I18n/Module:TNT.tab'
-- Forward declaration of the local functions
local sanitizeDataset, loadData, link, formatMessage
function p.msg(frame)
local dataset, id
local params = {}
local lang = nil
for k, v in pairs(frame.args) do
if k == 1 then
dataset = mw.text.trim(v)
elseif k == 2 then
id = mw.text.trim(v)
elseif type(k) == 'number' then
params[k - 2] = mw.text.trim(v)
elseif k == 'lang' and v ~= '_' then
lang = mw.text.trim(v)
end
end
return formatMessage(dataset, id, params, lang)
end
-- Identical to p.msg() above, but used from other lua modules
-- Parameters: name of dataset, message key, optional arguments
-- Example with 2 params: format('I18n/Module:TNT', 'error_bad_msgkey', 'my-key', 'my-dataset')
function p.format(dataset, key, ...)
local checkType = require('libraryUtil').checkType
checkType('format', 1, dataset, 'string')
checkType('format', 2, key, 'string')
return formatMessage(dataset, key, {...})
end
-- Identical to p.msg() above, but used from other lua modules with the language param
-- Parameters: language code, name of dataset, message key, optional arguments
-- Example with 2 params: formatInLanguage('es', I18n/Module:TNT', 'error_bad_msgkey', 'my-key', 'my-dataset')
function p.formatInLanguage(lang, dataset, key, ...)
local checkType = require('libraryUtil').checkType
checkType('formatInLanguage', 1, lang, 'string')
checkType('formatInLanguage', 2, dataset, 'string')
checkType('formatInLanguage', 3, key, 'string')
return formatMessage(dataset, key, {...}, lang)
end
-- Obsolete function that adds a 'c:' prefix to the first param.
-- "Sandbox/Sample.tab" -> 'c:Data:Sandbox/Sample.tab'
function p.link(frame)
return link(frame.args[1])
end
function p.doc(frame)
local dataset = 'Templatedata/' .. sanitizeDataset(frame.args[1])
return frame:extensionTag('templatedata', p.getTemplateData(dataset)) ..
formatMessage(i18nDataset, 'edit_doc', {link(dataset)})
end
function p.getTemplateData(dataset)
-- TODO: add '_' parameter once lua starts reindexing properly for "all" languages
local data = loadData(dataset)
local names = {}
for _, field in ipairs(data.schema.fields) do
table.insert(names, field.name)
end
local numOnly = true
local params = {}
local paramOrder = {}
for _, row in ipairs(data.data) do
local newVal = {}
local name = nil
for pos, columnName in ipairs(names) do
if columnName == 'name' then
name = row[pos]
else
newVal[columnName] = row[pos]
end
end
if name then
if (
(type(name) ~= "number")
and (
(type(name) ~= "string")
or not string.match(name, "^%d+$")
)
) then
numOnly = false
end
params[name] = newVal
table.insert(paramOrder, name)
end
end
-- Work around json encoding treating {"1":{...}} as an [{...}]
if numOnly then
params['zzz123']=''
end
local json = mw.text.jsonEncode({
params=params,
paramOrder=paramOrder,
description=data.description,
})
if numOnly then
json = string.gsub(json,'"zzz123":"",?', "")
end
return json
end
-- Local functions
sanitizeDataset = function(dataset)
if not dataset then
return nil
end
dataset = mw.text.trim(dataset)
if dataset == '' then
return nil
elseif string.sub(dataset,-4) ~= '.tab' then
return dataset .. '.tab'
else
return dataset
end
end
loadData = function(dataset, lang)
dataset = sanitizeDataset(dataset)
if not dataset then
error(formatMessage(i18nDataset, 'error_no_dataset', {}))
end
-- Give helpful error to thirdparties who try and copy this module.
if not mw.ext or not mw.ext.data or not mw.ext.data.get then
error(string.format([['''Missing JsonConfig extension, or not properly configured;
Cannot load https://commons.wikimedia.org/wiki/Data:%s.
See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates''']], dataset))
end
local data = mw.ext.data.get(dataset, lang)
if data == false then
if dataset == i18nDataset then
-- Prevent cyclical calls
error('Missing Commons dataset ' .. i18nDataset)
else
error(formatMessage(i18nDataset, 'error_bad_dataset', {link(dataset)}))
end
end
return data
end
-- Given a dataset name, convert it to a title with the 'commons:data:' prefix
link = function(dataset)
return 'c:Data:' .. mw.text.trim(dataset or '')
end
formatMessage = function(dataset, key, params, lang)
for _, row in pairs(loadData(dataset, lang).data) do
local id, msg = unpack(row)
if id == key then
local result = mw.message.newRawMessage(msg, unpack(params or {}))
return result:plain()
end
end
if dataset == i18nDataset then
-- Prevent cyclical calls
error('Invalid message key "' .. key .. '"')
else
error(formatMessage(i18nDataset, 'error_bad_msgkey', {key, link(dataset)}))
end
end
return p
r7hn49mbqg5sfa9i7l9l3ts62h7gy7u
ਮੌਡਿਊਲ:TNT/doc
828
3011
5718
2023-04-07T09:04:42Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <includeonly>{{Shared Template Warning|Module:TNT|Module:TNT}}</includeonly> {{possible-risk}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> === Usage === === See also === <includeonly> <!-- Categories and interwikis go here, and interwikis also go on Wikidata. --> </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<includeonly>{{Shared Template Warning|Module:TNT|Module:TNT}}</includeonly>
{{possible-risk}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
=== Usage ===
=== See also ===
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
</includeonly>
5cm428msiqjm8mpgrh8n2u3546g2fo0
ਫਰਮਾ:Uses TemplateStyles/example.css
10
3012
5719
2023-04-07T09:05:47Z
Kuldeepburjbhalaike
1880
"/* This is just an example page for Template:Uses TemplateStyles */" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
sanitized-css
text/css
/* This is just an example page for Template:Uses TemplateStyles */
ahgqej4vbtx7fu0etpc0x6ggo8673hy
ਮੌਡਿਊਲ:Navbox/styles.css
828
3013
5720
2023-04-07T09:06:33Z
Kuldeepburjbhalaike
1880
"/* {{pp|small=y}} */ .navbox { box-sizing: border-box; border: 1px solid #a2a9b1; width: 100%; clear: both; font-size: 88%; text-align: center; padding: 1px; margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */ } .navbox .navbox { margin-top: 0; /* No top margin for nested navboxes */ } .navbox + .navbox, /* TODO: remove first line after transclusions have updated */ .navbox + .navbox-styles + .navbox { margin-..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
sanitized-css
text/css
/* {{pp|small=y}} */
.navbox {
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
margin-top: 0; /* No top margin for nested navboxes */
}
.navbox + .navbox, /* TODO: remove first line after transclusions have updated */
.navbox + .navbox-styles + .navbox {
margin-top: -1px; /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em;
line-height: 1.5em;
text-align: center;
}
.navbox-group {
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background-color: #fdfdfd;
}
.navbox-list {
line-height: 1.5em;
border-color: #fdfdfd; /* Must match background color */
}
.navbox-list-with-group {
text-align: left;
border-left-width: 2px;
border-left-style: solid;
}
/* cell spacing for navbox cells */
/* Borders above 2nd, 3rd, etc. rows */
/* TODO: figure out how to replace tr as structure;
* with div structure it should be just a matter of first-child */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {
border-top: 2px solid #fdfdfd; /* Must match background color */
}
.navbox-title {
background-color: #ccf; /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
background-color: #ddf; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background-color: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background-color: #f7f7f7;
}
.navbox-odd {
background-color: transparent;
}
/* TODO: figure out how to remove reliance on td as structure */
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
}
r3sdo030s2y37osfqh0rur7i26x9epy
ਫਰਮਾ:Plainlist/styles.css
10
3014
5721
2023-04-07T09:07:06Z
Kuldeepburjbhalaike
1880
"/* {{pp-template|small=yes}} */ .plainlist ol, .plainlist ul { line-height: inherit; list-style: none; margin: 0; padding: 0; /* Reset Minerva default */ } .plainlist ol li, .plainlist ul li { margin-bottom: 0; }" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
sanitized-css
text/css
/* {{pp-template|small=yes}} */
.plainlist ol,
.plainlist ul {
line-height: inherit;
list-style: none;
margin: 0;
padding: 0; /* Reset Minerva default */
}
.plainlist ol li,
.plainlist ul li {
margin-bottom: 0;
}
9iguthb0t8w7c89r3am2dbgv55d4w1c
ਫਰਮਾ:Hlist/styles.css
10
3015
5722
2023-04-07T09:07:35Z
Kuldeepburjbhalaike
1880
"/* {{pp-protected|reason=match parent|small=yes}} */ /* * hlist styles are defined in core and Minerva and differ in Minerva. The * current definitions here (2023-01-01) are sufficient to override Minerva * without use of the hlist-separated class. The most problematic styles were * related to margin, padding, and the bullet. Check files listed at * [[MediaWiki talk:Common.css/to do#hlist-separated]] */ /* * TODO: When the majority of read..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
sanitized-css
text/css
/* {{pp-protected|reason=match parent|small=yes}} */
/*
* hlist styles are defined in core and Minerva and differ in Minerva. The
* current definitions here (2023-01-01) are sufficient to override Minerva
* without use of the hlist-separated class. The most problematic styles were
* related to margin, padding, and the bullet. Check files listed at
* [[MediaWiki talk:Common.css/to do#hlist-separated]]
*/
/*
* TODO: When the majority of readership supports it (or some beautiful world
* in which grade C support is above the minimum threshold), use :is()
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
/*
* don't trust the note that says margin doesn't work with inline
* removing margin: 0 makes dds have margins again
* We also want to reset margin-right in Minerva
*/
margin: 0;
display: inline;
}
/* Display requested top-level lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
/* Display nested lists inline */
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li {
display: none;
}
/* TODO: :not() can maybe be used here to remove the later rule. naive test
* seems to work. more testing needed. like so:
*.hlist dt:not(:last-child)::after {
* content: ": ";
*}
*.hlist dd:not(:last-child)::after,
*.hlist li:not(:last-child)::after {
* content: " · ";
* font-weight: bold;
*}
*/
/* Generate interpuncts */
.hlist dt::after {
content: ": ";
}
.hlist dd::after,
.hlist li::after {
content: " · ";
font-weight: bold;
}
.hlist dd:last-child::after,
.hlist dt:last-child::after,
.hlist li:last-child::after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child::before,
.hlist dd dt:first-child::before,
.hlist dd li:first-child::before,
.hlist dt dd:first-child::before,
.hlist dt dt:first-child::before,
.hlist dt li:first-child::before,
.hlist li dd:first-child::before,
.hlist li dt:first-child::before,
.hlist li li:first-child::before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child::after,
.hlist dd dt:last-child::after,
.hlist dd li:last-child::after,
.hlist dt dd:last-child::after,
.hlist dt dt:last-child::after,
.hlist dt li:last-child::after,
.hlist li dd:last-child::after,
.hlist li dt:last-child::after,
.hlist li li:last-child::after {
content: ")";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li::before {
content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child::before,
.hlist dt ol > li:first-child::before,
.hlist li ol > li:first-child::before {
content: " (" counter(listitem) "\a0";
}
gfbk8cwecy39b1u1zxq4sqqxyf84d2r
ਫਰਮਾ:Tl
10
3016
5724
2023-04-07T09:10:05Z
Kuldeepburjbhalaike
1880
Kuldeepburjbhalaike ਨੇ ਸਫ਼ਾ [[ਫਰਮਾ:Tl]] ਨੂੰ [[ਫਰਮਾ:Template link]] ’ਤੇ ਭੇਜਿਆ
wikitext
text/x-wiki
#ਰੀਡਿਰੈਕਟ [[ਫਰਮਾ:Template link]]
5ji89mp679ksqxyun3yvhe9jzd72kde
ਫਰਮਾ:Clc
10
3017
5726
2023-04-07T09:11:35Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Category link with count]]
wikitext
text/x-wiki
#redirect[[Template:Category link with count]]
bxxuhemqo2d22pwiw2elo4mv75caw7a
ਫਰਮਾ:Category link with count
10
3018
5727
2023-04-07T09:11:53Z
Kuldeepburjbhalaike
1880
"[[:Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|<!-- -->{{#if:{{{name|}}}|{{{name}}}|Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}}}<!-- -->]] ({{PAGESINCATEGORY:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|{{{2|all}}}}})<noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
[[:Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|<!--
-->{{#if:{{{name|}}}|{{{name}}}|Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}}}<!--
-->]] ({{PAGESINCATEGORY:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|{{{2|all}}}}})<noinclude>
{{Documentation}}
</noinclude>
t44qc0k3i1yz2ecwxpiksck04hyz7rx
ਮੌਡਿਊਲ:String
828
3019
5728
2023-04-07T09:12:50Z
Kuldeepburjbhalaike
1880
"--[[ This module is intended to provide access to basic string functions. Most of the functions provided here can be invoked with named parameters, unnamed parameters, or a mixture. If named parameters are used, Mediawiki will automatically remove any leading or trailing whitespace from the parameter. Depending on the intended use, it may be advantageous to either preserve or remove such whitespace. Global options ignore_errors: If set to..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
--[[
This module is intended to provide access to basic string functions.
Most of the functions provided here can be invoked with named parameters,
unnamed parameters, or a mixture. If named parameters are used, Mediawiki will
automatically remove any leading or trailing whitespace from the parameter.
Depending on the intended use, it may be advantageous to either preserve or
remove such whitespace.
Global options
ignore_errors: If set to 'true' or 1, any error condition will result in
an empty string being returned rather than an error message.
error_category: If an error occurs, specifies the name of a category to
include with the error message. The default category is
[Category:Errors reported by Module String].
no_category: If set to 'true' or 1, no category will be added if an error
is generated.
Unit tests for this module are available at Module:String/tests.
]]
local str = {}
--[[
len
This function returns the length of the target string.
Usage:
{{#invoke:String|len|target_string|}}
OR
{{#invoke:String|len|s=target_string}}
Parameters
s: The string whose length to report
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string.
]]
function str.len( frame )
local new_args = str._getParameters( frame.args, {'s'} )
local s = new_args['s'] or ''
return mw.ustring.len( s )
end
--[[
sub
This function returns a substring of the target string at specified indices.
Usage:
{{#invoke:String|sub|target_string|start_index|end_index}}
OR
{{#invoke:String|sub|s=target_string|i=start_index|j=end_index}}
Parameters
s: The string to return a subset of
i: The fist index of the substring to return, defaults to 1.
j: The last index of the string to return, defaults to the last character.
The first character of the string is assigned an index of 1. If either i or j
is a negative value, it is interpreted the same as selecting a character by
counting from the end of the string. Hence, a value of -1 is the same as
selecting the last character of the string.
If the requested indices are out of range for the given string, an error is
reported.
]]
function str.sub( frame )
local new_args = str._getParameters( frame.args, { 's', 'i', 'j' } )
local s = new_args['s'] or ''
local i = tonumber( new_args['i'] ) or 1
local j = tonumber( new_args['j'] ) or -1
local len = mw.ustring.len( s )
-- Convert negatives for range checking
if i < 0 then
i = len + i + 1
end
if j < 0 then
j = len + j + 1
end
if i > len or j > len or i < 1 or j < 1 then
return str._error( 'String subset index out of range' )
end
if j < i then
return str._error( 'String subset indices out of order' )
end
return mw.ustring.sub( s, i, j )
end
--[[
This function implements that features of {{str sub old}} and is kept in order
to maintain these older templates.
]]
function str.sublength( frame )
local i = tonumber( frame.args.i ) or 0
local len = tonumber( frame.args.len )
return mw.ustring.sub( frame.args.s, i + 1, len and ( i + len ) )
end
--[[
_match
This function returns a substring from the source string that matches a
specified pattern. It is exported for use in other modules
Usage:
strmatch = require("Module:String")._match
sresult = strmatch( s, pattern, start, match, plain, nomatch )
Parameters
s: The string to search
pattern: The pattern or string to find within the string
start: The index within the source string to start the search. The first
character of the string has index 1. Defaults to 1.
match: In some cases it may be possible to make multiple matches on a single
string. This specifies which match to return, where the first match is
match= 1. If a negative number is specified then a match is returned
counting from the last match. Hence match = -1 is the same as requesting
the last match. Defaults to 1.
plain: A flag indicating that the pattern should be understood as plain
text. Defaults to false.
nomatch: If no match is found, output the "nomatch" value rather than an error.
For information on constructing Lua patterns, a form of [regular expression], see:
* http://www.lua.org/manual/5.1/manual.html#5.4.1
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Ustring_patterns
]]
-- This sub-routine is exported for use in other modules
function str._match( s, pattern, start, match_index, plain_flag, nomatch )
if s == '' then
return str._error( 'Target string is empty' )
end
if pattern == '' then
return str._error( 'Pattern string is empty' )
end
start = tonumber(start) or 1
if math.abs(start) < 1 or math.abs(start) > mw.ustring.len( s ) then
return str._error( 'Requested start is out of range' )
end
if match_index == 0 then
return str._error( 'Match index is out of range' )
end
if plain_flag then
pattern = str._escapePattern( pattern )
end
local result
if match_index == 1 then
-- Find first match is simple case
result = mw.ustring.match( s, pattern, start )
else
if start > 1 then
s = mw.ustring.sub( s, start )
end
local iterator = mw.ustring.gmatch(s, pattern)
if match_index > 0 then
-- Forward search
for w in iterator do
match_index = match_index - 1
if match_index == 0 then
result = w
break
end
end
else
-- Reverse search
local result_table = {}
local count = 1
for w in iterator do
result_table[count] = w
count = count + 1
end
result = result_table[ count + match_index ]
end
end
if result == nil then
if nomatch == nil then
return str._error( 'Match not found' )
else
return nomatch
end
else
return result
end
end
--[[
match
This function returns a substring from the source string that matches a
specified pattern.
Usage:
{{#invoke:String|match|source_string|pattern_string|start_index|match_number|plain_flag|nomatch_output}}
OR
{{#invoke:String|match|s=source_string|pattern=pattern_string|start=start_index
|match=match_number|plain=plain_flag|nomatch=nomatch_output}}
Parameters
s: The string to search
pattern: The pattern or string to find within the string
start: The index within the source string to start the search. The first
character of the string has index 1. Defaults to 1.
match: In some cases it may be possible to make multiple matches on a single
string. This specifies which match to return, where the first match is
match= 1. If a negative number is specified then a match is returned
counting from the last match. Hence match = -1 is the same as requesting
the last match. Defaults to 1.
plain: A flag indicating that the pattern should be understood as plain
text. Defaults to false.
nomatch: If no match is found, output the "nomatch" value rather than an error.
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from each string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
If the match_number or start_index are out of range for the string being queried, then
this function generates an error. An error is also generated if no match is found.
If one adds the parameter ignore_errors=true, then the error will be suppressed and
an empty string will be returned on any failure.
For information on constructing Lua patterns, a form of [regular expression], see:
* http://www.lua.org/manual/5.1/manual.html#5.4.1
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Ustring_patterns
]]
-- This is the entry point for #invoke:String|match
function str.match( frame )
local new_args = str._getParameters( frame.args, {'s', 'pattern', 'start', 'match', 'plain', 'nomatch'} )
local s = new_args['s'] or ''
local start = tonumber( new_args['start'] ) or 1
local plain_flag = str._getBoolean( new_args['plain'] or false )
local pattern = new_args['pattern'] or ''
local match_index = math.floor( tonumber(new_args['match']) or 1 )
local nomatch = new_args['nomatch']
return str._match( s, pattern, start, match_index, plain_flag, nomatch )
end
--[[
pos
This function returns a single character from the target string at position pos.
Usage:
{{#invoke:String|pos|target_string|index_value}}
OR
{{#invoke:String|pos|target=target_string|pos=index_value}}
Parameters
target: The string to search
pos: The index for the character to return
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
The first character has an index value of 1.
If one requests a negative value, this function will select a character by counting backwards
from the end of the string. In other words pos = -1 is the same as asking for the last character.
A requested value of zero, or a value greater than the length of the string returns an error.
]]
function str.pos( frame )
local new_args = str._getParameters( frame.args, {'target', 'pos'} )
local target_str = new_args['target'] or ''
local pos = tonumber( new_args['pos'] ) or 0
if pos == 0 or math.abs(pos) > mw.ustring.len( target_str ) then
return str._error( 'String index out of range' )
end
return mw.ustring.sub( target_str, pos, pos )
end
--[[
str_find
This function duplicates the behavior of {{str_find}}, including all of its quirks.
This is provided in order to support existing templates, but is NOT RECOMMENDED for
new code and templates. New code is recommended to use the "find" function instead.
Returns the first index in "source" that is a match to "target". Indexing is 1-based,
and the function returns -1 if the "target" string is not present in "source".
Important Note: If the "target" string is empty / missing, this function returns a
value of "1", which is generally unexpected behavior, and must be accounted for
separatetly.
]]
function str.str_find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target'} )
local source_str = new_args['source'] or ''
local target_str = new_args['target'] or ''
if target_str == '' then
return 1
end
local start = mw.ustring.find( source_str, target_str, 1, true )
if start == nil then
start = -1
end
return start
end
--[[
find
This function allows one to search for a target string or pattern within another
string.
Usage:
{{#invoke:String|find|source_str|target_string|start_index|plain_flag}}
OR
{{#invoke:String|find|source=source_str|target=target_str|start=start_index|plain=plain_flag}}
Parameters
source: The string to search
target: The string or pattern to find within source
start: The index within the source string to start the search, defaults to 1
plain: Boolean flag indicating that target should be understood as plain
text and not as a Lua style regular expression, defaults to true
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the parameter. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
This function returns the first index >= "start" where "target" can be found
within "source". Indices are 1-based. If "target" is not found, then this
function returns 0. If either "source" or "target" are missing / empty, this
function also returns 0.
This function should be safe for UTF-8 strings.
]]
function str.find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target', 'start', 'plain' } )
local source_str = new_args['source'] or ''
local pattern = new_args['target'] or ''
local start_pos = tonumber(new_args['start']) or 1
local plain = new_args['plain'] or true
if source_str == '' or pattern == '' then
return 0
end
plain = str._getBoolean( plain )
local start = mw.ustring.find( source_str, pattern, start_pos, plain )
if start == nil then
start = 0
end
return start
end
--[[
replace
This function allows one to replace a target string or pattern within another
string.
Usage:
{{#invoke:String|replace|source_str|pattern_string|replace_string|replacement_count|plain_flag}}
OR
{{#invoke:String|replace|source=source_string|pattern=pattern_string|replace=replace_string|
count=replacement_count|plain=plain_flag}}
Parameters
source: The string to search
pattern: The string or pattern to find within source
replace: The replacement text
count: The number of occurences to replace, defaults to all.
plain: Boolean flag indicating that pattern should be understood as plain
text and not as a Lua style regular expression, defaults to true
]]
function str.replace( frame )
local new_args = str._getParameters( frame.args, {'source', 'pattern', 'replace', 'count', 'plain' } )
local source_str = new_args['source'] or ''
local pattern = new_args['pattern'] or ''
local replace = new_args['replace'] or ''
local count = tonumber( new_args['count'] )
local plain = new_args['plain'] or true
if source_str == '' or pattern == '' then
return source_str
end
plain = str._getBoolean( plain )
if plain then
pattern = str._escapePattern( pattern )
replace = mw.ustring.gsub( replace, "%%", "%%%%" ) --Only need to escape replacement sequences.
end
local result
if count ~= nil then
result = mw.ustring.gsub( source_str, pattern, replace, count )
else
result = mw.ustring.gsub( source_str, pattern, replace )
end
return result
end
--[[
simple function to pipe string.rep to templates.
]]
function str.rep( frame )
local repetitions = tonumber( frame.args[2] )
if not repetitions then
return str._error( 'function rep expects a number as second parameter, received "' .. ( frame.args[2] or '' ) .. '"' )
end
return string.rep( frame.args[1] or '', repetitions )
end
--[[
escapePattern
This function escapes special characters from a Lua string pattern. See [1]
for details on how patterns work.
[1] https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
Usage:
{{#invoke:String|escapePattern|pattern_string}}
Parameters
pattern_string: The pattern string to escape.
]]
function str.escapePattern( frame )
local pattern_str = frame.args[1]
if not pattern_str then
return str._error( 'No pattern string specified' )
end
local result = str._escapePattern( pattern_str )
return result
end
--[[
count
This function counts the number of occurrences of one string in another.
]]
function str.count(frame)
local args = str._getParameters(frame.args, {'source', 'pattern', 'plain'})
local source = args.source or ''
local pattern = args.pattern or ''
local plain = str._getBoolean(args.plain or true)
if plain then
pattern = str._escapePattern(pattern)
end
local _, count = mw.ustring.gsub(source, pattern, '')
return count
end
--[[
endswith
This function determines whether a string ends with another string.
]]
function str.endswith(frame)
local args = str._getParameters(frame.args, {'source', 'pattern'})
local source = args.source or ''
local pattern = args.pattern or ''
if pattern == '' then
-- All strings end with the empty string.
return "yes"
end
if mw.ustring.sub(source, -mw.ustring.len(pattern), -1) == pattern then
return "yes"
else
return ""
end
end
--[[
join
Join all non empty arguments together; the first argument is the separator.
Usage:
{{#invoke:String|join|sep|one|two|three}}
]]
function str.join(frame)
local args = {}
local sep
for _, v in ipairs( frame.args ) do
if sep then
if v ~= '' then
table.insert(args, v)
end
else
sep = v
end
end
return table.concat( args, sep or '' )
end
--[[
Helper function that populates the argument list given that user may need to use a mix of
named and unnamed parameters. This is relevant because named parameters are not
identical to unnamed parameters due to string trimming, and when dealing with strings
we sometimes want to either preserve or remove that whitespace depending on the application.
]]
function str._getParameters( frame_args, arg_list )
local new_args = {}
local index = 1
local value
for _, arg in ipairs( arg_list ) do
value = frame_args[arg]
if value == nil then
value = frame_args[index]
index = index + 1
end
new_args[arg] = value
end
return new_args
end
--[[
Helper function to handle error messages.
]]
function str._error( error_str )
local frame = mw.getCurrentFrame()
local error_category = frame.args.error_category or 'Errors reported by Module String'
local ignore_errors = frame.args.ignore_errors or false
local no_category = frame.args.no_category or false
if str._getBoolean(ignore_errors) then
return ''
end
local error_str = '<strong class="error">String Module Error: ' .. error_str .. '</strong>'
if error_category ~= '' and not str._getBoolean( no_category ) then
error_str = '[[Category:' .. error_category .. ']]' .. error_str
end
return error_str
end
--[[
Helper Function to interpret boolean strings
]]
function str._getBoolean( boolean_str )
local boolean_value
if type( boolean_str ) == 'string' then
boolean_str = boolean_str:lower()
if boolean_str == 'false' or boolean_str == 'no' or boolean_str == '0'
or boolean_str == '' then
boolean_value = false
else
boolean_value = true
end
elseif type( boolean_str ) == 'boolean' then
boolean_value = boolean_str
else
error( 'No boolean value found' )
end
return boolean_value
end
--[[
Helper function that escapes all pattern characters so that they will be treated
as plain text.
]]
function str._escapePattern( pattern_str )
return mw.ustring.gsub( pattern_str, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1" )
end
return str
cufmbepw7ml3gut4lchtqrhtj5r63cp
ਮੌਡਿਊਲ:String/doc
828
3020
5729
2023-04-07T09:13:25Z
Kuldeepburjbhalaike
1880
"=== Examples === *<code><nowiki>{{#invoke:string|sub|[[Help:Contents]]|3|-3}}</nowiki></code> → {{#invoke:string|sub|[[Help:Contents]]|3|-3}} *<code><nowiki>{{#invoke:string|length|Help:Contents}}</nowiki></code> → {{#invoke:string|length|Help:Contents}} *<code><nowiki>{{#invoke:string|find|Help:Contents|Contents}}</nowiki></code> → {{#invoke:string|find|Help:Contents|Contents}} *<code><nowiki>{{#invoke:string|find|Help:Contents|Contents|yes..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
=== Examples ===
*<code><nowiki>{{#invoke:string|sub|[[Help:Contents]]|3|-3}}</nowiki></code> → {{#invoke:string|sub|[[Help:Contents]]|3|-3}}
*<code><nowiki>{{#invoke:string|length|Help:Contents}}</nowiki></code> → {{#invoke:string|length|Help:Contents}}
*<code><nowiki>{{#invoke:string|find|Help:Contents|Contents}}</nowiki></code> → {{#invoke:string|find|Help:Contents|Contents}}
*<code><nowiki>{{#invoke:string|find|Help:Contents|Contents|yes|no}}</nowiki></code> → {{#invoke:string|find|Help:Contents|Contents|yes}}
*<code><nowiki>{{#invoke:string|find|Help:Contents|ABC|yes|no}}</nowiki></code> → {{#invoke:string|find|Help:Contents|ABC|yes|no}}
*<code><nowiki>{{#invoke:string|replace|Help:Contents|Contents|Lua}}</nowiki></code> → {{#invoke:string|replace|Help:Contents|Contents|Lua}}
*<code><nowiki>{{#invoke:string|trim|--Help:Contents--|-}}</nowiki></code> → {{#invoke:string|trim|--Help:Contents--|-}}
<includeonly>[[Category:Wikibooks modules]]</includeonly>
4zlscpjlkhk9s7wimk6lhsxz1ro4l0o
ਮੌਡਿਊਲ:String2
828
3021
5730
2023-04-07T09:14:04Z
Kuldeepburjbhalaike
1880
"local p = {} p.trim = function(frame) return mw.text.trim(frame.args[1] or "") end p.sentence = function (frame) -- {{lc:}} is strip-marker safe, string.lower is not. frame.args[1] = frame:callParserFunction('lc', frame.args[1]) return p.ucfirst(frame) end p.ucfirst = function (frame ) local s = mw.text.trim( frame.args[1] or "" ) local s1 = "" -- if it's a list chop off and (store as s1) everything up to the first <li> local lipos = m..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
local p = {}
p.trim = function(frame)
return mw.text.trim(frame.args[1] or "")
end
p.sentence = function (frame)
-- {{lc:}} is strip-marker safe, string.lower is not.
frame.args[1] = frame:callParserFunction('lc', frame.args[1])
return p.ucfirst(frame)
end
p.ucfirst = function (frame )
local s = mw.text.trim( frame.args[1] or "" )
local s1 = ""
-- if it's a list chop off and (store as s1) everything up to the first <li>
local lipos = mw.ustring.find(s, "<li>" )
if lipos then
s1 = mw.ustring.sub(s, 1, lipos + 3)
s = mw.ustring.sub(s, lipos + 4)
end
-- s1 is either "" or the first part of the list markup, so we can continue
-- and prepend s1 to the returned string
local letterpos
if mw.ustring.find(s, "^%[%[[^|]+|[^%]]+%]%]") then
-- this is a piped wikilink, so we capitalise the text, not the pipe
local _
_, letterpos = mw.ustring.find(s, "|%W*%w") -- find the first letter after the pipe
else
letterpos = mw.ustring.find(s, '%w')
end
if letterpos then
local first = mw.ustring.sub(s, 1, letterpos - 1)
local letter = mw.ustring.sub(s, letterpos, letterpos)
local rest = mw.ustring.sub(s, letterpos + 1)
return s1 .. first .. mw.ustring.upper(letter) .. rest
else
return s1 .. s
end
end
p.title = function (frame )
-- http://grammar.yourdictionary.com/capitalization/rules-for-capitalization-in-titles.html
-- recommended by The U.S. Government Printing Office Style Manual:
-- "Capitalize all words in titles of publications and documents,
-- except a, an, the, at, by, for, in, of, on, to, up, and, as, but, or, and nor."
local alwayslower = {['a'] = 1, ['an'] = 1, ['the'] = 1,
['and'] = 1, ['but'] = 1, ['or'] = 1, ['for'] = 1,
['nor'] = 1, ['on'] = 1, ['in'] = 1, ['at'] = 1, ['to'] = 1,
['from'] = 1, ['by'] = 1, ['of'] = 1, ['up'] = 1 }
local res = ''
local s = mw.text.trim( frame.args[1] or "" )
local words = mw.text.split( s, " ")
for i, s in ipairs(words) do
-- {{lc:}} is strip-marker safe, string.lower is not.
s = frame:callParserFunction('lc', s)
if i == 1 or alwayslower[s] ~= 1 then
s = mw.getContentLanguage():ucfirst(s)
end
words[i] = s
end
return table.concat(words, " ")
end
-- findlast finds the last item in a list
-- the first unnamed parameter is the list
-- the second, optional unnamed parameter is the list separator (default = comma space)
-- returns the whole list if separator not found
p.findlast = function(frame)
local s = mw.text.trim( frame.args[1] or "" )
local sep = frame.args[2] or ""
if sep == "" then sep = ", " end
local pattern = ".*" .. sep .. "(.*)"
local a, b, last = s:find(pattern)
if a then
return last
else
return s
end
end
-- stripZeros finds the first number and strips leading zeros (apart from units)
-- e.g "0940" -> "940"; "Year: 0023" -> "Year: 23"; "00.12" -> "0.12"
p.stripZeros = function(frame)
local s = mw.text.trim(frame.args[1] or "")
local n = tonumber( string.match( s, "%d+" ) ) or ""
s = string.gsub( s, "%d+", n, 1 )
return s
end
-- nowiki ensures that a string of text is treated by the MediaWiki software as just a string
-- it takes an unnamed parameter and trims whitespace, then removes any wikicode
p.nowiki = function(frame)
local str = mw.text.trim(frame.args[1] or "")
return mw.text.nowiki(str)
end
-- split splits text at boundaries specified by separator
-- and returns the chunk for the index idx (starting at 1)
-- #invoke:String2 |split |text |separator |index |true/false
-- #invoke:String2 |split |txt=text |sep=separator |idx=index |plain=true/false
-- if plain is false/no/0 then separator is treated as a Lua pattern - defaults to plain=true
p.split = function(frame)
local args = frame.args
if not(args[1] or args.txt) then args = frame:getParent().args end
local txt = args[1] or args.txt or ""
if txt == "" then return nil end
local sep = (args[2] or args.sep or ""):gsub('"', '')
local idx = tonumber(args[3] or args.idx) or 1
local plain = (args[4] or args.plain or "true"):sub(1,1)
plain = (plain ~= "f" and plain ~= "n" and plain ~= "0")
local splittbl = mw.text.split( txt, sep, plain )
if idx < 0 then idx = #splittbl + idx + 1 end
return splittbl[idx]
end
-- val2percent scans through a string, passed as either the first unnamed parameter or |txt=
-- it converts each number it finds into a percentage and returns the resultant string.
p.val2percent = function(frame)
local args = frame.args
if not(args[1] or args.txt) then args = frame:getParent().args end
local txt = mw.text.trim(args[1] or args.txt or "")
if txt == "" then return nil end
local function v2p (x)
x = (tonumber(x) or 0) * 100
if x == math.floor(x) then x = math.floor(x) end
return x .. "%"
end
txt = txt:gsub("%d[%d%.]*", v2p) -- store just the string
return txt
end
-- one2a scans through a string, passed as either the first unnamed parameter or |txt=
-- it converts each occurrence of 'one ' into either 'a ' or 'an ' and returns the resultant string.
p.one2a = function(frame)
local args = frame.args
if not(args[1] or args.txt) then args = frame:getParent().args end
local txt = mw.text.trim(args[1] or args.txt or "")
if txt == "" then return nil end
txt = txt:gsub(" one ", " a "):gsub("^one", "a"):gsub("One ", "A "):gsub("a ([aeiou])", "an %1"):gsub("A ([aeiou])", "An %1")
return txt
end
-- findpagetext returns the position of a piece of text in a page
-- First positional parameter or |text is the search text
-- Optional parameter |title is the page title, defaults to current page
-- Optional parameter |plain is either true for plain search (default) or false for Lua pattern search
-- Optional parameter |nomatch is the return value when no match is found; default is nil
p._findpagetext = function(args)
-- process parameters
local nomatch = args.nomatch or ""
if nomatch == "" then nomatch = nil end
--
local text = mw.text.trim(args[1] or args.text or "")
if text == "" then return nil end
--
local title = args.title or ""
local titleobj
if title == "" then
titleobj = mw.title.getCurrentTitle()
else
titleobj = mw.title.new(title)
end
--
local plain = args.plain or ""
if plain:sub(1, 1) == "f" then plain = false else plain = true end
-- get the page content and look for 'text' - return position or nomatch
local content = titleobj and titleobj:getContent()
return content and mw.ustring.find(content, text, 1, plain) or nomatch
end
p.findpagetext = function(frame)
local args = frame.args
local pargs = frame:getParent().args
for k, v in pairs(pargs) do
args[k] = v
end
if not (args[1] or args.text) then return nil end
-- just the first value
return (p._findpagetext(args))
end
-- returns the decoded url. Inverse of parser function {{urlencode:val|TYPE}}
-- Type is:
-- QUERY decodes + to space (default)
-- PATH does no extra decoding
-- WIKI decodes _ to space
p._urldecode = function(url, type)
url = url or ""
type = (type == "PATH" or type == "WIKI") and type
return mw.uri.decode( url, type )
end
-- {{#invoke:String2|urldecode|url=url|type=type}}
p.urldecode = function(frame)
return mw.uri.decode( frame.args.url, frame.args.type )
end
-- what follows was merged from Module:StringFunc
-- helper functions
p._GetParameters = require('Module:GetParameters')
-- Argument list helper function, as per Module:String
p._getParameters = p._GetParameters.getParameters
-- Escape Pattern helper function so that all characters are treated as plain text, as per Module:String
function p._escapePattern( pattern_str)
return mw.ustring.gsub( pattern_str, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1" )
end
-- Helper Function to interpret boolean strings, as per Module:String
p._getBoolean = p._GetParameters.getBoolean
--[[
Strip
This function Strips characters from string
Usage:
{{#invoke:String2|strip|source_string|characters_to_strip|plain_flag}}
Parameters
source: The string to strip
chars: The pattern or list of characters to strip from string, replaced with ''
plain: A flag indicating that the chars should be understood as plain text. defaults to true.
Leading and trailing whitespace is also automatically stripped from the string.
]]
function p.strip( frame )
local new_args = p._getParameters( frame.args, {'source', 'chars', 'plain'} )
local source_str = new_args['source'] or ''
local chars = new_args['chars'] or '' or 'characters'
source_str = mw.text.trim(source_str)
if source_str == '' or chars == '' then
return source_str
end
local l_plain = p._getBoolean( new_args['plain'] or true )
if l_plain then
chars = p._escapePattern( chars )
end
local result
result = mw.ustring.gsub(source_str, "["..chars.."]", '')
return result
end
--[[
Match any
Returns the index of the first given pattern to match the input. Patterns must be consecutively numbered.
Returns the empty string if nothing matches for use in {{#if:}}
Usage:
{{#invoke:String2|matchAll|source=123 abc|456|abc}} returns '2'.
Parameters:
source: the string to search
plain: A flag indicating that the patterns should be understood as plain text. defaults to true.
1, 2, 3, ...: the patterns to search for
]]
function p.matchAny(frame)
local source_str = frame.args['source'] or error('The source parameter is mandatory.')
local l_plain = p._getBoolean( frame.args['plain'] or true )
for i = 1, math.huge do
local pattern = frame.args[i]
if not pattern then return '' end
if mw.ustring.find(source_str, pattern, 1, l_plain) then
return tostring(i)
end
end
end
--[[--------------------------< H Y P H E N _ T O _ D A S H >--------------------------------------------------
Converts a hyphen to a dash under certain conditions. The hyphen must separate
like items; unlike items are returned unmodified. These forms are modified:
letter - letter (A - B)
digit - digit (4-5)
digit separator digit - digit separator digit (4.1-4.5 or 4-1-4-5)
letterdigit - letterdigit (A1-A5) (an optional separator between letter and
digit is supported – a.1-a.5 or a-1-a-5)
digitletter - digitletter (5a - 5d) (an optional separator between letter and
digit is supported – 5.a-5.d or 5-a-5-d)
any other forms are returned unmodified.
str may be a comma- or semicolon-separated list
]]
function p.hyphen_to_dash( str, spacing )
if (str == nil or str == '') then
return str
end
local accept
str = mw.text.decode(str, true ) -- replace html entities with their characters; semicolon mucks up the text.split
local out = {}
local list = mw.text.split (str, '%s*[,;]%s*') -- split str at comma or semicolon separators if there are any
for _, item in ipairs (list) do -- for each item in the list
item = mw.text.trim(item) -- trim whitespace
item, accept = item:gsub ('^%(%((.+)%)%)$', '%1')
if accept == 0 and mw.ustring.match (item, '^%w*[%.%-]?%w+%s*[%-–—]%s*%w*[%.%-]?%w+$') then -- if a hyphenated range or has endash or emdash separators
if item:match ('^%a+[%.%-]?%d+%s*%-%s*%a+[%.%-]?%d+$') or -- letterdigit hyphen letterdigit (optional separator between letter and digit)
item:match ('^%d+[%.%-]?%a+%s*%-%s*%d+[%.%-]?%a+$') or -- digitletter hyphen digitletter (optional separator between digit and letter)
item:match ('^%d+[%.%-]%d+%s*%-%s*%d+[%.%-]%d+$') or -- digit separator digit hyphen digit separator digit
item:match ('^%d+%s*%-%s*%d+$') or -- digit hyphen digit
item:match ('^%a+%s*%-%s*%a+$') then -- letter hyphen letter
item = item:gsub ('(%w*[%.%-]?%w+)%s*%-%s*(%w*[%.%-]?%w+)', '%1–%2') -- replace hyphen, remove extraneous space characters
else
item = mw.ustring.gsub (item, '%s*[–—]%s*', '–') -- for endash or emdash separated ranges, replace em with en, remove extraneous whitespace
end
end
table.insert (out, item) -- add the (possibly modified) item to the output table
end
local temp_str = table.concat (out, ',' .. spacing) -- concatenate the output table into a comma separated string
temp_str, accept = temp_str:gsub ('^%(%((.+)%)%)$', '%1') -- remove accept-this-as-written markup when it wraps all of concatenated out
if accept ~= 0 then
temp_str = str:gsub ('^%(%((.+)%)%)$', '%1') -- when global markup removed, return original str; do it this way to suppress boolean second return value
end
return temp_str
end
function p.hyphen2dash( frame )
local str = frame.args[1] or ''
local spacing = frame.args[2] or ' ' -- space is part of the standard separator for normal spacing (but in conjunction with templates r/rp/ran we may need a narrower spacing
return p.hyphen_to_dash(str, spacing)
end
-- Similar to [[Module:String#endswith]]
function p.startswith(frame)
return (frame.args[1]:sub(1, frame.args[2]:len()) == frame.args[2]) and 'yes' or ''
end
return p
7novuiabacjj8enbp69666q0os29r7w
ਮੌਡਿਊਲ:String2/doc
828
3022
5731
2023-04-07T09:14:47Z
Kuldeepburjbhalaike
1880
"{{high-use}} {{module rating|release}} {{Lua|Module:GetParameters}} {{Lmd|String2}} The module '''String2''' contains a number of string manipulation functions that are much less commonly used than those in [[Module:String]]. Because Module:String is cascade-protected (some of its functions are used on the Main Page), it cannot be edited or maintained by template editors, only by admins. While it is true that string-handling functions rarely need..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{high-use}}
{{module rating|release}}
{{Lua|Module:GetParameters}}
{{Lmd|String2}}
The module '''String2''' contains a number of string manipulation functions that are much less commonly used than those in [[Module:String]]. Because Module:String is cascade-protected (some of its functions are used on the Main Page), it cannot be edited or maintained by template editors, only by admins. While it is true that string-handling functions rarely need maintenance, it is useful to allow that by template editors where possible, so this module may be used by template editors to develop novel functionality.
The module contains three case-related calls that convert strings to first letter uppercase, sentence case or title case and two calls that are useful for working with substrings. There are other utility calls that strip leading zeros from padded numbers and transform text so that it is not interpreted as wikitext, and several other calls that solve specific problems for template developers such as finding the position of a piece of text on a given page.
The functions are designed with the possibility of working with text returned from Wikidata in mind. However, a call to Wikidata may return empty, so the functions should generally fail gracefully if supplied with a missing or blank input parameter, rather than throwing an error.
== Functions ==
=== trim ===
The trim function simply trims whitespace characters from the start and end of the string.
=== title ===
The title function capitalises the first letter of each word in the text, apart from a number of short words recommended by [[s:U.S. Government Printing Office Style Manual/Capitalization Rules|The U.S. Government Printing Office Style Manual]]: {{xt|a, an, the, at, by, for, in, of, on, to, up, and, as, but, or, and nor}}.
=== sentence ===
The sentence function finds the first letter and capitalises it, then renders the rest of the text in lower case. It works properly with text containing wiki markup. Compare <code><nowiki>{{#invoke:String2|sentence|[[action game]]}}</nowiki></code> → {{#invoke:String2|sentence|[[action game]]}} with <code><nowiki>{{ucfirst:{{lc:[[action game]]}}}}</nowiki></code> → {{ucfirst:{{lc:[[action game]]}}}}. Piped wiki-links are handled as well:
* <code><nowiki>{{#invoke:String2|sentence|[[trimix (breathing gas)|trimix]]}}</nowiki></code> → {{#invoke:String2|sentence|[[trimix (breathing gas)|trimix]]}}
So are lists:
* <code><nowiki>{{#invoke:String2 |sentence |{{hlist ||[[apples]] |[[pears]] |[[oranges]]}}}}</nowiki></code> → {{#invoke:String2 |sentence |{{hlist |[[apples]] |[[pears]] |[[oranges]]}}}}
=== ucfirst ===
The ucfirst function is similar to sentence; it renders the first alphabetical character in upper case, but leaves the capitalisation of the rest of the text unaltered. This is useful if the text contains proper nouns, but it will not regularise sentences that are ALLCAPS, for example. It also works with text containing piped wiki-links and with html lists.
=== findlast ===
* Function findlast finds the last item in a list.
* The first unnamed parameter is the list. The list is trimmed of leading and trailing whitespace
* The second, optional unnamed parameter is the list separator (default = comma space). The separator is ''not'' trimmed of leading and trailing whitespace (so that leading or trailing spaces can be used).
* It returns the whole list if the separator is not found.
One potential issue is that using Lua special pattern characters (<code>^$()%.[]*+-?</code>) as the separator will probably cause problems.
{| class="wikitable"
|+ Examples
|-
! scope="col" | Case
! scope="col" | Wikitext
! scope="col" | Output
|-
| Normal usage || <code><nowiki>{{#invoke:String2 |findlast | 5, 932, 992,532, 6,074,702, 6,145,291}}</nowiki></code> || {{#invoke:String2 |findlast | 5, 932, 992,532, 6,074,702, 6,145,291}}
|-
| Space as separator || <code><nowiki>{{#invoke:String2 |findlast | 5 932 992,532 6,074,702 6,145,291 }}</nowiki></code> || {{#invoke:String2 |findlast | 5 932 992,532 6,074,702 6,145,291 }}
|-
| One item list || <code><nowiki>{{#invoke:String2 |findlast | 6,074,702 }}</nowiki></code> || {{#invoke:String2 |findlast | 6,074,702 }}
|-
| Separator not found || <code><nowiki>{{#invoke:String2 |findlast | 5, 932, 992,532, 6,074,702, 6,145,291 |;}}</nowiki></code> || {{#invoke:String2 |findlast | 5, 932, 992,532, 6,074,702, 6,145,291 |;}}
|-
| List missing || <code><nowiki>{{#invoke:String2 |findlast |}}</nowiki></code> || {{#invoke:String2 |findlast |}}
|}
=== split ===
The ''split'' function splits text at boundaries specified by separator and returns the chunk for the index idx (starting at 1). It can use positional parameters or named parameters (but these should not be mixed):
* <code><nowiki>{{#invoke:String2 |split |text |separator |index |true/false}}</nowiki></code>
* <code><nowiki>{{#invoke:String2 |split |txt=text |sep=separator |idx=index |plain=true/false}}</nowiki></code>
Any double quotes (") in the separator parameter are stripped out, which allows spaces and wikitext like <code><nowiki>["[</nowiki></code> to be passed. Use <code>{{tl|!}}</code> for the pipe character <code>|</code>.
If the optional plain parameter is set to <code>false / no / 0</code> then separator is treated as a Lua pattern. The default is plain=true, i.e. normal text matching.
The index parameter is optional; it defaults to the first chunk of text.
The [[Template:Stringsplit]] is a convenience wrapper for the split function.
=== stripZeros ===
The stripZeros functions finds the first number in a string of text and strips leading zeros, but retains a zero which is followed by a decimal point. For example: "0940" → "940"; "Year: 0023" → "Year: 23"; "00.12" → "0.12"
=== nowiki ===
The nowiki function ensures that a string of text is treated by the MediaWiki software as just a string, not code. It trims leading and trailing whitespace.
=== val2percent ===
The val2percent functions scans through a string, passed as either the first unnamed parameter or |txt=, and converts each number it finds into a percentage, then returns the resulting string.
=== one2a ===
The one2a function scans through a string, passed as either the first unnamed parameter or |txt=, and converts each occurrence of 'one ' into either 'a ' or 'an ', then returns the resultant string.
The [[Template:One2a]] is a convenience wrapper for the one2a function.
=== findpagetext ===
The findpagetext function returns the position of a piece of text in the wikitext source of a page. It takes up to four parameters:
* First positional parameter or |text is the text to be searched for.
* Optional parameter |title is the page title, defaults to the current page.
* Optional parameter |plain is either true for a plain search (default), or false for a [[Extension:Scribunto/Lua reference manual #Patterns|Lua pattern]] search.
* Optional parameter |nomatch is the value returned when no match is found; default is nothing.
; Examples
: <code><nowiki>{{#invoke:String2 |findpagetext |text=Youghiogheny}}</nowiki></code> → {{#invoke:String2 |findpagetext |text=Youghiogheny}}
: <code><nowiki>{{#invoke:String2 |findpagetext |text=Youghiogheny |nomatch=not found}}</nowiki></code> → {{#invoke:String2 |findpagetext |text=Youghiogheny |nomatch=not found}}
: <code><nowiki>{{#invoke:String2 |findpagetext |text=Youghiogheny |title=Boston Bridge |nomatch=not found}}</nowiki></code> → {{#invoke:String2 |findpagetext |text=Youghiogheny |title=Boston Bridge |nomatch=not found}}
: <code><nowiki>{{#invoke:String2 |findpagetext |text=river |title=Boston Bridge |nomatch=not found}}</nowiki></code> → {{#invoke:String2 |findpagetext |text=river |title=Boston Bridge |nomatch=not found}}
: <code><nowiki>{{#invoke:String2 |findpagetext |text=[Rr]iver |title=Boston Bridge |plain=false |nomatch=not found}}</nowiki></code> → {{#invoke:String2 |findpagetext |text=[Rr]iver |title=Boston Bridge |plain=false |nomatch=not found}}
: <code><nowiki>{{#invoke:String2 |findpagetext |text=%[%[ |title=Boston Bridge |plain=f |nomatch=not found}}</nowiki></code> → {{#invoke:String2 |findpagetext |text=%[%[ |title=Boston Bridge |plain=f |nomatch=not found}}
: <code><nowiki>{{#invoke:String2 |findpagetext |text=%{%{[Cc]oord |title=Boston Bridge |plain=f |nomatch=not found}}</nowiki></code> → {{#invoke:String2 |findpagetext |text=%{%{coord |title=Boston Bridge |plain=f |nomatch=not found}}
The search is case-sensitive, so Lua pattern matching is needed to find <code>river</code> or <code>River</code>. The last example finds <code><nowiki>{{coord</nowiki></code> and <code><nowiki>{{Coord</nowiki></code>. The penultimate example finds a wiki-link.
The [[Template:Findpagetext]] is a convenience wrapper for this function.
=== strip ===
The strip function strips the first positional parameter of the characters or pattern supplied in the second positional parameter.
=== matchAny ===
{{for|a function to replace multiple patterns|Module:MultiReplace}}
The matchAny function returns the index of the first positional parameter to match the ''source'' parameter. If the ''plain'' parameter is set to false (default true) then the search strings are Lua patterns. This can usefully be put in a switch statement to pick a switch case based on which pattern a string matches. Returns the empty string if nothing matches, for use in {{pf|if}}.
<code>{{((}}#invoke:String2|matchAny|123|abc|source=abc 124}}</code> returns 2.
=== hyphen2dash ===
Extracted hyphen_to_dash() function from [[Special:Permalink/1017669505|Module:Citation/CS1]].
Converts a hyphen to a dash under certain conditions. The hyphen must separate like items; unlike items are returned unmodified. These forms are modified:
* letter - letter (A - B)
* digit - digit (4-5)
* digit separator digit - digit separator digit (4.1-4.5 or 4-1-4-5)
* letterdigit - letterdigit (A1-A5) (an optional separator between letter and digit is supported – a.1-a.5 or a-1-a-5)
* digitletter - digitletter (5a - 5d) (an optional separator between letter and digit is supported – 5.a-5.d or 5-a-5-d)
Any other forms are returned unmodified.
The input string may be a comma- or semicolon-separated list. Semicolons are converted to commas.
<code><nowiki>{{</nowiki>#invoke:String2|hyphen2dash|1=1-2<nowiki>}}</nowiki></code> returns {{#invoke:String2|hyphen2dash|1=1-2}}.
<code><nowiki>{{</nowiki>#invoke:String2|hyphen2dash|1=1-2; 4–10<nowiki>}}</nowiki></code> returns {{#invoke:String2|hyphen2dash|1=1-2; 4–10}}.
[[Help:Citation Style 1#Accept-this-as-written markup|Accept-this-as-written markup]] is supported, e.g. <code><nowiki>{{</nowiki>#invoke:String2|hyphen2dash|1=((1-2)); 4–10<nowiki>}}</nowiki></code> returns {{#invoke:String2|hyphen2dash|1=((1-2)); 4–10}}.
By default, a normal space is inserted after the separating comma in lists. An optional second parameter allows to change this to a different character (i.e. a thin space or hair space).
===startswith===
A startswith function similar to {{ml|string|endswith}}. Both parameters are required, although they can be blank. Leading and trailing whitespace ''is'' counted, use named parameters to avoid this if required. Outputs "yes" for true and blank for false so may be passed directly to #if.
{{markup|
<nowiki>{{#invoke:string2|startswith|search|se}}</nowiki>|{{#invoke:string2|startswith|search|se}}|
<nowiki>{{#invoke:string2|startswith|search|ch}}</nowiki>|{{#invoke:string2|startswith|search|ch}}}}<!-- Template:Mra -->
== Usage ==
* <code><nowiki>{{#invoke:String2 | sentence |…}}</nowiki></code> - Capitalizes the first character and shifts the rest to lowercase
** Although similar to [[Help:Magic_words#Formatting|magic words]]' <code><nowiki>{{ucfirst:}}</nowiki></code> function, this call works even with piped wiki-links because it searches beyond leading brackets and other non-alphanumeric characters.
** It now also recognises when it has an html list passed to it and capitalises the first alphabetic letter beyond the list item markup ({{tag|li|o}}) and any piped links that may be there.
* <code><nowiki>{{#invoke:String2 | ucfirst |…}}</nowiki></code> - Capitalizes the first alphabetic character and leaves the rest unaltered
** Works with piped wiki-links and html lists
* <code><nowiki>{{#invoke:String2 | title |…}}</nowiki></code> - Capitalizes all words, except for <code>a</code>, <code>an</code>, <code>the</code>, <code>at</code>, <code>by</code>, <code>for</code>, <code>in</code>, <code>of</code>, <code>on</code>, <code>to</code>, <code>up</code>, <code>and</code>, <code>as</code>, <code>but</code>, <code>or</code>, and <code>nor</code>.
* <code><nowiki>{{#invoke:String2 | stripZeros |…}}</nowiki></code> - Removes leading padding zeros from the first number it finds in the string
* <code><nowiki>{{#invoke:String2 | title |…}}</nowiki></code> - Renders the string as plain text without wikicode
=== Parameters ===
These functions take one unnamed parameter comprising (or invoking as a string) the text to be manipulated:
* title
* sentence
* ucfirst
== Examples ==
{| class="wikitable"
! scope="col" | Input
! scope="col" | Output
|-
| <nowiki>{{#invoke:String2| ucfirst | abcd }}</nowiki>
| {{#invoke:String2| ucfirst | abcd }}
|-
| <nowiki>{{#invoke:String2| ucfirst | abCD }}</nowiki>
| {{#invoke:String2| ucfirst | abCD }}
|-
| <nowiki>{{#invoke:String2| ucfirst | ABcd }}</nowiki>
| {{#invoke:String2| ucfirst | ABcd }}
|-
| <nowiki>{{#invoke:String2| ucfirst | ABCD }}</nowiki>
| {{#invoke:String2| ucfirst | ABCD }}
|-
| <nowiki>{{#invoke:String2| ucfirst | 123abcd }}</nowiki>
| {{#invoke:String2| ucfirst | 123abcd }}
|-
| <nowiki>{{#invoke:String2| ucfirst | }}</nowiki>
| {{#invoke:String2| ucfirst | }}
|-
| <nowiki>{{#invoke:String2| ucfirst | human X chromosome }}</nowiki>
| {{#invoke:String2| ucfirst | human X chromosome}}
|-
| <nowiki>{{#invoke:String2 | ucfirst | {{#invoke:WikidataIB |getValue</nowiki><br /><nowiki>| P136 |fetchwikidata=ALL |onlysourced=no |qid=Q1396889}} }}</nowiki>
| {{#invoke:String2 | ucfirst | {{#invoke:WikidataIB |getValue |P136 |fetchwikidata=ALL |onlysourced=no |qid=Q1396889}} }}
|-
| <nowiki>{{#invoke:String2 | ucfirst | {{#invoke:WikidataIB |getValue</nowiki><br /><nowiki>| P106 |fetchwikidata=ALL |list=hlist |qid=Q453196}} }}</nowiki>
| {{#invoke:String2 | ucfirst | {{#invoke:WikidataIB |getValue |P106 |fetchwikidata=ALL |list=hlist |qid=Q453196}} }}
|-
|
|
|-
| <nowiki>{{#invoke:String2| sentence | abcd }}</nowiki>
| {{#invoke:String2| sentence | abcd }}
|-
| <nowiki>{{#invoke:String2| sentence | abCD }}</nowiki>
| {{#invoke:String2| sentence | abCD }}
|-
| <nowiki>{{#invoke:String2| sentence | ABcd }}</nowiki>
| {{#invoke:String2| sentence | ABcd }}
|-
| <nowiki>{{#invoke:String2| sentence | ABCD }}</nowiki>
| {{#invoke:String2| sentence | ABCD }}
|-
| <nowiki>{{#invoke:String2| sentence | [[action game]] }}</nowiki>
| {{#invoke:String2| sentence | [[action game]] }}
|-
| <nowiki>{{#invoke:String2| sentence | [[trimix (breathing gas)|trimix]] }}</nowiki>
| {{#invoke:String2| sentence | [[trimix (breathing gas)|trimix]] }}
|-
| <nowiki>{{#invoke:String2| sentence | }}</nowiki>
| {{#invoke:String2| sentence | }}
|-
|
|
|-
| <nowiki>{{#invoke:String2| title | abcd }}</nowiki>
| {{#invoke:String2| title | abcd }}
|-
| <nowiki>{{#invoke:String2| title | abCD }}</nowiki>
| {{#invoke:String2| title | abCD }}
|-
| <nowiki>{{#invoke:String2| title | ABcd }}</nowiki>
| {{#invoke:String2| title | ABcd }}
|-
| <nowiki>{{#invoke:String2| title | ABCD }}</nowiki>
| {{#invoke:String2| title | ABCD }}
|-
| <nowiki>{{#invoke:String2| title | }}</nowiki>
| {{#invoke:String2| title | }}
|-
| <nowiki>{{#invoke:String2| title | the vitamins are in my fresh california raisins}}</nowiki>
| {{#invoke:String2| title | the vitamins are in my fresh california raisins}}
|-
|}
=== String split ===
[[Template:String split]] is a convenience wrapper for the split function.
* <code><nowiki>{{String split |This is a piece of text to be split |" "}}</nowiki></code> → {{String split |This is a piece of text to be split |" "}}
* <code><nowiki>{{String split |This is a piece of text to be split |" "| 4}}</nowiki></code> → {{String split |This is a piece of text to be split |" "| 4}}
* <code><nowiki>{{String split |This is a piece of text to be split |x| 2}}</nowiki></code> → {{String split |This is a piece of text to be split |x| 2}}
Modules may return strings with | as separators like this: <code><nowiki>{{#invoke:carousel | main | name = WPDogs | switchsecs = 5 }}</nowiki></code> → {{#invoke:carousel | main | name = WPDogs | switchsecs = 5 }}
* <code><nowiki>{{String split |{{#invoke:carousel | main | name = WPDogs | switchsecs = 5 }}|{{!}}| 2}}</nowiki></code> → {{String split |{{#invoke:carousel | main | name = WPDogs | switchsecs = 5 }}|{{!}}| 2}}
Lua patterns can allow splitting at classes of characters such as punctuation:
* <code><nowiki>{{String split |Apples, pears, oranges; Cats, dogs|"%p"| 2 |false}}</nowiki></code> → {{String split |Apples, pears, oranges; Cats, dogs|"%p"| 2 |false}}
* <code><nowiki>{{String split |Apples, pears, oranges; Cats, dogs|"%p"| 4 |false}}</nowiki></code> → {{String split |Apples, pears, oranges; Cats, dogs|"%p"| 4 |false}}
Or split on anything that isn't a letter (no is treated as false):
* <code><nowiki>{{String split |Apples pears oranges; Cats dogs|"%A+"| 4 |no}}</nowiki></code> → {{String split |Apples pears oranges; Cats dogs|"%A+"| 4 |no}}
Named parameters force the trimming of leading and trailing spaces in the parameters and are generally clearer when used:
* <code><nowiki>{{String split | txt=Apples pears oranges; Cats dogs | sep="%A+" | idx=3 | plain=false }}</nowiki></code> → {{String split | txt=Apples pears oranges; Cats dogs | sep="%A+" | idx=3 | plain=false }}
=== One2a ===
[[Template:One2a]] is a convenience wrapper for the one2a function.
Capitalisation is kept. Aimed for usage with {{tl|Convert}}.
* <code><nowiki>{{one2a |One foot. One mile. One kilometer. One inch.One amp. one foot. one mile. one inch. Alone at last. Onely the lonely. ONE ounce. One monkey.}}</nowiki></code> →
:{{one2a |One foot. One mile. One kilometer. One inch.One amp. one foot. one mile. one inch. Alone at last. Onely the lonely. ONE ounce. One monkey.}}
* <code><nowiki>{{convert|1|ft|spell=on}}</nowiki></code> → {{convert|1|ft|spell=on}}
* <code><nowiki>{{one2a|{{convert|1|ft|spell=on}}}}</nowiki></code> → {{one2a|{{convert|1|ft|spell=on}}}}
* <code><nowiki>{{convert|2.54|cm|0|disp=out|spell=on}}</nowiki></code> → {{convert|2.54|cm|0|disp=out|spell=on}}
* <code><nowiki>{{one2a|{{convert|2.54|cm|0|disp=out|spell=on}}}}</nowiki></code> → {{one2a|{{convert|2.54|cm|0|disp=out|spell=on}}}}
== See also ==
[[Module:String]] for the following functions:
* len
* sub
* sublength
* match
* pos
* str_find
* find
* replace
* rep
Templates and modules related to capitalization
{{Case templates see also}}
Templates that implement <code><nowiki></code>
* {{tl|nowiki}}
* {{tl|nowiki2}}
<includeonly>{{Sandbox other||
[[Category:Modules that manipulate strings|*]]
}}</includeonly>
qhgjmj35yvx27cfi7l5l4ri0pde7xni
ਮੌਡਿਊਲ:GetParameters
828
3023
5732
2023-04-07T09:15:34Z
Kuldeepburjbhalaike
1880
"local p = {} --[[ Helper function that populates the argument list given that user may need to use a mix of named and unnamed parameters. This is relevant because named parameters are not identical to unnamed parameters due to string trimming, and when dealing with strings we sometimes want to either preserve or remove that whitespace depending on the application. ]] function p.getParameters( frame_args, arg_list ) local new_args = {}; l..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
local p = {}
--[[
Helper function that populates the argument list given that user may need to use a mix of
named and unnamed parameters. This is relevant because named parameters are not
identical to unnamed parameters due to string trimming, and when dealing with strings
we sometimes want to either preserve or remove that whitespace depending on the application.
]]
function p.getParameters( frame_args, arg_list )
local new_args = {};
local index = 1;
local value;
for i,arg in ipairs( arg_list ) do
value = frame_args[arg]
if value == nil then
value = frame_args[index];
index = index + 1;
end
new_args[arg] = value;
end
return new_args;
end
--[[
Helper Function to interpret boolean strings
]]
function p.getBoolean( boolean_str )
local boolean_value;
if type( boolean_str ) == 'string' then
boolean_str = boolean_str:lower();
if boolean_str == 'false' or boolean_str == 'no' or boolean_str == '0'
or boolean_str == '' then
boolean_value = false;
else
boolean_value = true;
end
elseif type( boolean_str ) == 'boolean' then
boolean_value = boolean_str;
else
error( 'No boolean value found' );
end
return boolean_value
end
function p.defined(frame)
local arg = mw.text.trim(frame.args[1])
--if arg == tostring(tonumber(arg)) then -- undesired result for '-0'
-- arg = tonumber(arg)
--end
--if mw.ustring.find(arg, '^%s*-?[1-9][0-9]*%s*$') ~= nil or arg == '0' then
-- arg = tonumber(arg)
--end
if mw.ustring.find(arg, '^-?[1-9][0-9]*$') ~= nil then
arg = tonumber(arg)
elseif arg == '0' then
arg = 0
end
return frame:getParent().args[arg] ~= nil
end
return p
03tz719zcckyx3el16h6xmmjd2dn09v
ਮੌਡਿਊਲ:GetParameters/doc
828
3024
5733
2023-04-07T09:16:06Z
Kuldeepburjbhalaike
1880
"{{Module rating |b<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> == Usage == == See also == * [[Module:Arguments]] <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikida..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Module rating |b<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==
== See also ==
* [[Module:Arguments]]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Lua metamodules]]
}}</includeonly>
gvaplup12aasaf35epojcfb0xwxlyc3
ਮੌਡਿਊਲ:Navbar
828
3025
5734
2023-04-07T09:22:06Z
Kuldeepburjbhalaike
1880
"local p = {} local cfg = mw.loadData('Module:Navbar/configuration') local function get_title_arg(is_collapsible, template) local title_arg = 1 if is_collapsible then title_arg = 2 end if template then title_arg = 'template' end return title_arg end local function choose_links(template, args) -- The show table indicates the default displayed items. -- view, talk, edit, hist, move, watch -- TODO: Move to configuration. local show = {true,..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
local p = {}
local cfg = mw.loadData('Module:Navbar/configuration')
local function get_title_arg(is_collapsible, template)
local title_arg = 1
if is_collapsible then title_arg = 2 end
if template then title_arg = 'template' end
return title_arg
end
local function choose_links(template, args)
-- The show table indicates the default displayed items.
-- view, talk, edit, hist, move, watch
-- TODO: Move to configuration.
local show = {true, true, true, false, false, false}
if template then
show[2] = false
show[3] = false
local index = {t = 2, d = 2, e = 3, h = 4, m = 5, w = 6,
talk = 2, edit = 3, hist = 4, move = 5, watch = 6}
-- TODO: Consider removing TableTools dependency.
for _, v in ipairs(require ('Module:TableTools').compressSparseArray(args)) do
local num = index[v]
if num then show[num] = true end
end
end
local remove_edit_link = args.noedit
if remove_edit_link then show[3] = false end
return show
end
local function add_link(link_description, ul, is_mini, font_style)
local l
if link_description.url then
l = {'[', '', ']'}
else
l = {'[[', '|', ']]'}
end
ul:tag('li')
:addClass('nv-' .. link_description.full)
:wikitext(l[1] .. link_description.link .. l[2])
:tag(is_mini and 'abbr' or 'span')
:attr('title', link_description.html_title)
:cssText(font_style)
:wikitext(is_mini and link_description.mini or link_description.full)
:done()
:wikitext(l[3])
:done()
end
local function make_list(title_text, has_brackets, displayed_links, is_mini, font_style)
local title = mw.title.new(mw.text.trim(title_text), cfg.title_namespace)
if not title then
error(cfg.invalid_title .. title_text)
end
local talkpage = title.talkPageTitle and title.talkPageTitle.fullText or ''
-- TODO: Get link_descriptions and show into the configuration module.
-- link_descriptions should be easier...
local link_descriptions = {
{ ['mini'] = 'v', ['full'] = 'view', ['html_title'] = 'View this template',
['link'] = title.fullText, ['url'] = false },
{ ['mini'] = 't', ['full'] = 'talk', ['html_title'] = 'Discuss this template',
['link'] = talkpage, ['url'] = false },
{ ['mini'] = 'e', ['full'] = 'edit', ['html_title'] = 'Edit this template',
['link'] = title:fullUrl('action=edit'), ['url'] = true },
{ ['mini'] = 'h', ['full'] = 'hist', ['html_title'] = 'History of this template',
['link'] = title:fullUrl('action=history'), ['url'] = true },
{ ['mini'] = 'm', ['full'] = 'move', ['html_title'] = 'Move this template',
['link'] = mw.title.new('Special:Movepage'):fullUrl('target='..title.fullText), ['url'] = true },
{ ['mini'] = 'w', ['full'] = 'watch', ['html_title'] = 'Watch this template',
['link'] = title:fullUrl('action=watch'), ['url'] = true }
}
local ul = mw.html.create('ul')
if has_brackets then
ul:addClass(cfg.classes.brackets)
:cssText(font_style)
end
for i, _ in ipairs(displayed_links) do
if displayed_links[i] then add_link(link_descriptions[i], ul, is_mini, font_style) end
end
return ul:done()
end
function p._navbar(args)
-- TODO: We probably don't need both fontstyle and fontcolor...
local font_style = args.fontstyle
local font_color = args.fontcolor
local is_collapsible = args.collapsible
local is_mini = args.mini
local is_plain = args.plain
local collapsible_class = nil
if is_collapsible then
collapsible_class = cfg.classes.collapsible
if not is_plain then is_mini = 1 end
if font_color then
font_style = (font_style or '') .. '; color: ' .. font_color .. ';'
end
end
local navbar_style = args.style
local div = mw.html.create():tag('div')
div
:addClass(cfg.classes.navbar)
:addClass(cfg.classes.plainlinks)
:addClass(cfg.classes.horizontal_list)
:addClass(collapsible_class) -- we made the determination earlier
:cssText(navbar_style)
if is_mini then div:addClass(cfg.classes.mini) end
local box_text = (args.text or cfg.box_text) .. ' '
-- the concatenated space guarantees the box text is separated
if not (is_mini or is_plain) then
div
:tag('span')
:addClass(cfg.classes.box_text)
:cssText(font_style)
:wikitext(box_text)
end
local template = args.template
local displayed_links = choose_links(template, args)
local has_brackets = args.brackets
local title_arg = get_title_arg(is_collapsible, template)
local title_text = args[title_arg] or (':' .. mw.getCurrentFrame():getParent():getTitle())
local list = make_list(title_text, has_brackets, displayed_links, is_mini, font_style)
div:node(list)
if is_collapsible then
local title_text_class
if is_mini then
title_text_class = cfg.classes.collapsible_title_mini
else
title_text_class = cfg.classes.collapsible_title_full
end
div:done()
:tag('div')
:addClass(title_text_class)
:cssText(font_style)
:wikitext(args[1])
end
local frame = mw.getCurrentFrame()
-- hlist -> navbar is best-effort to preserve old Common.css ordering.
return frame:extensionTag{
name = 'templatestyles', args = { src = cfg.hlist_templatestyles }
} .. frame:extensionTag{
name = 'templatestyles', args = { src = cfg.templatestyles }
} .. tostring(div:done())
end
function p.navbar(frame)
return p._navbar(require('Module:Arguments').getArgs(frame))
end
return p
e8x4gsvao3bejgs0lle5fr5bug7ym1j
ਮੌਡਿਊਲ:Navbar/configuration
828
3026
5735
2023-04-07T09:24:15Z
Kuldeepburjbhalaike
1880
"return { ['templatestyles'] = 'Module:Navbar/styles.css', ['hlist_templatestyles'] = 'Hlist/styles.css', ['box_text'] = 'This box: ', -- default text box when not plain or mini ['title_namespace'] = 'Template', -- namespace to default to for title ['invalid_title'] = 'Invalid title ', ['classes'] = { -- set a line to nil if you don't want it ['navbar'] = 'navbar', ['plainlinks'] = 'plainlinks', -- plainlinks ['horizontal_list'] = 'h..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
return {
['templatestyles'] = 'Module:Navbar/styles.css',
['hlist_templatestyles'] = 'Hlist/styles.css',
['box_text'] = 'This box: ', -- default text box when not plain or mini
['title_namespace'] = 'Template', -- namespace to default to for title
['invalid_title'] = 'Invalid title ',
['classes'] = { -- set a line to nil if you don't want it
['navbar'] = 'navbar',
['plainlinks'] = 'plainlinks', -- plainlinks
['horizontal_list'] = 'hlist', -- horizontal list class
['mini'] = 'navbar-mini', -- class indicating small links in the navbar
['this_box'] = 'navbar-boxtext',
['brackets'] = 'navbar-brackets',
-- 'collapsible' is the key for a class to indicate the navbar is
-- setting up the collapsible element in addition to the normal
-- navbar.
['collapsible'] = 'navbar-collapse',
['collapsible_title_mini'] = 'navbar-ct-mini',
['collapsible_title_full'] = 'navbar-ct-full'
}
}
kk8qwxitcbzsvf797c9dznp7tw3a53p
ਮੌਡਿਊਲ:Navbar/styles.css
828
3027
5736
2023-04-07T09:25:00Z
Kuldeepburjbhalaike
1880
"/* {{pp|small=yes}} */ .navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar-collapse { float: left; text-align: left; } .navbar-boxtext { word-spacing: 0; } .navbar ul { display: inline-block; white-space: nowrap; line-height: inherit; } .navbar-brackets::before { margin-right: -0.125em; content: '[ '; } .navbar-brackets::after { margin-left: -0.125em; content: ' ]'; } .navbar li { word-spacing: -0.125em; }..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
sanitized-css
text/css
/* {{pp|small=yes}} */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar-collapse {
float: left;
text-align: left;
}
.navbar-boxtext {
word-spacing: 0;
}
.navbar ul {
display: inline-block;
white-space: nowrap;
line-height: inherit;
}
.navbar-brackets::before {
margin-right: -0.125em;
content: '[ ';
}
.navbar-brackets::after {
margin-left: -0.125em;
content: ' ]';
}
.navbar li {
word-spacing: -0.125em;
}
.navbar a > span,
.navbar a > abbr {
text-decoration: inherit;
}
.navbar-mini abbr {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
.navbar-ct-full {
font-size: 114%;
margin: 0 7em;
}
.navbar-ct-mini {
font-size: 114%;
margin: 0 4em;
}
id9uhrgq1wqygbzuyhnoc90pmdlwwhd
ਫਰਮਾ:Navbar/doc
10
3028
5738
2023-04-07T09:26:21Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} {{high-risk|6,000+}} <!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE---> == Usage == ===General=== Copyable examples when inside a given [[Wikipedia:Navigation templates|template]] adds navbar navigational functionality: :<tt><nowiki>{{navbar|{{subst:PAGENAME}}|mini=1}}</nowiki></tt> :<tt><nowiki>{{navbar|{{subst:PAGENAME}}|plain=1}}</nowiki></tt> :<tt><nowiki>{{navbar|{{subst:PAGENAME}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
{{high-risk|6,000+}}
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
== Usage ==
===General===
Copyable examples when inside a given [[Wikipedia:Navigation templates|template]] adds navbar navigational functionality:
:<tt><nowiki>{{navbar|{{subst:PAGENAME}}|mini=1}}</nowiki></tt>
:<tt><nowiki>{{navbar|{{subst:PAGENAME}}|plain=1}}</nowiki></tt>
:<tt><nowiki>{{navbar|{{subst:PAGENAME}}|mini=1|nodiv=1}}</nowiki></tt>
:<tt><nowiki>{{navbar|{{subst:PAGENAME}}|plain=1|nodiv=1}}</nowiki></tt>
:<tt><nowiki>{{navbar|{{subst:PAGENAME}}|fontstyle=color:green}}</nowiki></tt>
:The <code><nowiki>{{subst:PAGENAME}}</nowiki></code> will be substituted with the template's name when parsed by the servers.
:<nowiki>{{navbar|navbar/doc}}</nowiki> gives: {{navbar|navbar/doc}}
== Examples ==
===Required parameters===
*<code><nowiki>{{navbar|Name of Template}}</nowiki></code> the template name is required.
===Optional parameters===
{| class="wikitable"
! Options !! Parameters !! Produces...
|-
| Normal || <code><nowiki>{{navbar|Template Name}}</nowiki></code> || {{navbar|navbar/doc}}
|-
| No "This box:" text. || <code><nowiki>{{navbar|Template Name|plain=1}}</nowiki></code> || {{navbar|navbar/doc|plain=1}}
|-
| Short version. || <code><nowiki>{{navbar|Template Name|mini=1}}</nowiki></code> || {{navbar|navbar/doc|mini=1}}
|-
| Good for "blending" into text. || <code><nowiki>{{navbar|Template Name|nodiv=1}}</nowiki></code> || Lorem {{navbar|navbar/doc|nodiv=1}} Ipsum
|-
|Blended, no "This box:" text. || <code><nowiki>{{navbar|Template Name|plain=1|nodiv=1}}</nowiki></code> || Lorem {{navbar|navbar/doc|plain=1|nodiv=1}} Ipsum
|-
|Blended, short version. || <code><nowiki>{{navbar|Template Name|mini=1|nodiv=1}}</nowiki></code> || Lorem {{navbar|navbar/doc|mini=1|nodiv=1}} Ipsum
|-
| For a color option. || <code><nowiki>{{navbar|Template Name|fontstyle=color:green}}</nowiki></code> || {{navbar|navbar/doc|fontstyle=color:green}}
|-
| With brackets.
| <code><nowiki>{{navbar|Template Name|brackets=1}}</nowiki></code>
| {{navbar|navbar/doc|brackets=1}}
|}
===Prepackaged===
;{{tl|Tnavbar-header}}: Positions <small>v • d • e</small> on the right edge of the line.
<!--- PLEASE ADD METADATA TO THE <includeonly> SECTION HERE --->
<includeonly>
[[ka:თარგი:Navbar]]
[[Category:Internal link templates|{{PAGENAME}}]]
</includeonly>
iwzz0tm8hajrqj7zghezlo62yiyq84z
ਫਰਮਾ:Main
10
3029
5739
2023-04-07T09:29:30Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}</includeonly><noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
hz9saa715ercns6m73a0a1ud2ptzt26
ਫਰਮਾ:Main/doc
10
3030
5740
2023-04-07T09:30:06Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} __NOTOC__ When a topic is large, it is often rewritten in summary style. This template is used to link to the page the has been summarized. This template is '''not''' to be used as a substitute for inline links or as a "main". Its usage should be restricted to the purpose described above. === Usage === {{tlx|main|Page 1|...|''Page 15''}} * Up to 15 parameters are permitted: only the first is mandatory. * The list is..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
__NOTOC__
When a topic is large, it is often rewritten in summary style. This template is used to link to the page the has been summarized.
This template is '''not''' to be used as a substitute for inline links or as a "main". Its usage should be restricted to the purpose described above.
=== Usage ===
{{tlx|main|Page 1|...|''Page 15''}}
* Up to 15 parameters are permitted: only the first is mandatory.
* The list is dynamically generated so that the word "and" is always placed between the final two entries.
* If more than 15 entries are supplied, a message will be displayed pointing out the problem.
*You can use parameters l1 to l15 to specify alternative labels for the links.
; NB : make sure to start label parameters with a lowercase el (l), not a one (1) or pipe (|)
:adding newline characters will break page links
=== Example ===
{| class="wikitable" cellspacing="0" cellpadding="0"
! Code!! Result
|-
| style="vertical-align:top;" |{{Tlx|main|Page}}||{{main|Page}}
|-
| style="vertical-align:top;" |{{Tlx|main|Page|Page 2}}||{{main|Page|Page 2}}
|-
| style="vertical-align:top;" |{{Tlx|main|Page|Page 2|Page 3}}||{{main|Page|Page 2|Page 3}}
|-
| style="vertical-align:top;" |{{Tlx|main|Page|Page 2|4=l2=Alternate title for Page 2}}||{{main|Page|Page 2|l2=Alternate title for Page 2}}
|}
''And so on up to 15 parameters.''
=== Link to subsection ===
It possible to direct this template to link a particular section within another page.
<code><nowiki>{{main|Michael Tritter#storyline|l1=Storyline}}</nowiki></code> gives
{{main|Michael Tritter#storyline|l1=Storyline}}
===See also===
*{{Tl|details}}
*{{Tl|further}}
*{{Tl|see also}}
*{{Tl|MAIN}}
<includeonly>
[[Category:Internal link templates|{{PAGENAME}}]]
[[Category:Exclude in print|{{PAGENAME}}]]
</includeonly>
11b7k7y6ig0lniimzjelhvmy1a9aagz
ਫਰਮਾ:-
10
3031
5741
2023-04-07T09:30:50Z
Kuldeepburjbhalaike
1880
"<br style="clear:both;" /><noinclude>{{documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<br style="clear:both;" /><noinclude>{{documentation}}</noinclude>
na9lai3gcfrb6vhonby2kgdepx0ui5e
ਫਰਮਾ:-/doc
10
3032
5742
2023-04-07T09:31:21Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} Use {{tl|{{BASEPAGENAME}}}} after any floating elements and before elements you do not wish to float together with the first set. This uses a line break, which may introduce an ugly extra blank line. If you want to avoid that, use {{tl|clear}} instead. == Details == {{tl|-}} contains the markup: <pre> <br style="clear:both" /> </pre> This causes any previously-established float to clear. The unusual name of this temp..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
Use {{tl|{{BASEPAGENAME}}}} after any floating elements and before elements you do not wish to float together with the first set. This uses a line break, which may introduce an ugly extra blank line. If you want to avoid that, use {{tl|clear}} instead.
== Details ==
{{tl|-}} contains the markup:
<pre>
<br style="clear:both" />
</pre>
This causes any previously-established float to clear.
The unusual name of this template is a mnemonic for an imaginary horizontal line, which separates floating elements above from those below. Some editors prefer the mnemonic {{tl|clr}} ("clear"), which simply redirects here. However, don't confuse {{tl|clr}} with {{tl|clear}}, which is a different template that uses <code><nowiki><div /></nowiki></code> instead of <code><nowiki><br /></nowiki></code> and so does not introduce an extra line break.
== Examples==
{| style="float: right; clear: right; background: none; border:1px solid black;"
| A table floating right e.g. for an<br />infobox next to the ToC. For better<br />examples check out the links. Please<br />add missing <tt><nowiki>{{-}}</nowiki></tt> where necessary.<br /> <br />This ugly table is only a quick example.
|}
=== First ===
In the first example <tt><nowiki>{{-}}</nowiki></tt> after the word ''browser'' guarantees that the table doesn't float into the second example.
* Cute, but less funny if it ''overlaps'' the next table or section, causing horizontal scrolling or worse depending on the browser.{{-}}
{| style="float: right; clear: right; background: none; border:1px solid black;"
| A table floating right e.g. for an<br />infobox next to the ToC. For better<br />examples check out the links. Please<br />add missing <tt><nowiki>{{-}}</nowiki></tt> where necessary.<br /> <br />This ugly table is only a quick example.
|}
----
=== Second ===
In the second example the position of <tt><nowiki>{{-}}</nowiki></tt> is after the word ''but''. Note that it doesn't affect the
left margin of the bullet '''*''' list, because it's used inside of it.
* Cute, but{{-}}less funny if it ''overlaps'' the next table or section, causing horizontal scrolling or worse depending on the browser.
{| style="float: right; clear: right; background: none; border:1px solid black;"
| A table floating right e.g. for an<br />infobox next to the ToC. For better<br />examples check out the links. Please<br />add missing <tt><nowiki>{{-}}</nowiki></tt> where necessary.<br /> <br />This ugly table is only a quick example.
|}
----
=== Third ===
The third example has a new line after the word ''but'' and <tt><nowiki>{{-}}</nowiki></tt> after the word ''browser''.
* Cute, but
less funny if it ''overlaps'' the next table or section, causing horizontal scrolling or worse depending on the browser.{{-}}
{| style="float: right; clear: right; background: none; border:1px solid black;"
| A table floating right e.g. for an<br />infobox next to the ToC. For better<br />examples check out the links. Please<br />add missing <tt><nowiki>{{-}}</nowiki></tt> where necessary.<br /> <br />This ugly table is only a quick example.
|}
----
=== Fourth ===
The fourth example has <tt><nowiki>{{-}}</nowiki></tt> and a new line after the word ''but''.
* Cute, but{{-}}
less funny if it ''overlaps'' the next table or section, causing horizontal scrolling or worse depending on the browser.
== See also ==
* {{tl|clearleft}}: Delays content until left column is complete.
* {{tl|clearright}}: Delays content until right column is complete.
* {{tl|clear}}
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Float templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[eo:ŝablono:-]]
</includeonly>
eetgnmx0nssk4ip0097jz9oip90v6u2
ਫਰਮਾ:Clr
10
3033
5743
2023-04-07T09:32:18Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:-]]
wikitext
text/x-wiki
#redirect[[Template:-]]
9qroklucwhxpxu7fsas4sxwk0he92o6
ਮੌਡਿਊਲ:Labelled list hatnote
828
3034
5744
2023-04-07T09:33:19Z
Kuldeepburjbhalaike
1880
"-------------------------------------------------------------------------------- -- Labelled list -- -- -- -- This module does the core work of creating a hatnote composed of a list -- -- prefixed by a colon-terminated label, i.e. "LABEL: [andList of pages]", -- -- for {{see also}} and similar templates...." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Labelled list --
-- --
-- This module does the core work of creating a hatnote composed of a list --
-- prefixed by a colon-terminated label, i.e. "LABEL: [andList of pages]", --
-- for {{see also}} and similar templates. --
--------------------------------------------------------------------------------
local mHatnote = require('Module:Hatnote')
local mHatlist = require('Module:Hatnote list')
local mArguments --initialize lazily
local yesno --initialize lazily
local p = {}
-- Defaults global to this module
local defaults = {
label = 'See also', --Final fallback for label argument
labelForm = '%s: %s',
prefixes = {'label', 'label ', 'l'},
template = 'Module:Labelled list hatnote'
}
-- Localizable message strings
local msg = {
errorSuffix = '#Errors',
noInputWarning = 'no page names specified',
noOutputWarning =
"'''[[%s]] — no output: none of the target pages exist.'''"
}
-- Helper function that pre-combines display parameters into page arguments.
-- Also compresses sparse arrays, as a desirable side-effect.
function p.preprocessDisplays (args, prefixes)
-- Prefixes specify which parameters, in order, to check for display options
-- They each have numbers auto-appended, e.g. 'label1', 'label 1', & 'l1'
prefixes = prefixes or defaults.prefixes
local indices = {}
local sparsePages = {}
for k, v in pairs(args) do
if type(k) == 'number' then
indices[#indices + 1] = k
local display
for i = 1, #prefixes do
display = args[prefixes[i] .. k]
if display then break end
end
sparsePages[k] = display and
string.format('%s|%s', string.gsub(v, '|.*$', ''), display) or v
end
end
table.sort(indices)
local pages = {}
for k, v in ipairs(indices) do pages[#pages + 1] = sparsePages[v] end
return pages
end
--Helper function to get a page target from a processed page string
--e.g. "Page|Label" → "Page" or "Target" → "Target"
local function getTarget(pagename)
local pipe = string.find(pagename, '|')
return string.sub(pagename, 0, pipe and pipe - 1 or nil)
end
-- Produces a labelled pages-list hatnote.
-- The main frame (template definition) takes 1 or 2 arguments, for a singular
-- and (optionally) plural label respectively:
-- * {{#invoke:Labelled list hatnote|labelledList|Singular label|Plural label}}
-- The resulting template takes pagename & label parameters normally.
function p.labelledList (frame)
mArguments = require('Module:Arguments')
yesno = require('Module:Yesno')
local labels = {frame.args[1] or defaults.label}
labels[2] = frame.args[2] or labels[1]
labels[3] = frame.args[3] --no defaulting
labels[4] = frame.args[4] --no defaulting
local template = frame:getParent():getTitle()
local args = mArguments.getArgs(frame, {parentOnly = true})
local pages = p.preprocessDisplays(args)
local options = {
category = yesno(args.category),
extraclasses = frame.args.extraclasses,
ifexists = yesno(frame.args.ifexists),
namespace = frame.args.namespace or args.namespace,
selfref = yesno(frame.args.selfref or args.selfref),
template = template
}
return p._labelledList(pages, labels, options)
end
function p._labelledList (pages, labels, options)
if options.ifexists then
for k = #pages, 1, -1 do --iterate backwards to allow smooth removals
local v = pages[k]
local title = mw.title.new(getTarget(v), namespace)
if (v == '') or title == nil or not title.exists then
table.remove(pages, k)
end
end
end
labels = labels or {}
label = (#pages == 1 and labels[1] or labels[2]) or defaults.label
for k, v in pairs(pages) do
if mHatnote.findNamespaceId(v) ~= 0 then
label =
(
#pages == 1 and
(labels[3] or labels[1] or defaults.label) or
(labels[4] or labels[2] or defaults.label)
) or defaults.label
end
end
if #pages == 0 then
if options.ifexists then
mw.addWarning(
string.format(
msg.noOutputWarning, options.template or defaults.template
)
)
return ''
else
return mHatnote.makeWikitextError(
msg.noInputWarning,
(options.template or defaults.template) .. msg.errorSuffix,
options.category
)
end
end
local text = string.format(
options.labelForm or defaults.labelForm,
label,
mHatlist.andList(pages, true)
)
local hnOptions = {
extraclasses = options.extraclasses,
selfref = options.selfref
}
return mHatnote._hatnote(text, hnOptions)
end
return p
lgbn92zoszcjkbsmuwkrn9f0fvft89t
ਮੌਡਿਊਲ:Labelled list hatnote/doc
828
3035
5745
2023-04-07T09:33:54Z
Kuldeepburjbhalaike
1880
"{{module rating|protected}} {{used in system|in [[MediaWiki:Wantedpages-summary]]}} {{Lua|Module:Hatnote|Module:Hatnote list|Module:Arguments}} This module provides a handful of functions that make it easy to implement hatnotes that take the form of a label in front of a list of pages, e.g. {{hatnote|LABEL: [[A]], [[B]], and [[C]]}} == Usage == ===labelledList=== Invoking the <code>labelledList()</code> function is enough to implement most suc..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{module rating|protected}}
{{used in system|in [[MediaWiki:Wantedpages-summary]]}}
{{Lua|Module:Hatnote|Module:Hatnote list|Module:Arguments}}
This module provides a handful of functions that make it easy to implement hatnotes that take the form of a label in front of a list of pages, e.g. {{hatnote|LABEL: [[A]], [[B]], and [[C]]}}
== Usage ==
===labelledList===
Invoking the <code>labelledList()</code> function is enough to implement most such templates:
<code><nowiki>{{#invoke:Labelled list hatnote|labelledList|Universal label}}</nowiki></code>
or
<code><nowiki>{{#invoke:Labelled list hatnote|labelledList|Singular label|Plural label}}</nowiki></code>
For example, providing "See also" instead of "Universal label" duplicates the functionality of {{tl|see also}}, while providing "Main article" and "Main articles" instead of "Singular label" and "Plural label" duplicates the (article namespace) functionality of {{tl|main}}.
If third and fourth labels are provided, they'll be used in the case where any of the target pages are outside the article namespace, so e.g. {{tl|main}} can be implemented thus:
<code><nowiki>{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}</nowiki></code>
===preprocessDisplays===
The <code>preprocessDisplays()</code> function takes a raw list of arguments and combines in any display arguments. For example, {{tlx|see also|1|<nowiki>l1=One</nowiki>}} initially has the arguments table <code><nowiki>{'1', ['l1'] = 'One'}</nowiki></code>; this table would combine those into the table <code><nowiki>{'1|One'}</nowiki></code>. It overrides manual piping (e.g. {{tlx|see also|<nowiki>1{{!}}2</nowiki>|<nowiki>l1=One</nowiki>}} → <code><nowiki>{'1|One'}</nowiki></code>) and compresses sparse arrays if a parameter is skipped or left empty.
Example: <syntaxhighlight lang="lua">
local mLabelledList = require('Module:Labelled list hatnote')
local pages = mLabelledList.preprocessDisplays(args)
</syntaxhighlight>
===_labelledList===
For modules that need to modify the functionality slightly while still using it, <code>_labelledList()</code> provides some flexibility. It takes three parameters:
# A pages list, preferably preprocessed and compressed by <code>preprocessDisplays</code>
# A labels table, where the first item is the singular or universal label, and the second either a plural label or a copy of the first.
# An options table, preferably containing:
#* a <code>template</code> string with the full title of the template. Defaults to the title of this module.
#* a <code>category</code> string (or nil) as taken by <code>makeWikitextError</code> from [[Module:Hatnote]], to optionally disable error categories
#* a <code>selfref</code> string (or nil) as taken by <code>_hatnote</code> to enable the selfref option
Example: <syntaxhighlight lang="lua">
local mLabelledList = require('Module:Labelled list hatnote')
return mLabelledList._labelledList(pages, labels, options)
</syntaxhighlight>
==Errors==
This module causes templates based on it to produce an error message if no page names are provided as template parameters. Normally, these should lead back to "Errors" sections in the documentation of those templates. However, if those templates use a module with <code>_labelledList()</code> and don't provide a <code>template</code> item in their options table, that error defaults to leading back here. The error can be solved by providing at least one valid page-name parameter to the template in question; the problem in the template can be fixed by providing some value to the <code>template</code> item of the <code>_labelledList()</code> <code>options</code> table.
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Hatnote modules| ]]
}}</includeonly>
emb79g93xoq9q39q8us2xgyih8hz4t7
ਮੌਡਿਊਲ:Hatnote
828
3036
5746
2023-04-07T09:34:25Z
Kuldeepburjbhalaike
1880
"-------------------------------------------------------------------------------- -- Module:Hatnote -- -- -- -- This module produces hatnote links and links to related articles. It -- -- implements the {{hatnote}} and {{format link}} meta-templates and includes -- -- helper functions for other Lua hatnote modu..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Module:Hatnote --
-- --
-- This module produces hatnote links and links to related articles. It --
-- implements the {{hatnote}} and {{format link}} meta-templates and includes --
-- helper functions for other Lua hatnote modules. --
--------------------------------------------------------------------------------
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg
local mArguments -- lazily initialise [[Module:Arguments]]
local yesno -- lazily initialise [[Module:Yesno]]
local formatLink -- lazily initialise [[Module:Format link]] ._formatLink
local p = {}
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function getArgs(frame)
-- Fetches the arguments from the parent frame. Whitespace is trimmed and
-- blanks are removed.
mArguments = require('Module:Arguments')
return mArguments.getArgs(frame, {parentOnly = true})
end
local function removeInitialColon(s)
-- Removes the initial colon from a string, if present.
return s:match('^:?(.*)')
end
function p.defaultClasses(inline)
-- Provides the default hatnote classes as a space-separated string; useful
-- for hatnote-manipulation modules like [[Module:Hatnote group]].
return
(inline == 1 and 'hatnote-inline' or 'hatnote') .. ' ' ..
'navigation-not-searchable'
end
function p.disambiguate(page, disambiguator)
-- Formats a page title with a disambiguation parenthetical,
-- i.e. "Example" → "Example (disambiguation)".
checkType('disambiguate', 1, page, 'string')
checkType('disambiguate', 2, disambiguator, 'string', true)
disambiguator = disambiguator or 'disambiguation'
return mw.ustring.format('%s (%s)', page, disambiguator)
end
function p.findNamespaceId(link, removeColon)
-- Finds the namespace id (namespace number) of a link or a pagename. This
-- function will not work if the link is enclosed in double brackets. Colons
-- are trimmed from the start of the link by default. To skip colon
-- trimming, set the removeColon parameter to false.
checkType('findNamespaceId', 1, link, 'string')
checkType('findNamespaceId', 2, removeColon, 'boolean', true)
if removeColon ~= false then
link = removeInitialColon(link)
end
local namespace = link:match('^(.-):')
if namespace then
local nsTable = mw.site.namespaces[namespace]
if nsTable then
return nsTable.id
end
end
return 0
end
function p.makeWikitextError(msg, helpLink, addTrackingCategory, title)
-- Formats an error message to be returned to wikitext. If
-- addTrackingCategory is not false after being returned from
-- [[Module:Yesno]], and if we are not on a talk page, a tracking category
-- is added.
checkType('makeWikitextError', 1, msg, 'string')
checkType('makeWikitextError', 2, helpLink, 'string', true)
yesno = require('Module:Yesno')
title = title or mw.title.getCurrentTitle()
-- Make the help link text.
local helpText
if helpLink then
helpText = ' ([[' .. helpLink .. '|help]])'
else
helpText = ''
end
-- Make the category text.
local category
if not title.isTalkPage -- Don't categorise talk pages
and title.namespace ~= 2 -- Don't categorise userspace
and yesno(addTrackingCategory) ~= false -- Allow opting out
then
category = 'Hatnote templates with errors'
category = mw.ustring.format(
'[[%s:%s]]',
mw.site.namespaces[14].name,
category
)
else
category = ''
end
return mw.ustring.format(
'<strong class="error">Error: %s%s.</strong>%s',
msg,
helpText,
category
)
end
local curNs = mw.title.getCurrentTitle().namespace
p.missingTargetCat =
--Default missing target category, exported for use in related modules
((curNs == 0) or (curNs == 14)) and
'Articles with hatnote templates targeting a nonexistent page' or nil
function p.quote(title)
--Wraps titles in quotation marks. If the title starts/ends with a quotation
--mark, kerns that side as with {{-'}}
local quotationMarks = {
["'"]=true, ['"']=true, ['“']=true, ["‘"]=true, ['”']=true, ["’"]=true
}
local quoteLeft, quoteRight = -- Test if start/end are quotation marks
quotationMarks[string.sub(title, 1, 1)],
quotationMarks[string.sub(title, -1, -1)]
if quoteLeft or quoteRight then
title = mw.html.create("span"):wikitext(title)
end
if quoteLeft then title:css("padding-left", "0.15em") end
if quoteRight then title:css("padding-right", "0.15em") end
return '"' .. tostring(title) .. '"'
end
--------------------------------------------------------------------------------
-- Hatnote
--
-- Produces standard hatnote text. Implements the {{hatnote}} template.
--------------------------------------------------------------------------------
function p.hatnote(frame)
local args = getArgs(frame)
local s = args[1]
if not s then
return p.makeWikitextError(
'no text specified',
'Template:Hatnote#Errors',
args.category
)
end
return p._hatnote(s, {
extraclasses = args.extraclasses,
selfref = args.selfref
})
end
function p._hatnote(s, options)
checkType('_hatnote', 1, s, 'string')
checkType('_hatnote', 2, options, 'table', true)
options = options or {}
local inline = options.inline
local hatnote = mw.html.create(inline == 1 and 'span' or 'div')
local extraclasses
if type(options.extraclasses) == 'string' then
extraclasses = options.extraclasses
end
hatnote
:attr('role', 'note')
:addClass(p.defaultClasses(inline))
:addClass(extraclasses)
:addClass(options.selfref and 'selfref' or nil)
:wikitext(s)
return mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = 'Module:Hatnote/styles.css' }
} .. tostring(hatnote)
end
return p
6vm2bp6g2nr605rzk5jap6wygn2ft2p
ਮੌਡਿਊਲ:Hatnote/doc
828
3037
5747
2023-04-07T09:35:00Z
Kuldeepburjbhalaike
1880
"{{used in system|in [[MediaWiki:Wantedpages-summary]]}} {{module rating|protected}} {{Lua|Module:Yesno|Module:Arguments}} {{Uses TemplateStyles|Module:Hatnote/styles.css}} This is a meta-module that provides various functions for making [[Wikipedia:Hatnote|hatnotes]]. It implements the {{tl|hatnote}} template, for use in hatnotes at the top of pages, and the {{tl|format link}} template, which is used to format a wikilink for use in hatnotes. It al..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{used in system|in [[MediaWiki:Wantedpages-summary]]}}
{{module rating|protected}}
{{Lua|Module:Yesno|Module:Arguments}}
{{Uses TemplateStyles|Module:Hatnote/styles.css}}
This is a meta-module that provides various functions for making [[Wikipedia:Hatnote|hatnotes]]. It implements the {{tl|hatnote}} template, for use in hatnotes at the top of pages, and the {{tl|format link}} template, which is used to format a wikilink for use in hatnotes. It also contains a number of helper functions for use in other Lua hatnote modules.
== Use from wikitext ==
The functions in this module cannot be used directly from #invoke, and must be used through templates instead. Please see [[Template:Hatnote]] and [[Template:Format link]] for documentation.
== Use from other Lua modules ==
To load this module from another Lua module, use the following code.
<syntaxhighlight lang="lua">
local mHatnote = require('Module:Hatnote')
</syntaxhighlight>
You can then use the functions as documented below.
=== Hatnote ===
<syntaxhighlight lang="lua">
mHatnote._hatnote(s, options)
</syntaxhighlight>
Formats the string <var>s</var> as a hatnote. This encloses <var>s</var> in the tags {{tag|div|params=class="hatnote"}}. Options are provided in the <var>options</var> table. Options include:
* <var>options.extraclasses</var> - a string of extra classes to provide
* <var>options.selfref</var> - if this is not nil or false, adds the class "selfref", used to denote self-references to Wikipedia (see [[Template:Selfref]]))
The CSS of the hatnote class is defined in [[Module:Hatnote/styles.css]].
; Example 1
<syntaxhighlight lang="lua">
mHatnote._hatnote('This is a hatnote.')
</syntaxhighlight>
Produces:
{{tag|div|content=This is a hatnote.|params=class="hatnote"}}
Displays as:
{{hatnote|This is a hatnote.}}
; Example 2
<syntaxhighlight lang="lua">
mHatnote._hatnote('This is a hatnote.', {extraclasses = 'boilerplate seealso', selfref = true})
</syntaxhighlight>
Produces:
{{tag|div|content=This is a hatnote.|params=class="hatnote boilerplate seealso selfref"}}
Displayed as:
{{hatnote|This is a hatnote.|extraclasses=boilerplate seealso|selfref=true}}
=== Find namespace id ===
<syntaxhighlight lang="lua">
mHatnote.findNamespaceId(link, removeColon)
</syntaxhighlight>
Finds the [[WP:NS|namespace id]] of the string <var>link</var>, which should be a valid page name, with or without the section name. This function will not work if the page name is enclosed with square brackets. When trying to parse the namespace name, colons are removed from the start of the link by default. This is helpful if users have specified colons when they are not strictly necessary. If you do not need to check for initial colons, set <var>removeColon</var> to false.
;Examples:
: {{code|mHatnote.findNamespaceId('Lion')|lua}} → 0
: {{code|mHatnote.findNamespaceId('Category:Lions')|lua}} → 14
: {{code|mHatnote.findNamespaceId(':Category:Lions')|lua}} → 14
: {{code|mHatnote.findNamespaceId(':Category:Lions', false)|lua}} → 0 (the namespace is detected as ":Category", rather than "Category")
=== Make wikitext error ===
<syntaxhighlight lang="lua">
mHatnote.makeWikitextError(msg, helpLink, addTrackingCategory)
</syntaxhighlight>
Formats the string <var>msg</var> as a red wikitext error message, with optional link to a help page <var>helpLink</var>. Normally this function also adds {{clc|Hatnote templates with errors}}. To suppress categorization, pass <code>false</code> as third parameter of the function (<code>addTrackingCategory</code>).
Examples:
:{{code|mHatnote.makeWikitextError('an error has occurred')|lua}} → <strong class="error">Error: an error has occurred.</strong>
:{{code|mHatnote.makeWikitextError('an error has occurred', 'Template:Example#Errors')|lua}} → <strong class="error">Error: an error has occurred ([[Template:Example#Errors|help]]).</strong>
== Examples ==
For an example of how this module is used in other Lua modules, see [[Module:Main]]
<includeonly>{{Sandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Hatnote modules| ]]
[[Category:Modules that add a tracking category]]
}}</includeonly>
ffk7vcwidvy63v3vouxw6p8c55j1uyw
ਮੌਡਿਊਲ:Hatnote/styles.css
828
3038
5748
2023-04-07T09:35:26Z
Kuldeepburjbhalaike
1880
"/* {{pp|small=y}} */ .hatnote { font-style: italic; } /* Limit structure CSS to divs because of [[Module:Hatnote inline]] */ div.hatnote { /* @noflip */ padding-left: 1.6em; margin-bottom: 0.5em; } .hatnote i { font-style: normal; } /* The templatestyles element inserts a link element before hatnotes. * TODO: Remove link if/when WMF resolves T200206 */ .hatnote + link + .hatnote { margin-top: -0.5em; }" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
sanitized-css
text/css
/* {{pp|small=y}} */
.hatnote {
font-style: italic;
}
/* Limit structure CSS to divs because of [[Module:Hatnote inline]] */
div.hatnote {
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
.hatnote i {
font-style: normal;
}
/* The templatestyles element inserts a link element before hatnotes.
* TODO: Remove link if/when WMF resolves T200206 */
.hatnote + link + .hatnote {
margin-top: -0.5em;
}
7znvdfdw9mn3ta8a2ioyp35gizwnv4c
ਫਰਮਾ:Hatnote
10
3039
5749
2023-04-07T09:36:06Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
8nnude79i1y2v6yy2z7j285k1k4v8p3
ਮੌਡਿਊਲ:TScope/doc
828
3040
5751
2023-04-11T10:54:24Z
Kuldeepburjbhalaike
1880
"{{high-risk|100,000+}} This module provides several functions to facilitate programming with wiki templates. The common theme is that they deal with template [[w:scope (computer science)|scope]], the rules of what information is available where in templates. All of these functions must be invoked directly by the template they are providing their service to: they cannot serve their purpose from inside a wrapper template. This is because they ex..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{high-risk|100,000+}}
This module provides several functions to facilitate programming with wiki templates. The common theme is that they deal with template [[w:scope (computer science)|scope]], the rules of what information is available where in templates.
All of these functions must be invoked directly by the template they are providing their service to: they cannot serve their purpose from inside a wrapper template. This is because they exploit a feature of [[mw:Extension:Scribunto/Lua reference manual|Scribunto]] allowing a module to access the template parameters to (and name of) the immediate template in which the module is invoked.
== Call functions ==
Each of these functions calls another template with a set of parameters formed by merging the set of parameters to the surrounding template with the set of parameters to the module invocation. This is useful if the surrounding template is meant to be a shell providing a modified form of the services of another, underlying template. The shell template doesn't have to explicitly pass along every parameter to the underlying template; in fact, the shell doesn't even have to know what all the parameters to the underlying template are, just the particular parameters that matter to the way it modifies the services. If the underlying template is later changed by, say, adding parameters, the implementation of the shell doesn't have to be touched unless the new parameters actually matter to the way the shell modifies the services (although the ''documentation'' of the shell might need to be changed if it duplicates explanations of parameters from the underlying template). See for example {{tl|dialog/view}}.
The first unnamed parameter to the invocation names the template to call.
Named parameters to the invocation are passed into the call. Each named parameter to the surrounding template is passed into the call unless overridden by a same-named invocation parameter.
The functions differ from each other in how they handle unnamed parameters.
=== override ===
This function handles additional unnamed parameters to the invocation, after the first naming the template to call, in the same way as named parameters: each unnamed invocation parameter is passed into the call in its corresponding position (the first additional parameter becomes unnamed-parameter-1 to the call, etc.), while each unnamed parameter to the surrounding template is passed into the call unless overridden by an invocation parameter in corresponding position.
For example, if page Template:Foo contains invocation
: <code><nowiki>{{#invoke:</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|override|bar|inner|quux=inner}}</nowiki></code>
and foo is called elsewhere by <code><nowiki>{{foo|outer|baz=outer|quux=outer}}</nowiki></code>, then the invocation would call Template:Bar with parameters <code>1={{TScope/ex-override-1|1|inner}}</code>, <code>quux={{TScope/ex-override-1|quux|inner}}</code>, and <code>baz={{TScope/ex-override-1|baz|outer}}</code>.
The first ''additional'' unnamed invocation parameter, after the name of the template to call, is passed into the call with index 1, the second additional unnamed invocation parameter is passed into the call with index 2, and so on. This means, however, that if the unnamed invocation parameters were passed explicitly by their integer names, the integer names specified to the invocation would be one more than the parameter numbers received by the called template. That is,
: <code><nowiki>{{#invoke:</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|override|bar|baz|5=quux}}</nowiki></code>
which is equivalent to
: <code><nowiki>{{#invoke:</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|override|1=bar|2=baz|5=quux}}</nowiki></code>
would call Template:Bar with parameters <code>1={{TScope/ex-override-2|1|baz}}</code> and <code>4={{TScope/ex-override-3|4|quux}}</code>.
=== prepend ===
This function handles unnamed parameters by passing them all into the call, first all additional unnamed parameters to the invocation and then all unnamed parameters to the surrounding template. The indices of unnamed surrounding-template parameters are increased by the largest call-index of any of the additional unnamed invocation parameters. For example, if page Template:Foo contains invocation
: <code><nowiki>{{#invoke:</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|prepend|bar|quux|baz}}</nowiki></code>
and foo is called elsewhere by <code><nowiki>{{foo|fnord}}</nowiki></code>, then the invocation would call Template:Bar with parameters <code>1={{TScope/ex-prepend-1|1|quux}}</code>, <code>2={{TScope/ex-prepend-1|2|baz}}</code>, and <code>3={{TScope/ex-prepend-1|3|fnord}}</code>.
Each set of unnamed parameters (invocation parameters, and surrounding-template parameters) is treated as a solid block of indices starting with 1, even if some slots within the block (even at the start of the block) are unoccupied. Recalling the note under function [[#override|override]] regarding the off-by-one discrepancy between invocation-indices and call-indices, if page Template:Foo contains invocation
: <code><nowiki>{{#invoke:</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|prepend|bar|5=quux|3=baz}}</nowiki></code>
and foo is called elsewhere by <code><nowiki>{{foo|3=fnord}}</nowiki></code>, then the invocation would call Template:Bar with parameters <code>2={{TScope/ex-prepend-2|2|baz}}</code>, <code>4={{TScope/ex-prepend-2|4|quux}}</code>, and <code>7={{TScope/ex-prepend-2|7|fnord}}</code>.
=== append ===
As function [[#prepend|prepend]], except that rather than unnamed parameters to the surrounding template having their indices increased, instead unnamed parameters to the module invocation have their indices increased, by the largest index of any unnamed parameter to the surrounding template. For example, if Template:Foo contains invocation
: <code><nowiki>{{#invoke:</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|append|bar|quux|baz}}</nowiki></code>
and foo is called elsewhere by <code><nowiki>{{foo|fnord}}</nowiki></code>, then the invocation would call Template:Bar with parameters <code>1={{TScope/ex-append-1|1|fnord}}</code>, <code>2={{TScope/ex-append-1|2|quux}}</code>, and <code>3={{TScope/ex-append-1|3|baz}}</code>.
=== drop ===
As function [[#override|override]], except that only named parameters of the surrounding template are passed on to the called template; unnamed parameters are passed only if specified directly to the module invocation.
=== shiftLeft ===
Similar to function [[#override|override]], but the first unnamed parameter to the invocation after the name of the template to call is not a parameter to pass into the call, but instead is an integer by which to decrement the indices of unnamed parameters to the surrounding template, dropping any that decrease below 1. For example, if Template:Foo contains invocation
: <code><nowiki>{{#invoke:</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|shiftLeft|bar|1}}</nowiki></code>
and foo is called elsewhere by <code><nowiki>{{foo|baz|quux|fnord}}</nowiki></code>, then the invocation would call Template:Bar with parameters <code>1={{TScope/ex-shiftLeft-1|1|quux}}</code> and <code>2={{TScope/ex-shiftLeft-1|2|fnord}}</code>; while invocation
: <code><nowiki>{{#invoke:</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|shiftLeft|bar|-2|inner}}</nowiki></code>
would call Template:Bar with parameters <code>1={{TScope/ex-shiftLeft-2|1|inner}}</code>, <code>3={{TScope/ex-shiftLeft-2|3|baz}}</code>, <code>4={{TScope/ex-shiftLeft-2|4|quux}}</code>, and <code>5={{TScope/ex-shiftLeft-2|5|fnord}}</code>.
=== map ===
This function calls a named template ''multiple'' times, using an interface somewhat similar to function [[#override|override]]. As usual, the first unnamed parameter to the invocation names the template to call. If that is the only parameter to the invocation, the target template is called once for each unnamed parameter to the surrounding template, passing in that unnamed parameter as the first unnamed parameter to the call, and passing in all ''named'' parameters from the surrounding template; the results are concatenated in increasing order of the indices of the unnamed parameters. For example, if Template:Foo contains invocation
: <code><nowiki>{{#invoke:</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|map|bar}}</nowiki></code>
and foo is called elsewhere by <code><nowiki>{{foo|baz|quux|fnord}}</nowiki></code>, then the invocation would call Template:Bar three times, with respectively parameter <code>1={{TScope/compare|{{evalx|(get-substring (get-arg 2) 1 3)|{{TScope/ex-map-1|1}}}}|baz}}</code>, <code>1={{TScope/compare|{{evalx|(get-substring (get-arg 2) 4 7)|{{TScope/ex-map-1|1}}}}|quux}}</code>, and <code>1={{TScope/compare|{{evalx|(get-substring (get-arg 2) 8)|{{TScope/ex-map-1|1}}}}|fnord}}</code>.
Named parameters to the invocation override same-named parameters to the surrounding template. The optional second unnamed parameter to the invocation must be a non-negative integer indicating so many leading unnamed parameters to the surrounding template should be passed as later unnamed parameters to each call ''instead of'' being featured as first-unnamed to a call. For example, if Template:Foo contains invocation
: <code><nowiki>{{#invoke:</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|map|bar|2|quux=inner}}</nowiki></code>
and foo is called elsewhere by <code><nowiki>{{foo|one|two|three|four|five|baz=outer|quux=outer|fnord=outer}}</nowiki></code>, then the invocation would call Template:Bar three times, with respectively <code>1={{TScope/compare|{{evalx|(get-substring (get-arg 2) 1 5)|{{TScope/ex-map-2|1}}}}|three}}</code>, <code>1={{TScope/compare|{{evalx|(get-substring (get-arg 2) 6 9)|{{TScope/ex-map-2|1}}}}|four}}</code>, <code>1={{TScope/compare|{{evalx|(get-substring (get-arg 2) 10)|{{TScope/ex-map-2|1}}}}|five}}</code>, and each call would get <code>2={{TScope/compare|{{evalx|(get-substring (get-arg 2) 7)|{{TScope/ex-map-2|2}}}}|one}}</code>, <code>3={{TScope/compare|{{evalx|(get-substring (get-arg 2) 7)|{{TScope/ex-map-2|3}}}}|two}}</code>, <code>baz={{TScope/compare|{{evalx|(get-substring (get-arg 2) 11)|{{TScope/ex-map-2|baz}}}}|outer}}</code>, <code>quux={{TScope/compare|{{evalx|(get-substring (get-arg 2) 11)|{{TScope/ex-map-2|quux}}}}|inner}}</code>, <code>fnord={{TScope/compare|{{evalx|(get-substring (get-arg 2) 11)|{{TScope/ex-map-2|fnord}}}}|outer}}</code>. Additional unnamed parameters to the invocation are also passed to each call, overriding any passed through from the surrounding template; thus, in the immediately preceding example, if the invocation were instead
: <code><nowiki>{{#invoke:</nowiki>{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}<nowiki>|map|bar|2|inner|quux=inner}}</nowiki></code>
the calls would be the same except with <code>2={{TScope/compare|{{evalx|(get-substring (get-arg 2) 11)|{{TScope/ex-map-3|2}}}}|inner}}</code> instead of <code>2=one</code>.
== static ==
This function returns the name of the template containing the invocation of the module; in contrast to magic word <nowiki>{{PAGENAME}}</nowiki>, which returns the name of the page being displayed. For example, if page Quux is viewed, and contains a call to Template:Bar, which contains a call to Template:Foo, which invokes this function and also calls magic word <nowiki>{{PAGENAME}}</nowiki>, the call to the magic word returns <code>Quux</code> while the invocation returns <code>Template:Foo</code>.
== echo ==
This function returns, in general, two wikitables giving first the names and values of all parameters passed to the invocation of the module, then the names and values of all parameters passed to the template containing the invocation of the module. If the invocation is given no parameters beyond the name of the function, that wikitable is omitted.
<includeonly>
[[Category:Dialog required support templates]]<!-- e.g. Template:Dialog/view, Template:Dialog/edit -->
</includeonly>
r2o6ncqdzbe66nwt76snxayjjz5svkc
ਫਰਮਾ:Wikibooks other
10
3043
5756
2023-04-13T03:24:23Z
Kuldeepburjbhalaike
1880
"{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{ns:Project}} | wikibooks | other }} }} | project | wikibooks = {{{1|}}} | other | #default = {{{2|}}} }}<!--End switch--><noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#switch:
<!--If no or empty "demospace" parameter then detect namespace-->
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{#ifeq:{{NAMESPACE}}|{{ns:Project}}
| wikibooks
| other
}}
}}
| project
| wikibooks = {{{1|}}}
| other
| #default = {{{2|}}}
}}<!--End switch--><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
k6serayx5ifsxk6hxv6kmk59x1wn3te
ਫਰਮਾ:Wikibooks other/doc
10
3044
5757
2023-04-13T03:25:01Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|wikibooks other}} meta-template. This template helps other templates detect if they are on a "Wikibooks:" page or some "other" type of page. === Usage === This template usually takes two parameters, like this: <pre> {{wikibooks other | Wikibooks page text | Other pages text }} </pre> If the template is on a "Wikibooks:" page, it..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|wikibooks other}} meta-template.
This template helps other templates detect if they are on a "Wikibooks:" page or some "other" type of page.
=== Usage ===
This template usually takes two parameters, like this:
<pre>
{{wikibooks other | Wikibooks page text | Other pages text }}
</pre>
If the template is on a "Wikibooks:" page, it will return this:
:{{wikibooks other | demospace=wikibooks| Wikibooks page text | Other pages text }}
If the template is on any other page, it will return this:
:{{wikibooks other | Wikibooks page text | Other pages text }}
A typical usage case could be to make it so that a template only adds a category when on "Wikibooks:" pages. Thus not adding other pages that just show the template. Like this:
<pre>
{{wikibooks other | [[Category:Some Wikibooks project category]] }}
</pre>
Or to warn that a template should not be used on other pages:
<pre>
{{wikibooks other | | This template should only be used on "Wikibooks:" pages. }}
</pre>
Note that in the first case above the "other" parameter was not used, and in the second example the "wikibooks" parameter was left empty.
=== Demospace ===
For testing and demonstration purposes this template can take a parameter named '''demospace'''.
* If it has the value '''wikibooks''' it returns the Wikibooks page text.
* It if has the value '''other''' or any other value such as the name of some other namespace it returns the other pages text.
* If the parameter is empty or undefined, the actual page type determines the result.
Like this:
<pre>
{{wikibooks other
| Wikibooks page text
| Other pages text
| demospace = wikibooks
}}
</pre>
No matter on what kind of page the code above is used it will return this:
:{{wikibooks other
| Wikibooks page text
| Other pages text
| demospace = wikibooks
}}
You can make it so your template also understands the '''demospace''' parameter. That means you can demonstrate the different appearances of your template in the documentation for your template. Then do like this:
<pre>
{{wikibooks other
| Wikibooks page text
| Other pages text
| demospace = {{{demospace|}}}
}}
</pre>
=== Technical details ===
This template detects "Wikibooks talk:" pages as type '''other'''.
This template works like {{tl|main talk other}}; for more examples and technical details see full documentation there.
__NOTOC__
=== See also ===
{{namespace detect see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Namespace manipulation templates|{{PAGENAME}}]]
[[Category:Wikibooks namespace templates|{{PAGENAME}}]]
</includeonly>
7rg49liqbrpslguktwfswsenj3xxgwf
ਫਰਮਾ:Namespace detect see also
10
3045
5758
2023-04-13T03:25:42Z
Kuldeepburjbhalaike
1880
"Easy to use namespace-detection templates: * {{tl|main other}} – For book page templates. * {{tl|talk other}} – For talk page templates. * {{tl|user other}} – For user page templates. * {{tl|wikibooks other}} – For project page templates. * {{tl|subject other}} - For subject page templates. * {{tl|file other}} – For file (image) templates. * {{tl|template other}} – For detecting template pages. * {{tl|help other}} – For help page te..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
Easy to use namespace-detection templates:
* {{tl|main other}} – For book page templates.
* {{tl|talk other}} – For talk page templates.
* {{tl|user other}} – For user page templates.
* {{tl|wikibooks other}} – For project page templates.
* {{tl|subject other}} - For subject page templates.
* {{tl|file other}} – For file (image) templates.
* {{tl|template other}} – For detecting template pages.
* {{tl|help other}} – For help page templates.
* {{tl|category other}} – For category templates.
* {{tl|wikijunior other}} – For Wikijunior templates.
* {{tl|cookbook other}} – For Cookbook templates.
More complex namespace-detection templates:
* {{tl|namespace detect}} – The very versatile one.
* {{tl|namespace detect showall}} – The extremely versatile one; has input reuse.
* {{tl|talkspace detect}} - For detecting talk pages on various namespaces.
* {{tl|main talk other}} – Separates some namespaces.
Pagename-handling and detection templates:
* {{tl|basepage subpage}} – For detecting if on a basepage, subpage, or subsubpage.
* {{tl|if pagename}} – For pattern matching on the pagename.
* {{tl|IP-user other}} – For detecting IP-user pages.<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
ed8zn5wtdv37wn847q06g7rxr0v2nn5
ਫਰਮਾ:Namespace detect see also/doc
10
3046
5759
2023-04-13T03:26:28Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|namespace detect see also}} template. It is used in the "See also" section of the documentation of the namespace-detection templates. It takes no parameters. If you update this template, then you should probably also update {{tl|pagename detect see also}}. That template holds almost the same list of templates, but with the pagenam..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|namespace detect see also}} template.
It is used in the "See also" section of the documentation of the namespace-detection templates. It takes no parameters.
If you update this template, then you should probably also update {{tl|pagename detect see also}}. That template holds almost the same list of templates, but with the pagename-detection templates at the top.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template namespace templates|{{PAGENAME}}]]
</includeonly>
gf8vo4lha9rej79zl3y4da3sjdcw336
ਫਰਮਾ:Pagename detect see also
10
3047
5760
2023-04-13T03:26:59Z
Kuldeepburjbhalaike
1880
"Pagename-handling and detection templates: * {{tl|basepage subpage}} – For detecting if on a basepage, subpage, or subsubpage. * {{tl|if pagename}} – For pattern matching on the pagename. * {{tl|IP-user other}} – For detecting IP-user pages. Easy to use namespace-detection templates: * {{tl|main other}} – For book page templates. * {{tl|talk other}} – For talk page templates. * {{tl|user other}} – For user page templates. * {{tl|wik..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
Pagename-handling and detection templates:
* {{tl|basepage subpage}} – For detecting if on a basepage, subpage, or subsubpage.
* {{tl|if pagename}} – For pattern matching on the pagename.
* {{tl|IP-user other}} – For detecting IP-user pages.
Easy to use namespace-detection templates:
* {{tl|main other}} – For book page templates.
* {{tl|talk other}} – For talk page templates.
* {{tl|user other}} – For user page templates.
* {{tl|wikibooks other}} – For project page templates.
* {{tl|subject other}} - For subject page templates.
* {{tl|file other}} – For file (image) templates.
* {{tl|template other}} – For detecting template pages.
* {{tl|help other}} – For help page templates.
* {{tl|category other}} – For category templates.
* {{tl|wikijunior other}} – For Wikijunior templates.
* {{tl|cookbook other}} – For Cookbook templates.
More complex namespace-detection templates:
* {{tl|namespace detect}} – The very versatile one.
* {{tl|namespace detect showall}} – The extremely versatile one; has input reuse.
* {{tl|talkspace detect}} - For detecting talk pages on various namespaces.
* {{tl|main talk other}} – Separates some namespaces.<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
c9pjt0ushycrj0uf42hruiktj9ypgnm
ਫਰਮਾ:Pagename detect see also/doc
10
3048
5761
2023-04-13T03:27:39Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|pagename detect see also}} template. It is used in the "See also" section of the documentation of the pagename-detection templates. It takes no parameters. If you update this template, then you should probably also update {{tl|namespace detect see also}}. That template holds almost the same list of templates, but with the namespac..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|pagename detect see also}} template.
It is used in the "See also" section of the documentation of the pagename-detection templates. It takes no parameters.
If you update this template, then you should probably also update {{tl|namespace detect see also}}. That template holds almost the same list of templates, but with the namespace-detection templates at the top.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template namespace templates|{{PAGENAME}}]]
</includeonly>
76e8g2edm1ugy0jrzh5kubokqyg5346
ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਲਈ ਰੇਖਾ-ਗਣਿਤ/ਰੇਖਾਵਾਂ
0
3049
5765
5764
2023-04-13T11:05:21Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
{{Navigate|Prev=ਬਿੰਦੂ|Curr=ਰੇਖਾਵਾਂ|Next=ਕੋਣ}}
==ਰੇਖਾਵਾਂ==
ਇੱਕ ਰੇਖਾ ਜਾਂ ਲਾਈਨ (Line) ਅਨੰਤ ਬਿੰਦੂਆਂ (ਇੱਕ ਕਤਾਰ ਵਿੱਚ) ਦਾ ਸਮੂਹ ਹੁੰਦੀ ਹੈ, ਜਿਸਦੀ ਅਨਿਸ਼ਚਿਤ ਲੰਬਾਈ ਹੁੰਦੀ ਹੈ ਪਰ ਕੋਈ ਮੋਟਾਈ ਨਹੀਂ ਹੁੰਦੀ। ਇਸਨੂੰ ਦੋਨਾਂ ਦਿਸ਼ਾਵਾਂ ਵਿੱਚ ਅਨੰਤ ਰੂਪ ਵਿੱਚ ਵਧਾਇਆ ਜਾ ਸਕਦਾ ਹੈ, ਇਸ ਲਈ ਆਮ ਤੌਰ 'ਤੇ ਅਸੀਂ ਰੇਖਾ ਖਿੱਚਦੇ ਹਾਂ ਤਾਂ ਦੋਵਾਂ ਸਿਰਿਆਂ 'ਤੇ ਇੱਕ ਤੀਰ ਲਗਾ ਦਿੰਦੇ ਹਾਂ।
ਕੋਈ ਵੀ ਦੋ ਰੇਖਾਵਾਂ ਸਿਰਫ਼ ਇੱਕ ਬਿੰਦੂ 'ਤੇ ਹੀ ਕੱਟ ਸਕਦੀਆਂ ਹਨ। ਰੇਖਾਵਾਂ ਜੋ ਇੱਕੋ ਸਮਤਲ 'ਤੇ ਹੁੰਦੀਆਂ ਹਨ, 'ਕੋਪਲਾਨਰ' ਹੁੰਦੀਆਂ ਹਨ।
[[File:Geom lines lines 01.png|300px|center]]
[[File:Geom lines lines 02.png|300px|center]]
==ਰੇਖਾ ਖੰਡ==
bnz6kjdvx113gopy0t32wdp0sf0q02f
ਮੌਡਿਊਲ:FreedImg
828
3050
5766
2023-04-22T03:30:15Z
Kuldeepburjbhalaike
1880
"-- This is an module to implement FreedImg -- Argument to the functions are as described on [[Template:FI]] and [[Template:FIS]]. -- -- 2021-01-13: Implementation copying original FI and FIS templates, but with -- added max-width handing to reduce image sizes for very large images -- 2021-01-16: Removed complex HTML and reduce complexity -- 2021-01-21: Further reduce complexity of captions and allow captions to contain --..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
-- This is an module to implement FreedImg
-- Argument to the functions are as described on [[Template:FI]] and [[Template:FIS]].
--
-- 2021-01-13: Implementation copying original FI and FIS templates, but with
-- added max-width handing to reduce image sizes for very large images
-- 2021-01-16: Removed complex HTML and reduce complexity
-- 2021-01-21: Further reduce complexity of captions and allow captions to contain
-- divs (e.g. centered text)
-- 2021-06-03 Handle blank and missing images
local p = {} --p stands for package
local getArgs = require('Module:Arguments').getArgs
-- this is a limit on the max default image size to avoid multi-MB full-size images
-- being loaded. if the image is smaller than this, it is loaded at full resolution
local max_image_size = 1000
-- this is a nominal "max" screen size used when computing the maximum size of an
-- image with a width in percent. For example, on a 2048px screen, an image at
-- 10% will be 204px at most, so there's no point loading a 1000px image.
local max_screen_size = 2048
function arg_or_nil(args, name)
if args[name] ~= nil and args[name] ~= "" then
return args[name]
end
return nil
end
-- add to a table if the variable is not nil or empty
function add_if(t, key, var)
if var ~= nil and var ~= "" then
t[key] = var
end
end
-- append a CSS style to a table so we can use mw.html:css on it
function add_style_to_table(t, s)
if s == nil or s == "" then
return
end
for rule in string.gmatch(s, "([^;]+)") do
local idx, _
idx, _ = string.find(rule, ":")
if idx then
t[string.sub(rule, 0, idx - 1)] = string.sub(rule, idx + 1)
end
end
end
function construct_image_markup(img_name, args)
-- get the image info
-- NOTE: we will use the file attribute, this is an expensive function
local img_title = mw.title.makeTitle("File", img_name)
if not img_title.file.exists then
error("The specified image (" .. img_name .. ") does not exist")
end
local img_width_px
if arg_or_nil(args, "imgwidth") then
-- the user told us what they want
img_width_px = string.gsub(args['imgwidth'], "px", "")
elseif arg_or_nil(args, "width") then
-- if the width parameter is in px or %, use that to get the image as the
-- image is at most the size of the container
local arg_px_width = string.match(args["width"], '(%d+)px$')
local arg_pc_width = string.match(args["width"], '(%d+)%%$')
if arg_px_width then
-- use what the parameter said
img_width_px = arg_px_width
elseif arg_pc_width then
-- use a nominal huge screen and find the image size upper bound
img_width_px = math.floor((max_screen_size * tonumber(arg_pc_width)) / 100)
-- still limit to the max size as well
img_width_px = math.min(max_image_size, img_width_px)
end
end
if img_width_px == nil then
-- use the default size, or the image size, whichever is smaller
img_width_px = math.min(img_title.file["width"], max_image_size)
end
-- construct the image markup we will use
local img_markup = "[[File:" .. img_name .. "|" .. img_width_px .. "px"
if arg_or_nil(args, "alt") then
img_markup = img_markup .. "|alt=" .. args["alt"]
end
if arg_or_nil(args, "link") then
img_markup = img_markup .. "|link=" .. args["link"]
end
if arg_or_nil(args, "page") then
img_markup = img_markup .. "|page=" .. args["page"]
end
img_markup = img_markup .. "|class=freedImg"
if args["imgclass"] then
img_markup = img_markup .. " " .. args["imgclass"]
end
img_markup = img_markup .. "]]"
return img_markup
end
function construct_caption(parent, is_div, args)
local tag = is_div and "div" or "span"
local pstyle = {}
add_if(pstyle, "text-align", args["talign"])
add_if(pstyle, "margin-right", args["tmright"])
add_if(pstyle, "margin-left", args["tmleft"])
add_if(pstyle, "text-indent", args["indent"])
add_style_to_table(pstyle, arg_or_nil(args, "tstyle"))
local para = parent:tag(tag)
para:css(pstyle):addClass("imgCaption"):wikitext(args["caption"])
return para
end
function freedImg(is_div, args)
local cats = {}
local img_markup
-- construct the image markup we will use
if args['type'] == "math" or args['type'] == "score" or args['type'] == "user" then
-- math, score and user just place the markup directly
img_markup = args["file"]
elseif args.file == nil then
error("The file parameter must be given (use \"missing\" if the image needs to be added later)")
elseif args.file == "missing" then
img_markup = mw.html.create("span")
:addClass("wst-freedimg-missing")
:wikitext('An image should appear at this position in the text.')
img_markup = tostring(img_markup)
table.insert(cats, "Pages with missing images")
else
img_markup = construct_image_markup(args["file"], args)
end
local outer_tag = is_div and "div" or "span"
local caption_tag = is_div and "p" or "span"
local outer_div_class = {"freedImg"}
if arg_or_nil(args, "cclass") then
table.insert(outer_div_class, args["cclass"])
end
local outer_div_style = {}
add_if(outer_div_style, "width", args["width"])
add_if(outer_div_style, "margin-right", args["margin-right"])
add_if(outer_div_style, "margin-left", args["margin-left"])
add_if(outer_div_style, "float", args["float"])
add_if(outer_div_style, "clear", args["clear"])
if not is_div then
outer_div_style["display"] = "inline-block"
end
add_style_to_table(outer_div_style, args["cstyle"])
outer = mw.html.create(outer_tag)
outer:addClass(table.concat(outer_div_class, " "))
:css(outer_div_style)
outer:wikitext(img_markup)
-- add the caption, if there is one, to the outer div
if arg_or_nil(args, 'caption') then
construct_caption(outer, is_div, args)
end
outer = tostring(outer)
for k, v in pairs(cats) do
outer = outer .. "[[Category:" .. v .. "]]"
end
return outer
end -- function freedimg
--[=[
Construct a "block" FreedImg
]=]
function p.freedImg(frame)
local args = getArgs(frame)
return freedImg(true, args)
end
--[=[
Construct an "inline" FreedImg
]=]
function p.freedImg_span(frame)
local args = getArgs(frame)
return freedImg(false, args)
end
return p
ggkzvl9p1bl229f700cjvlkbyu3ev6b
ਮੌਡਿਊਲ:Interlinear/data
828
3051
5767
2023-04-22T03:31:30Z
Kuldeepburjbhalaike
1880
"--[[The table here is traversed by the function that expands glossing abbreviations. If the abbreviation isn't found in this list and it begins with an "N" then the function will discard the "N" and search again, returning the result prefixed with "non-" (ex. "NFUT" is not found, so it will search for "FUT" and return "non-future"). A few abbreviations are exempt from this behaviour and they're marked by the ExcludeNegation key.]]-- local abbrevia..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
--[[The table here is traversed by the function that expands glossing abbreviations.
If the abbreviation isn't found in this list and it begins with an "N" then the function
will discard the "N" and search again, returning the result prefixed with "non-" (ex. "NFUT"
is not found, so it will search for "FUT" and return "non-future"). A few abbreviations
are exempt from this behaviour and they're marked by the ExcludeNegation key.]]--
local abbreviations = {
["0"] = {expansion = "", wikipage = ""},
["1"] = {expansion = "first person", wikipage = "Grammatical person"},
["2"] = {expansion = "second person", wikipage = "Grammatical person"},
["3"] = {expansion = "third person", wikipage = "grammatical person"},
["3OBV"] = {expansion = "third person obviative", wikipage = "Obviative"},
["A"] = {expansion = "agent-like argument of canonical transitive verb", wikipage = "A (glossing abbreviation)", ExcludeNegation = true},
["ABE"] = {expansion = "abessive case ('without')", wikipage = "abessive case"},
["ABL"] = {expansion = "ablative case", wikipage = "ablative case"},
["ABS"] = {expansion = "absolutive case", wikipage = "absolutive case"},
["ACC"] = {expansion = "accusative case", wikipage = "accusative case"},
["ACCOM"] = {expansion = "accompanier", wikipage = ""},
["ACT"] = {expansion = "active/actor", wikipage = "active voice", ambiguous = true},
["ADJ"] = {expansion = "adjective", wikipage = "adjective"},
["ADE"] = {expansion = "adessive case", wikipage = "adessive case"},
["ADM"] = {expansion = "admonitive mood (warning)", wikipage = "admonitive mood"},
["ADV"] = {expansion = "adverb(ial)", wikipage = "adverbial", ambiguous = true},
["AFF"] = {expansion = "affirmative", wikipage = "affirmative (linguistics)"},
["AG"] = {expansion = "agentive case", wikipage = "agent (grammar)"},
["AGT"] = {expansion = "agentive case", wikipage = "agentive case"},
["AGR"] = {expansion = "agreement", wikipage = "agreement (grammar)"},
["ALL"] = {expansion = "allative case ('to')", wikipage = "allative case"},
["AL"] = {expansion = "allocutive agreement", wikipage = "allocutive agreement"},
["ALLOC"] = {expansion = "allocutive agreement", wikipage = "allocutive agreement"},
["ALIEN"] = {expansion = "alienable possession", wikipage = "alienable possession"},
["AN"] = {expansion = "animate", wikipage = "animacy"},
["ANAPH"] = {expansion = "anaphora/anaphoric", wikipage = "Anaphora (linguistics)"},
["AND"] = {expansion = "andative ('going towards')", wikipage = "andative"},
["ANIM"] = {expansion = "animate", wikipage = "animacy"},
["ANT"] = {expansion = "anterior tense", wikipage = "anterior tense"},
["ANTE"] = {expansion = "antessive case ('before')", wikipage = "antessive case"},
["ANTIC"] = {expansion = "anticausative", wikipage = "anticausative"},
["ANTIP"] = {expansion = "antipassive voice", wikipage = "antipassive voice"},
["AP"] = {expansion = "antipassive voice", wikipage = "antipassive voice"},
["AOR"] = {expansion = "aorist", wikipage = "aorist"},
["APP"] = {expansion = "apposition", wikipage = "apposition"},
["APL"] = {expansion = "applicative voice", wikipage = "applicative voice"},
["APPL"] = {expansion = "applicative voice", wikipage = "applicative voice"},
["APPR"] = {expansion = "apprehensive mood", wikipage = "apprehensive mood"},
["APRX"] = {expansion = "approximative", wikipage = "approximative"},
["ART"] = {expansion = "article", wikipage = "article (grammar)"},
["ASP"] = {expansion = "aspect", wikipage = "aspect (grammar)"},
["ASS"] = {expansion = "associative case", wikipage = "associative case", ambiguous = true},
["AT"] = {expansion = "agent trigger", wikipage = "austronesian alignment"},
["ATTR"] = {expansion = "attributive", wikipage = "Attributive"},
["ATT"] = {expansion = "attenuative", wikipage = "attenuative", ambiguous = true},
["AUD"] = {expansion = "auditory evidential", wikipage = "evidentiality"},
["AUG"] = {expansion = "augmentative", wikipage = "augmentative"},
["AUX"] = {expansion = "auxiliary verb", wikipage = "auxiliary verb"},
["AV"] = {expansion = "agent voice", wikipage = "agent voice"},
["B"] = {expansion = "core benefactive", wikipage = "benefactive case"},
["BE"] = {expansion = "'be' verb", wikipage = "be verb"},
["BEN"] = {expansion = "benefactive case ('for')", wikipage = "benefactive case"},
["C"] = {expansion = "common gender", wikipage = "common gender", ambiguous = true},
["CAP"] = {expansion = "capability", wikipage = ""},
["CAU"] = {expansion = "causative", wikipage = "causative"},
["CAUS"] = {expansion = "causative", wikipage = "causative"},
["CENT"] = {expansion = "centric case", wikipage = "centric case"},
["CF"] = {expansion = "counterfactual conditional", wikipage = "counterfactual conditional"},
["CIRC"] = {expansion = "circumfix", wikipage = "circumfix"},
["CIT"] = {expansion = "citation form", wikipage = "citation form"},
["CL"] = {expansion = "classifier", wikipage = "classifier (linguistics)"},
["CLF"] = {expansion = "classifier", wikipage = "classifier (linguistics)"},
["CNJ"] = {expansion = "conjunction", wikipage = "conjunction (grammar)"},
["CNSQ"] = {expansion = "consequential mood", wikipage = "consequential mood"},
["COL"] = {expansion = "collective number", wikipage = "collective number"},
["COM"] = {expansion = "comitative case ('together with')", wikipage = "comitative case"},
["COMP"] = {expansion = "comparative", wikipage = "comparative", ambiguous = true},
["COMPL"] = {expansion = "completive aspect", wikipage = "completive aspect"},
["CPL"] = {expansion = "completive aspect", wikipage = "completive aspect"},
["CONC"] = {expansion = "concessive", wikipage = "concessive"},
["COND"] = {expansion = "conditional mood", wikipage = "conditional mood"},
["CONJ"] = {expansion = "conjunction", wikipage = "conjunction (grammar)"},
["CONN"] = {expansion = "connective", wikipage = "connective particle"},
["CONT"] = {expansion = "continuous aspect", wikipage = "continuous aspect", ambiguous = true},
["CTN"] = {expansion = "continuous aspect", wikipage = "continuous aspect", ambiguous = true},
["CNTR"] = {expansion = "contrastive", wikipage = "contrast (linguistics)"},
["COP"] = {expansion = "copula", wikipage = "copula (linguistics)"},
["COR"] = {expansion = "coreference", wikipage = "coreference"},
["CRAS"] = {expansion = "crastinal tense ('tomorrow')", wikipage = "crastinal tense"},
["CRS"] = {expansion = "current relevance marker", wikipage = "current relevance (grammar)"},
["CVB"] = {expansion = "converb", wikipage = "converb"},
["D"] = {expansion = "core dative case", wikipage = "dative case"},
["DAT"] = {expansion = "dative case", wikipage = "dative case"},
["DE"] = {expansion = "different event", wikipage = ""},
["DEC"] = {expansion = "declarative mood", wikipage = "declarative mood"},
["DECL"] = {expansion = "declarative mood", wikipage = "declarative mood"},
["DEF"] = {expansion = "definite", wikipage = "definite"},
["DEI"] = {expansion = "deictic", wikipage = "deictic"},
["DEIX"] = {expansion = "deictic", wikipage = "deictic"},
["DEL"] = {expansion = "delative case ('off of')", wikipage = "delative case", ambiguous = true},
["DEM"] = {expansion = "demonstrative", wikipage = "demonstrative"},
["DEO"] = {expansion = "deontic mood", wikipage = "deontic mood"},
["DEP"] = {expansion = "dependent", wikipage = ""},
["DES"] = {expansion = "desiderative mood", wikipage = "desiderative mood"},
["DESI"] = {expansion = "desiderative mood", wikipage = "desiderative mood"},
["DEST"] = {expansion = "destinative aspect", wikipage = "destinative aspect"},
["DET"] = {expansion = "determiner", wikipage = "determiner"},
["DETR"] = {expansion = "detransitive", wikipage = "detransitive"},
["DH"] = {expansion = "motion downhill, seaward", wikipage = ""},
["DIM"] = {expansion = "diminutive", wikipage = "diminutive"},
["DIR"] = { ambiguous = true}, --direct case? direct speech? directional?
["DISJ"] = {expansion = "disjunction", wikipage = "disjunction"},
["DIST"] = {expansion = "distal", wikipage = "distal demonstrative"},
["DISTR"] = {expansion = "distributive case", wikipage = "distributive case"},
["DITR"] = {expansion = "ditransitive", wikipage = "ditransitive"},
["DLM"] = {expansion = "delimited", wikipage = ""},
["DM"] = {expansion = "discourse marker", wikipage = "discourse marker"},
["DO"] = {expansion = "direct object", wikipage = "direct object"},
["DR"] = {expansion = "motion downriver", wikipage = ""},
["DS"] = {expansion = "different-subject", wikipage = "switch-reference"},
["DU"] = {expansion = "dual number", wikipage = "Dual (grammatical number)"},
["DUB"] = {expansion = "dubitative mood", wikipage = "dubitative mood"},
["DUR"] = {expansion = "durative aspect", wikipage = "durative aspect"},
["DY"] = {expansion = "dyadic", wikipage = "dyadic kinship term"},
["DYAD"] = {expansion = "dyadic", wikipage = "dyadic kinship term"},
["DYN"] = {expansion = "dynamic aspect", wikipage = "dynamic aspect"},
["E"] = {expansion = "epenthetic morpheme", wikipage = "epenthesis"},
["ELA"] = {expansion = "elative case ('out of')", wikipage = "elative case"},
["EMP"] = {expansion = "emphatic", wikipage = ""},
["EMPH"] = {expansion = "emphatic", wikipage = ""},
["EPIS"] = {expansion = "epistemic mood/modality", wikipage = "epistemic modality"},
["ERG"] = {expansion = "ergative case", wikipage = "ergative case"},
["ESS"] = {expansion = "essive case", wikipage = "essive case"},
["EV"] = {expansion = "evidential", wikipage = "evidential"},
["EVID"] = {expansion = "evidential", wikipage = "evidential"},
["EVIT"] = {expansion = "evitative case", wikipage = "evitative case"},
["EX"] = {expansion = "exclusive person", wikipage = "clusivity"},
["EXCL"] = {expansion = "exclusive person", wikipage = "clusivity"},
["EXCLAM"] = {expansion = "exclamative", wikipage = "exclamative"},
["EXESS"] = {expansion = "exessive case", wikipage = "exessive case"},
["EXH"] = {expansion = "exhortative", wikipage = "exhortative"},
["EXIST"] = {expansion = "existential ('there is')", wikipage = "existential clause"},
["EXO"] = {expansion = "exocentric", wikipage = "exocentric case"},
["EXP"] = {expansion = "experiential, or experiencer", wikipage = "", ambiguous = true}, --experiental evidential, experiential aspect, experiencer
--["EXPER"] = {expansion = "experiential evidential", wikipage = "evidentiality"},
["EXPL"] = {expansion = "expletive/dummy", wikipage = "Syntactic expletive"},
["F"] = {expansion = "feminine gender", wikipage = "feminine gender"},
["FEM"] = {expansion = "feminine gender", wikipage = "feminine gender"},
["FACT"] = {expansion = "factive evidential", wikipage = "evidentiality"},
["FAM"] = {expansion = "familiar register", wikipage = ""},
["FIN"] = {expansion = "finite", wikipage = "finite verb"},
["FOC"] = {expansion = "focus", wikipage = "focus (grammar)"},
["FORM"] = {expansion = "formal register", wikipage = ""},
["FP"] = {expansion = "final particle", wikipage = ""},
["FR"] = {expansion = "frequentative", wikipage = "frequentative"},
["FREQ"] = {expansion = "frequentative", wikipage = "frequentative"},
["FMR"] = {expansion = "former, deceased", wikipage = ""},
["FPL"] = {expansion = "feminine plural", wikipage = ""},
["FSG"] = {expansion = "feminine singular", wikipage = ""},
["FUT"] = {expansion = "future tense", wikipage = "future tense"},
["GEN"] = {expansion = "genitive case", wikipage = "genitive case"},
["GER"] = {expansion = "gerund", wikipage = "gerund"},
["GNO"] = {expansion = "gnomic", wikipage = "Gnomic aspect"},
["GT"] = {expansion = "goal trigger", wikipage = "austronesian alignment"},
["HAB"] = {expansion = "habitual aspect", wikipage = "habitual aspect"},
["HBL"] = {expansion = "humble register", wikipage = ""},
["HEST"] = {expansion = "hesternal tense ('yesterday')", wikipage = "hesternal tense"},
["HIST"] = {expansion = "hitorical", wikipage = ""},
["HOD"] = {expansion = "hodiernal tense ('today')", wikipage = "hodiernal tense"},
["HON"] = {expansion = "honorific", wikipage = "honorifics (linguistics)"},
["HORT"] = {expansion = "hortative", wikipage = "hortative"},
["HSY"] = {expansion = "hearsay", wikipage = ""},
["HUM"] = {expansion = "human/anthropic gender", wikipage = "", ambiguous = true},
["HYP"] = {expansion = "hypothetical mood", wikipage = "hypothetical mood"},
["I"] = {expansion = "", wikipage = "", ambiguous = true}, -- "inflected" or "class I"?
["ID"] = {expansion = "identical", wikipage = ""},
["IDENTIF"] = {expansion = "identifiable", wikipage = ""},
["IDEO"] = {expansion = "ideophone", wikipage = "ideophone"},
["IGNOR"] = {expansion = "ignorative", wikipage = "ignorative"},
["II"] = {expansion = "class II", wikipage = "Noun class"},
["III"] = {expansion = "class III", wikipage = "Noun class"},
["ILL"] = {expansion = "illative case ('into')", wikipage = "illative case"},
["IMM"] = {expansion = "immediate", wikipage = ""},
["IMP"] = {expansion = "imperative mood", wikipage = "imperative mood"},
["IMPERF"] = {expansion = "imperfect", wikipage = "imperfect"},
["IMPR"] = {expansion = "imprecative mood", wikipage = "imprecative mood"},
["IMPREC"] = {expansion = "imprecative mood", wikipage = "imprecative mood"},
["IMPRS"] = {expansion = "impersonal", wikipage = "impersonal"},
["IN"] = {expansion = "inclusive person", wikipage = "clusivity"},
["INCL"] = {expansion = "inclusive person", wikipage = "clusivity"},
["INAL"] = {expansion = "inalienable possession", wikipage = "inalienable possession"},
["INAN"] = {expansion = "inanimate gender", wikipage = "inanimate gender"},
["INCH"] = {expansion = "inchoative aspect", wikipage = "inchoative aspect"},
["INCHO"] = {expansion = "inchoative aspect", wikipage = "inchoative aspect"},
["INCEP"] = {expansion = "inceptive aspect", wikipage = "inceptive aspect"},
["INCL"] = {expansion = "inclusive person", wikipage = "clusivity"},
["IND"] = {expansion = "indicative mood", wikipage = "indicative mood"},
["INDF"] = {expansion = "indefinite", wikipage = "definiteness"},
["INDEF"] = {expansion = "indefinite", wikipage = "definiteness"},
["INE"] = {expansion = "inessive case ('in')", wikipage = "inessive case"},
["INF"] = {expansion = "infinitive", wikipage = "infinitive"},
["INFER"] = {expansion = "inferential", wikipage = "inferential mood"},
["INFR"] = {expansion = "inferential", wikipage = "inferential mood"},
["INEL"] = {expansion = "inelative case ('from within')", wikipage = "inelative case"},
["INS"] = {expansion = "instrument(al)", wikipage = ""}, --instrument, instrumental case, instrumental marking on verb?
["INST"] = {expansion = "instrument(al)", wikipage = ""},
["INSTR"] = {expansion = "instrument(al)", wikipage = ""},
["INT"] = {expansion = "intensifier", wikipage = "intensifier", ambiguous = true},
["INTEN"] = {expansion = "intentional", wikipage = ""},
["INTERR"] = {expansion = "interrogative", wikipage = "interrogative"},
["INTR"] = {expansion = "intransitive", wikipage = "intransitive", ambiguous = true},
["NTR"] = {expansion = "intransitive", wikipage = "intransitive", ambiguous = true},
["INV"] = {expansion = "inverse", wikipage = "inversion (linguistics)"},
["IO"] = {expansion = "indirect object", wikipage = "indirect object"},
["IPFV"] = {expansion = "imperfective aspect", wikipage = "imperfective aspect"},
["IRR"] = {expansion = "irrealis mood", wikipage = "irrealis mood"},
["IS"] = {expansion = "indirect speech", wikipage = "indirect speech"},
["IT"] = {expansion = "instrument trigger", wikipage = "Austronesian alignment"},
["ITER"] = {expansion = "iterative aspect", wikipage = "iterative aspect"},
["IV"] = {expansion = "class IV", wikipage = "Noun class"},
["IX"] = {expansion = "class IX", wikipage = "Noun class"},
["JUS"] = {expansion = "jussive mood", wikipage = "jussive mood"},
["L2"] = {expansion = "second language", wikipage = ""},
["LAT"] = {expansion = "lative case", wikipage = "lative case"},
["LD"] = {expansion = "locative case + directional", wikipage = ""},
["LK"] = {expansion = "linker", wikipage = ""},
["LOC"] = {expansion = "locative case", wikipage = "locative case"},
["LOG"] = {expansion = "logophoric", wikipage = "logophoric"},
["LT"] = {expansion = "locative trigger", wikipage = "Austronesian alignment"},
["M"] = {expansion = "masculine gender", wikipage = "masculine gender"},
["MASC"] = {expansion = "masculine gender", wikipage = "masculine gender"},
["MAN"] = {expansion = "manner", wikipage = ""},
["MID"] = {expansion = "middle voice", wikipage = "middle voice"},
["MIM"] = {expansion = "mimetic", wikipage = "Linguistic mimesis"},
["MIR"] = {expansion = "mirative", wikipage = "mirative"},
["MLT"] = {expansion = "multiplicative case", wikipage = "multiplicative case"},
["MLTP"] = {expansion = "multiplicative case", wikipage = "multiplicative case"},
["MOD"] = {expansion = "mood/modal(ity)", wikipage = "Linguistic modality", ambiguous = true},
["MOM"] = {expansion = "single action verb", wikipage = ""},
["MPL"] = {expansion = "masculine plural", wikipage = ""},
["MSG"] = {expansion = "masculine singular", wikipage = ""},
["MVMT"] = {expansion = "movement", wikipage = ""},
["MVT"] = {expansion = "movement", wikipage = ""},
["N"] = {expansion = "neuter gender", wikipage = "neuter gender"},
["NEUT"] = {expansion = "neuter gender", wikipage = "neuter gender"},
["NEG"] = {expansion = "negation/negative", wikipage = "Negative (linguistics)"},
["NF"] = {expansion = "non-finite", wikipage = "nonfinite verb"},
["NH"] = {expansion = "non-human", wikipage = "grammatical gender"},
["NMLZ"] = {expansion = "nominalizer/nominalization", wikipage = "nominalization"},
["NMZ"] = {expansion = "nominalizer/nominalization", wikipage = "nominalization"},
["NZ"] = {expansion = "nominalizer/nominalization", wikipage = "nominalization"},
["NOMI"] = {expansion = "nominalizer/nominalization", wikipage = "nominalization"},
["NOM"] = {expansion = "nominative case", wikipage = "nominative case"},
["NS"] = {expansion = "non-subject", wikipage = "", ambiguous = true}, --can also mean "neuter, singular"
["NTR"] = {expansion = "intransitive", wikipage = "intransitive (disambiguation)"},
["INTR"] = {expansion = "intransitive", wikipage = "intransitive (disambiguation)"},
["NUM"] = {expansion = "numeral", wikipage = "numeral (linguistics)"},
["O"] = {expansion = "patient-like argument (object) of canonical transitive verb", wikipage = "O (grammar)", ExcludeNegation = true},
["OBJ"] = {expansion = "object(ive)", wikipage = "object (grammar)", ambiguous = true},
["OB"] = {expansion = "object(ive)", wikipage = "object (grammar)", ambiguous = true},
["OBL"] = {expansion = "oblique case", wikipage = "oblique case"},
["OBV"] = {expansion = "obviative", wikipage = "obviative"},
["OPT"] = {expansion = "optative mood", wikipage = "optative mood"},
["P"] = {expansion = "patient-like argument of canonical transitive verb", wikipage = "P (grammar)", ExcludeNegation = true},
["PAS"] = {expansion = "passive voice", wikipage = "passive voice"},
["PASS"] = {expansion = "passive voice", wikipage = "passive voice"},
["PAST"] = {expansion = "past tense", wikipage = "past tense"},
["PAT"] = {expansion = "patient(ive)", wikipage = "Patient (grammar)"},
["PA"] = {expansion = "paucal number", wikipage = "paucal number"},
["PAU"] = {expansion = "paucal number", wikipage = "paucal number"},
["PEG"] = {expansion = "pegative case", wikipage = "pegative case"},
["PER"] = {expansion = "perlative case ('per', 'using')", wikipage = "perlative case"},
["PERF"] = {expansion = "perfect", wikipage = "perfect (grammar)"},
["PRF"] = {expansion = "perfect", wikipage = "perfect (grammar)"},
["PERS"] = {expansion = "personal", wikipage = ""},
["PFV"] = {expansion = "perfective aspect", wikipage = "perfective aspect"},
["PL"] = {expansion = "plural number", wikipage = "plural number"},
["PN"] = {expansion = "pronoun", wikipage = "pronoun"},
["PRO"] = {expansion = "pronoun", wikipage = "pronoun"},
["PO"] = {expansion = "primary object", wikipage = "primary object"},
["POL"] = {expansion = "polite register", wikipage = ""},
["POS"] = {expansion = "possessive marker", wikipage = "possessive"},
["POSS"] = {expansion = "possessive marker", wikipage = "possessive"},
["POST"] = {expansion = "postposition, postpositional case", wikipage = ""},
["POSTE"] = {expansion = "postessive case ('after')", wikipage = "postessive case"},
["POT"] = {expansion = "potential mood", wikipage = "potential mood"},
["PP"] = {expansion = "past/passive participle", wikipage = "participle"},
["PPP"] = {expansion = "past passive participle", wikipage = "past passive participle"},
["PPFV"] = {expansion = "past perfective", wikipage = "past perfective"},
["PR"] = {expansion = "proper noun", wikipage = "proper noun"},
["PRED"] = {expansion = "predicate/predicative", wikipage = "predicate (grammar)"},
["PREC"] = {expansion = "precative mood", wikipage = "precative mood"},
["PREP"] = {expansion = "preposition, prepositional case", wikipage = ""},
["PRESP"] = {expansion = "present participle", wikipage = "present participle"},
["PRET"] = {expansion = "preterite", wikipage = "preterite"},
["PRT"] = {expansion = "preterite", wikipage = "preterite"},
["PRIV"] = {expansion = "privative case", wikipage = "privative case"},
["PRS"] = {expansion = "present tense", wikipage = "present tense"},
["PRES"] = {expansion = "present tense", wikipage = "present tense"},
["PROB"] = {expansion = "probability", wikipage = ""},
["PROG"] = {expansion = "progressive aspect", wikipage = "progressive aspect"},
["PROH"] = {expansion = "prohibitive mood", wikipage = "prohibitive mood"},
["PROL"] = {expansion = "prolative case ('via')", wikipage = "prolative case"},
["PROP"] = {expansion = "propositive mood", wikipage = "propositive mood"},
["PROS"] = {expansion = "prosecutive case", wikipage = "prosecutive case"},
["PROSP"] = {expansion = "prospective aspect", wikipage = "prospective aspect"},
["PRSP"] = {expansion = "prospective aspect", wikipage = "prospective aspect"},
["PROT"] = {expansion = "protasis", wikipage = "protasis (linguistics)"},
["PROX"] = {expansion = "", wikipage = "", ambiguous = true}, --proximal or proximative?
["PST"] = {expansion = "past tense", wikipage = "past tense"},
["PT"] = {expansion = "patient trigger", wikipage = "Austronesian alignment"},
["PTCL"] = {expansion = "particle", wikipage = "particle (grammar)"},
["PTC"] = {expansion = "particle", wikipage = "particle (grammar)"},
["PTCP"] = {expansion = "participle", wikipage = "participle"},
["PCP"] = {expansion = "participle", wikipage = "participle"},
["PTV"] = {expansion = "partitive case ('some of')", wikipage = "partitive case"},
["PURP"] = {expansion = "purposive", wikipage = "Purposive case"},
["PV"] = {expansion = "patient voice", wikipage = "Patient voice"},
["Q"] = {expansion = "question word", wikipage = "question word"},
["QUOT"] = {expansion = "quotative", wikipage = "quotative"},
["R"] = {expansion = "", wikipage = "", ambiguous = true},
["REAL"] = {expansion = "realis mood", wikipage = "realis mood"},
["REC"] = {expansion = "recent past tense", wikipage = "recent past tense"},
["RECP"] = {expansion = "reciprocal voice", wikipage = "reciprocal voice"},
["REDUP"] = {expansion = "reduplication", wikipage = "Reduplication"},
["REF"] = {expansion = "referential", wikipage = "referential"},
["REFL"] = {expansion = "reflexive", wikipage = "reflexive pronoun", ambiguous = true},
["REL"] = {expansion = "relative(izer)", wikipage = "relativizer"},
["REM"] = {expansion = "remote past tense", wikipage = "remote past tense"},
["RES"] = {expansion = "", wikipage = "", ambiguous = true}, -- resultative. resumptive
["RET"] = {expansion = "retrospective", wikipage = "Retrospective (grammar)"},
["RFR"] = {expansion = "referential", wikipage = "referential"},
["S"] = {expansion = "single argument of canonical intransitive verb", wikipage = "S (grammar)"},
["SBJ"] = {expansion = "subject", wikipage = "subject (grammar)"},
["SUB"] = {expansion = "subject", wikipage = "subject (grammar)"},
["SU"] = {expansion = "subject", wikipage = "subject (grammar)"},
["SBJV"] = {expansion = "subjunctive mood", wikipage = "subjunctive mood"},
["SUBJ"] = {expansion = "subject", wikipage = "subject (grammar)"},
["SJV"] = {expansion = "subjunctive mood", wikipage = "subjunctive mood"},
["SE"] = {expansion = "same event", wikipage = ""},
["SEM"] = {expansion = "semelfactive aspect ('once')", wikipage = "semelfactive aspect"},
["SENS"] = {expansion = "sensory evidential", wikipage = "Sensory evidential"},
["SEQ"] = {expansion = "sequential", wikipage = ""},
["SG"] = {expansion = "singular number", wikipage = "Singular number", ExcludeNegation = true},
["SGV"] = {expansion = "singulative number", wikipage = "singulative number"},
["SS"] = {expansion = "same subject", wikipage = "Switch-reference"},
["STAT"] = {expansion = "stative", wikipage = "stative"},
["STV"] = {expansion = "stative", wikipage = "stative"},
["SUBR"] = {expansion = "subordinator", wikipage = "subordination (linguistics)"},
["SUBORD"] = {expansion = "subordinator", wikipage = "subordination (linguistics)"},
["SBRD"] = {expansion = "subordinator", wikipage = "subordination (linguistics)"},
["SR"] = {ambiguous = true}, -- ambiguous between "subordinator" and "switch reference"
["SUBE"] = {expansion = "subessive case ('under')", wikipage = "subessive case"},
["SUBL"] = {expansion = "sublative case ('onto', 'down onto')", wikipage = "sublative case"},
["SUC"] = {expansion = "successive", wikipage = ""},
["SUPE"] = {expansion = "superessive case ('on')", wikipage = "superessive case"},
["TAM"] = {expansion = "tense, aspect, or mood", wikipage = "tense–aspect–mood"},
["TEL"] = {expansion = "telic aspect", wikipage = "telic aspect"},
["TEMP"] = {expansion = "temporal case", wikipage = "temporal case"},
["TERM"] = {expansion = "terminative case", wikipage = "terminative case"},
["TNS"] = {expansion = "tense", wikipage = "Grammatical tense"},
["TOP"] = {expansion = "topic", wikipage = "topic (linguistics)"},
["TR"] = {expansion = "transitive", wikipage = "Transitivity"},
["TRANSL"] = {expansion = "translative case ('becoming')", wikipage = "translative case"},
["TRI"] = {expansion = "trial number", wikipage = "trial number"},
["TRN"] = {expansion = "transnumeral", wikipage = "transnumeral"},
["TVF"] = {expansion = "truth-value focus", wikipage = "truth-value focus"},
["U"] = {ambiguous = true}, -- uninflected, unmarked, undergoer, etc.
["UH"] = {expansion = "motion uphill, inland ", wikipage = ""},
["UND"] = {expansion = "undergoer", wikipage = ""},
["UR"] = {expansion = "motion upriver", wikipage = ""},
["USIT"] = {expansion = "usitative (for usual or typical events)", wikipage = ""},
["V"] = {expansion = "verb(al)", wikipage = ""},
["VB"] = {expansion = "verb(al)", wikipage = ""},
["VBZ"] = {expansion = "verbalizer", wikipage = "verbalizer"},
["VD"] = {expansion = "verb, ditransitive", wikipage = "ditransitive verb"},
["VEN"] = {expansion = "venitive (coming towards)", wikipage = "venitive"},
["VER"] = {expansion = "veridical", wikipage = "veridical", ambiguous = true},
["VIA"] = {expansion = "vialis case", wikipage = "vialis case"},
["VIS"] = {expansion = "visible, visual", wikipage = ""},
["VI"] = {expansion = "verb, intransitive", wikipage = "intransitive verb"},
["VII"] = {expansion = "class VII", wikipage = "Noun class"},
["VIII"] = {expansion = "class VIII", wikipage = "Noun class"},
["VN"] = {expansion = "verbal noun", wikipage = "verbal noun"},
["VOC"] = {expansion = "vocative case", wikipage = "vocative case"},
["VOL"] = {expansion = "volitive mood", wikipage = "volitive mood"},
["VT"] = {expansion = "verb, transitive", wikipage = "transitive verb"},
["WH.Q"] = {expansion = "wh-question", wikipage = "wh-question"},
["ZO"] = {expansion = "zoic gender", wikipage = "zoic gender"},
}
return {abbreviations = abbreviations}
5a5ooeaa2dh2xz769xc2uvtnw0zaajp
ਮੌਡਿਊਲ:Interlinear
828
3052
5768
2023-04-22T03:32:31Z
Kuldeepburjbhalaike
1880
"local p = {} local data = mw.loadData( 'Module:Interlinear/data' ) local gloss_override = {} -- for custom gloss abbreviations local getArgs = require('Module:Arguments').getArgs local yesno = require('Module:Yesno') -------------------------- -- Almost-global variables -------------------------- local glossing_type, displaying_messages, free_translation, msg, buffer ------------------- -- General settings ------------------- local conf = { --se..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
local p = {}
local data = mw.loadData( 'Module:Interlinear/data' )
local gloss_override = {} -- for custom gloss abbreviations
local getArgs = require('Module:Arguments').getArgs
local yesno = require('Module:Yesno')
--------------------------
-- Almost-global variables
--------------------------
local glossing_type, displaying_messages, free_translation, msg, buffer
-------------------
-- General settings
-------------------
local conf = { --settings
WordSeparator = " \n\r\t", -- Don't replace with %s as this would include non-breaking spaces
GlossAbbrPattern = "^([Ø0-9A-Z]+)$", -- this isn't a full regex, but a Lua pattern
-- NOTE: The following characters must be formatted for use in a pattern set.
GlossAbbrBoundary = "-.,;:<>‹›/\\~+=%?%s%[%]()%_\127'",
GlossExcludeTable = {I = true,}, --strings not be treated as glossing abbreviations
GlossExcludePattern = '^[0-9][0-9]+$', -- excludes strings consisting entirely of digits
GlossSmallCapsExclude = "^[AOPS]$", -- glossing abbreviations matching this pattern will not be rendered in small caps
GlossingType = "label", -- if set to "label" gloss abbreviations are formatted as an <abbr> with the "label" appearing in a tooltip
-- if set to "wikilink" the abbreviation is formatted as a wikilink to the relevant wikipedia article
-- if set to "none" abbreviations aren't formatted at all
ErrorCategory = "[[Category:Pages with errors in interlinear text]]",
AmbiguousGlossCategory = "[[Category:Articles with ambiguous glossing abbreviations]]",
MessageGlossingError = "Error(s) in interlinear glossing",
combining_gender_numbers = "[0-9][0-9]?$", --e.g. G4 '4th gender' or CL7 'class 7'
combining_gender_prefixes = {G = "gender", CL = "class"},
combining_person = {["1"] = "first person", ["2"] = "second person", ["3"] = "third person"},
combining_number = {S = "singular", SG = "singular", P = "plural", PL = "plural", D = "dual", DU = "dual", TRI = "trial"},
combining_gender = {F = "feminine", M = "masculine", N = "neuter"},
LowerCaseGlosses = {["1sg"] = true, ["2sg"] = true, ["3sg"] = true, ["1du"] = true, ["2du"] = true, ["3du"] = true, ["1pl"] = true, ["2pl"] = true,
["3pl"] = true, ["Fsg"] = true, ["Fpl"] = true, ["Msg"] = true, ["Mpl"] = true,}, -- these are the non-all-upper-case strings that will be recognised as glossing abbreviations
ErrorHelpLocation = "Template:Interlinear",
}
---------------------
-- CSS styles and classes
---------------------
conf.style = { --CSS styles
WordDiv = "float: left; margin-bottom: 0.3em;",
WordMargin = "margin-right: 1em;",
WordP = "margin: 0px;", -- the style for the word <p> elements
GlossAbbr = "font-variant: small-caps; font-variant-numeric: oldstyle-nums; text-transform: lowercase; ", -- won't be applied to gloss abbreviations containing lower-case characters
HiddenText = "display: none;",
EndDiv = "clear: left; display: block;", -- style of the <div> element at the end of the interlinear display
ErrorMessage = "font-size: inherit",
}
conf.class = { --CSS classes
Interlinear = "interlinear",
GlossAbbr = "gloss-abbr",
GlossAbbrAmb = "gloss-abbr-ambiguous",
GlossAbbrError = "gloss-abbr-error",
ErrorMessage = "error",
}
---------------------
-- Sundry small functions
---------------------
local function normalise(str)
return mw.ustring.gsub(str,"[" .. conf.WordSeparator .. "]+"," ")
end
local function tidyCss(str)
str = mw.ustring.gsub(str, '^[\"\']*(.-)[\"\']*$', "%1") -- trims quotation marks
if mw.ustring.sub(str, -1) ~= ";" then str = str .. ";" end -- appends ";" if missing
return str
end
local function highlight(text)
if text then
return '<span style="color:#C00;font-weight:bold;">' .. text .. '</span>'
else return "" end
end
local function tone_sup(str)
return mw.ustring.gsub(str, "([^%p%s0-9])([0-9])", "%1<sup>%2</sup>")
end
local function is_empty(str) -- returns "false" if its argument is a string containing chars other than spaces &c.
if not str then return true end
if mw.ustring.find(str, "[^" .. conf.WordSeparator .. "]")
then return false
else return true end
end
local function help_link (anchor)
if anchor then
return " ([[" .. conf.ErrorHelpLocation .. "#" .. anchor .. "|help]])"
else return "" end
end
-- the following is part of a trial implementation of automatic transliteration:
local function transliterate (str, lang_from, lang_to, scheme)
local lookup = {grc = {module = 'Module:Ancient Greek', funct = "transliterate", } }
if not lang_from then
msg:add("error", "Source language for transliteration is not set")
else
local t = lookup[lang_from]
if t then
local module = require(t.module)
return module[t.funct](str)
else msg:add("error", "Can't find transliterator for language '" .. lang_from .. "'")
end
end
return ""
end -- end of trial block
--------------------
-- The following two functions update the glossing settings based on the received
-- template arguments. set_global_glossing_settings() updates the global settings
-- that are valid for all gloss abbreviations. set_glossing_type()
-- returns the glossing type, which can vary between the different lines.
--------------------
local function set_global_glossing_settings(a)
local style = ""
if a.style then style = tidyCss(a.style) end
if a.underline == "no" then
style = style .. "text-decoration: none;" end
if a.small_caps == "no" then
style = style .. "font-variant:normal; text-transform: none;" end
if style ~= "" then conf.style.GlossAbbr = conf.style.GlossAbbr .. style end
end
local function set_glossing_type(glossing)
if glossing then
local GlossingType
glossing = mw.ustring.lower(mw.text.trim(glossing))
if mw.ustring.find(glossing, 'link') then
GlossingType = "wikilink"
elseif mw.ustring.find(glossing, 'label')
or mw.ustring.find(glossing, 'no link') then
GlossingType = 'label'
elseif mw.ustring.find(glossing, 'no abbr') then
GlossingType = "no abbr"
elseif yesno(glossing) == false then
GlossingType = nil
elseif yesno(glossing) then
GlossingType = conf.GlossingType
else
msg:add('error', 'Glossing type "' .. glossing .. '" not recognised') end
return GlossingType
else error("set_glossing_type: 'glossing' is nil or false", 2)
end
end
local function set_custom_glosses(list)
local abbs = mw.text.split(list, '[;\n\t]')
for _,v in pairs(abbs) do
local gloss = mw.text.split(v, ':')
local a = mw.text.trim(gloss[1])
if a and a ~= "" then
gloss_override[a] = {}
gloss_override[a].expansion = gloss[2]
gloss_override[a].wikipage = gloss[3]
end
end
end
---------------------
-- The UserMessages object contains and processes error messages and warnings
---------------------
local UserMessages = {errors = {}, warnings = {}, gloss_messages = {}}
function UserMessages:add(msgtype, text, gloss)
if msgtype == "gloss_message" then
self.gloss_messages[gloss] = text
elseif msgtype == "warning" then
table.insert(self.warnings, text)
elseif msgtype == "non-repeating error" then
self.errors.nre = text
elseif msgtype == "ambiguous gloss" then
self.if_ambiguous_glosses = true
elseif msgtype == "error" then
table.insert(self.errors, text)
else return error("UserMessages:add(): unknown message type", 2)
end
end
function UserMessages:print_errors()
local out = ""
local namespace = mw.title.getCurrentTitle().namespace
if next(self.errors) or self.warnings[1] then
local err_span = mw.html.create("span")
err_span:attr("style", conf.style.ErrorMessage)
err_span:addClass(conf.class.ErrorMessage)
for _,v in pairs(self.errors) do
err_span:wikitext(" " .. v .. ";") end
if namespace % 2 == 0 and namespace ~= 2 -- non-talk namespaces, excluding user pages; if modifying please update the description on the category page
then err_span:wikitext(conf.ErrorCategory)
end
out = tostring(err_span)
mw.addWarning(conf.MessageGlossingError)
end
if self.if_ambiguous_glosses then
if namespace == 0 -- article namespace
then out = out .. conf.AmbiguousGlossCategory -- this category will only track articles
end
end
return out
end
function UserMessages:print_warnings()
local out = ""
-- Messages and warnings get displayed only if the page is being viewed in "preview" mode:
if displaying_messages and (next(self.gloss_messages) or next(self.warnings)) then
local div = mw.html.create("div")
div:addClass("messagebox")
:css("margin", "inherit")
:wikitext("<i>This message box is shown only in preview:</i>")
:newline()
for _,v in ipairs(self.warnings) do
local p = div:tag("p")
p:addClass(conf.class.ErrorMessage)
p:attr("style", conf.style.ErrorMessage)
p:wikitext(v)
end
if self.gloss_messages then
div:wikitext("<p> To change any of the following default expansions, see [[Template:Interlinear/doc#Custom abbreviations|the template's documentation]]:</p>")
end
for _,v in pairs(self.gloss_messages) do
div:wikitext("<p>" .. v .. "</p>")
end
out = out .. "\n\n" .. tostring(div)
end
return out
end
---------------------
-- gloss_lookup() receives a gloss abbreviation and tries to uncover its meaning.
---------------------
local function gloss_lookup(a, label, wikilink)
local _label, _wikilink, _lookup, source = nil, nil, nil, nil
if gloss_override[a] then
_lookup = gloss_override[a]
source = "local"
elseif data.abbreviations[a] then _lookup = data.abbreviations[a] end
if _lookup and _lookup.expansion ~= "" then
_label, _wikilink = _lookup.expansion, _lookup.wikipage
else
local prefix = mw.ustring.sub(a,1,1)
local suffix = mw.ustring.sub(a,2)
if conf.combining_person[prefix] then -- is it of the form 1PL or 3FS?
_label = conf.combining_person[prefix]
local _suffix = conf.combining_number[suffix] or conf.combining_gender[suffix]
if _suffix then
_label = _label .. ", " .. _suffix
else
local suffix1 = mw.ustring.sub(suffix,1,1)
local suffix2 = mw.ustring.sub(suffix,2)
if conf.combining_gender[suffix1]
and conf.combining_number[suffix2] then
_label = _label .. ", " .. conf.combining_gender[suffix1] .. ", " .. conf.combining_number[suffix2]
else _label = nil end
end
elseif mw.ustring.match(suffix,conf.combining_gender_numbers) then -- cases like G4 = gender 4
local _i,_j = mw.ustring.find(a, conf.combining_gender_numbers)
local _pre = mw.ustring.sub(a, 1, _i - 1)
local _suff = mw.ustring.sub(a, _i)
if conf.combining_gender_prefixes[_pre] then
_label = conf.combining_gender_prefixes[_pre] .. " " .. _suff
end
elseif prefix == "N" then -- dealing with cases like NPST = non-past
local s = gloss_override[suffix] or data.abbreviations[suffix]
if s ~= nil and not s.ExcludeNegation then
_label = "non-" .. s.expansion
_wikilink = s.wikipage
end
s = nil
end
end
if _label == "" then _label = nil end
if _wikilink == "" then _wikilink = nil end
if not label then label = _label end
if not wikilink then wikilink = _wikilink end
return label, wikilink, source
end
---------------------
-- format_gloss() calls gloss_lookup() to find the meaning of a gloss
-- abbreviation, which it then proceeds to format
---------------------
local function format_gloss(gloss, label, wikilink)
local gloss2 = mw.ustring.gsub(gloss,"<.->","") -- remove any html fluff
gloss2 = mw.ustring.gsub(gloss2, "%'%'+", "") -- remove wiki bold/italic formatting
gloss2 = mw.text.trim(mw.ustring.upper(gloss2))
if not (label or wikilink)
or (not label and glossing_type == "label")
or (not wikilink and glossing_type == "wikilink")
then
if glossing_type ~= "no abbr"
then label, wikilink, source = gloss_lookup(gloss2, label, wikilink)
end
end
local gloss_node
if glossing_type == "no abbr"
then gloss_node = mw.html.create("span")
else gloss_node = mw.html.create("abbr") end
gloss_node:addClass(conf.class.GlossAbbr)
if label or wikilink then
if not mw.ustring.match(gloss, "%l") -- excluding glosses that contain lower-case characters
and not mw.ustring.match(gloss,conf.GlossSmallCapsExclude) -- and also excluding A, O etc. from rendering in small caps
then gloss_node:attr("style", conf.style.GlossAbbr)
end
local abbr_label
if label then abbr_label = label
else abbr_label = wikilink end
gloss_node:attr("title", abbr_label)
if source ~= "local" and data.abbreviations[gloss2] then
if data.abbreviations[gloss2].ambiguous then
gloss_node:addClass(conf.class.GlossAbbrAmb)
msg:add("ambiguous gloss")
end
end
if glossing_type == "wikilink" and wikilink
then gloss_node:wikitext("[[", wikilink, "|" , gloss, "]]")
else gloss_node:wikitext(gloss) end
if source ~= "local" and displaying_messages then -- logging gloss lookups:
local message = ""
if label then
message = "assuming " .. gloss2 .. " means \"" .. abbr_label .. "\";" end
if glossing_type == "wikilink" and wikilink then
message = message .. " linking to [[" .. wikilink .. "]];"
end
msg:add("gloss_message", message, gloss)
end
elseif glossing_type == "no abbr"
then gloss_node
:attr("style", conf.style.GlossAbbr)
:wikitext(gloss)
else
if displaying_messages then
msg:add("warning", "Gloss abbreviation " .. highlight(gloss2) .. " not recognised" .. help_link("gloss abbr"))
end
msg:add("non-repeating error", "Unknown glossing abbreviation(s)" .. help_link("gloss abbr"))
gloss_node
:addClass(conf.class.GlossAbbrError)
:addClass("error")
:css("font-size", "100%")
:attr("title", gloss2 .. ": glossing abbreviation not found")
:attr("style", conf.style.ErrorMessage)
:wikitext(gloss)
end
return tostring(gloss_node)
end
---------------------
-- find_gloss() parses a word into morphemes, and it calls format_gloss()
-- for anything that looks like a glossing abbreviation.
---------------------
local function find_gloss(word)
local function scan_gloss(boundary, gloss_abbr) -- checks a morpheme if it is a gloss abbreviation
if (mw.ustring.match(gloss_abbr, conf.GlossAbbrPattern)
or conf.LowerCaseGlosses[gloss_abbr])
and not (conf.GlossExcludeTable[gloss_abbr]
or mw.ustring.match(gloss_abbr, conf.GlossExcludePattern))
then gloss_abbr = format_gloss(gloss_abbr)
end
return boundary .. gloss_abbr
end
local word = mw.text.decode(word, true)
if word == "I" -- for the case of the English word "I", the 1SG pronoun
then return word end
local pattern = "([" .. conf.GlossAbbrBoundary .. "]?)([^" .. conf.GlossAbbrBoundary .. "]+)"
word = mw.ustring.gsub(word, pattern, scan_gloss) -- splits into morphemes
return word
end
---------------------
-- The main purpose of the bletcherous parse() is to split a line into words and and then for each eligible word
-- to call find_gloss(). The parser outputs the individual words (with any gloss abbreviation formatting applied).
-- The simple job of splitting at whitespaces has been made complicated by a) the fact that the input can contain
-- whitespaces inside the various html elements that are the result of the application of various formatting templates;
-- and b) the need to be able to recognise the output of the template that formats custom gloss abbreviations
-- (and hence skip passing it on to find_gloss). See talk for a suggestion about its future.
---------------------
local function parse(cline, i, tags_found,ifglossing)
local function issue_error(message, culprit)
UserMessages:add("error", message .. ": ''" .. mw.ustring.sub(cline.whole, 1, i-1) .. "'''" .. culprit .. "'''''")
end
if i > cline.length then return i end --this will only be triggered if the current line has less words than line 1
local next_step, j, _, chunk
local probe = mw.ustring.sub(cline.whole,i,i)
if mw.ustring.match(probe,"[" .. conf.WordSeparator .. "]") and tags_found == 0
then next_step = i-1
elseif probe == "[" then --Wikilink?
if mw.ustring.sub(cline.whole,i+1,i+1) == "[" then
_,j,chunk = mw.ustring.find(cline.whole,"(%[%[.-%]%])", i)
else chunk = "["; j = i end --not a wikilink then
buffer = buffer .. chunk
next_step = parse(cline, j+1,tags_found,ifglossing)
elseif probe == "{" and tags_found == 0 then --curly brackets enclose a sequence of words to be treated as a single unit
_,j,chunk = mw.ustring.find(cline.whole,"(.-)(})", i+1)
if not chunk then
issue_error("Unclosed curly bracket", "{")
chunk = highlight("{"); j = i
elseif ifglossing==true then
chunk = find_gloss(chunk)
else
if cline.tone_sup then chunk = tone_sup(chunk) end
end
buffer = buffer .. chunk
next_step = parse(cline, j+1,tags_found,ifglossing)
elseif probe == "<" then -- We've encountered an HTML tag. What do we do now?
local _,j,chunk = mw.ustring.find(cline.whole,"(<.->)",i)
if not chunk then
issue_error("Unclosed angle bracket", "<")
chunk = highlight("<"); j = i
elseif mw.ustring.sub(cline.whole,i,i+1) == "</" then -- It's a CLOSING tag
if cline.glossing
and ifglossing==false
and mw.ustring.match(chunk,"</abbr>")
then ifglossing=true end
tags_found = tags_found - 1
elseif not mw.ustring.match(chunk, "/>$") -- It's an OPENING tag, unless it opens a self-closing element (in which case the element is ignored)
then if ifglossing == true -- the following checks for the output of {{ggl}}:
and mw.ustring.find(chunk, conf.class.GlossAbbr, 1, true) -- it's important that the "find" function uses literal strings and not patterns
then ifglossing = false end
tags_found = tags_found + 1
end
buffer = buffer .. chunk
next_step = parse(cline, j+1,tags_found,ifglossing)
else -- No HTML tags, so we only need to find where the word ends
local _,k,chunk = mw.ustring.find(cline.whole,"(..-)([ <[])",i)
if k then --ordinary text
if ifglossing==true then
buffer = buffer .. find_gloss(chunk)
else
if cline.tone_sup then chunk = tone_sup(chunk) end
buffer = buffer .. chunk
end
next_step = parse(cline, k, tags_found, ifglossing)
else -- reached end of string
if ifglossing == true then
chunk = find_gloss(mw.ustring.sub(cline.whole,i))
else
chunk = mw.ustring.sub(cline.whole,i)
if cline.tone_sup then chunk = tone_sup(chunk) end
end
buffer = buffer .. chunk
next_step = cline.length
end
end
return next_step
end
--------------------
-- The following function is called by Template:gcl and is used for formatting an individual glossing abbreviation
--------------------
function p.gcl(frame)
local args = getArgs(frame,{
trim = true,
removeBlanks = false,
parentOnly = true,
wrappers = {'Template:Gcl'},
})
msg = UserMessages
set_global_glossing_settings{style = args.style, underline = args.underline, small_caps = args['small-caps']}
if not args.glossing then
glossing_type = conf.GlossingType -- a global variable
else glossing_type = set_glossing_type(args.glossing)
end
local gloss, label, wikilink = args[1], args[2], args[3]
if not gloss then UserMessages:add("error", "No gloss supplied")
return UserMessages:print() end
if wikilink and not args.glossing then -- if a wikilink is supplied and glossing isn't set to 'label'...
glossing_type = 'wikilink' end -- .. then the wikilink will be formatted as such
if label == "" then label = nil end
if wikilink == "" then wikilink = nil end
local result = format_gloss(gloss, label, wikilink)
return result
end
--------------------
-- The following is the function called by Template:Interlinear.
-- It processes the template arguments, then calls parse() to split the input lines into words
-- and it then builds the output html.
--------------------
function p.interlinearise(frame)
---------------------
-- Prepare arguments
---------------------
local if_auto_translit = false
local args = getArgs(frame, { -- configuration for Module:Arguments
trim = true,
removeBlanks = false,
parentFirst = true,
wrappers = {'Template:Interlinear', 'Template:Fs interlinear'},
})
local template_name = frame:getParent():getTitle()
if template_name == 'Template:Fs interlinear' then
args.italics1 = args.italics1 or "no"
args.italics2 = args.italics2 or "yes"
args.glossing3 = args.glossing3 or "yes"
if args.lang and not args.lang2 then args.lang2 = args.lang .."-Latn" end
if args.transl and not args.transl2 then args.transl2 = args.transl end
if_auto_translit = true
end
local revid = frame:preprocess( "{{REVISIONID}}" )
if revid == "" then
if not args['display-messages'] or yesno(args['display-messages']) then
displaying_messages = true end-- messages will be displayed only in preview mode
end
msg = UserMessages
local line = {}
local function set_italics(n)
line[n].attr.style = line[n].attr.style .. "font-style: italic;"
line[n].tone_sup = true -- single digits are assumed to be tone markers and will hence be superscripted
if args['tone-superscripting'] and not yesno(args['tone-superscripting'])
then line[n].tone_sup = false end
end
if args.glossing then -- the glossing= parameter sets the default glossing type
local _gl = set_glossing_type(args.glossing)
if _gl then conf.GlossingType = _gl end
end
--this looks for a list of glossing abbreviations on the page that transcludes the template:
local _ablist_section = frame:preprocess('{{#section:{{FULLPAGENAME}}|list-of-glossing-abbreviations}}')
if _ablist_section and _ablist_section ~= "" then
local _a = mw.ustring.gsub(_ablist_section, '</?div [^\n]*>', '') -- strips off the div tags
set_custom_glosses(_a)
end
--and this looks looks for a list of abbreviations set within the template:
local _ablist = args.abbreviations
if _ablist and _ablist ~= ""
then set_custom_glosses(_ablist) end
local _ablist = args.ablist
if _ablist and _ablist ~= ""
then set_custom_glosses(_ablist) end
local _spacing = tonumber(args.spacing)
if _spacing and _spacing <= 20
then conf.style.WordDiv = conf.style.WordDiv .. 'margin-right: ' .. _spacing .. 'em;'
else conf.style.WordDiv = conf.style.WordDiv .. conf.style.WordMargin
end
local offset, last_line = 0, 0
for j,v in ipairs(args) do -- iterates over the unnamed parameters from the template
last_line = last_line +1
if is_empty(v)
then offset = offset + 1
else
local i = j - offset
line[i] = {}
v = normalise(v)
-- the following is part of a trial implementation of automatic transliteration:
if if_auto_translit and v == "auto" and i > 1 then
local source_line = line[i-1]
local src_lang = source_line.lang
if not src_lang then src_lang = args.lang end
if src_lang then
v = transliterate(source_line.whole, src_lang)
else v = ""; msg:add("error", "No language specified for automatic transliteration")
end
end -- end of trial block
line[i].whole = v
line[i].length = mw.ustring.len(v)
local _c = args["c" .. i]
if _c and _c ~= "" then
line.hasComments = true
line[i].c = _c
end
---prepare style arguments----
line[i].class = ""
local _style = args["style" .. i]
if not _style then _style = ""
else _style = tidyCss(_style) end
--line[i].attr holds the attributes for the <p> elements that enclose the words in line i
line[i].attr = {style = conf.style.WordP .. _style}
local _lang = args["lang" .. i]
if _lang and #_lang > 1 then
line[i].lang = _lang
else _lang = args.lang
if _lang and #_lang > 1 and i == 1 then -- if a lang= parameter is supplied, it's assumed to apply to line 1
line[i].lang = _lang
end
end
line[i].attr.lang = line[i].lang
--the following emulates the behaviour of {{Bo-textonly}} (see Template talk:Fs interlinear#Tibetan):
if template_name == 'Template:Fs interlinear' then
if _lang == "bo" and i == 1 then
line[1].class = line[1].class .. " uchen"
line[1].attr.style = line[1].attr.style .. "font-size:1.25em; word-wrap:break-word;"
end
end
if yesno(args["italics" .. i]) then
set_italics(i)
end
local _glossing = args["glossing" .. i]
if _glossing then
line[i].glossing = set_glossing_type(_glossing)
-- Do not treat default glossing settings as custom.
if not ((i == 1 and not yesno(_glossing)) or (i == 2 and yesno(_glossing))) then
line.HasCustomGlossing = true
end
end
local _ipa = args['ipa' .. i]
if yesno(_ipa) then
line[i].class = "IPA"
end
local _class = args['class' .. i]
if _class then
line[i].class = line[i].class .. " " .. _class
end
if line[i].class == ""
then line[i].class = nil end
end -- ends the first if-statement in the loop
end -- ends the FOR cycle
local line_count = #line
if line_count == 0 then
msg:add("error", template_name .. ": no lines supplied.")
return msg:print_errors()
end
if line_count > 1 then
local _italics = args.italics
local n = tonumber(_italics)
if n and n > 0 then
set_italics(n)
elseif not (_italics and not yesno(_italics)) and not (args["italics1"] and not yesno(args["italics1"])) then
set_italics(1) -- by default, the first line will get italicised, unless italics=no or italics1=no
end
-- the last unnamed parameter is assumed to be the free translation:
free_translation = args[last_line]
if not is_empty(free_translation) then
line [line_count] = nil end --... and is thus excluded from interlinearising
end
-- If glossing isn't specified for any line, then it's chosen by default to occur
-- in the second line, unless only a single line has been supplied, in which case
-- the assumption is that it is the one containing grammatical glosses
if yesno(args.glossing) == false then
line.HasCustomGlossing = true
end
if not line.HasCustomGlossing then
if line_count == 1 then
line[1].glossing = conf.GlossingType
elseif line[2] then
line[2].glossing = conf.GlossingType
end
end
set_global_glossing_settings{style = args['glossing-style'], underline = args.underline, small_caps = args['small-caps']}
---------------------
-- Segment lines into words
---------------------
for i,v in ipairs(line) do
local ifglossing = false
if line[i].glossing then
ifglossing = true -- if true the parser will attempt to format gloss abbreviations in the current line
glossing_type = line[i].glossing -- neccessarily a global variable
end
local wc, n = 1, 1
line[i].words = {}
while n <= line[i].length do
buffer = ""
n = parse(line[i], n, 0, ifglossing)+2
line[i].words[wc] = buffer
wc = wc + 1
end
end
----Check for mismatches in number of words across lines----
local number_of_words, mismatch_found = 0, false
for i,v in ipairs(line) do -- find the maximum number of words in any line
local wc = #line[i].words
if wc ~= number_of_words then
if i ~= 1 and wc ~= 0 then
mismatch_found = true
end
if wc > number_of_words then
number_of_words = wc
end
end
end
----Deal with mismatches---
if mismatch_found then
local error_text = "Mismatch in the number of words between lines: "
for i,v in ipairs(line) do
local wc = #line[i].words
error_text = error_text .. wc .. " word(s) in line " .. i .. ", "
if wc ~= number_of_words then
for current_word = wc+1, number_of_words do
line[i].words[current_word] = " "
end
end
end
if string.sub(error_text, -2) == ", "
then error_text = string.sub(error_text, 1, #error_text - 2) .. " "
end
error_text = error_text .. help_link("mismatch")
UserMessages:add("error", error_text)
end
---------------------
-- Build the HTML
---------------------
---- If just a single line was supplied, format it as inline text
if line_count == 1 then
local span = mw.html.create('span')
span:attr(line[1].attr)
for wi = 1, number_of_words do
local space
if wi < number_of_words then space = " " else space = "" end
span:wikitext(line[1].words[wi] .. space)
end
return tostring(span)
end
---- More than one line supplied, so we'll produce interlinear display
local div = mw.html.create("div")
div:addClass(conf.class.Interlinear)
-- For stuff to be displayed in the left margin, like example numbering
local number, indent = nil, nil
if args.number and args.number ~= ""
then number = args.number end
if args.indent and args.indent ~=""
then indent = args.indent end
if indent or number then
if not indent then indent = "4" end --default value
div:css("margin-left", indent .. 'em')
if number then
div:tag("div")
:css("position", "absolute")
:css("left", "1em")
:wikitext(args.number)
end
end
if args.box and args.box ~= "" then
div:css("background-color", "#f8f9fa")
:css("border", "1px solid #eaecf0")
:css("padding", "1em") end
if args.top and args.top ~= "" then --lines to display above the interlinear block
div:tag("div")
:wikitext(args.top)
end
-- Producing the interlinear block
for wi = 1, number_of_words do
local div2 = div:tag("div")
:attr("style", conf.style.WordDiv)
for i,_ in ipairs (line) do
if line[i].whole ~= "" then -- skipping empty lines
local p = div2:tag("p")
p:attr(line[i].attr)
if line[i].class then
p:addClass(line[i].class)
end
local _text = line[i].words[wi]
if _text == "" or _text == " "
then _text = " " end -- <p> elements without content mess up the interlinear display
p:wikitext(_text)
end
end
end
--- If any "comments" have been specified, add them at the end of each line
if line.hasComments then
local divc = div:tag("div")
:attr("style", conf.style.WordDiv)
for i,_ in ipairs (line) do
local p = divc:tag("p")
p:attr("style", conf.style.WordP)
if line[i].c then
p:wikitext(line[i].c)
else p:wikitext(" ")
end
end
end
--Add hidden lines containing the content of each line of interlinear text: this is for accessibility
for i,v in ipairs(line) do
local hidden_line = div:tag("p")
hidden_line:attr("style", conf.style.HiddenText)
:wikitext(v.whole)
end
-- Format the free translation
local ft_line = div:tag("p")
if free_translation and free_translation ~= "" then
ft_line:attr("style", "clear: left;")
ft_line:wikitext(free_translation)
end
if args.bottom and args.bottom ~= ""
then local bottom = div:tag('p')
bottom:css('margin-top', '0')
bottom:wikitext(args.bottom)
end
ft_line:node(msg:print_errors()) -- for error messages
local end_div = div:tag("div")
end_div:attr("style", conf.style.EndDiv)
div:newline()
local temp_track = ""
if last_line == 2
then temp_track = "[[Category:Pages with interlinear glosses using two unnamed parameters]]"
end
if last_line > 3 and template_name ~= 'Template:Fs interlinear'
then temp_track = "[[Category:Pages with interlinear glosses using more than three unnamed parameters]]"
end
return tostring(div) .. temp_track .. msg:print_warnings()
end
return p
kwcf5szjprpx5dzy96096rhza280kvl
ਫਰਮਾ:Anchors
10
3053
5769
2023-04-22T03:34:39Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Anchor]]
wikitext
text/x-wiki
#redirect[[Template:Anchor]]
i6fa4xitlxf43q8bz6llg6x2h5uyo59
ਫਰਮਾ:Nld
10
3054
5770
2023-04-22T03:36:11Z
Kuldeepburjbhalaike
1880
"{{<includeonly>subst:</includeonly>#ifeq:{{<includeonly>subst:</includeonly>empty template}}| |{{no license|month={{<includeonly>subst:</includeonly>CURRENTMONTHNAME}}|day={{<includeonly>subst:</includeonly>CURRENTDAY}}|year={{<includeonly>subst:</includeonly>CURRENTYEAR}}<noinclude>|example=yes</noinclude>}}| <span style="font-size:large; color:red">'''You forgot to subst this template. Replace {{tlx|nld}} with {{tlxs|nld}}'''</span>}}<noinclude>..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{<includeonly>subst:</includeonly>#ifeq:{{<includeonly>subst:</includeonly>empty template}}| |{{no license|month={{<includeonly>subst:</includeonly>CURRENTMONTHNAME}}|day={{<includeonly>subst:</includeonly>CURRENTDAY}}|year={{<includeonly>subst:</includeonly>CURRENTYEAR}}<noinclude>|example=yes</noinclude>}}|
<span style="font-size:large; color:red">'''You forgot to subst this template. Replace {{tlx|nld}} with {{tlxs|nld}}'''</span>}}<noinclude>
{{documentation|content=
{{Subst only}}
[[Category:Copyright issues templates|{{PAGENAME}}]]
}}</noinclude>
6llq7tf5gz607h2xc7wk6win5o89ex9
ਫਰਮਾ:Subst only
10
3055
5771
2023-04-22T03:37:15Z
Kuldeepburjbhalaike
1880
"{{#if:{{yesno|{{{auto|no}}}}} |{{Mbox|text=This template intentionally has no transclusions because it is automatically substituted by a bot.}} |{{Ombox |type=notice |image=[[File:Imbox notice.png|32px|alt=|link=]] |text='''This template should always be substituted''' – use {{Template other|{{subst|{{BASEPAGENAME}}}}|{{subst|{{FULLPAGENAME}}}}}}{{#if:{{{shortcut|}}}| or alternatively {{Template other|{{subst|{{{shortcut}}}}}|{{subst|{{{shor..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#if:{{yesno|{{{auto|no}}}}}
|{{Mbox|text=This template intentionally has no transclusions because it is automatically substituted by a bot.}}
|{{Ombox
|type=notice
|image=[[File:Imbox notice.png|32px|alt=|link=]]
|text='''This template should always be substituted''' – use {{Template other|{{subst|{{BASEPAGENAME}}}}|{{subst|{{FULLPAGENAME}}}}}}{{#if:{{{shortcut|}}}| or alternatively {{Template other|{{subst|{{{shortcut}}}}}|{{subst|{{{shortcut}}}}}}}}}{{#if:{{{shortcut2|}}}| or {{Template other|{{subst|{{{shortcut2}}}}}|{{subst|{{{shortcut2}}}}}}}}}.}}}}<includeonly>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:substituted templates]]}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
opv2j69vtslla6ht01z17q8u5nwjhvh
ਫਰਮਾ:Subst only/doc
10
3056
5772
2023-04-22T03:38:21Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === <code><nowiki>{{Subst only}}</nowiki></code> (Despite the notice, this particular template should '''not''' be substituted! I hope this isn't too confusing...) This template should be placed on the <big>documentation subpage</big> (not the template page itself) of any template that needs to be substituted rather than transcluded. T..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
=== Usage ===
<code><nowiki>{{Subst only}}</nowiki></code>
(Despite the notice, this particular template should '''not''' be substituted! I hope this isn't too confusing...)
This template should be placed on the <big>documentation subpage</big> (not the template page itself) of any template that needs to be substituted rather than transcluded.
Tagged templates are added to [[:Category:Substituted templates]].
; Parameters:
* <code><nowiki>|auto=</nowiki>''yes''/''no''</code>: If set to ''yes'', change the notice to state that the template is automatically substed. Default to ''no''.
* <code><nowiki>|shortcut=</nowiki></code>
*:Example: at [[Template:Blatantvandal]]
* <code><nowiki>|shortcut2=</nowiki></code>
*:Example: at [[Template:Blatantvandal]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Template namespace templates|{{PAGENAME}}]]
</includeonly>
t6q18cgur3dcviltct3nkten2ag21xn
ਫਰਮਾ:Tlxs
10
3057
5773
2023-04-22T03:40:20Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Subst]]
wikitext
text/x-wiki
#redirect[[Template:Subst]]
hoorl82qlz7mjhc0hxfiblbimjqgz6j
ਫਰਮਾ:Subst
10
3058
5774
2023-04-22T03:40:44Z
Kuldeepburjbhalaike
1880
"<includeonly><code><nowiki>{{</nowiki>subst:{{#ifeq:{{NAMESPACE:{{{1|{{FULLPAGENAME}}}}}}}||<!-- this is intended to be either a page in the main namespace or in the template namespace -->{{#ifeq:{{{1|{{FULLPAGENAME}}}}}|:{{PAGENAME:{{{1|{{FULLPAGENAME}}}}}}}<!-- this is intended to be in the main namespace -->|[[:{{{1|{{PAGENAME}}}}}]]<!-- this is intended to be in the template namespace -->|[[:Template:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><code><nowiki>{{</nowiki>subst:{{#ifeq:{{NAMESPACE:{{{1|{{FULLPAGENAME}}}}}}}||<!--
this is intended to be either a page in the main namespace or in the template namespace
-->{{#ifeq:{{{1|{{FULLPAGENAME}}}}}|:{{PAGENAME:{{{1|{{FULLPAGENAME}}}}}}}<!--
this is intended to be in the main namespace
-->|[[:{{{1|{{PAGENAME}}}}}]]<!--
this is intended to be in the template namespace
-->|[[:Template:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]}}<!--
namespace was included
-->|[[:{{{1|{{FULLPAGENAME}}}}}]]}}<!--
-->{{#ifeq:{{{2|+}}}|{{{2|-}}}||{{{2}}}}}<!--
-->{{#ifeq:{{{3|+}}}|{{{3|-}}}||{{{3}}}}}<!--
-->{{#ifeq:{{{4|+}}}|{{{4|-}}}||{{{4}}}}}<!--
-->{{#ifeq:{{{5|+}}}|{{{5|-}}}||{{{5}}}}}<!--
-->{{#ifeq:{{{6|+}}}|{{{6|-}}}||{{{6}}}}}<!--
-->{{#ifeq:{{{7|+}}}|{{{7|-}}}||{{{7}}}}}<!--
-->{{#ifeq:{{{8|+}}}|{{{8|-}}}||{{{8}}}}}<!--
-->{{#ifeq:{{{9|+}}}|{{{9|-}}}||{{{9}}}}}<!--
-->{{#ifeq:{{{10|+}}}|{{{10|-}}}||{{{10}}}}}<!--
-->{{#ifeq:{{{11|+}}}|{{{11|-}}}||<i>..</i>}}<!--
--><nowiki>}}</nowiki></code></includeonly><noinclude>
{{msg:{{FULLPAGENAME}}|{{lc:{{PAGENAME}}}}}}
[[Category:Internal link templates|{{PAGENAME}}]]
</noinclude>
oxbzsod1edbtl7cwpebqxdbv103bs90
ਮੌਡਿਊਲ:Message box/tmbox.css
828
3059
5775
2023-04-22T03:42:58Z
Kuldeepburjbhalaike
1880
".tmbox { margin: 4px 0; border-collapse: collapse; border: 1px solid #c0c090; /* Default "notice" gray-brown */ background-color: #f8eaba; box-sizing: border-box; } /* For the "small=yes" option. */ .tmbox.mbox-small { font-size: 88%; line-height: 1.25em; } .tmbox-speedy { border: 2px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ } .tmbox-delete { border: 2px solid #b32424; /* Red */ } .tmbox-content { b..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
sanitized-css
text/css
.tmbox {
margin: 4px 0;
border-collapse: collapse;
border: 1px solid #c0c090; /* Default "notice" gray-brown */
background-color: #f8eaba;
box-sizing: border-box;
}
/* For the "small=yes" option. */
.tmbox.mbox-small {
font-size: 88%;
line-height: 1.25em;
}
.tmbox-speedy {
border: 2px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
.tmbox-delete {
border: 2px solid #b32424; /* Red */
}
.tmbox-content {
border: 2px solid #f28500; /* Orange */
}
.tmbox-style {
border: 2px solid #fc3; /* Yellow */
}
.tmbox-move {
border: 2px solid #9932cc; /* Purple */
}
.tmbox .mbox-text {
border: none;
/* @noflip */
padding: 0.25em 0.9em;
width: 100%;
}
.tmbox .mbox-image {
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em;
text-align: center;
}
.tmbox .mbox-imageright {
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0;
text-align: center;
}
/* An empty narrow cell */
.tmbox .mbox-empty-cell {
border: none;
padding: 0;
width: 1px;
}
.tmbox .mbox-invalid-type {
text-align: center;
}
@media (min-width: 720px) {
.tmbox {
margin: 4px 10%;
}
.tmbox.mbox-small {
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
width: 238px;
}
}
602cp9hdmvjdgbouca1ejtei8x1lac8
ਮੌਡਿਊਲ:Message box/ambox.css
828
3060
5776
2023-04-22T03:43:25Z
Kuldeepburjbhalaike
1880
"/* {{pp|small=y}} */ .ambox { border: 1px solid #a2a9b1; /* @noflip */ border-left: 10px solid #36c; /* Default "notice" blue */ background-color: #fbfbfb; box-sizing: border-box; } /* Single border between stacked boxes. Take into account base templatestyles, * user styles, and Template:Dated maintenance category. * remove link selector when T200206 is fixed */ .ambox + link + .ambox, .ambox + link + style + .ambox, .ambox + link + link..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
sanitized-css
text/css
/* {{pp|small=y}} */
.ambox {
border: 1px solid #a2a9b1;
/* @noflip */
border-left: 10px solid #36c; /* Default "notice" blue */
background-color: #fbfbfb;
box-sizing: border-box;
}
/* Single border between stacked boxes. Take into account base templatestyles,
* user styles, and Template:Dated maintenance category.
* remove link selector when T200206 is fixed
*/
.ambox + link + .ambox,
.ambox + link + style + .ambox,
.ambox + link + link + .ambox,
/* TODO: raise these as "is this really that necessary???". the change was Dec 2021 */
.ambox + .mw-empty-elt + link + .ambox,
.ambox + .mw-empty-elt + link + style + .ambox,
.ambox + .mw-empty-elt + link + link + .ambox {
margin-top: -1px;
}
/* For the "small=left" option. */
/* must override .ambox + .ambox styles above */
html body.mediawiki .ambox.mbox-small-left {
/* @noflip */
margin: 4px 1em 4px 0;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
.ambox-speedy {
/* @noflip */
border-left: 10px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
.ambox-delete {
/* @noflip */
border-left: 10px solid #b32424; /* Red */
}
.ambox-content {
/* @noflip */
border-left: 10px solid #f28500; /* Orange */
}
.ambox-style {
/* @noflip */
border-left: 10px solid #fc3; /* Yellow */
}
.ambox-move {
/* @noflip */
border-left: 10px solid #9932cc; /* Purple */
}
.ambox-protection {
/* @noflip */
border-left: 10px solid #a2a9b1; /* Gray-gold */
}
.ambox .mbox-text {
border: none;
/* @noflip */
padding: 0.25em 0.5em;
width: 100%;
}
.ambox .mbox-image {
border: none;
/* @noflip */
padding: 2px 0 2px 0.5em;
text-align: center;
}
.ambox .mbox-imageright {
border: none;
/* @noflip */
padding: 2px 0.5em 2px 0;
text-align: center;
}
/* An empty narrow cell */
.ambox .mbox-empty-cell {
border: none;
padding: 0;
width: 1px;
}
.ambox .mbox-image-div {
width: 52px;
}
/* Hack around MobileFrontend being opinionated */
html.client-js body.skin-minerva .mbox-text-span {
margin-left: 23px !important;
}
@media (min-width: 720px) {
.ambox {
margin: 0 10%; /* 10% = Will not overlap with other elements */
}
}
4uo84hdwizsmv7kmpu8kgevjeag35wk
ਮੌਡਿਊਲ:Message box/ombox.css
828
3061
5777
2023-04-22T03:43:59Z
Kuldeepburjbhalaike
1880
"/* {{pp|small=y}} */ .ombox { margin: 4px 0; border-collapse: collapse; border: 1px solid #a2a9b1; /* Default "notice" gray */ background-color: #f8f9fa; box-sizing: border-box; } /* For the "small=yes" option. */ .ombox.mbox-small { font-size: 88%; line-height: 1.25em; } .ombox-speedy { border: 2px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ } .ombox-delete { border: 2px solid #b32424; /* Red */ } .omb..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
sanitized-css
text/css
/* {{pp|small=y}} */
.ombox {
margin: 4px 0;
border-collapse: collapse;
border: 1px solid #a2a9b1; /* Default "notice" gray */
background-color: #f8f9fa;
box-sizing: border-box;
}
/* For the "small=yes" option. */
.ombox.mbox-small {
font-size: 88%;
line-height: 1.25em;
}
.ombox-speedy {
border: 2px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
.ombox-delete {
border: 2px solid #b32424; /* Red */
}
.ombox-content {
border: 1px solid #f28500; /* Orange */
}
.ombox-style {
border: 1px solid #fc3; /* Yellow */
}
.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
.ombox-protection {
border: 2px solid #a2a9b1; /* Gray-gold */
}
.ombox .mbox-text {
border: none;
/* @noflip */
padding: 0.25em 0.9em;
width: 100%;
}
.ombox .mbox-image {
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em;
text-align: center;
}
.ombox .mbox-imageright {
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0;
text-align: center;
}
/* An empty narrow cell */
.ombox .mbox-empty-cell {
border: none;
padding: 0;
width: 1px;
}
.ombox .mbox-invalid-type {
text-align: center;
}
@media (min-width: 720px) {
.ombox {
margin: 4px 10%;
}
.ombox.mbox-small {
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
width: 238px;
}
}
gt34qcz2etl1lglsfax1xmoaasgmdxe
ਫਰਮਾ:Nfur
10
3062
5778
2023-04-22T03:44:33Z
Kuldeepburjbhalaike
1880
"{{#ifeq:{{<includeonly>subst:</includeonly>empty template}}| |{{no rationale|month={{<includeonly>subst:</includeonly>CURRENTMONTHNAME}}|day={{<includeonly>subst:</includeonly>CURRENTDAY}}|year={{<includeonly>subst:</includeonly>CURRENTYEAR}}<noinclude>|example=yes</noinclude>}}| <span style="font-size:large; color:red">'''You forgot to subst this template. Replace {{tlx|nfur}} with {{tlxs|nfur}}'''</span>}}<noinclude> {{documentation|content= {{S..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#ifeq:{{<includeonly>subst:</includeonly>empty template}}| |{{no rationale|month={{<includeonly>subst:</includeonly>CURRENTMONTHNAME}}|day={{<includeonly>subst:</includeonly>CURRENTDAY}}|year={{<includeonly>subst:</includeonly>CURRENTYEAR}}<noinclude>|example=yes</noinclude>}}|
<span style="font-size:large; color:red">'''You forgot to subst this template. Replace {{tlx|nfur}} with {{tlxs|nfur}}'''</span>}}<noinclude>
{{documentation|content=
{{Subst only}}
[[Category:Copyright issues templates|{{PAGENAME}}]]
}}</noinclude>
crdvrs5uptgqc0haol22a3nq67064vg
ਫਰਮਾ:Empty template
10
3063
5779
2023-04-22T03:46:30Z
Kuldeepburjbhalaike
1880
"<noinclude>[[Category:Utility templates|{{PAGENAME}}]]</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude>[[Category:Utility templates|{{PAGENAME}}]]</noinclude>
o5paj85p7dqph9tqh7cpu86llcx9qfe
ਫਰਮਾ:Imbox
10
3064
5915
5780
2023-08-31T05:39:04Z
140.141.196.50
wikitext
text/x-wiki
<table class="plainlinks imbox
{{#switch:{{{type|}}}
| speedy = imbox-speedy
| delete = imbox-delete
| content = imbox-content
| style = imbox-style
| move = imbox-move
| protection = imbox-protection
| license = imbox-license licensetpl
| license_mul= imbox-license licensetpl_wrapper
| featured = imbox-featured
| notice <!-- notice = default -->
| #default = imbox-notice
}}" style="{{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
| <td class="mbox-image">
{{#if:{{{image|}}}
| {{{image}}}
| {{#switch:{{{type|}}}
| speedy = [[File:Ambox warning pn.svg|40x40px|alt=|link=]]
| delete = [[File:Ambox warning pn.svg|40x40px|alt=|link=]]
| content = [[File:Ambox Content.svg|40x40px|alt=|link=]]
| style = [[File:Edit-clear.svg|40x40px|link=]]
| move = [[File:Merge-split-transwiki default.svg|40x40px|alt=|link=]]
| protection = [[File:Padlock-silver-medium.svg|40x40px|alt=|link=]]
| license_mul
| license = [[File:Imbox-license.svg|40x40px|alt=|link=]]
| featured = [[File:Featured article star.svg|40x40px|link=]]
| notice <!-- notice = default -->
| #default = [[File:Information icon4.svg|40x40px|alt=|link=]]
}}
}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright"> {{{imageright}}} </td>
}}
</tr>
{{#if:{{{below|}}}
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr>
}}
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| speedy
| delete
| content
| style
| move
| protection
| license
| license_mul
| featured
| notice = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
cs3cch9dx6cbr0lyuxv6vw1zf1gnrw7
ਫਰਮਾ:Imbox/doc
10
3065
5916
5781
2023-09-07T02:53:21Z
CalendulaAsteraceae
1965
wikitext
text/x-wiki
{{documentation subpage}}
{{high-risk|6,000+}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{mbox templates}}
This is the {{tl|imbox}} or '''image message box''' meta-template.
It is used to build message box templates for file (image) pages. It offers several different colors, uses default images if no image parameter is given and it has some other features.
This template works almost exactly like {{tl|ambox}} and uses the same parameters.
=== Usage ===
Simple usage example:
<pre>
{{imbox | text = Some text.}}
</pre>
{{imbox | text = Some text.}}
Complex example:
<pre>
{{imbox
| type = style
| image = [[File:Emblem-question-yellow.svg|40px|link-]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
</pre>
{{imbox
| type = style
| image = [[File:Emblem-question-yellow.svg|40px|link=]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
=== Image message box types ===
The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type.
{{imbox
| type = speedy
| text = type=<u>speedy</u> – Speedy deletion templates.
}}
{{imbox
| type = delete
| text = type=<u>delete</u> – Deletion templates.
}}
{{imbox
| type = content
| text = type=<u>content</u> – Major warnings and problems.
}}
{{imbox
| type = style
| text = type=<u>style</u> – Minor warnings and problems.
}}
{{imbox
| type = notice
| text = type=<u>notice</u> – Notices and messages of any kind, both permanent and temporary.
}}
{{imbox
| type = move
| text = type=<u>move</u> – Move and rename messages and proposals.
}}
{{imbox
| type = protection
| text = type=<u>protection</u> – Protection templates.
}}
{{imbox
| type = license
| text = type=<u>license</u> – License template.
}}
{{imbox
| type = featured
| text = type=<u>featured</u> – Featured image templates.
}}
=== Other images ===
The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the '''image''' parameter to specify an image other than the default images.
{{imbox
| type = style
| image = [[Image:Gnome-dev-camera.svg|42px]]
| text = type = style <br /> image = <nowiki>[[Image:Gnome-dev-camera.svg|42px]]</nowiki> <br /> This image is used for {{tl|cleanup-image}}.
}}
{{imbox
| type = move
| image = [[Image:To Commons.svg|52px]]
| text = type = move <br /> image = <nowiki>[[Image:To Commons.svg|52px]]</nowiki> <br /> This image is used for {{tl|copy to Wikimedia Commons}}.
}}
{{imbox
| type = license
| image = [[Image:Heckert GNU white.svg|48px]]
| text = type = license <br /> image = <nowiki>[[Image:Heckert GNU white.svg|48px]]</nowiki> <br /> This image is used for the GFDL license templates such as {{tl|GFDL}}.
}}
=== Special ===
Some other parameter combinations.
{{imbox
| text = No type and no image given ('''default''')
}}
{{imbox
| image = none
| text = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area.
}}
{{imbox
| type = license
| image = [[Image:PD-icon.svg|40px]] <br /> [[Image:Ambox warning yellow.svg|40px]]
| imageright = [[Image:Shuttle.svg|30px]]
| text = type = license <br /> image = <nowiki>[[Image:PD-icon.svg|40px]] <br> [[Image:Ambox warning yellow.svg|40px]]</nowiki> <br /> imageright = <nowiki>[[Image:Shuttle.svg|30px]]</nowiki>
}}
{{imbox
| type = license
| image = [[Image:PD-icon.svg|40px]] <br /> [[Image:Ambox warning yellow.svg|40px]]
| imageright = [[Image:Shuttle.svg|30px]]
| text = '''This file is in the [[w:public domain|public domain]] because it was created by [[w:NASA|NASA]].'''
<br>Note that use of NASA logos, insignia and emblems are restricted per US law.
}}
{{imbox
| type = license
| image = [[Image:PD-icon.svg|40px]]
| text =
type = license <br /> image = <nowiki>[[Image:PD-icon.svg|40px]]</nowiki> <br /> below = <nowiki>{{imbox | type = content | text = '''This license tag is deprecated!''' }}</nowiki>
| below =
{{imbox
| type = content
| text = '''This license tag is deprecated!'''
}}
}}
=== Parameters ====
List of all parameters:
<pre>
{{imbox
| type = speedy / delete / content / style / notice /
move / protection / license / featured
| image = none / [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| style = CSS value
| textstyle = CSS value
| text = The message body text.
| below = More text or another imbox.
}}
</pre>
'''type'''
:If no '''type''' parameter is given the template defaults to type '''notice'''. That means it gets a blue border.
'''image'''
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>image = [[Image:Gnome-dev-camera.svg|40px]]</nowiki></code>
:'''none''' = Means that no image is used.
'''imageright'''
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|40px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
'''style'''
:An optional [[Cascading Style Sheets|CSS]] value used by the entire message box table. Without quotation marks <code>" "</code>. For example:
::<code>style = margin-bottom: 0.5em;</code>
'''textstyle'''
:An optional [[Cascading Style Sheets|CSS]] value used by the text cell. For example:
::<code>textstyle = text-align: center;</code>
'''text'''
:The message body text.
'''below'''
:A full width area below the images and text area. Can take a text or any kind of object, for instance another imbox:
::<code><nowiki>below = {{imbox | type = content | text = This license tag is deprecated. }} </nowiki></code>
=== Technical details ===
Namespace "Image:" was renamed to "File:" on 11 December 2008. This template was created long before that, and that is why it is named "imbox" as in "image message box".
If you need to use special characters in the text parameter then you need to escape them like this:
<pre>
{{imbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
</pre>
{{imbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
This template uses the imbox CSS classes in [[MediaWiki:Common.css/Mboxes.css]] for most of its looks, thus it is fully skinnable.
Internally this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
=== See also ===
{{Mbox templates see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Metatemplates|{{PAGENAME}}]]
[[ms:Templat:Imbox]]
</includeonly>
4lew27h5eyypf3rv7s3dii46slj28u0
ਫਰਮਾ:Cmbox
10
3066
5782
2023-04-22T03:49:17Z
Kuldeepburjbhalaike
1880
"<table class="plainlinks cmbox {{#switch:{{{type|}}} | speedy = cmbox-speedy | delete = cmbox-delete | content = cmbox-content | style = cmbox-style | move = cmbox-move | protection = cmbox-protection | notice <!-- notice = default --> | #default = cmbox-notice }}" style="{{{style|}}}"> <tr> {{#ifeq:{{{image|}}}|none | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><t..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<table class="plainlinks cmbox
{{#switch:{{{type|}}}
| speedy = cmbox-speedy
| delete = cmbox-delete
| content = cmbox-content
| style = cmbox-style
| move = cmbox-move
| protection = cmbox-protection
| notice <!-- notice = default -->
| #default = cmbox-notice
}}" style="{{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
| <td class="mbox-image">
{{#if:{{{image|}}}
| {{{image}}}
| [[File:{{#switch:{{{type|}}}
| speedy = Ambox warning pn.svg
| delete = Ambox warning pn.svg
| content = Ambox Content.svg
| style = Edit-clear.svg
| move = Merge-split-transwiki default.svg
| protection = Padlock-silver-medium.svg
| notice <!-- notice = default -->
| #default = Information icon4.svg
}}|40x40px|link=|alt=]]
}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright"> {{{imageright}}} </td>
}}
</tr>
</table><!--
Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| speedy
| delete
| content
| style
| move
| protection
| notice = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
1mm1zb4uh7zurns6ohneowj4uqkocud
ਫਰਮਾ:Cmbox/doc
10
3067
5783
2023-04-22T03:49:56Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{mbox templates}} This is the {{tl|cmbox}} or '''category message box''' meta-template. It is used to build message box templates for category pages. It offers several different colours, uses default images if no image parameter is given and it has some other features. This template works almost exactly like {{tl|bmbox}} and uses the same paramete..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{mbox templates}}
This is the {{tl|cmbox}} or '''category message box''' meta-template.
It is used to build message box templates for category pages. It offers several different colours, uses default images if no image parameter is given and it has some other features.
This template works almost exactly like {{tl|bmbox}} and uses the same parameters.
=== Usage ===
Simple usage example:
<pre>
{{cmbox | text = Some text.}}
</pre>
{{cmbox | text = Some text.}}
Complex example:
<pre>
{{cmbox
| type = style
| image = [[Image:Emblem-question-yellow.svg|40px]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
</pre>
{{cmbox
| type = style
| image = [[Image:Emblem-question-yellow.svg|40px]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
=== Category message box types ===
The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type.
{{cmbox
| type = speedy
| text = type=<u>speedy</u> – Speedy deletion templates.
}}
{{cmbox
| type = delete
| text = type=<u>delete</u> – Deletion templates.
}}
{{cmbox
| type = content
| text = type=<u>content</u> – Major warnings and problems.
}}
{{cmbox
| type = style
| text = type=<u>style</u> – Minor warnings and problems.
}}
{{cmbox
| type = notice
| text = type=<u>notice</u> – Notices and messages of any kind, both permanent and temporary.
}}
{{cmbox
| type = move
| text = type=<u>move</u> – Move, merge and split messages and proposals.
}}
{{cmbox
| type = protection
| text = type=<u>protection</u> – Protection templates when shown on a category page.
}}
=== Other images ===
The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the '''image''' parameter to specify an image other than the default images.
{{cmbox
| type = style
| image = [[Image:Sub-arrows.svg|40px]]
| text = type = style <br /> image = <nowiki>[[Image:Sub-arrows.svg|40px]]</nowiki>
}}
{{cmbox
| type = move
| image = [[Image:Redirect arrow.svg|52px]]
| text = type = move <br /> image = <nowiki>[[Image:Redirect arrow.svg|52px]]</nowiki>
}}
=== Special ===
Some other parameter combinations.
{{cmbox
| text = No type and no image given ('''default''')
}}
{{cmbox
| image = none
| text = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area.
}}
{{cmbox
| image = [[Image:Gnome globe current event.svg|42px]]
| imageright = [[Image:Nuvola apps bookcase.svg|40px]]
| text = image = <nowiki>[[Image:Gnome globe current event.svg|42px]]</nowiki> <br /> imageright = <nowiki>[[Image:Nuvola apps bookcase.svg|40px]]</nowiki>
}}
{{cmbox
| image = [[Image:Gnome globe current event.svg|42px]]
| imageright = [[Image:Shuttle.svg|20px]]
| text = '''This category lists articles about current and recent spaceflights.'''
}}
=== Parameters ===
List of all parameters:
<pre>
{{cmbox
| type = speedy / delete / content / style / notice / move / protection
| image = none / [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| style = CSS values
| textstyle = CSS values
| text = The message body text.
}}
</pre>
'''type'''
:If no '''type''' parameter is given the template defaults to type '''notice'''. That means it gets a blue background.
'''image'''
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>image = [[Image:Sub-arrows.svg|40px]]</nowiki></code>
:'''none''' = Means that no image is used.
'''imageright'''
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|40px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
'''style'''
:An optional [[Cascading Style Sheets|CSS]] value used by the entire message box table. Without quotation marks <code>" "</code>. For example:
::<code>style = margin-bottom: 0.5em;</code>
'''textstyle'''
:An optional [[Cascading Style Sheets|CSS]] value used by the text cell. For example:
::<code>textstyle = text-align: center;</code>
'''text'''
:The message body text.
=== Technical details ===
If you need to use special characters in the text parameter then you need to escape them like this:
<pre>
{{cmbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
</pre>
{{cmbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
This template uses the cmbox CSS classes in [[MediaWiki:Common.css/Mboxes.css]] for most of its looks, thus it is fully skinnable.
Internally this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
=== See also ===
{{Mbox templates see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Metatemplates|{{PAGENAME}}]]
[[Category:Category namespace templates| ]]
</includeonly>
aurw1mhy12h4vukiv15kvsco9vks19d
ਫਰਮਾ:No rationale
10
3068
5784
2023-04-22T03:50:44Z
Kuldeepburjbhalaike
1880
"<noinclude>{{template shortcut|pre=subst:|nfur}}</noinclude> {{imbox |type=delete |image=[[File:Ambox warning pn.svg|80px|link=]] |text='''This [[Wikibooks:Media#Non-free_use|non-free file]] lacks a [[Template:Non-free use rationale|non-free use rationale]] to explain its use on Wikibooks.''' After '''{{#time:F j, Y|{{{month|{{CURRENTMONTHNAME}}}}} {{{day|{{CURRENTDAY}}}}}, {{{year|{{CURRENTYEAR}}}}} +6 days}}''' it will be deleted, unless a reas..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude>{{template shortcut|pre=subst:|nfur}}</noinclude>
{{imbox
|type=delete
|image=[[File:Ambox warning pn.svg|80px|link=]]
|text='''This [[Wikibooks:Media#Non-free_use|non-free file]] lacks a [[Template:Non-free use rationale|non-free use rationale]] to explain its use on Wikibooks.''' After '''{{#time:F j, Y|{{{month|{{CURRENTMONTHNAME}}}}} {{{day|{{CURRENTDAY}}}}}, {{{year|{{CURRENTYEAR}}}}} +6 days}}''' it will be deleted, unless a reasonable rationale replaces [{{fullurl:{{FULLPAGENAME}}|action=edit}} {{tl|no rationale}}].<br />
<small>''Please consider notifying the uploader on their talk page about this issue with {{tlxs|Image non-free use|File:{{PAGENAME}}|<nowiki>~~~~</nowiki>}}''</small>
}}<includeonly>{{image other|[[Category:{{#ifexpr:{{lastedit}} >= 7|Candidates for speedy deletion|Files with no non-free use rationale}}|{{PAGENAME}}]]}}</includeonly><noinclude>{{documentation|content=
{{Subst only}}
''This puts pages into [[:Category:Files with no non-free use rationale]] and after 7 days [[:Category:Candidates for speedy deletion]].''
'''When applying this tag''': <small>''Use'' <nowiki>{{subst:No rationale|month=</nowiki>{{CURRENTMONTHNAME}}<nowiki>|day=</nowiki>{{CURRENTDAY}}<nowiki>|year=</nowiki>{{CURRENTYEAR}}<nowiki>}}</nowiki> ''or simply'' <nowiki>{{subst:nfur}}</nowiki>.</small>
[[Category:Copyright issues templates|{{SUBPAGENAME}}]]
}}</noinclude>
0uqa58y7len24ky1i2zb1tvso4qu909
ਫਰਮਾ:File other
10
3069
5785
2023-04-22T03:51:53Z
Kuldeepburjbhalaike
1880
"{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{ns:6}} | file | other }} }} | file | image = {{{1|}}} | other | #default = {{{2|}}} }}<!--End switch--><noinclude> {{Documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#switch:
<!--If no or empty "demospace" parameter then detect namespace-->
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{#ifeq:{{NAMESPACE}}|{{ns:6}}
| file
| other
}}
}}
| file
| image = {{{1|}}}
| other
| #default = {{{2|}}}
}}<!--End switch--><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
qbmobfx5j3l5crwqz7l8qbeptlyviud
ਫਰਮਾ:File other/doc
10
3070
5786
2023-04-22T03:52:32Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|file other}} meta-template. This template helps other templates detect if they are on a "File:" page or some "other" type of page. This template was previously named {{tl|image other}}. That name redirects here so it still works, but using the old name is now deprecated. === Usage === This template usually takes two parameters, l..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|file other}} meta-template.
This template helps other templates detect if they are on a "File:" page or some "other" type of page.
This template was previously named {{tl|image other}}. That name redirects here so it still works, but using the old name is now deprecated.
=== Usage ===
This template usually takes two parameters, like this:
<pre>
{{file other | File page text | Other pages text }}
</pre>
If the template is on a file (image) page, it will return this:
:{{file other | demospace=file | File page text | Other pages text }}
If the template is on any other page, it will return this:
:{{file other | File page text | Other pages text }}
A typical usage case could be to make it so that a template only adds a category when on file pages. Thus not adding other pages that just show the template. Like this:
<pre>
{{file other | [[Category:Some file maintenance category]] }}
</pre>
Or to warn that a template should not be used on other pages:
<pre>
{{file other | | This template should only be used on file (image) pages. }}
</pre>
Note that in the first case above the "other" parameter was not used, and in the second example the "file" parameter was left empty.
=== Demospace ===
For testing and demonstration purposes this template can take a parameter named '''demospace'''.
* If it has the value '''file''' it returns the file page text.
* It if has the value '''other''' or any other value such as the name of some other namespace it returns the other pages text.
* If the parameter is empty or undefined, the actual page type determines the result.
Like this:
<pre>
{{file other
| File page text
| Other pages text
| demospace = file
}}
</pre>
No matter on what kind of page the code above is used it will return this:
:{{file other
| File page text
| Other pages text
| demospace = file
}}
You can make it so your template also understands the '''demospace''' parameter. That means you can demonstrate the different appearances of your template in the documentation for your template. Then do like this:
<pre>
{{file other
| File page text
| Other pages text
| demospace = {{{demospace|}}}
}}
</pre>
=== Technical details ===
This template detects "File talk:" pages as type '''other'''.
Namespace "Image" was renamed to "File" on 11 December 2008. This template was updated to understand both names well before that, thus it still works fine.
This template works like {{tl|main talk other}}, for more examples and technical details see full documentation there.
__NOTOC__
=== See also ===
{{namespace detect see also}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Namespace manipulation templates|{{PAGENAME}}]]
[[Category:File namespace templates|{{PAGENAME}}]]
[[ms:Templat:File other]]
</includeonly>
17nnz37cnpqudzpxd0x9gh16s1zfo2b
ਫਰਮਾ:Image other
10
3071
5787
2023-04-22T03:54:07Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:File other]]
wikitext
text/x-wiki
#redirect[[ਫਰਮਾ:File other]]
c8tm686ayds5yo52bndcjthic5do7q0
ਫਰਮਾ:NUMBEROFBOOKS/doc
10
3072
5796
2023-06-07T06:31:14Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> Returns the number of ordinary pages in [[:{{BOOKCATEGORY|Wikibooks Stacks}}/Books]] to determine the total number of books at Wikibooks. ===Usage=== *{{tl|NUMBEROFBOOKS}} gives {{NUMBEROFBOOKS}} *{{tl|NUMBEROFBOOKS:R}} gives {{NUMBEROFBOOKS:R}} <includeonly> <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> Category:Magic word templates|{{PAGENAME}}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
Returns the number of ordinary pages in [[:{{BOOKCATEGORY|Wikibooks Stacks}}/Books]] to determine the total number of books at Wikibooks.
===Usage===
*{{tl|NUMBEROFBOOKS}} gives {{NUMBEROFBOOKS}}
*{{tl|NUMBEROFBOOKS:R}} gives {{NUMBEROFBOOKS:R}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Magic word templates|{{PAGENAME}}]]
</includeonly>
f0av5gr3axoe46nmnl8gimr1mkaa4sj
ਫਰਮਾ:NUMBEROFBOOKS:R
10
3073
5797
2023-06-07T06:34:09Z
Kuldeepburjbhalaike
1880
"{{PAGESINCATEGORY:{{PAGENAME:{{BOOKCATEGORY|Wikibooks Stacks}}/Books}}|pages|R}}<noinclude> {{doc|Template:NUMBEROFBOOKS/doc}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{PAGESINCATEGORY:{{PAGENAME:{{BOOKCATEGORY|Wikibooks Stacks}}/Books}}|pages|R}}<noinclude>
{{doc|Template:NUMBEROFBOOKS/doc}}
</noinclude>
1muq6sjsks5wq7w5wkeuvgocpwow8pc
ਫਰਮਾ:Doc
10
3074
5798
2023-06-07T06:36:11Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Documentation]]
wikitext
text/x-wiki
#redirect[[Template:Documentation]]
sshuxjitujd7lb52mjo4idsn5msju1c
ਫਰਮਾ:BookCat/doc
10
3075
5800
2023-06-07T06:45:50Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template puts the page on which it's used (<code><nowiki>{{FULLPAGENAME}}</nowiki></code>) into appropriate categories, based on certain page-naming and page-categorization conventions. === Usage === When used without parameters, it *places subpages of a book in the book's category ({{nowrap|<code>{{BOOKCATEGORY|}}{{tlx|BOOKN..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template puts the page on which it's used (<code><nowiki>{{FULLPAGENAME}}</nowiki></code>) into appropriate categories, based on certain page-naming and page-categorization conventions.
=== Usage ===
When used without parameters, it
*places subpages of a book in the book's category ({{nowrap|<code>{{BOOKCATEGORY|}}{{tlx|BOOKNAME}}</code>}}) and sorts them by chapter name.
*places a book's templates in the book's template category ({{nowrap|<code>{{BOOKCATEGORY|}}{{tlx|BOOKNAME}}/Templates</code>}}). ''This only does the right thing if a book's templates begin with'' {{nowrap|<code>Template:{{tlx|BOOKNAME}}</code>}} .
*places a book's template category in the book's category and in {{nowrap|<code>[[:Category:Book-specific templates]]</code>}} .
*places any other category in its parent, sorted by the category's last name. The parent has the same name except removing everything from the last slash on; and the last name is the part that was removed after that last slash. For example, {{nowrap|<code>Category:My Book/Images</code>}} would go in {{nowrap|<code>Category:My Book</code>}} with sort key <code>Images</code> .
===Parameters===
Optional parameter {{nowrap|<code><nowiki>filing=deep</nowiki></code>}} changes the behavior on book pages, so that a book page with more than one slash in its name is placed in a subcategory of the category where its parent page would be placed, sorted by the page's last name. For example, using {{nowrap|<code><nowiki>{{BookCat|filing=deep}}</nowiki></code>}} on page {{nowrap|<code>My Book/Maps/Asia</code>}} would put that page in {{nowrap|<code>Category:My Book/Maps</code>}} with sort key <code>Asia</code> .
Optional parameter {{nowrap|<code><nowiki>template-filing=deep</nowiki></code>}} changes the behavior on template pages to deep filing (so {{nowrap|<code>Template:My book/Maps/Asia</code>}} would go in {{nowrap|<code>Category:My book/Templates/Maps</code>}}).
Optional parameter <code>sort</code> or <code>sortkey</code> specifies a sort key to be used for categorization instead of relying on {{tl|BOOKSORTKEY}}.
Optional first unnamed parameter is a full page name to use instead of the <code><nowiki>{{FULLPAGENAME}}</nowiki></code> of the current page.
An alternative template {{tl|BookCat/diagnose}} reports the output of {{tl|BookCat}} (with or without parameters) as an inert string, rather than categorizing the current page.
=== Examples ===
{{magic word templates/book page examples|BookCat/diagnose}}
=== Internals ===
This template itself only contains the logic to sort out the identity of the target page; deducing the appropriate categorization is then delegated to {{tl|BookCat/core}}. As of this writing, parameters assembled here are <code>namespace</code>, <code>pagename</code>, <code>fullpagename</code>, and <code>sortkey</code>; the first unnamed parameter is [[Module:TScope/doc#shiftLeft|removed]], and all other parameters are passed through to the subtemplate.
=== See also ===
* See [[Using Wikibooks/Shelves, Categories, and Classifications#Deep filing (advanced)]] for more information.
*Instances are listed at
:* [[:Category:Pages with deep filing]].
:* [[:Category:Pages passing sort key to BookCat]]
:* [[:Category:Pages passing page name to BookCat]]
* {{tl|BOOKCATEGORY}} is closely related.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Catalogue templates|{{PAGENAME}}]]
[[fr:Modèle:AutoCat]]
[[pt:Predefinição:AutoCat]]
[[ru:Шаблон:BookCat]]
[[tr:Şablon:KitapKat]]
</includeonly>
s2g980tpwcaa5milfxljrt9suncis2d
ਫਰਮਾ:BookCat/diagnose
10
3076
5801
2023-06-07T06:48:29Z
Kuldeepburjbhalaike
1880
"{{dialog/safe|{{evalx|(join (split (get-arg 2) "[[Category:Pages passing page name to BookCat]]") "")|{{#invoke:TScope|override|BookCat}}}}}}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{dialog/safe|{{evalx|(join (split (get-arg 2) "[[Category:Pages passing page name to BookCat]]") "")|{{#invoke:TScope|override|BookCat}}}}}}<noinclude>
{{documentation}}
</noinclude>
d49iq0tkjeas1k0dxh1qc1mnj6yd429
ਫਰਮਾ:BookCat/diagnose/doc
10
3077
5802
2023-06-07T06:49:50Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This template reports the behavior of {{tl|BookCat}} as an inert string (via {{tl|dialog/safe}}), rather than categorizing the current page as {{tl|BookCat}} would do if called directly. Omits {{nowrap|[[:Category:Pages passing page name to BookCat]]}}. === Usage === Call as one would {{tl|BookCat}}. <!-- === S..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This template reports the behavior of {{tl|BookCat}} as an inert string (via {{tl|dialog/safe}}), rather than categorizing the current page as {{tl|BookCat}} would do if called directly. Omits {{nowrap|[[:Category:Pages passing page name to BookCat]]}}.
=== Usage ===
Call as one would {{tl|BookCat}}.
<!--
=== See also ===
-->
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
auni270eo127zc5krz0ci6a5v0yqoco
ਫਰਮਾ:Dialog/safe
10
3078
5803
2023-06-07T06:52:20Z
Kuldeepburjbhalaike
1880
"{{evalx|1= (define s (get-arg 2)) (define t (find s (pattern "[<%=>%[%]%*#:']"))) (set-substring s t (to-entity (get-substring s t))) |2={{{1|}}}}}<noinclude>{{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{evalx|1=
(define s (get-arg 2))
(define t (find s (pattern "[<%=>%[%]%*#:']")))
(set-substring s t (to-entity (get-substring s t)))
|2={{{1|}}}}}<noinclude>{{Documentation}}</noinclude>
fzi7snxnv0vewowhrmo3gubwqdusatq
ਫਰਮਾ:Dialog/safe/doc
10
3079
5804
2023-06-07T06:54:30Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} {{high-risk|over 1000}} This template converts certain wiki formatting characters in its parameter to numeric html entity references. === Usage === Apply this template to strings ''output'' by the template expansion process, that will be converted to html but are meant to remain relatively unaffected by the conversion...." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
{{high-risk|over 1000}}
This template converts certain wiki formatting characters in its parameter to numeric html entity references.
=== Usage ===
Apply this template to strings ''output'' by the template expansion process, that will be converted to html but are meant to remain relatively unaffected by the conversion. The conversion still alters the string somewhat. To bypass the conversion altogether, use {{tl|dialog/init}}.
* {{tl|dialog/safe|''string''}} returns a "safe" version of ''string'', by substituting html entity references for certain characters that have format meaning in wiki markup. As of this writing, the characters are
:: < > = [ ] * # : '
: Note, this list does ''not'' include characters that affect parsing of wiki markup, but don't affect the subsequent conversion to html:
:: { } {{!}}
: These parsing characters (and some of the others) are significant when a [[Help:dialog|dialog]] parameter is being injected ''into'' the template expansion process, and are dealt with there by replacing them with template calls — to templates {{tl|(*}}, {{tl|*)}}, {{tl|!}}, etc., so that the expansion process returns those characters to their original forms.
=== Internals ===
The characters substituted for are designated by a [[mw:Extension:Scribunto/Lua reference manual#Ustring patterns|Scribunto ustring pattern]].
=== See also ===
* [[Special:WhatLinksHere/{{FULLPAGENAME}}|pages using, or referring to, this template]]
* [[Help:Dialog]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Dialog required support templates|safe]]<!-- e.g. Template:Dialog/text, Template:Dialog:textarea -->
</includeonly>
64uv9medma6xiggd2j03690k2d4hm81
ਫਰਮਾ:Dialog/init
10
3080
5805
2023-06-07T06:56:42Z
Kuldeepburjbhalaike
1880
"{{#if:{{{3|}}}|{{{2|}}}}}<noinclude> {{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#if:{{{3|}}}|{{{2|}}}}}<noinclude>
{{Documentation}}</noinclude>
hzeopkjkdyr8ra5fep7uxmxugag2rcd
ਫਰਮਾ:Dialog/init/doc
10
3081
5806
2023-06-07T06:57:58Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} === Usage === Use this template on a page to be accessed via dialog action [[WN:Dialog/do/doc|do]] to specify an initial value for a [[WN:dialog|dialog field]], thus: : {{tl|dialog/init|''name''|''value''}} This causes ''value'' to be processed through template-expansion, and the resulting value to be associated with d..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
=== Usage ===
Use this template on a page to be accessed via dialog action [[WN:Dialog/do/doc|do]] to specify an initial value for a [[WN:dialog|dialog field]], thus:
: {{tl|dialog/init|''name''|''value''}}
This causes ''value'' to be processed through template-expansion, and the resulting value to be associated with dialog field ''name'', as if it had been provided as an incoming dialog parameter, and overriding any dialog parameter ''name'' provided. This bypasses the ordinary processing by which the wiki software converts the output of template-expansion into html for viewing; the ordinary processing rearranges whitespace, linebreaks, and markup for list items, indentation, italics, wikilinks, and so on. Some, but not all, of the ordinary processing can be avoided by means of {{tl|dialog/safe}}.
Ordinarily, the template call itself expands to the empty string. However, a non-blank third parameter causes the template call to expand to ''value''.
The template call must appear on the accessed page itself, as it is processed by the do action ''before'' template-expansion of the page as a whole. This enhances security since arbitrary templates used on the dialog page cannot indirectly override dialog parameter values.
The ''value'' may contain template parameters processed by the do action (such as <code>SUBJECT-CONTENT</code>, or incoming dialog parameters), as the action replaces those before processing calls to {{tl|dialog/init}}. Because those template parameters are processed before {{tl|dialog/init}} calls, they depend on incoming dialog parameters only, regardless of ''value'' or of any other call to {{tl|dialog/init}}. The specified ''value'' will, however, override any incoming dialog parameter to determine the initial content of a dialog field called ''name''.
Reserved parameter names — anything that starts with an upper-case letter and does not contain any lower-case letters — cannot be overridden using {{tl|dialog/init}}; any attempt to do so is ignored.
Use this template sparingly, as each call processed may entail a separate call across the internet to the wiki server (though the dialog software will save itself the trouble if it notices ''value'' doesn't contain any template calls). As of this writing, only up to eight calls to this template are processed by action do; any additional calls do not affect dialog fields.
If a parameter provided through {{tl|dialog/init}} is meant to be explicitly passed by a [[Template:Dialog/button|button]] (rather than implicitly passed by delegation), there has to be a dialog field on the page with the name of that parameter (typically declared using {{tl|dialog/textarea|2=hidden=1}}); explicit button parameters are always taken from dialog fields, not from incoming dialog parameters.
== Technical restrictions ==
The ''value'' must not contain any unmatched braces (<code>{</code> or <code>}</code>) and must not have braces nested more than 32 deep (as of this writing). The unbalanced-braces problem can be avoided by using {{tl|(*}} and {{tl|*)}}. If these limtations are exceeded, the template call does not affect dialog fields (because the dialog software fails to recognize it in the raw wiki markup).
=== See also ===
* [[Special:WhatLinksHere/{{FULLPAGENAME}}|pages using, or referring to, this template]]
* [[Help:Dialog]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Dialog behavior templates|init]]
</includeonly>
3pbcfijdv01ysrpq83er41klzy7yjkk
ਫਰਮਾ:Dialog/textarea
10
3082
5807
2023-06-07T06:58:52Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#if:{{{id|}}}|<span class="wikidialog-textarea {{#if:{{{hidden|}}}|wikidialog-hidden}}" id="wikidialog-{{{id}}}">cols={{{cols|}}}&rows={{{rows|}}}&{{dialog/safe|{{{1|}}}}}</span><span class="wikidialog-textarea wikidialog-hidden" id="wikidialogbound-{{{id}}}">x</span>|<span style="color:red;">'''{{nowrap|<textarea dialog box requires an id field>}}'''</span>}}</includeonly><noinclude>{{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#if:{{{id|}}}|<span class="wikidialog-textarea {{#if:{{{hidden|}}}|wikidialog-hidden}}" id="wikidialog-{{{id}}}">cols={{{cols|}}}&rows={{{rows|}}}&{{dialog/safe|{{{1|}}}}}</span><span class="wikidialog-textarea wikidialog-hidden" id="wikidialogbound-{{{id}}}">x</span>|<span style="color:red;">'''{{nowrap|<textarea dialog box requires an id field>}}'''</span>}}</includeonly><noinclude>{{Documentation}}</noinclude>
i6b5nfotly755h8uscsyywvgnf7pwx9
ਫਰਮਾ:Dialog/textarea/doc
10
3083
5808
2023-06-07T07:00:56Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} {{possible-risk}} This template sets up a multi-line text [[Help:Dialog|dialog]] box. === Usage === Parameters: * id — required — A unique name for the field; stick to letters and hyphens. * cols — optional — The intended width of the text box, in characters. * rows — optional — The..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
{{possible-risk}}
This template sets up a multi-line text [[Help:Dialog|dialog]] box.
=== Usage ===
Parameters:
* id — required — A unique name for the field; stick to letters and hyphens.
* cols — optional — The intended width of the text box, in characters.
* rows — optional — The intended number of lines of the text box.
* unnamed parameter — optional — The initial content of the text box. To specify a multi-line value, use double-spacing between lines. This means of initializing the content is recommended only for fixed text; for arbitrary data, use {{tl|dialog/init}}.
The textarea can also be made invisible by specifying non-blank parameter <kbd>hidden</kbd>.
=== Internals ===
Behind the (hopefully) seamless interface this template presents to users, there is a good deal of esoteric working around quirks of the wiki software.
The template tries to set up an html span element with class <code>wikidialog-textarea</code>, id <code>wikidialog-</code>''id'', and content the specified initial value. Ideally, the [[MediaWiki:Gadget-wikidialog.js|dialog gadget]] looks for span elements with this class, and replaces each with a textarea box with the given initial content. However, when the specified content has multiple paragraphs in wiki markup, the wiki software generates multiple consecutive span elements, one for each paragraph, all with the same id. This multiplicity of elements could be avoided by using a div element instead of a span element, but as of this writing, the wiki software doesn't support embedding a div element on a single line, which we may want to do with small text boxes; hence the use of span elements. The show module compensates by checking for multiple consecutive span elements with class <code>wikidialog-textarea</code> and the same id, and if it finds them, it concatenates their contents into the first, and removes the later ones. To keep the show module from mistakenly merging elements from separate specifications with the same id (which can happen since the wiki software does not support {{w|hygienic macro|gensyms}}), the template also sets up a trailing hidden element of the same class and different id, so that multiple elements from separate specifications always alternate with elements with different ids.
=== See also ===
* [[Special:WhatLinksHere/{{FULLPAGENAME}}|pages using, or referring to, this template]]
* [[Help:Dialog]]
* {{tl|dialog/safe}}
<includeonly>
{{hidden use|Template:Dialog/safe}}
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Dialog element templates|textarea]]
</includeonly>
j33cijgvi3c3qetj4ckum5bnusnelzm
ਫਰਮਾ:BookCat/core
10
3084
5809
2023-06-07T07:05:05Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#invoke:TScope|override|BookCat/{{#switch:{{{namespace}}} |{{TALKSPACE:{{{namespace}}}:{{{pagename}}}}}=talk |Category =category |Subject =subject |Template =template |User =user |Wikibooks=category |={{evalx| (let (x (get-arg 2)) (if (equal? (get-substring x 1 11) "Department:") "department" (if (equal? (get-substring x 1 6) "Shelf:") "shelf" "default"))) |{{ucfirst..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#invoke:TScope|override|BookCat/{{#switch:{{{namespace}}}
|{{TALKSPACE:{{{namespace}}}:{{{pagename}}}}}=talk
|Category =category
|Subject =subject
|Template =template
|User =user
|Wikibooks=category
|={{evalx|
(let (x (get-arg 2))
(if (equal? (get-substring x 1 11) "Department:")
"department"
(if (equal? (get-substring x 1 6) "Shelf:")
"shelf"
"default")))
|{{ucfirst:{{{pagename}}}}}}}
|#default =default
}}}}</includeonly><noinclude>
{{documentation}}
</noinclude>
8tn25ac4mqo1m1z6kwtwsnkadjnnq8d
ਫਰਮਾ:BookCat/core/doc
10
3085
5810
2023-06-07T07:06:16Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This subtemplate of {{tl|BookCat}} handles the actual categorization of the page, using data provided by the parent template. === Usage === Parameters <code>namespace</code>, <code>pagename</code>, and <code>fullpagename</code> are expected. === Internals === This template is only a dispatcher..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This subtemplate of {{tl|BookCat}} handles the actual categorization of the page, using data provided by the parent template.
=== Usage ===
Parameters <code>namespace</code>, <code>pagename</code>, and <code>fullpagename</code> are expected.
=== Internals ===
This template is only a dispatcher, sending talk pages {{tl|BookCat/talk}}, categories (and project pages) to {{tl|BookCat/category}}, subject pages to {{tl|BookCat/subject}}, templates to {{tl|BookCat/template}}, userspace pages to {{tl|BookCat/user}}, mainspace pages with prefix <code>Department:</code> or <code>Shelf:</code> to {{tl|BookCat/department}} or {{tl|BookCat/shelf}} respectively, and anything else to {{tl|BookCat/default}}.
<!--
=== See also ===
-->
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
9ahfh8nujnap4i4k8hfgwq7ostjgczk
ਫਰਮਾ:BookCat/category
10
3086
5811
2023-06-07T07:07:09Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#if: {{BOOKPAGENAME|{{{fullpagename}}}}} |[[Category:{{#titleparts:{{{pagename}}}|-1}}|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#titleparts:{{{pagename}}}||-1}}}} ]] {{#switch: {{#titleparts:{{{fullpagename}}}||2}} | Templates = [[Category:Book-specific templates|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{BOOKNAME|{{{fullpagename}}}}}}} ]] | Stubs = [[Category:Stubs|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{BOOKNAME|{{{fullpagename}}}}}}} ]] }} |{..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#if: {{BOOKPAGENAME|{{{fullpagename}}}}}
|[[Category:{{#titleparts:{{{pagename}}}|-1}}|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#titleparts:{{{pagename}}}||-1}}}} ]]
{{#switch: {{#titleparts:{{{fullpagename}}}||2}}
| Templates = [[Category:Book-specific templates|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{BOOKNAME|{{{fullpagename}}}}}}} ]]
| Stubs = [[Category:Stubs|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{BOOKNAME|{{{fullpagename}}}}}}} ]]
}}
|{{BookCat/category/subjects|book={{BOOKNAME|{{{fullpagename}}}}}}}{{BookCat/category/shelves|book={{BOOKNAME|{{{fullpagename}}}}}}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
hl84rmp60q2opcdnukasy53cfxi38hz
ਫਰਮਾ:BookCat/category/doc
10
3087
5812
2023-06-07T07:08:08Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. --> === Usage === This template handles pages in the category namespace for {{tl|BookCat}}. Parameters are passed down from the parent. At this writing, parameters used are optional <code>sortkey</code>, and required <code>fullpagename</code> and <code>pagename</code>. === Internals === This template respects the c..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. -->
=== Usage ===
This template handles pages in the category namespace for {{tl|BookCat}}.
Parameters are passed down from the parent. At this writing, parameters used are optional <code>sortkey</code>, and required <code>fullpagename</code> and <code>pagename</code>.
=== Internals ===
This template respects the category name's choice to use or not use prefix <code>Book:</code>. If a category has a non-blank {{tl|BOOKPAGENAME}}, this template puts the category in parent named by stripping off the last subfield. If the {{tl|BOOKPAGENAME}} is blank, {{tl|BOOKNAME}} {{tl|BookCat/category/subjects}} and {{tl|BookCat/category/shelves}} are used to retrieve subject categories.
=== See also ===
* {{tl|BookCat/core}}
<includeonly>
<!-- Categories go here, and interwikis go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
kmdspkd4a8vfpvphx6zb3eaq84ojovo
ਫਰਮਾ:BookCat/category/subjects
10
3088
5813
2023-06-07T07:09:05Z
Kuldeepburjbhalaike
1880
"{{evalx| (define book (get-arg 3)) (define ls (split (get-arg 2) (pattern "%[%[[Cc]ategory:[Ss]ubject:") "]]")) (define ls (map (\x (split (nth (split x "{{!}}") 1) "/")) ls)) (define ls (map (\x (if (and? (ge? (length x) 2) (equal? (nth x (length x)) "all books")) () (list (join x "/"))) ) ls)) (define ls (apply + (+ ls (list ())))) (defin..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{evalx|
(define book (get-arg 3))
(define ls (split (get-arg 2) (pattern "%[%[[Cc]ategory:[Ss]ubject:") "]]"))
(define ls (map (\x (split (nth (split x "{{!}}") 1) "/")) ls))
(define ls (map (\x
(if (and? (ge? (length x) 2)
(equal? (nth x (length x)) "all books"))
()
(list (join x "/")))
) ls))
(define ls (apply + (+ ls (list ()))))
(define ls (map (\x (+ "[[Category:Subject:" x "{{!}}" book "]]")) ls))
(let (s (apply + (+ ls (list ""))))
(if (equal? s "")
"<includeonly>[[Category:Attention needed (allbooks)]]</includeonly>"
s))
|{{:{{{book}}}}}|{{#ifeq:{{NAMESPACE:{{{book}}}}}|Wikijunior|{{PAGENAME:{{{book}}}}}|{{{book}}}}}}}<noinclude>
{{documentation}}
</noinclude>
7kkr97xax9ouikfseun6v26ltc9znd9
ਫਰਮਾ:BookCat/category/subjects/doc
10
3089
5814
2023-06-07T07:10:26Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. --> === Usage === This template handles adding subject categories to a book category. Its logic is isolated here from the rest of {{tl|BookCat/category}} because it's more elaborate than the rest of that template put together, so if included there it would obfuscate that whole template; it works by transcluding the b..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. -->
=== Usage ===
This template handles adding subject categories to a book category. Its logic is isolated here from the rest of {{tl|BookCat/category}} because it's more elaborate than the rest of that template put together, so if included there it would obfuscate that whole template; it works by transcluding the book main page and parsing it to find the non-[[Template:allbooks category|allbooks]] subject categories. The book is passed in as parameter <code>book</code>.
<!--
=== See also ===
-->
<includeonly>
<!-- Categories go here, and interwikis go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
hxotuyj4jvi7zfpbjv3gkz0h0bnd3do
ਫਰਮਾ:BookCat/category/shelves
10
3090
5815
2023-06-07T07:11:23Z
Kuldeepburjbhalaike
1880
"{{evalx| (define book (get-arg 3)) (define ls (split (get-arg 2) (pattern "%[%[[Cc]ategory:[Ss]helf:") "]]")) (define ls (map (\x (split (nth (split x "{{!}}") 1) "/")) ls)) (define ls (map (\x (if (and? (ge? (length x) 2) (equal? (nth x (length x)) "all books")) () (list (join x "/"))) ) ls)) (define ls (apply + (+ ls (list ())))) (define..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{evalx|
(define book (get-arg 3))
(define ls (split (get-arg 2) (pattern "%[%[[Cc]ategory:[Ss]helf:") "]]"))
(define ls (map (\x (split (nth (split x "{{!}}") 1) "/")) ls))
(define ls (map (\x
(if (and? (ge? (length x) 2)
(equal? (nth x (length x)) "all books"))
()
(list (join x "/")))
) ls))
(define ls (apply + (+ ls (list ()))))
(define ls (map (\x (+ "[[Category:Shelf:" x "{{!}}" book "]]")) ls))
(let (s (apply + (+ ls (list ""))))
(if (equal? s "")
<noinclude>""</noinclude><includeonly>(+ "[[{{BOOKCATEGORY|Shelf:}}/Attention needed{{!}}" book "]]")</includeonly>
s))
|{{:{{{book}}}}}|{{#ifeq:{{NAMESPACE:{{{book}}}}}|Wikijunior|{{PAGENAME:{{{book}}}}}|{{{book}}}}}}}<noinclude>
{{documentation}}
</noinclude>
fu52ndcvifir09oz1cajy2b0ecnt0yh
ਫਰਮਾ:BookCat/category/shelves/doc
10
3091
5816
2023-06-07T07:12:37Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. --> === Usage === This template handles adding shelf categories to a book category. Its logic is isolated here from the rest of {{tl|BookCat/category}} because it's more elaborate than the rest of that template put together, so if included there it would obfuscate that whole template; it works by transcluding the boo..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. -->
=== Usage ===
This template handles adding shelf categories to a book category. Its logic is isolated here from the rest of {{tl|BookCat/category}} because it's more elaborate than the rest of that template put together, so if included there it would obfuscate that whole template; it works by transcluding the book main page and parsing it to find the non-[[Template:Shelf:Allbooks category|allbooks]] shelf categories. The book is passed in as parameter <code>book</code>.
<!--
=== See also ===
-->
<includeonly>
<!-- Categories go here, and interwikis go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
qmyhzbxefqv7cm9loqfl0xdde2wbdks
ਫਰਮਾ:BookCat/default
10
3092
5817
2023-06-07T07:14:55Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#ifeq: {{{filing|}}} | deep |[[{{BOOKCATEGORY|{{{fullpagename}}}|book={{#if:{{#titleparts:{{{fullpagename}}}||2}}|{{#titleparts:{{{fullpagename}}}|-1}}|{{{fullpagename}}}}}}}|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#if:{{#titleparts:{{{fullpagename}}}||2}}|{{#titleparts:{{{pagename}}}||-1}}}}}} ]][[Category:Pages with deep filing]] |{{BOOKCATEGORY|{{{fullpagename}}}|book={{NAIVEBOOKNAME|{{{fullpagename}}}}}}}|{{#if:{{{sortkey|}}}|{{{..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#ifeq: {{{filing|}}} | deep
|[[{{BOOKCATEGORY|{{{fullpagename}}}|book={{#if:{{#titleparts:{{{fullpagename}}}||2}}|{{#titleparts:{{{fullpagename}}}|-1}}|{{{fullpagename}}}}}}}|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#if:{{#titleparts:{{{fullpagename}}}||2}}|{{#titleparts:{{{pagename}}}||-1}}}}}} ]][[Category:Pages with deep filing]]
|[[{{BOOKCATEGORY|{{{fullpagename}}}|book={{NAIVEBOOKNAME|{{{fullpagename}}}}}}}|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#titleparts:{{{fullpagename}}}||2}}}} ]]
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
19zdiuubcgqk688r91b773tk23n2n05
ਫਰਮਾ:BookCat/default/doc
10
3093
5818
2023-06-07T07:16:06Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. --> === Usage === This template handles pages in most "article" (i.e., non-talk) namespaces for {{tl|BookCat}}. Parameters are passed down from the parent template. At this writing, parameters used are optional <code>filing</code>, optional <code>sortkey</code>, and required <code>fullpagename</code> and <code>pagen..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. -->
=== Usage ===
This template handles pages in most "article" (i.e., non-talk) namespaces for {{tl|BookCat}}.
Parameters are passed down from the parent template. At this writing, parameters used are optional <code>filing</code>, optional <code>sortkey</code>, and required <code>fullpagename</code> and <code>pagename</code>.
=== See also ===
* {{tl|BookCat/core}}
<includeonly>
<!-- Categories go here, and interwikis go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
rilv7pfcrdiornbe2t4cwk124326kzv
Wikibooks:ਸੱਥ/ਪੁਰਾਣੀ ਚਰਚਾ 1
4
3094
5822
2023-06-07T08:27:14Z
Kuldeepburjbhalaike
1880
archive old discussions (but removed a link from 'Indic Wikimedia Campaigns/Contests Survey' because it is blocked and page doesn't exist.
wikitext
text/x-wiki
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ! ਇਸ ਵਿਕੀ ਨੂੰ ਸੰਭਾਲਣ ਅਤੇ ਸੰਵਾਰਨ ਦੀ ਕਾਫ਼ੀ ਲੋੜ ਹੈ ਜਿਸ ਵਿਚ ਤੁਹਾਡੇ ਸਭ ਦੇ ਸਾਥ ਦੀ ਲੋੜ ਹੈ। ਇੱਥੇ ਯੋਗਦਾਨ ਦੇਣ ਲਈ ਸਭ ਦਾ ਸਵਾਗਤ ਹੈ ਅਤੇ ਤੁਸੀਂ ਵੀ ਇੱਥੇ ਲਿਖ ਅਤੇ ਫੇਰ-ਬਦਲ ਸਕਦੇ ਹੋ। ਮਿਹਰਬਾਨੀ ਕਰਕੇ ਇਸਨੂੰ ਇਕ ਵਧੀਆ ਲਾਇਬ੍ਰੇਰੀ ਬਣਾਉਣ ਵਿਚ ਆਪਣਾ ਯੋਗਦਾਨ ਦਿਓ। --[[User:Itar buttar|<span style="color:green;">itar buttar</span>]] [[User talk:Itar buttar|<span style="color:blue;">'''[ਗੱਲ-ਬਾਤ]'''</span>]] ੧੬:੧੮, ੨ ਨਵੰਬਰ ੨੦੧੨ (UTC)
== ਪ੍ਰਬੰਧਕੀ ਹੱਕ ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ! ਮੈਂ ਇੱਥੇ ਬਹੁਤ ਖ਼ਰਾਬ ਸਫ਼ੇ ਅਤੇ ਬਹੁਤ ਕਮੀਆਂ ਵੇਖੀਆਂ ਹਨ। ਉਹ ਸਫ਼ੇ ਮਿਟਾਉਣ, ਬਾਕੀ ਕਮੀਆਂ ਦੂਰ ਕਰਨ ਅਤੇ ਇੰਟਰਫ਼ੇਸ ਬਿਹਤਰੀ ਲਈ ਮੈਂ ਇਸ ਵਿਕੀ ’ਤੇ ਪ੍ਰਬੰਧਕ ਦੇ ਹੱਕ ਚਾਹੁੰਦਾ ਹਾਂ। ਮੈਂ ਯਕੀਨਨ ਹੀ ਇਸ ਵਿਕੀ ਦਾ ਪਹਿਲਾ ਅਤੇ ਕਾਫ਼ੀ ਸਰਗਰਮ ਪ੍ਰਬੰਧਕ ਸਾਬਤ ਹੋਵਾਂਗਾ। ਧੰਨਵਾਦ। --[[User:Itar buttar|<span style="color:green;">itar buttar</span>]] [[User talk:Itar buttar|<span style="color:blue;">'''[ਗੱਲ-ਬਾਤ]'''</span>]] ੧੬:੨੫, ੨ ਨਵੰਬਰ ੨੦੧੨ (UTC)
*{{ਨਹੀਂ}}'''ਖ਼ਿਲਾਫ਼''' --[[User:SoniaSingh04|<span style="color:purple;">Sonia Singh</span>]] [[User talk:SoniaSingh04|<span style="color:pink;">'''[ਗੱਲ-ਬਾਤ]'''</span>]]
*{{ਹਾਂ}}'''ਸਮਰਥਨ'''--[[ਵਰਤੌਂਕਾਰ:Babanwalia|Babanwalia]] ([[ਵਰਤੌਂਕਾਰ ਗੱਲ-ਬਾਤ:Babanwalia|talk]]) ੧੫:੨੮, ੯ ਦਸੰਬਰ ੨੦੧੨ (UTC)
*{{ਨਹੀਂ}}'''ਵਿਰੋਧ''' --[[ਵਰਤੌਂਕਾਰ:Zarienah|Zarienah]] ([[ਵਰਤੌਂਕਾਰ ਗੱਲ-ਬਾਤ:Zarienah|talk]]) ੧੮:੧੭, ੮ ਦਸੰਬਰ ੨੦੧੨ (UTC)
*{{ਨਹੀਂ}}'''ਵਿਰੋਧ''' — [[ਵਰਤੌਂਕਾਰ:VibhasKS|VibhasKS]] ([[ਵਰਤੌਂਕਾਰ ਗੱਲ-ਬਾਤ:VibhasKS|talk]]) ੨੨:੦੬, ੧੨ ਦਸੰਬਰ ੨੦੧੨ (UTC)
*{{ਹਾਂ}}'''ਸਮਰਥਨ'''--[[ਵਰਤੌਂਕਾਰ:Губин Михаил|Gubin]] ([[ਵਰਤੌਂਕਾਰ ਗੱਲ-ਬਾਤ:Губин Михаил|talk]]) ੦੭:੫੦, ੨੪ ਦਸੰਬਰ ੨੦੧੨ (UTC)
== comment ==
I wanna ask the users who opposed, do they promise to do something constructive to develope this wiki as they're just stopping others to do this. The only edits they did are changing the wiki terms and this oppose. --[[User:Itar buttar|<span style="color:green;">itar buttar</span>]] [[User talk:Itar buttar|<span style="color:blue;">'''[ਗੱਲ-ਬਾਤ]'''</span>]] ੦੩:੦੨, ੧੩ ਦਸੰਬਰ ੨੦੧੨ (UTC)
:you are making your own rules now, they are all part of the punjabi community and want for the better, stop panicking and try to appreciate everyone properly then maybe you would get supports. What do you mean by "wiki terms" the greetings that you personally like to use are not our wiki terms. You yourself only imported a deletion template and tagged things for deletion and now want to become admin? The only thing you are contributing to right now are the talk pages so don't act like you own the place or the language. —[[ਵਰਤੌਂਕਾਰ:VibhasKS|VibhasKS]] ([[ਵਰਤੌਂਕਾਰ ਗੱਲ-ਬਾਤ:VibhasKS|talk]]) ੦੮:੫੬, ੧੩ ਦਸੰਬਰ ੨੦੧੨ (UTC)
*(with steward hat on) Lacks the necessary consensus to promote. <i><b>[[User:Snowolf|<font color = "darkmagenta">Snowolf</font>]] <sup><small>[[m:User:Snowolf|<font color = "darkmagenta">How can I help?</font>]]</small></sup></b></i> ੧੭:੦੮, ੨੪ ਦਸੰਬਰ ੨੦੧੨ (UTC)
== Global AbuseFilter ==
<div lang="en" dir="ltr" class="mw-content-ltr">Hello,
[[mw:Special:MyLanguage/Extension:AbuseFilter|AbuseFilter]] is a MediaWiki extension used to detect likely abusive behavior patterns, like pattern vandalism and spam. In 2013, [[m:Special:Mylanguage/Global AbuseFilter|Global AbuseFilters]] were enabled on a limited set of wikis including Meta-Wiki, MediaWiki.org, Wikispecies and (in early 2014) all the "[https://noc.wikimedia.org/conf/highlight.php?file=small.dblist small wikis]". Recently, global abuse filters were enabled on "[https://noc.wikimedia.org/conf/highlight.php?file=medium.dblist medium sized wikis]" as well. These filters are currently managed by stewards on Meta-Wiki and have shown to be very effective in preventing mass spam attacks across Wikimedia projects. However, there is currently no policy on how the global AbuseFilters will be managed although there are proposals. There is an ongoing [[m:Requests for comment/Global AbuseFilter|request for comment]] on policy governing the use of the global AbuseFilters. In the meantime, specific wikis can opt out of using the global AbuseFilter. These wikis can simply add a request to [[m:Global AbuseFilter/Opt-out wikis|this list]] on Meta-Wiki. More details can be found on [[m:Special:Mylanguage/Global AbuseFilter/2014 announcement|this page]] at Meta-Wiki. If you have any questions, feel free to ask on [[m:Talk:Global AbuseFilter|m:Talk:Global AbuseFilter]].
Thanks,
[[m:User:PiRSquared17|PiRSquared17]], [[m:User:Glaisher|Glaisher]]</div> — ੧੭:੩੪, ੧੪ ਨਵੰਬਰ ੨੦੧੪ (UTC)
<!-- Message sent by User:Glaisher@metawiki using the list at http://meta.wikimedia.org/w/index.php?title=Global_AbuseFilter/2014_announcement_distribution_list&oldid=10495115 -->
== Temporary Adminship ==
I am requesting temporary adminship on this wiki.--[[ਵਰਤੋਂਕਾਰ:Satdeep Gill|Satdeep Gill]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Satdeep Gill|ਗੱਲ-ਬਾਤ]]) 17:26, 16 ਦਸੰਬਰ 2015 (UTC)
===Support===
{{ਹਾਂ}}
* {{ਹਾਂ}} [[ਵਰਤੋਂਕਾਰ:ਪ੍ਰਚਾਰਕ|ਪ੍ਰਚਾਰਕ]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:ਪ੍ਰਚਾਰਕ|ਗੱਲ-ਬਾਤ]]) 13:16, 19 ਦਸੰਬਰ 2015 (UTC)
* {{ਹਾਂ}} [[ਵਰਤੋਂਕਾਰ:Baljeet Bilaspur|Baljeet Bilaspur]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Baljeet Bilaspur|ਗੱਲ-ਬਾਤ]]) 14:06, 19 ਦਸੰਬਰ 2015 (UTC)
* {{ਹਾਂ}} [[ਵਰਤੋਂਕਾਰ:Bhvintri|Bhvintri]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Bhvintri|ਗੱਲ-ਬਾਤ]]) 16:57, 16 ਫ਼ਰਵਰੀ 2016 (UTC)
===Oppose===
===Comments===
I support Satdeep Gill , as no better choice is available.There are presently only 4 active users on this project,positive aspect of Satdeep Gill is that he has been greatly instrumental in promoting more number of active users on punjabi wiki which so far had very less no. of users compared to community size ; but for his limitations in administrator actions , he has to improve a lot , examples are ; poor-knowledge as example look [https://pa.wikipedia.org/wiki/ਵਿਕੀਪੀਡੀਆ:ਸੱਥ#.E0.A8.AA.E0.A9.8D.E0.A8.B0.E0.A8.B8.E0.A8.BC.E0.A8.BE.E0.A8.B8.E0.A8.95_.E0.A8.AC.E0.A8.A3.E0.A8.A8_.E0.A8.B8.E0.A9.B0.E0.A8.AC.E0.A9.B0.E0.A8.A7.E0.A9.80_.E0.A8.A8.E0.A9.80.E0.A8.A4.E0.A9.80 here] ;he could not explain or define simple term such as '''active user ''' while putting a '''draft policy for becoming administrator''' 'on punjabi Wikipedia village pump and after a lengthy discussion , could only be convinced that he does not know this term and replied let community define it ;which he is yet to improve upon .--[[ਵਰਤੋਂਕਾਰ:Guglani|Guglani]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Guglani|ਗੱਲ-ਬਾਤ]]) 12:37, 19 ਦਸੰਬਰ 2015 (UTC)
:administrators should promise that on such new project their 90% edits should be main space edits for content creation, rather than deletion to become example for other users.Deletion by administrators should be resorted to only vulgar content or license issues on a new project like this. --[[ਵਰਤੋਂਕਾਰ:Guglani|Guglani]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Guglani|ਗੱਲ-ਬਾਤ]]) 13:04, 20 ਦਸੰਬਰ 2015 (UTC)
== Compact Language Links enabled in this wiki today ==
{{int:Please-translate}}
<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:Compact-language-links-list.png|thumb|Screenshot of Compact Language Links interlanguage list]]
[[:mw:Universal_Language_Selector/Compact_Language_Links|Compact Language Links]] has been available as a beta-feature on all Wikimedia wikis since 2014. With compact language links enabled, users are shown a much shorter list of languages on the interlanguage link section of an article (see image). Based on several factors, this shorter list of languages is expected to be more relevant for them and valuable for finding similar content in a language known to them. More information about compact language links can be found in [[:mw:Universal_Language_Selector/Compact_Language_Links|the documentation]].
From today onwards, compact language links has been enabled as the default listing of interlanguage links on this wiki. Using the button at the bottom, you will be able to see a longer list of all the languages the article has been written in. The setting for this compact list can be changed by using the checkbox under ''User Preferences -> Appearance -> Languages''
The compact language links feature has been tested extensively by the Wikimedia Language team, which developed it. However, in case there are any problems or other feedback please let us know on the [[:mw:Talk:Universal_Language_Selector/Compact_Language_Links|project talk page]] or on this discussion thread. It is to be noted that on some wikis the presence of an existing older gadget that was used for a similar purpose may cause an interference for compact language list. We would like to bring this to the attention of the admins of this wiki. Full details are on [[phab:T131455|this phabricator ticket]] (in English).
Due to the large scale enablement of this feature, we have had to use [[:m:Global_message_delivery|MassMessage]] for this announcement and as a result it is only written in English. We will really appreciate if this message can be translated for other users of this wiki. Thank you. On behalf of the Wikimedia Language team: [[:mw:User:Runab_WMF|Runa Bhattacharjee (WMF)]] ([[mw:User talk:Runab_WMF|talk]]) 07:04, 24 ਜੂਨ 2016 (UTC)
</div>
<!-- Message sent by User:Runab WMF@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/ULS_Compact_Links/24_June&oldid=15720673 -->
== ਵਿਕੀਮੀਡੀਆ ਅੰਦੋਲਨ ਰਣਨੀਤੀ ਨਿਰਧਾਰਨ 2017 ਸਬੰਧੀ ਵਿਚਾਰ ਚਰਚਾ ==
ਵਿਕੀਮੀਡੀਆ ਅੰਦੋਲਨ ਰਣਨੀਤੀ ਨਿਰਧਾਰਨ ਤਹਿਤ ਵੱਖ-ਵੱਖ ਵਿਸ਼ਿਆਂ ਨਾਲ ਸਬੰਧਿਤ ਮਾਹਿਰਾਂ ਨਾਲ ਅਤੇ ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਅਨਜ ਦੀ ਪੂਰੀ ਟੀਮ ਨਾਲ ਵਿਚਾਰ-ਚਰਚਾ ਪ੍ਰੋਗਰਾਮ,ਪੰਜਾਬੀ ਵਿਭਾਗ,ਪੰਜਾਬੀ ਯੂਨੀਵਰਸਿਟੀ ਦੇ ਸਹਿਯੋਗ ਨਾਲ 15 ਜੁਲਾਈ 2017 ਨੂੰ ਕਰਵਾਉਣਾ ਨਿਯਤ ਕੀਤਾ ਹੈ।
ਇਸ ਵਿਚਾਰ ਚਰਚਾ ਵਿਚ ਸਾਰੇ ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਅਨਜ ਨੂੰ ਸ਼ਾਮਿਲ ਹੋਣ ਲਈ ਨਿਮਰਤਾ ਸਹਿਤ ਸੱਦਾ ਦਿੱਤਾ ਜਾਂਦਾ ਹੈ।
ਇਸ ਈਵਿੰਟ ਦੇ ਕੋਆਡੀਨੇਟਰ ਡਾ.ਮਾਨਵਪ੍ਰੀਤ ਕੌਰ ਤੇ ਸਟਾਲਿਨਜੀਤ ਬਰਾੜ ਹਨ ਤੇ ਈਵਿੰਟ Facilitator ਸੱਤਦੀਪ ਗਿੱਲ ਹਨ। ਇਸ ਈਵਿੰਟ ਨਾਲ ਸਬੰਧਿਤ ਕੋਈ ਸਵਾਲ ਇਹਨਾਂ ਨੂੰ ਨਿੱਜੀ ਤੌਰ ਤੇ ਵੀ ਅਤੇ ਸੱਥ ਉਪਰ ਵੀ ਪੁਛਿਆ ਜਾ ਸਕਦਾ ਹੈ।[[ਵਰਤੋਂਕਾਰ:Stalinjeet|Stalinjeet]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Stalinjeet|ਗੱਲ-ਬਾਤ]])
*ਇਸ ਪ੍ਰੋਗਰਾਮ ਵਿਚ ਸ਼ਾਮਿਲ ਹੋਣ ਤੋਂ ਪਹਿਲਾਂ ਜੇਕਰ ਤੁਹਾਡੇ ਕੋਲ ਸਮਾਂ ਹੋਵੇ ਤਾਂ ਇਸ [[meta:Strategy/Wikimedia movement/2017|Strategy/Wikimedia movement/2017]] ਲਿੰਕ ਉਪਰ ਸਰਸਰੀ ਝਾਤ ਮਾਰ ਆਉਣੀ ਤਾਂ ਜੋ ਪ੍ਰੋਗਰਾਮ ਬਾਰੇ ਸਮਝ 'ਚ ਵਾਧਾ ਹੋ ਸਕੇ।
===ਪ੍ਰੋਗਰਾਮ ਦੀ ਰੂਪ ਰੇਖਾ===
*ਮਿਤੀ- 15 ਜੁਲਾਈ 2017
*ਸਥਾਨ - ਮੇਨ ਹਾਲ,ਗੈਸਟ ਹਾਉਸ,ਪੰਜਾਬੀ ਯੂਨੀਵਰਸਿਟੀ ਪਟਿਆਲਾ (ਨੇੜੇ ਡਿਸਪੈਸਰੀ)
*ਸਮਾਂ - ਸਵੇਰ 10 ਤੋਂ ਬਾਅਦ ਦੁਪਿਹਰ 2 ਵਜੇ
*ਲੰਚ - 2 ਵਜੇ
*ਚਾਹ ਤੇ ਸਨੈਕਸ - ਨਾਲੋ-ਨਾਲ
===ਸੁਝਾਅ===
===ਟਿੱਪਣੀਆਂ===
===ਸਮਰਥਨ===
===ਵਿਰੋਧ===
== Indic Wikimedia Campaigns/Contests Survey ==
Hello fellow Wikimedians,
Apologies for writing in English. Please help me in translating this message to your language.
I am delighted to share a survey that will help us in the building a comprehensive list of campaigns and contests organized by the Indic communities on various Wikimedia projects like Wikimedia Commons, Wikisource, Wikipedia, Wikidata etc. We also want to learn what's working in them and what are the areas that needs more support.
If you have organized or participated in any campaign or contest (such as Wiki Loves Monuments type Commons contest, Wikisource Proofreading Contest, Wikidata labelathons, 1lib1ref campaigns etc.), we would like to hear from you.
You can read the Privacy Policy for the Survey [https://foundation.wikimedia.org/wiki/Indic_Wikimedia_Campaigns_and_Contests_Survey_Privacy_Statement here]
Please find the link to the Survey at:
P.S. If you have been involved in multiple campaigns/contests, feel free to submit the form multiple times.
Looking forward to hearing and learning from you.
<small>-- [[User:SGill (WMF)|SGill (WMF)]] sent using [[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 06:09, 25 ਜੂਨ 2019 (UTC)</small>
<!-- Message sent by User:SGill (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:SGill_(WMF)/MassMessage_List&oldid=19169935 -->
== New tools and IP masking ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
<div lang="en" dir="ltr" class="mw-content-ltr">
Hey everyone,
The Wikimedia Foundation wants to work on two things that affect how we patrol changes and handle vandalism and harassment. We want to make the tools that are used to handle bad edits better. We also want to get better privacy for unregistered users so their IP addresses are no longer shown to everyone in the world. We would not hide IP addresses until we have better tools for patrolling.
We have an idea of what tools ''could'' be working better and how a more limited access to IP addresses would change things, but we need to hear from more wikis. You can read more about the project [[m:IP Editing: Privacy Enhancement and Abuse Mitigation|on Meta]] and [[m:Talk:IP Editing: Privacy Enhancement and Abuse Mitigation|post comments and feedback]]. Now is when we need to hear from you to be able to give you better tools to handle vandalism, spam and harassment.
You can post in your language if you can't write in English.
[[User:Johan (WMF)|Johan (WMF)]]</div></div></div> 14:18, 21 ਅਗਸਤ 2019 (UTC)
<!-- Message sent by User:Johan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Johan_(WMF)/Tools_and_IP_message/Distribution&oldid=19315232 -->
== The consultation on partial and temporary Foundation bans just started ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
<div class="plainlinks">
Hello,
In a [[:en:Wikipedia:Community_response_to_the_Wikimedia_Foundation%27s_ban_of_Fram/Official_statements#Board_statement|recent statement]], the Wikimedia Foundation Board of Trustees [[:en:Wikipedia:Community_response_to_the_Wikimedia_Foundation%27s_ban_of_Fram/Official_statements#Board_statement|requested that staff hold a consultation]] to "re-evaluat[e] or add community input to the two new office action policy tools (temporary and partial Foundation bans)".
Accordingly, the Foundation's Trust & Safety team invites all Wikimedians [[:m:Office actions/Community consultation on partial and temporary office actions/09 2019|to join this consultation and give their feedback]] from 30 September to 30 October.
How can you help?
* Suggest how partial and temporary Foundation bans should be used, if they should (eg: On all projects, or only on a subset);
* Give ideas about how partial and temporary Foundation bans should ideally implemented, if they should be; and/or
* Propose changes to the existing Office Actions policy on partial and temporary bans.
We offer our thanks in advance for your contributions, and we hope to get as much input as possible from community members during this consultation!
</div>
</div>-- [[user:Kbrown (WMF)|Kbrown (WMF)]] 17:13, 30 ਸਤੰਬਰ 2019 (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=19302497 -->
== Feedback wanted on Desktop Improvements project ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
{{Int:Please-translate}}
{{int:Hello}}. The Readers Web team at the WMF will work on some [[mw:Special:MyLanguage/Reading/Web/Desktop Improvements|improvements to the desktop interface]] over the next couple of years. The goal is to increase usability without removing any functionality. We have been inspired by changes made by volunteers, but that currently only exist as local gadgets and user scripts, prototypes, and volunteer-led skins. We would like to begin the process of bringing some of these changes into the default experience on all Wikimedia projects.
We are currently in the research stage of this project and are looking for ideas for improvements, as well as feedback on our current ideas and mockups. So far, we have performed interviews with community members at Wikimania. We have gathered lists of previous volunteer and WMF work in this area. We are examining possible technical approaches for such changes.
We would like individual feedback on the following:
* Identifying focus areas for the project we have not yet discovered
* Expanding the list of existing gadgets and user scripts that are related to providing a better desktop experience. If you can think of some of these from your wiki, please let us know
* Feedback on the ideas and mockups we have collected so far
We would also like to gather a list of wikis that would be interested in being test wikis for this project - these wikis would be the first to receive the updates once we’re ready to start building.
When giving feedback, please consider the following goals of the project:
* Make it easier for readers to focus on the content
* Provide easier access to everyday actions (e.g. search, language switching, editing)
* Put things in logical and useful places
* Increase consistency in the interface with other platforms - mobile web and the apps
* Eliminate clutter
* Plan for future growth
As well as the following constraints:
* Not touching the content - no work will be done in terms of styling templates or to the structure of page contents themselves
* Not removing any functionality - things might move around, but all navigational items and other functionality currently available by default will remain
* No drastic changes to the layout - we're taking an evolutionary approach to the changes and want the site to continue feeling familiar to readers and editors
Please give all feedback (in any language) at [[mw:Talk:Reading/Web/Desktop Improvements|mw:Talk:Reading/Web/Desktop Improvements]]
After this round of feedback, we plan on building a prototype of suggested changes based on the feedback we receive. You’ll hear from us again asking for feedback on this prototype.
{{Int:Feedback-thanks-title}} [[mw:User:Quiddity (WMF)|Quiddity (WMF)]] ([[mw:User talk:Quiddity (WMF)|talk]])
</div> 07:14, 16 ਅਕਤੂਬਰ 2019 (UTC)
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Quiddity_(WMF)/Global_message_delivery_split_1&oldid=19462889 -->
== Community Wishlist 2020 ==
[[File:Magic Wand Icon 229981 Color Flipped.svg|right|48px]]
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
The '''[[m:Special:MyLanguage/Community Wishlist Survey 2020|2020 Community Wishlist Survey]]''' is now open! This survey is the process where communities decide what the [[m:Community Tech|Community Tech]] team should work on over the next year. We encourage everyone to submit proposals until the deadline on '''November 11, 2019''', or comment on other proposals to help make them better.
'''This year, we’re exclusively focusing on smaller projects (i.e., Wikibooks, Wiktionary, Wikiquote, Wikisource, Wikiversity, Wikispecies, Wikivoyage, and Wikinews).''' We want to help these projects and provide meaningful improvements to diverse communities. If you’re a member of any of these projects, please participate in the survey! To submit proposals, see the guidelines on the [[m:Special:MyLanguage/Community Wishlist Survey 2020#Guidelines|survey page]]. You can write proposals in any language, and we will translate them for you. Thank you, and we look forward to seeing your proposals!
</div>
[[:m:user:IFried (WMF)|IFried (WMF)]] 19:30, 4 ਨਵੰਬਰ 2019 (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Trizek_(WMF)/sandbox/temp_MassMessage_list&oldid=19523495 -->
== Wiki Loves Folklore ==
[[File:WLL Subtitled Logo (transparent).svg|100px|right|frameless]]
'''Hello Folks,'''
Wiki Loves Love is back again in 2020 iteration as '''[[:c:Commons:Wiki Loves Folklore|Wiki Loves Folklore]]''' from 1 February, 2020 - 29 February, 2020. Join us to celebrate the local cultural heritage of your region with the theme of folklore in the international photography contest at [https://commons.wikimedia.org/w/index.php?title=Special:UploadWizard&campaign=wllove Wikimedia Commons]. Images, videos and audios representing different forms of folk cultures and new forms of heritage that haven’t otherwise been documented so far are welcome submissions in Wiki Loves Folklore. Learn more about the contest at [[m:Wiki Loves Folklore|Meta-Wiki]] and [[:c:Commons:Wiki Loves Folklore|Commons]].
'''Kind regards,'''<br/>
[[:c:Commons:Wiki Loves Folklore/International Team|'''Wiki Loves Folklore International Team''']]<br/>
<small>— [[User:Tulsi Bhagat|<font color="black">'''Tulsi Bhagat'''</font>]] <small>([[Special:Contributions/Tulsi Bhagat|<font color="black">contribs</font>]] | [[User talk:Tulsi Bhagat|<font color="black">talk</font>]])</small><br/>
sent using [[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 06:15, 18 ਜਨਵਰੀ 2020 (UTC)</small>
<!-- Message sent by User:Tulsi Bhagat@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Tiven2240/wll&oldid=19716850 -->
== Wikimedia 2030: Movement Strategy Community conversations are here! ==
Dear Affiliate Representatives and community members, <br>
The launch of our final round of community conversation is finally here! We are excited to have the opportunity to invite you to take part. <br>
The recommendations have been published! Please take time over the next five weeks to review and help us understand how your organization and community would be impacted.<br>
'''What Does This Mean?'''<br>
The [[:m:Strategy/Wikimedia movement/2018-20/Recommendations|core recommendations document]] has now been published on Meta in Arabic, English, French, German, Hindi, Portuguese, and Spanish. This is the result of more than a year of dedicated work by our working groups, and we are pleased to share the evolution of their work for your final consideration. <br>
In addition to the recommendations text, you can read through key documents such as [[:m:Strategy/Wikimedia movement/2018-20/Recommendations/Principles|Principles]], [[:m:Strategy/Wikimedia movement/2018-20/Recommendations/Process|Process]], and [[:m:Strategy/Wikimedia movement/2018-20/Recommendations/Writers' Reflections|the Writer’s Reflections]], which lend important context to this work and highlight the ways that the recommendations are conceptually interlinked.<br>
We also have a [[:m:Strategy/Wikimedia movement/2018-20/Recommendations/Cover note|brief Narrative of Change]] [5] which offers a summary introduction to the recommendations material. <br>
'''How Is My Input Reflected In This Work?'''<br>
Community input played an important role in the drafting of these recommendations. The core recommendations document reflects this and cites community input throughout in footnotes.
I also encourage you to take a look at our [[:m:Strategy/Wikimedia movement/2018-20/Recommendations/Community input|community input summaries]]. These texts show a further analysis of how all of the ideas you shared last year through online conversations, affiliate meetings, and strategy salons connect to recommendations. Many of the community notes and reports not footnoted in the core recommendations document are referenced here as evidence of the incredible convergence of ideas that have brought us this far. <br>
'''What Happens Now?'''<br>
Affiliates, online communities, and other stakeholders have the next five weeks to discuss and share feedback on these recommendations. In particular, we’re hoping to better understand how you think they would impact our movement - what benefits and opportunities do you foresee for your affiliate, and why? What challenges or barriers would they pose for you? Your input at this stage is vital, and we’d like to warmly invite you to participate in this final discussion period.<br>
We encourage volunteer discussion co-ordinators for facilitating these discussions in your local language community on-wiki, on social media, informal or formal meet ups, on-hangouts, IRC or the village pump of your project. Please collect a report from these channels or conversations and connect with me directly so that I can be sure your input is collected and used. Alternatively, you can also post the feedback on the meta talk pages of the respective recommendations.
After this five week period, the Core Team will publish a summary report of input from across affiliates, online communities, and other stakeholders for public review before the recommendations are finalized. You can view our updated [https://meta.wikimedia.org/wiki/Strategy/Wikimedia_movement/2018-20/Frequently_asked_questions#/media/File:Community_Conversations_Timeline,_January_to_March_2020.png timeline] here as well as an updated [https://meta.wikimedia.org/wiki/Strategy/Wikimedia_movement/2018-20/Frequently_asked_questions#Movement_Strategy_Community_Conversations_in_Early_2020 FAQ section] that addresses topics like the goal of this current period, the various components of the draft recommendations, and what’s next in more detail. <br>
Thank you again for taking the time to join us in community conversations, and we look forward to receiving your input. (Please help us by translating this message into your local language). Happy reading! [[User:RSharma (WMF)|RSharma (WMF)]] [[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 21:31, 20 ਜਨਵਰੀ 2020 (UTC)
<!-- Message sent by User:RSharma (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:RSharma_(WMF)/southasian_Mass_Message&oldid=19732371 -->
== Movement Learning and Leadership Development Project ==
Hello
The Wikimedia Foundation’s Community Development team is seeking to learn more about the way volunteers learn and develop into the many different roles that exist in the movement. Our goal is to build a movement informed framework that provides shared clarity and outlines accessible pathways on how to grow and develop skills within the movement. To this end, we are looking to speak with you, our community to learn about your journey as a Wikimedia volunteer. Whether you joined yesterday or have been here from the very start, we want to hear about the many ways volunteers join and contribute to our movement.
To learn more about the project, [[:m:special:MyLanguage/Movement Learning and Leadership Development Project|please visit the Meta page]]. If you are interested in participating in the project, please complete [https://docs.google.com/forms/d/e/1FAIpQLSegM07N1FK_s0VUECM61AlWOthwdn5zQOlVsa2vaKcx13BwZg/viewform?usp=sf_link this simple Google form]. Although we may not be able to speak to everyone who expresses interest, we encourage you to complete this short form if you are interested in participating!
-- [[user:LMiranda (WMF)|LMiranda (WMF)]] ([[user talk:LMiranda (WMF)|talk]]) 19:00, 22 ਜਨਵਰੀ 2020 (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Trizek_(WMF)/sandbox/temp_MassMessage_list&oldid=19738989 -->
== Ask to create an article on famous Yugoslavian and Macedonian Academician Ratko Janev ==
Dear editors, can someone please create the article on Ratko Janev (Ратко Јанев), most distinguished Macedonian Academician here.
Academician prof. dr. Ratko Janev was a distinguished member of the Macedonian Academy of Sciences and Arts.
In the period 1972 – 1987 he was a principal research fellow at the Institute of Physics, Belgrade where he made significant scientific breakthroughs in multiple fields of atomic physics and left lasting scientific legacy.
Born in 1939, in Sandanski in Bulgaria, he finished a gymnasium in Skoplje in Republic of Macedonia, and received his BSc in physics in Belgrade, where he also earned his PhD and continued his research career – in addition to the Institute of Physics, he also worked at Vinča Institute of Nuclear Sciences and at what was then the Faculty of Sciences and Mathematics.
Academician Janev was a leader in numerous researches and greatly contributed to the development of domestic atomic physics, leaving behind more than 600 scientific works [https://scholar.google.com/citations?user=KYO6vdUAAAAJ&hl=en], as well as numerous books and monographs.
He was a member of various foreign academies, he also taught at Princeton, Oak Ridge and Brussels, and throughout his career he managed one of research programmes of controlled thermonuclear fusion at the International Atomic Energy Agency (IAEA).
In 2004 he received the Research Award from the Alexander von Humboldt Foundation for the project "Modelling and Diagnostics of Fusion Edge/divertor plasma" on the understanding of cold boundary layer plasmas in nuclear fusion reactors, performed in collaboration with the Juelich Research Centre in Germany.[[ਖ਼ਾਸ:ਯੋਗਦਾਨ/38.146.55.84|38.146.55.84]] 21:53, 2 ਫ਼ਰਵਰੀ 2020 (UTC)
== हरियाणा सृजन उत्सव 14-15 ਮਾਰਚ ਨੂੰ ਵਿਕੀ ਜਾਗਰੂਕਤਾ ਪ੍ਰੋਗਰਾਮ ==
'ਦੇਸ ਹਰਿਆਣਾ' ਹਿੰਦੀ ਮੈਗਜ਼ੀਨ ਦੇ ਸੰਪਾਦਕ ਅਤੇ ਕੁਰੁਕਸ਼ੇਤਰਾ ਯੁਨੀਵਰਸਟੀ ਦੇ ਹਿੰਦੀ ਵਿਭਾਗ ਦੇ ਪ੍ਰੋਫੈਸਰ ਡਾ.ਸੁਭਾਸ਼ ਨਾਲ ਕੁਝ ਦਿਨ ਪਹਿਲਾਂ ਗੱਲ ਹੋਈ ਸੀ ਅਤੇ ਉਹਨਾਂ ਨੇ ਸਲਾਨਾ ਲਿਟਰੇਰੀ ਪ੍ਰੋਗਰਾਮ ''''हरियाणा सृजन उत्सव 2020'''' ਮੌਕੇ '''ਸੈਣੀ ਸਮਾਜ ਭਵਨ ਕੁਰੁਕਸ਼ੇਤਰ''' ਵਿਖੇ 14-15 ਮਾਰਚ ਨੂੰ ਹੋ ਰਹੇ ਪ੍ਰੋਗਰਾਮ ਵਿਚ ਵਿਕੀਪੀਡੀਆ ਦੀ ਕਿਸੇ ਤਰ੍ਹਾਂ ਦੀ ਸ਼ਿਰਕਤ ਕਰਨ ਦੀ ਗੱਲ ਛੋਹੀ ਸੀ। ਬਾਅਦ ਵਿੱਚ ਸੱਤਪਾਲ ਦੰਦੀਵਾਲ, ਚਰਨ ਗਿੱਲ ਜੀ ਅਤੇ ਮਨਪ੍ਰੀਤ ਸਰ ਨਾਲ ਗੱਲ ਕੀਤੀ ਗਈ ਅਤੇ ਇਹ ਸੋਚਿਆ ਗਿਆ ਕਿ ਅਸੀਂ ਓਥੇ ਦੋਵੇਂ ਦਿਨ ਟੀਮ ਵਜੋਂ ਬੈਠ ਕੇ ਲੇਖਕਾਂ, ਰੰਗਕਰਮੀਆਂ, ਚਿੰਤਕਾਂ ਅਤੇ ਹੋਰ ਲੋਕਾਂ ਨਾਲ ਵਿਕੀਪੀਡੀਆ ਪ੍ਰੋਜੈਕਟਾਂ ਬਾਰੇ ਗੱਲ ਸਾਂਝੀ ਕਰੀਏ ਅਤੇ ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ ਮੁਹੱਈਆ ਕਰਵਾਈਏ। ਇਸ ਤੋਂ ਬਾਅਦ ਹੋਰਨਾਂ ਅਜਿਹੇ ਸਾਂਝੇ ਪ੍ਰੋਗਰਾਮਾਂ ਵਿੱਚ ਸ਼ਿਰਕਤ ਕਰਨ ਲਈ ਅੱਗੇ ਕਦਮ ਵਧਾਇਆ ਜਾ ਸਕਦਾ ਹੈ। ਇਸ ਉਤਸਵ ਵਿੱਚ ਜਿਆਦਾ ਗਿਣਤੀ ਹਿੰਦੀ ਪੜ੍ਹਨ, ਲਿਖਣ ਵਾਲਿਆਂ ਦੀ ਹੋਏਗੀ ਅਤੇ ਅਸੀਂ ਸਿਰਫ਼ ਵਿਕੀਪੀਡੀਆ ਹੀ ਨਹੀਂ ਸਗੋਂ ਰੁਚੀ ਅਨੁਸਾਰ ਸਾਰਿਆਂ ਪ੍ਰੋਜੈਕਟਾਂ ਬਾਰੇ ਗੱਲ ਕਰਨਾ ਚਾਹਾਂਗੇ।
ਇਸ ਵਿੱਚ ਸੱਤਪਾਲ ਦੰਦੀਵਾਲ, ਮਨਪ੍ਰੀਤ ਸਰ ਅਤੇ ਮੈਂ ਦੋਵੇਂ ਦਿਨ ਰਹਾਂਗੇ। ਭਾਈਚਾਰੇ ਦੇ ਸਾਰੇ ਵਰਤੋਂਕਾਰਾਂ ਨੂੰ ਇਸ ਵਿੱਚ ਸ਼ਾਮਿਲ ਹੋ ਕੇ ਇਸ ਨੂੰ ਗੁਣਾਤਮਕ ਪੱਖੋਂ ਬੇਹਤਰ ਬਣਾਉਣ ਲਈ ਸੱਦਾ ਹੈ। ਆਪਣੇ ਆਉਣ ਦੀ ਸੂਚਨਾ ਸੱਥ ਤੇ ਜਰੂਰ ਸਾਂਝੀ ਕਰਨਾ ਜੀ।
[[ਵਰਤੋਂਕਾਰ:Mulkh Singh|Mulkh Singh]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Mulkh Singh|ਗੱਲ-ਬਾਤ]]) 16:45, 1 ਮਾਰਚ 2020 (UTC)
=== ਹਿੱਸਾ ਲੈਣ ਵਾਲੇ ===
=== ਟਿੱਪਣੀਆਂ ===
== The 2030 movement strategy recommendations are here! ==
Greetings! We are pleased to inform that the [[:m:Strategy/Wikimedia_movement/2018-20/Recommendations|2030 movement strategy recommendations]] have been published on Meta-wiki. Over the last two years, our movement has worked tirelessly to produce these ideas to change our shared future. Many of you participated in the online conversations, hosted strategy salons, attended regional events, and connected with us in-person at Wikimania. These contributions were invaluable, and will help make our movement stronger for years to come. <br>
The finished set of 10 recommendations emphasizes many of our core values, such as equity, innovation, safety, and coordination, while tasking us jointly to turn this vision into a reality. These recommendations clarify and refine the previous version, which was published in January this year. They are at a high strategic level so that the ideas are flexible enough to be adapted to different global and local settings and will allow us to navigate future challenges. Along with the recommendations, we have outlined 10 underlying [[:m:Strategy/Wikimedia_movement/2018-20/Recommendations/Movement_Strategy_Principles|principles]], [[:m:Wikimedia_movement/2018-20/Recommendations/Summary|a narrative of change]], and a [[:m:Strategy/Wikimedia_movement/2018-20/Recommendations/Glossary|glossary]] of key terms for better context.<br>
The recommendations are available in numerous languages, including Arabic, German, Hindi, English, French, Portuguese, and Spanish for you to read and share widely. We encourage you to read the recommendations in your own time and at your own pace, either [[:m:Strategy/Wikimedia_movement/2018-20/Recommendations|online]] or in a [https://commons.wikimedia.org/wiki/File:Wikimedia_2030_Movement_Strategy_Recommendations_in_English.pdf PDF]. There are a couple of other formats for you to take a deeper dive if you wish, such as a one-page summary, slides, and office hours, all collected on Meta. If you would like to comment, you are welcome to do so on the Meta talk pages. However, please note that these are the final version of the recommendations. No further edits will be made. This final version of the recommendations embodies an aspiration for how the Wikimedia movement should continue to change in order to advance that direction and meet the Wikimedia vision in a changing world. <br>
In terms of next steps, our focus now shifts toward implementation. In light of the cancellation of the Wikimedia Summit, the Wikimedia Foundation is determining the best steps for moving forward through a series of virtual events over the coming months. We will also be hosting live [[:m:Strategy/Wikimedia_movement/2018-20/Recommendations#Join_the_movement_strategy_office_hours|office hours]] in the next coming few days, where you can join us to celebrate the Strategy and ask questions! Please stay tuned, and thank you once again for helping to drive our movement forward, together. [[User:RSharma (WMF)|RSharma (WMF)]]
<!-- Message sent by User:RSharma (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:RSharma_(WMF)/southasian_Mass_Message&oldid=20082498 -->
== Feedback on movement names ==
<div lang="en" dir="ltr" class="mw-content-ltr">
{{int:Hello}}. Apologies if you are not reading this message in your native language. {{int:please-translate}} if necessary. {{Int:Feedback-thanks-title}}
There are a lot of conversations happening about the future of our movement names. We hope that you are part of these discussions and that your community is represented.
Since 16 June, the Foundation Brand Team has been running a [https://wikimedia.qualtrics.com/jfe/form/SV_9G2dN7P0T7gPqpD survey] in 7 languages about [[m:Special:MyLanguage/Communications/Wikimedia brands/2030 movement brand project/Naming convention proposals|3 naming options]]. There are also community members sharing concerns about renaming in a [[m:Special:MyLanguage/Community open letter on renaming|Community Open Letter]].
Our goal in this call for feedback is to hear from across the community, so we encourage you to participate in the survey, the open letter, or both. The survey will go through 7 July in all timezones. Input from the survey and discussions will be analyzed and published on Meta-Wiki.
Thanks for thinking about the future of the movement, --[[:m:Talk:Communications/Wikimedia brands/2030 movement brand project|The Brand Project team]], 19:52, 2 ਜੁਲਾਈ 2020 (UTC)
''Note: The survey is conducted via a third-party service, which may subject it to additional terms. For more information on privacy and data-handling, see the [[foundation:Special:MyLanguage/Naming Convention Proposals Movement Feedback Survey Privacy Statement|survey privacy statement]].''
</div>
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Elitre_(WMF)/All_wikis_June_2020&oldid=20238848 -->
== Announcing a new wiki project! Welcome, Abstract Wikipedia ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
Hi all,
It is my honor to introduce Abstract Wikipedia, a new project that has been unanimously approved by the Wikimedia Foundation Board of Trustees. Abstract Wikipedia proposes a new way to generate baseline encyclopedic content in a multilingual fashion, allowing more contributors and more readers to share more knowledge in more languages. It is an approach that aims to make cross-lingual cooperation easier on our projects, increase the sustainability of our movement through expanding access to participation, improve the user experience for readers of all languages, and innovate in free knowledge by connecting some of the strengths of our movement to create something new.
This is our first new project in over seven years. Abstract Wikipedia was submitted as a project proposal by Denny Vrandečić in May 2020 <ref>[[m:Special:MyLanguage/Abstract Wikipedia|Abstract Wikipedia]]</ref> after years of preparation and research, leading to a detailed plan and lively discussions in the Wikimedia communities. We know that the energy and the creativity of the community often runs up against language barriers, and information that is available in one language may not make it to other language Wikipedias. Abstract Wikipedia intends to look and feel like a Wikipedia, but build on the powerful, language-independent conceptual models of Wikidata, with the goal of letting volunteers create and maintain Wikipedia articles across our polyglot Wikimedia world.
The project will allow volunteers to assemble the fundamentals of an article using words and entities from Wikidata. Because Wikidata uses conceptual models that are meant to be universal across languages, it should be possible to use and extend these building blocks of knowledge to create models for articles that also have universal value. Using code, volunteers will be able to translate these abstract “articles” into their own languages. If successful, this could eventually allow everyone to read about any topic in Wikidata in their own language.
As you can imagine, this work will require a lot of software development, and a lot of cooperation among Wikimedians. In order to make this effort possible, Denny will join the Foundation as a staff member in July and lead this initiative. You may know Denny as the creator of Wikidata, a long-time community member, a former staff member at Wikimedia Deutschland, and a former Trustee at the Wikimedia Foundation <ref>[[m:User:Denny|User:Denny]]</ref>. We are very excited that Denny will bring his skills and expertise to work on this project alongside the Foundation’s product, technology, and community liaison teams.
It is important to acknowledge that this is an experimental project, and that every Wikipedia community has different needs. This project may offer some communities great advantages. Other communities may engage less. Every language Wikipedia community will be free to choose and moderate whether or how they would use content from this project.
We are excited that this new wiki-project has the possibility to advance knowledge equity through increased access to knowledge. It also invites us to consider and engage with critical questions about how and by whom knowledge is constructed. We look forward to working in cooperation with the communities to think through these important questions.
There is much to do as we begin designing a plan for Abstract Wikipedia in close collaboration with our communities. I encourage you to get involved by going to the project page and joining the new mailing list <ref>[[mail:abstract-wikipedia|Abstract Wikipedia mailing list]]</ref>. We recognize that Abstract Wikipedia is ambitious, but we also recognize its potential. We invite you all to join us on a new, unexplored path.
Yours,
Katherine Maher (Executive Director, Wikimedia Foundation)
<references/>
</div> <small>Sent by [[:m:User:Elitre (WMF)]] 19:56, 9 ਜੁਲਾਈ 2020 (UTC) - '''[[:m:Special:MyLanguage/Abstract Wikipedia/July 2020 announcement]]''' </small>
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Elitre_(WMF)/All_wikis_June_2020&oldid=20265886 -->
== Important: maintenance operation on September 1st ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
[[:m:Special:MyLanguage/Tech/Server switch 2020|Read this message in another language]] • [[:m:Special:MyLanguage/Tech/Server switch 2020|{{int:please-translate}}]]
The [[foundation:|Wikimedia Foundation]] will be testing its secondary data centre. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
They will switch all traffic to the secondary data centre on '''Tuesday, September 1st 2020'''.
Unfortunately, because of some limitations in [[mw:Manual:What is MediaWiki?|MediaWiki]], all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
'''You will be able to read, but not edit, all wikis for a short period of time.'''
*You will not be able to edit for up to an hour on Tuesday, September 1st. The test will start at [https://www.timeanddate.com/worldclock/fixedtime.html?iso=20200901T14 14:00 UTC] (15:00 BST, 16:00 CEST, 10:00 EDT, 19:30 IST, 07:00 PDT, 23:00 JST, and in New Zealand at 02:00 NZST on Wednesday September 2).
*If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
''Other effects'':
*Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
*There will be code freezes for the week of September 1st, 2020. Non-essential code deployments will not happen.
This project may be postponed if necessary. You can [[wikitech:Switch Datacenter#Schedule for 2018 switch|read the schedule at wikitech.wikimedia.org]]. Any changes will be announced in the schedule. There will be more notifications about this. '''Please share this information with your community.'''
</div></div> <span dir=ltr>[[m:User:Trizek (WMF)|Trizek (WMF)]] ([[m:User talk:Trizek (WMF)|talk]])</span> 13:48, 26 ਅਗਸਤ 2020 (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=20384955 -->
== Invitation to participate in the conversation ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
''{{int:Hello}}. Apologies for cross-posting, and that you may not be reading this message in your native language: translations of the following announcement may be available on '''[[:m:Special:MyLanguage/Universal Code of Conduct/Draft review/Invitation (long version)|Meta]]'''. {{int:please-translate}}. {{Int:Feedback-thanks-title}}''
We are excited to share '''[[:m:Special:MyLanguage/Universal Code of Conduct/Draft review|a draft of the Universal Code of Conduct]]''', which the Wikimedia Foundation Board of Trustees called for earlier this year, for your review and feedback. The discussion will be open until October 6, 2020.
The UCoC Drafting Committee wants to learn which parts of the draft would present challenges for you or your work. What is missing from this draft? What do you like, and what could be improved?
Please join the conversation and share this invitation with others who may be interested to join, too.
To reduce language barriers during the process, you are welcomed to translate this message and the [[:m:Special:MyLanguage/Universal Code of Conduct/Draft review|Universal Code of Conduct/Draft review]]. You and your community may choose to provide your opinions/feedback using your local languages.
To learn more about the UCoC project, see the [[:m:Special:MyLanguage/Universal Code of Conduct|Universal Code of Conduct]] page, and the [[:m:Special:MyLanguage/Universal Code of Conduct/FAQ|FAQ]], on Meta.
Thanks in advance for your attention and contributions, [[:m:Talk:Trust_and_Safety|The Trust and Safety team at Wikimedia Foundation]], 17:55, 10 ਸਤੰਬਰ 2020 (UTC) </div>
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Universal_Code_of_Conduct/Draft_review/Invitation_(long_version)/List&oldid=20440292 -->
== Wiki of functions naming contest ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
{{int:Please-translate}}
{{int:Hello}}. Please help pick a name for the new Wikimedia wiki project. This project will be a wiki where the community can work together on a library of [[m:Special:MyLanguage/Abstract_Wikipedia/Wiki_of_functions_naming_contest#function|functions]]. The community can create new functions, read about them, discuss them, and share them. Some of these functions will be used to help create language-independent Wikipedia articles that can be displayed in any language, as part of the Abstract Wikipedia project. But functions will also be usable in many other situations.
There will be two rounds of voting, each followed by legal review of candidates, with voting beginning on 29 September and 27 October. Our goal is to have a final project name selected on 8 December. If you would like to participate, then '''[[m:Special:MyLanguage/Abstract Wikipedia/Wiki of functions naming contest|please learn more and vote now]]''' at meta-wiki. {{Int:Feedback-thanks-title}} --[[m:User:Quiddity (WMF)|Quiddity (WMF)]]</div> 21:26, 29 ਸਤੰਬਰ 2020 (UTC)
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Quiddity_(WMF)/Global_message_delivery_split_6&oldid=20492312 -->
== Call for feedback about Wikimedia Foundation Bylaws changes and Board candidate rubric ==
<div lang="en" dir="ltr" class="mw-content-ltr">
{{int:Hello}}. Apologies if you are not reading this message in your native language. {{Int:Please-translate}}.
Today the Wikimedia Foundation Board of Trustees starts two calls for feedback. One is about changes to the Bylaws mainly to increase the Board size from 10 to 16 members. The other one is about a trustee candidate rubric to introduce new, more effective ways to evaluate new Board candidates. The Board welcomes your comments through 26 October. For more details, [[m:Special:MyLanguage/Wikimedia Foundation Board noticeboard/October 2020 - Call for feedback about Bylaws changes and Board candidate rubric|check the full announcement]].
{{Int:Feedback-thanks-title}} [[m:User:Qgil-WMF|Qgil-WMF]] ([[m:User talk:Qgil-WMF|talk]]) 17:09, 7 ਅਕਤੂਬਰ 2020 (UTC)
</div>
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Elitre_(WMF)/Board2&oldid=20519857 -->
== Regional Call for South Asia - Oct. 30 ==
Hi everyone. The time has come to put Movement Strategy into work and we need your help. We are inviting South Asian communities, Indian Wikimedians, and anyone else interested to join a region-focused conversation on Movement Strategy and implementation. Please join us on '''Friday Oct. 30 at 19.30 / 7:30 pm IST''' ([http://meet.google.com/qpn-xjrm-irj Google Meet]).
The purpose of the meeting is to get prepared for global conversations, to identify priorities for implementation in 2021, and to plan the following steps. There are [[m:Strategy/Wikimedia_movement/2018-20/Recommendations | 10 recommendations]] and they propose multiple [[m:Strategy/Wikimedia movement/2018-20/Transition/List of Initiatives | 45 initiatives]] written over two years by many Wikimedians. It is now up to communities to decide which ones we should work on together in 2021, starting with [[m:Strategy/Wikimedia_movement/2018-20/Transition/Prioritization_events | local and regional conversations]]. Global meetings will take place later in November when we will discuss global coordination and resources. More information about the global events will be shared soon.
* What is work you’re already doing that is aligned with Movement Strategy?
* What are priorities for you in 2021?
* What are things we should all work on globally?
We would not be able to grow and diversify as a movement if communities from South Asia are not meaningfully involved in implementing the recommendations. Join the conversation with your questions and ideas, or just come to say hi. See you on Friday October 30.
''A translatable version of this message [[m:User:CKoerner (WMF)/Regional Call for South Asia - Oct. 30|can be found on Meta]]''.
[[m:User:MPourzaki (WMF)|MPourzaki (WMF)]] ([[m:User talk:MPourzaki (WMF)|talk]]) 17:24, 19 ਅਕਤੂਬਰ 2020 (UTC)
<!-- Message sent by User:CKoerner (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:RSharma_(WMF)/southasian_Mass_Message&oldid=20551394 -->
== Important: maintenance operation on October 27 ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
[[:m:Special:MyLanguage/Tech/Server switch 2020|Read this message in another language]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Tech%2FServer+switch+2020&language=&action=page&filter= {{int:please-translate}}]
The [[foundation:|Wikimedia Foundation]] tests the switch between its first and secondary data centers. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
They will switch all traffic back to the primary data center on '''Tuesday, October 27 2020'''.
Unfortunately, because of some limitations in [[mw:Manual:What is MediaWiki?|MediaWiki]], all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
'''You will be able to read, but not edit, all wikis for a short period of time.'''
*You will not be able to edit for up to an hour on Tuesday, October 27. The test will start at [https://zonestamp.toolforge.org/1603807200 14:00 UTC] (14:00 WET, 15:00 CET, 10:00 EDT, 19:30 IST, 07:00 PDT, 23:00 JST, and in New Zealand at 03:00 NZDT on Wednesday October 28).
*If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
''Other effects'':
*Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
*There will be code freezes for the week of October 26, 2020. Non-essential code deployments will not happen.
This project may be postponed if necessary. You can [[wikitech:Switch_Datacenter#Schedule_for_2020_switch|read the schedule at wikitech.wikimedia.org]]. Any changes will be announced in the schedule. There will be more notifications about this. A banner will be displayed on all wikis 30 minutes before this operation happens. '''Please share this information with your community.'''</div></div> -- <span dir=ltr>[[m:User:Trizek (WMF)|Trizek (WMF)]] ([[m:User talk:Trizek (WMF)|talk]])</span> 17:10, 21 ਅਕਤੂਬਰ 2020 (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=20519839 -->
== Wiki of functions naming contest - Round 2 ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
{{int:Hello}}.
Reminder: Please help to choose the name for the new Wikimedia wiki project - the library of functions. The finalist vote starts today. The finalists for the name are: <span lang="en" dir="ltr" class="mw-content-ltr">Wikicode, Wikicodex, Wikifunctions, Wikifusion, Wikilambda, Wikimedia Functions</span>. If you would like to participate, then '''[[m:Special:MyLanguage/Abstract Wikipedia/Wiki of functions naming contest/Names|please learn more and vote now]]''' at Meta-wiki.
{{Int:Feedback-thanks-title}} --[[m:User:Quiddity (WMF)|Quiddity (WMF)]]
</div> 22:10, 5 ਨਵੰਬਰ 2020 (UTC)
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=20564572 -->
== [[m:Special:MyLanguage/Community Wishlist Survey 2021/Invitation|Community Wishlist Survey 2021]] ==
<div class="plainlinks mw-content-ltr" lang="pa" dir="ltr">
[[File:Magic Wand Icon 229981 Color Flipped.svg|thumb|48px]]
[[m:Special:MyLanguage/Community Wishlist Survey 2021|2021 ਕਮਿਊਨਿਟੀ ਵਿਸ਼ਲਿਸਟ ਸਰਵੇ]] ਹੁਣ ਖੁੱਲਾ ਹੈ!
ਇਹ ਸਰਵੇ ਉਹ ਪ੍ਰਕਿਰਿਆ ਹੈ ਜਿਥੇ ਕਮਿਊਨਿਟੀਆਂ ਇਹ ਫੈਸਲਾ ਕਰਦੀਆਂ ਹਨ ਕਿ [[m:Community Tech|ਕਮਿਊਨਿਟੀ ਟੈਕ]] ਟੀਮ ਨੂੰ ਅਗਲੇ ਸਾਲ ਕੀ ਕੰਮ ਕਰਨਾ ਚਾਹੀਦਾ ਹੈ। ਅਸੀਂ ਸਾਰਿਆਂ ਨੂੰ '''{{#time:j xg|2020-11-30|{{PAGELANGUAGE}}}}''' ਤਕ ਪ੍ਰਸਤਾਵ ਜਮ੍ਹਾ ਕਰਨ ਜਾਂ ਜਮ੍ਹਾ ਕਰੇ ਹੋਰ ਪ੍ਰਸਤਾਵਾਂ ਨੂੰ ਬਿਹਤਰ ਬਣਾਉਣ ਵਿਚ ਸਹਾਇਤਾ ਲਈ 'ਤੇ ਟਿੱਪਣੀ ਕਰਨ ਲਈ ਉਤਸ਼ਾਹਿਤ ਕਰਦੇ ਹਾਂ।
ਕਮਿਊਨਿਟੀਆਂ {{#time:j xg|2020-12-08|{{PAGELANGUAGE}}}} ਤੋਂ {{#time:j xg|2020-12-21|{{PAGELANGUAGE}}}} ਦਰਮਿਆਨ ਪ੍ਰਸਤਾਵਾਂ 'ਤੇ ਵੋਟਾਂ ਪਾ ਸਕਦੀਆਂ ਹਨ।
ਕਮਿਊਨਿਟੀ ਟੈਕ ਟੀਮ ਤਜ਼ਰਬੇਕਾਰ ਵਿਕੀਮੀਡੀਆ ਸੰਪਾਦਕਾਂ ਲਈ ਟੂਲਸ ਤੇ ਕੇਂਦ੍ਰਤ ਹੈ।
ਤੁਸੀਂ ਕਿਸੇ ਵੀ ਭਾਸ਼ਾ ਵਿੱਚ ਪ੍ਰਸਤਾਵ ਲਿਖ ਸਕਦੇ ਹੋ, ਅਤੇ ਅਸੀਂ ਤੁਹਾਡੇ ਲਈ ਇਸਦਾ ਅਨੁਵਾਦ ਕਰਾਂਗੇ। ਧੰਨਵਾਦ, ਅਤੇ ਅਸੀਂ ਤੁਹਾਡੇ ਪ੍ਰਸਤਾਵਾਂ ਨੂੰ ਵੇਖਣ ਦੀ ਉਮੀਦ ਕਰਦੇ ਹਾਂ!
</div>
<span lang="en" dir="ltr" class="mw-content-ltr">[[m:user:SGrabarczuk (WMF)|SGrabarczuk (WMF)]]</span>
18:09, 20 ਨਵੰਬਰ 2020 (UTC)
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:SGrabarczuk_(WMF)/sandbox/1&oldid=20689939 -->
== Wikidata descriptions changes to be included more often in Recent Changes and Watchlist ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
''Sorry for sending this message in English. Translations are available on [[m:Special:MyLanguage/Announcements/Announcement Wikidata descriptions in watchlist|this page]]. Feel free to translate it in more languages!''
As you may know, you can include changes coming from Wikidata in your Watchlist and Recent Changes ([[Special:Preferences#mw-prefsection-watchlist|in your preferences]]). Until now, this feature didn’t always include changes made on Wikidata descriptions due to the way Wikidata tracks the data used in a given article.
Starting on December 3rd, the Watchlist and Recent Changes will include changes on the descriptions of Wikidata Items that are used in the pages that you watch. This will only include descriptions in the language of your wiki to make sure that you’re only seeing changes that are relevant to your wiki.
This improvement was requested by many users from different projects. We hope that it can help you monitor the changes on Wikidata descriptions that affect your wiki and participate in the effort of improving the data quality on Wikidata for all Wikimedia wikis and beyond.
Note: if you didn’t use the Wikidata watchlist integration feature for a long time, feel free to give it another chance! The feature has been improved since the beginning and the content it displays is more precise and useful than at the beginning of the feature in 2015.
If you encounter any issue or want to provide feedback, feel free to use [[Phab:T191831|this Phabricator ticket]]. Thanks!
[[:d:User:Lea Lacroix (WMDE)|Lea Lacroix (WMDE)]] 14:39, 30 ਨਵੰਬਰ 2020 (UTC)
</div>
<!-- Message sent by User:Lea Lacroix (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Lea_Lacroix_(WMDE)/wikis&oldid=20728482 -->
== 2020 Coolest Tool Award Ceremony on December 11th ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
Hello all,
The ceremony of the 2020 [[m:Coolest_Tool_Award|Wikimedia Coolest Tool Award]] will take place virtually on Friday, December 11th, at 17:00 GMT. This award is highlighting tools that have been nominated by contributors to the Wikimedia projects, and the ceremony will be a nice moment to show appreciation to the tools developers and maybe discover new tools!
You will find more information [[m:Coolest_Tool_Award|here]] about the livestream and the discussions channels. Thanks for your attention, [[:d:User:Lea Lacroix (WMDE)|Lea Lacroix (WMDE)]] 10:55, 7 ਦਸੰਬਰ 2020 (UTC)
</div>
<!-- Message sent by User:Lea Lacroix (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=20734978 -->
== Community Wishlist Survey 2021 ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
[[File:Magic Wand Icon 229981 Color Flipped.svg|thumb|48px]]
'''We invite all registered users to vote on the [[m:Special:MyLanguage/Community Wishlist Survey 2021|2021 Community Wishlist Survey]]. You can vote from now until {{#time:j xg|2020-12-21|en}} for as many different wishes as you want.'''
In the Survey, wishes for new and improved tools for experienced editors are collected. After the voting, we will do our best to grant your wishes. We will start with the most popular ones.
We, the [[m:Special:MyLanguage/Community Tech|Community Tech]], are one of the [[m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]] teams. We create and improve editing and wiki moderation tools. What we work on is decided based on results of the Community Wishlist Survey. Once a year, you can submit wishes. After two weeks, you can vote on the ones that you're most interested in. Next, we choose wishes from the survey to work on. Some of the wishes may be granted by volunteer developers or other teams.
'''[[m:Special:MyLanguage/Community Wishlist Survey 2021/Tracking|You can view and vote all proposals here.]]'''
We are waiting for your votes. Thank you!
</div>
[[user:SGrabarczuk (WMF)|SGrabarczuk (WMF)]]
00:52, 15 ਦਸੰਬਰ 2020 (UTC)
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:SGrabarczuk_(WMF)/sandbox/1&oldid=20689939 -->
== Moving Wikimania 2021 to a Virtual Event ==
<div class="mw-content-ltr" lang="en" dir="ltr">
[[File:Wikimania_logo_with_text_2.svg|right|alt=Wikimania's logo.|75px]]
''{{int:Hello}}. Apologies if you are not reading this message in your native language. {{Int:Please-translate}}. {{Int:Feedback-thanks-title}}''
[[:m:Wikimania 2021|Wikimania will be a virtual event this year]], and hosted by a wide group of community members. Whenever the next in-person large gathering is possible again, [[:m:ESEAP Hub|the ESEAP Core Organizing Team]] will be in charge of it. Stay tuned for more information about how ''you'' can get involved in the planning
process and other aspects of the event. [https://lists.wikimedia.org/pipermail/wikimedia-l/2021-January/096141.html Please read the longer version of this announcement on wikimedia-l].
''ESEAP Core Organizing Team, Wikimania Steering Committee, Wikimedia Foundation Events Team'', 15:15, 27 ਜਨਵਰੀ 2021 (UTC)
</div>
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Elitre_(WMF)/Wikimania21&oldid=21014617 -->
== Project Grant Open Call ==
This is the announcement for the [[m:Grants:Project|Project Grants program]] open call that started on January 11, with the submission deadline of February 10, 2021.<br> This first open call will be focussed on Community Organizing proposals. A second open call focused on research and software proposals is scheduled from February 15 with a submission deadline of March 16, 2021.<br>
For the Round 1 open call, we invite you to propose grant applications that fall under community development and organizing (offline and online) categories. Project Grant funds are available to support individuals, groups, and organizations to implement new experiments and proven ideas, from organizing a better process on your wiki, coordinating a campaign or editathon series to providing other support for community building. We offer the following resources to help you plan your project and complete a grant proposal:<br>
* Weekly proposals clinics via Zoom during the Open Call. Join us for [[m:Grants:Project|#Upcoming_Proposal_Clinics|real-time discussions]] with Program Officers and select thematic experts and get live feedback about your Project Grants proposal. We’ll answer questions and help you make your proposal better. We also offer these support pages to help you build your proposal:
* [[m:Grants:Project/Tutorial|Video tutorials]] for writing a strong application<br>
* General [[m:Grants:Project/Plan|planning page]] for Project Grants <br>
* [[m:Grants:Project/Learn|Program guidelines and criteria]]<br>
Program officers are also available to offer individualized proposal support upon request. Contact us if you would like feedback or more information.<br>
We are excited to see your grant ideas that will support our community and make an impact on the future of Wikimedia projects. Put your idea into motion, and [[m:Grants:Project/Apply|submit your proposal]] by February 10, 2021!<br>
Please feel free to get in touch with questions about getting started with your grant application, or about serving on the Project Grants Committee. Contact us at projectgrants{{at}}wikimedia.org. Please help us translate this message to your local language. [[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 08:00, 28 ਜਨਵਰੀ 2021 (UTC)
<!-- Message sent by User:RSharma (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=20808431 -->
== Wiki Loves Folklore 2021 is back! ==
<div lang="en" dir="ltr" class="mw-content-ltr">
{{int:please-translate}}
[[File:Wiki Loves Folklore Logo.svg|right|150px|frameless]]
You are humbly invited to participate in the '''[[:c:Commons:Wiki Loves Folklore 2021|Wiki Loves Folklore 2021]]''' an international photography contest organized on Wikimedia Commons to document folklore and intangible cultural heritage from different regions, including, folk creative activities and many more. It is held every year from the 1st till the 28th of February.
You can help in enriching the folklore documentation on Commons from your region by taking photos, audios, videos, and [https://commons.wikimedia.org/w/index.php?title=Special:UploadWizard&campaign=wlf_2021 submitting] them in this commons contest.
Please support us in translating the [[:c:Commons: Wiki Loves Folklore 2021|project page]] and a [https://meta.wikimedia.org/wiki/Special:Translate?group=Centralnotice-tgroup-wikiloveslove2020&language=en&filter=%21translated&action=translate|one-line banner message] to help us spread the word in your native language.
'''Kind regards,'''
'''Wiki loves Folklore International Team'''
[[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 13:25, 6 ਫ਼ਰਵਰੀ 2021 (UTC)
</div>
<!-- Message sent by User:Tiven2240@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Tiven2240/wll&oldid=21073884 -->
== Proposal: Set two-letter project shortcuts as alias to project namespace globally ==
<div lang="en" dir="ltr">
{{int:please-translate}}
Hello everyone,
I apologize for posting in English. I would like to inform everyone that I created a new global request for comment (GRFC) at Meta Wiki, which may affect your project: [[:m:Requests for comment/Set short project namespace aliases by default globally]].
In this GRFC, I propose that two-project shortcuts for project names will become a default alias for the project namespace. For instance, on all Wikipedias, WP will be an alias to the Wikipedia: namespace (and similar for other projects). Full list is available in the GRFC.
This is already the case for Wikivoyages, and many individual projects asked for this alias to be implemented. I believe this makes it easier to access the materials in the project namespace, as well as creating shortcuts like <tt>WP:NPOV</tt>, as well as helps new projects to use this feature, without having to figure out how to request site configuration changes first.
As far as I can see, {{SITENAME}} currently does not have such an alias set. This means that such an alias will be set for you, if the GRFC is accepted by the global community.
I would like to ask all community members to participate in the request for comment at Meta-Wiki, see [[:m:Requests for comment/Set short project namespace aliases by default globally]].
Please feel free to [[:m:User talk:Martin Urbanec|ask me]] if you have any questions about this proposal.
Best regards,<br />
--[[:m:User:Martin Urbanec|Martin Urbanec]] ([[:m:User talk:Martin Urbanec|talk]]) 14:12, 18 ਫ਼ਰਵਰੀ 2021 (UTC)
</div>
<!-- Message sent by User:Martin Urbanec@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Martin_Urbanec/MassMessage&oldid=21125035 -->
== Wikifunctions logo contest ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
{{Int:Hello}}. Please help to choose a design concept for the logo of the new Wikifunctions wiki. Voting starts today and will be open for 2 weeks. If you would like to participate, then '''[[m:Special:MyLanguage/Abstract Wikipedia/Wikifunctions logo concept/Vote|please learn more and vote now]]''' at Meta-Wiki. {{Int:Feedback-thanks-title}} --[[m:User:Quiddity (WMF)|Quiddity (WMF)]]</div> 01:45, 2 ਮਾਰਚ 2021 (UTC)
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=21087740 -->
== Universal Code of Conduct – 2021 consultations ==
<div lang="en" dir="ltr" class="mw-content-ltr">
=== Universal Code of Conduct Phase 2 ===
{{int:please-translate}}
The [[:wmf:Special:MyLanguage/Universal Code of Conduct|'''Universal Code of Conduct (UCoC)''']] provides a universal baseline of acceptable behavior for the entire Wikimedia movement and all its projects. The project is currently in Phase 2, outlining clear enforcement pathways. You can read more about the whole project on its [[:m:Special:MyLanguage/Universal Code of Conduct|'''project page''']].
==== Drafting Committee: Call for applications ====
The Wikimedia Foundation is recruiting volunteers to join a committee to draft how to make the code enforceable. Volunteers on the committee will commit between 2 and 6 hours per week from late April through July and again in October and November. It is important that the committee be diverse and inclusive, and have a range of experiences, including both experienced users and newcomers, and those who have received or responded to, as well as those who have been falsely accused of harassment.
To apply and learn more about the process, see [[:m:Special:MyLanguage/Universal Code of Conduct/Drafting committee|Universal Code of Conduct/Drafting committee]].
==== 2021 community consultations: Notice and call for volunteers / translators ====
From 5 April – 5 May 2021 there will be conversations on many Wikimedia projects about how to enforce the UCoC. We are looking for volunteers to translate key material, as well as to help host consultations on their own languages or projects using suggested [[:m:Special:MyLanguage/Universal Code of Conduct/2021 consultations/Discussion|key questions]]. If you are interested in volunteering for either of these roles, please [[:m:Talk:Universal Code of Conduct/2021 consultations|contact us]] in whatever language you are most comfortable.
To learn more about this work and other conversations taking place, see [[:m:Special:MyLanguage/Universal Code of Conduct/2021 consultations|Universal Code of Conduct/2021 consultations]].
-- [[User:Xeno (WMF)|Xeno (WMF)]] ([[User talk:Xeno (WMF)|talk]]) 21:45, 5 ਅਪਰੈਲ 2021 (UTC)
</div>
<!-- Message sent by User:MNadzikiewicz (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:MNadzikiewicz_(WMF)/Without_Russian,_Polish_and_translated/1&oldid=21302384 -->
== Universal Code of Conduct News – Issue 1 ==
<div style = "line-height: 1.2">
<span style="font-size:200%;">'''Universal Code of Conduct News'''</span><br>
<span style="font-size:120%; color:#404040;">'''Issue 1, June 2021'''</span><span style="font-size:120%; float:right;">[[m:Universal Code of Conduct/Newsletter/1|Read the full newsletter]]</span>
----
Welcome to the first issue of [[m:Special:MyLanguage/Universal Code of Conduct|Universal Code of Conduct News]]! This newsletter will help Wikimedians stay involved with the development of the new code, and will distribute relevant news, research, and upcoming events related to the UCoC.
Please note, this is the first issue of UCoC Newsletter which is delivered to all subscribers and projects as an announcement of the initiative. If you want the future issues delivered to your talk page, village pumps, or any specific pages you find appropriate, you need to [[m:Global message delivery/Targets/UCoC Newsletter Subscription|subscribe here]].
You can help us by translating the newsletter issues in your languages to spread the news and create awareness of the new conduct to keep our beloved community safe for all of us. Please [[m:Universal Code of Conduct/Newsletter/Participate|add your name here]] if you want to be informed of the draft issue to translate beforehand. Your participation is valued and appreciated.
</div><div style="margin-top:3px; padding:10px 10px 10px 20px; background:#fffff; border:2px solid #808080; border-radius:4px; font-size:100%;">
* '''Affiliate consultations''' – Wikimedia affiliates of all sizes and types were invited to participate in the UCoC affiliate consultation throughout March and April 2021. ([[m:Universal Code of Conduct/Newsletter/1#sec1|continue reading]])
* '''2021 key consultations''' – The Wikimedia Foundation held enforcement key questions consultations in April and May 2021 to request input about UCoC enforcement from the broader Wikimedia community. ([[m:Universal Code of Conduct/Newsletter/1#sec2|continue reading]])
* '''Roundtable discussions''' – The UCoC facilitation team hosted two 90-minute-long public roundtable discussions in May 2021 to discuss UCoC key enforcement questions. More conversations are scheduled. ([[m:Universal Code of Conduct/Newsletter/1#sec3|continue reading]])
* '''Phase 2 drafting committee''' – The drafting committee for the phase 2 of the UCoC started their work on 12 May 2021. Read more about their work. ([[m:Universal Code of Conduct/Newsletter/1#sec4|continue reading]])
* '''Diff blogs''' – The UCoC facilitators wrote several blog posts based on interesting findings and insights from each community during local project consultation that took place in the 1st quarter of 2021. ([[m:Universal Code of Conduct/Newsletter/1#sec5|continue reading]])</div>
--[[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 23:05, 11 ਜੂਨ 2021 (UTC)
<!-- Message sent by User:SOyeyele (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:SOyeyele_(WMF)/Announcements/Other_languages&oldid=21578291 -->
== Server switch ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
[[:m:Special:MyLanguage/Tech/Server switch 2020|Read this message in another language]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Tech%2FServer+switch+2020&language=&action=page&filter= {{int:please-translate}}]
The [[foundation:|Wikimedia Foundation]] tests the switch between its first and secondary data centers. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems. <!--
They will switch all traffic back to the primary data center on '''Tuesday, October 27 2020'''. -->
Unfortunately, because of some limitations in [[mw:Manual:What is MediaWiki?|MediaWiki]], all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
'''You will be able to read, but not edit, all wikis for a short period of time.'''
*You will not be able to edit for up to an hour on Tuesday, 29 June 2021. The test will start at [https://zonestamp.toolforge.org/1624975200 14:00 UTC] (07:00 PDT, 10:00 EDT, 15:00 WEST/BST, 16:00 CEST, 19:30 IST, 23:00 JST, and in New Zealand at 02:00 NZST on Wednesday 30 June).
*If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
''Other effects'':
*Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
*There will be code freezes for the week of June 28. Non-essential code deployments will not happen.
This project may be postponed if necessary. You can [[wikitech:Switch_Datacenter#Schedule_for_2021_switch|read the schedule at wikitech.wikimedia.org]]. Any changes will be announced in the schedule. There will be more notifications about this. A banner will be displayed on all wikis 30 minutes before this operation happens. '''Please share this information with your community.'''</div></div> [[user:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] 01:19, 27 ਜੂਨ 2021 (UTC)
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=21463754 -->
== Call for Candidates for the Movement Charter Drafting Committee ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Movement Strategy announces [[:m:Special:MyLanguage/Movement_Charter/Drafting_Committee|the Call for Candidates for the Movement Charter Drafting Committee]]. The Call opens August 2, 2021 and closes September 1, 2021.
The Committee is expected to represent [[:m:Special:MyLanguage/Movement_Charter/Drafting_Committee/Diversity_and_Expertise_Matrices|diversity in the Movement]]. Diversity includes gender, language, geography, and experience. This comprises participation in projects, affiliates, and the Wikimedia Foundation.
English fluency is not required to become a member. If needed, translation and interpretation support is provided. Members will receive an allowance to offset participation costs. It is US$100 every two months.
We are looking for people who have some of the following [[:m:Special:MyLanguage/Movement_Charter/Drafting_Committee#Role_Requirements|skills]]:
* Know how to write collaboratively. (demonstrated experience is a plus)
* Are ready to find compromises.
* Focus on inclusion and diversity.
* Have knowledge of community consultations.
* Have intercultural communication experience.
* Have governance or organization experience in non-profits or communities.
* Have experience negotiating with different parties.
The Committee is expected to start with 15 people. If there are 20 or more candidates, a mixed election and selection process will happen. If there are 19 or fewer candidates, then the process of selection without election takes place.
Will you help move Wikimedia forward in this important role? Submit your candidacy [[:m:Special:MyLanguage/Movement_Charter/Drafting_Committee#Candidate_Statements|here]]. Please contact strategy2030[[File:At sign.svg|16x16px|link=|(_AT_)]]wikimedia.org with questions
</div>
[[ਵਰਤੋਂਕਾਰ:Xeno (WMF)|Xeno (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Xeno (WMF)|ਗੱਲ-ਬਾਤ]]) 00:12, 3 ਅਗਸਤ 2021 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Xeno_(WMF)/Delivery/Wikibooks&oldid=21828257 -->
== Universal Code of Conduct - Enforcement draft guidelines review ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="content"/>The [[m:Special:MyLanguage/Universal_Code_of_Conduct/Drafting_committee#Phase_2|Universal Code of Conduct Phase 2 drafting committee]] would like comments about the '''[[:m:Universal Code of Conduct/Enforcement draft guidelines review|enforcement draft guidelines]]''' for the [[m:Special:MyLanguage/Universal Code of Conduct|Universal Code of Conduct]] (UCoC). This review period is planned for 17 August 2021 through 17 October 2021.
These guidelines are not final but you can help move the progress forward. The committee will revise the guidelines based upon community input.
Comments can be shared in any language on the [[m:Talk:Universal Code of Conduct/Enforcement draft guidelines review|draft review talk page]] and [[m:Special:MyLanguage/Universal Code of Conduct/Discussions|multiple other venues]]. Community members are encouraged to organize conversations in their communities.
There are planned live discussions about the UCoC enforcement draft guidelines:
:[[wmania:2021:Submissions/Universal_Code_of_Conduct_Roundtable|Wikimania 2021 session]] (recorded 16 August)
:[[m:Special:MyLanguage/Universal_Code_of_Conduct/2021_consultations/Roundtable_discussions#Conversation hours|Conversation hours]] - 24 August, 31 August, 7 September @ 03:00 UTC & 14:00 UTC
:[[m:Special:MyLanguage/Universal_Code_of_Conduct/2021_consultations/Roundtable_discussions|Roundtable calls]] - 18 September @ 03:00 UTC & 15:00 UTC
Summaries of discussions will be posted every two weeks [[m:Special:MyLanguage/Universal Code of Conduct/Drafting committee/Digests|here]].
Please let me know if you have any questions.<section end="content"/>
</div>
[[User:Xeno (WMF)|Xeno (WMF)]] 22:09, 17 ਅਗਸਤ 2021 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Xeno_(WMF)/Delivery/Wikibooks&oldid=21895034 -->
== Wikimedia Foundation Board of Trustees election has come to an end ==
Thank you for participating in the [[:meta:Special:MyLanguage/Wikimedia_Foundation_elections/2021|2021 Wikimedia Foundation Board of Trustees election]]! Voting closed August 31 at 23:59. The official data, including the four most voted candidates, will be announced as soon as the [[:meta:Special:MyLanguage/Wikimedia_Foundation_elections_committee|Elections Committee]] completes their review of the ballots. The official announcement of the new trustees appointed will happen later, once the selected candidates have been confirmed by the Board.
6,946 community members from 216 wiki projects have voted. This makes 10.2% global participation, 1.1% higher than in the last Board elections. In 2017, 5167 people from 202 wiki projects cast their vote. A full analysis is planned to be published in a few days when the confirmed results are announced. In the meantime, you can check the [[:meta:Special:MyLanguage/Wikimedia_Foundation_elections/2021/Stats|data produced during the election]].
Diversity was an important goal with these elections. Messages about the Board election were translated into 61 languages. This outreach worked well. There were 70 communities with eligible voters voting in this election for the first time. With your help, next year’s Board of Trustees election will be even better.
21:00, 1 ਸਤੰਬਰ 2021 (UTC)
<!-- Message sent by User:MNadzikiewicz (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Xeno_(WMF)/Delivery/Wikibooks&oldid=21895034 -->
== The 2022 Community Wishlist Survey will happen in January ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
Hello everyone,
We hope all of you are as well and safe as possible during these trying times! We wanted to share some news about a change to the Community Wishlist Survey 2022. We would like to hear your opinions as well.
Summary:
<div style="font-style:italic;">
We will be running the [[m:Special:MyLanguage/Community Wishlist Survey|Community Wishlist Survey]] 2022 in January 2022. We need more time to work on the 2021 wishes. We also need time to prepare some changes to the Wishlist 2022. In the meantime, you can use a [[m:Special:MyLanguage/Community Wishlist Survey/Sandbox|dedicated sandbox to leave early ideas for the 2022 wishes]].
</div>
=== Proposing and wish-fulfillment will happen during the same year ===
In the past, the [[m:Special:MyLanguage/Community Tech|Community Tech]] team has run the Community Wishlist Survey for the following year in November of the prior year. For example, we ran the [[m:Special:MyLanguage/Community Wishlist Survey 2021|Wishlist for 2021]] in November 2020. That worked well a few years ago. At that time, we used to start working on the Wishlist soon after the results of the voting were published.
However, in 2021, there was a delay between the voting and the time when we could start working on the new wishes. Until July 2021, we were working on wishes from the [[m:Special:MyLanguage/Community Wishlist Survey 2020|Wishlist for 2020]].
We hope having the Wishlist 2022 in January 2022 will be more intuitive. This will also give us time to fulfill more wishes from the 2021 Wishlist.
=== Encouraging wider participation from historically excluded communities ===
We are thinking how to make the Wishlist easier to participate in. We want to support more translations, and encourage under-resourced communities to be more active. We would like to have some time to make these changes.
=== A new space to talk to us about priorities and wishes not granted yet ===
We will have gone 365 days without a Wishlist. We encourage you to approach us. We hope to hear from you in the [[m:Special:MyLanguage/Talk:Community Wishlist Survey|talk page]], but we also hope to see you at our bi-monthly Talk to Us meetings! These will be hosted at two different times friendly to time zones around the globe.
We will begin our first meeting '''September 15th at 23:00 UTC'''. More details about the agenda and format coming soon!
=== Brainstorm and draft proposals before the proposal phase ===
If you have early ideas for wishes, you can use the [[m:Special:MyLanguage/Community Wishlist Survey/Sandbox|new Community Wishlist Survey sandbox]]. This way, you will not forget about these before January 2022. You will be able to come back and refine your ideas. Remember, edits in the sandbox don't count as wishes!
=== Feedback ===
* What should we do to improve the Wishlist pages?
* How would you like to use our new [[m:Special:MyLanguage/Community Wishlist Survey/Sandbox|sandbox?]]
* What, if any, risks do you foresee in our decision to change the date of the Wishlist 2022?
* What will help more people participate in the Wishlist 2022?
Answer on the [[m:Special:MyLanguage/Talk:Community Wishlist Survey|talk page]] (in any language you prefer) or at our Talk to Us meetings.
</div>
[[user:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ([[user talk:SGrabarczuk (WMF)|talk]]) 00:23, 7 ਸਤੰਬਰ 2021 (UTC)
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=21980442 -->
== Server switch ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
[[:m:Special:MyLanguage/Tech/Server switch|Read this message in another language]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Tech%2FServer+switch&language=&action=page&filter= {{int:please-translate}}]
The [[foundation:|Wikimedia Foundation]] tests the switch between its first and secondary data centers. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
They will switch all traffic back to the primary data center on '''Tuesday, 14 September 2021'''.
Unfortunately, because of some limitations in [[mw:Manual:What is MediaWiki?|MediaWiki]], all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
'''You will be able to read, but not edit, all wikis for a short period of time.'''
*You will not be able to edit for up to an hour on Tuesday, 14 September 2021. The test will start at [https://zonestamp.toolforge.org/1631628049 14:00 UTC] (07:00 PDT, 10:00 EDT, 15:00 WEST/BST, 16:00 CEST, 19:30 IST, 23:00 JST, and in New Zealand at 02:00 NZST on Wednesday, 15 September).
*If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
''Other effects'':
*Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
* We expect the code deployments to happen as any other week. However, some case-by-case code freezes could punctually happen if the operation require them afterwards.
This project may be postponed if necessary. You can [[wikitech:Switch_Datacenter|read the schedule at wikitech.wikimedia.org]]. Any changes will be announced in the schedule. There will be more notifications about this. A banner will be displayed on all wikis 30 minutes before this operation happens. '''Please share this information with your community.'''</div></div> [[user:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ([[user talk:SGrabarczuk (WMF)|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 00:45, 11 ਸਤੰਬਰ 2021 (UTC)
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=21980442 -->
== Talk to the Community Tech ==
[[File:Magic Wand Icon 229981 Color Flipped.svg|{{dir|{{pagelang}}|left|right}}|frameless|50px]]
[[:m:Special:MyLanguage/Community Wishlist Survey/Updates/2021-09 Talk to Us|Read this message in another language]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Community_Wishlist_Survey/Updates/2021-09_Talk_to_Us&language=&action=page&filter= {{int:please-translate}}]
Hello!
As we have [[m:Special:MyLanguage/Community Wishlist Survey/Updates|recently announced]], we, the team working on the [[m:Special:MyLanguage/Community Wishlist Survey|Community Wishlist Survey]], would like to invite you to an online meeting with us. It will take place on [https://www.timeanddate.com/worldclock/fixedtime.html?iso=20210915T2300 '''September 15th, 23:00 UTC'''] on Zoom, and will last an hour. [https://wikimedia.zoom.us/j/89828615390 '''Click here to join'''].
'''Agenda'''
* [[m:Special:MyLanguage/Community Wishlist Survey 2021/Status report 1#Prioritization Process|How we prioritize the wishes to be granted]]
* [[m:Special:MyLanguage/Community Wishlist Survey/Updates|Why we decided to change the date]] from November 2021 to January 2022
* Update on the [[m:Special:MyLanguage/Community Wishlist Survey 2021/Warn when linking to disambiguation pages|disambiguation]] and the [[m:Special:MyLanguage/Community Wishlist Survey 2021/Real Time Preview for Wikitext|real-time preview]] wishes
* Questions and answers
'''Format'''
The meeting will not be recorded or streamed. Notes without attribution will be taken and published on Meta-Wiki. The presentation (first three points in the agenda) will be given in English.
We can answer questions asked in English, French, Polish, and Spanish. If you would like to ask questions in advance, add them [[m:Talk:Community Wishlist Survey|on the Community Wishlist Survey talk page]] or send to sgrabarczuk@wikimedia.org.
[[m:Special:MyLanguage/User:NRodriguez (WMF)|Natalia Rodriguez]] (the [[m:Special:MyLanguage/Community Tech|Community Tech]] manager) will be hosting this meeting.
'''Invitation link'''
* [https://wikimedia.zoom.us/j/89828615390 Join online]
* Meeting ID: 898 2861 5390
* One tap mobile
** +16465588656,,89828615390# US (New York)
** +16699006833,,89828615390# US (San Jose)
* [https://wikimedia.zoom.us/u/kctR45AI8o Dial by your location]
See you! [[User:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ([[User talk:SGrabarczuk (WMF)|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 03:03, 11 ਸਤੰਬਰ 2021 (UTC)
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=21980442 -->
== Upcoming Call for Feedback about the Board of Trustees elections ==
:''You can find this message translated into additional languages on Meta-wiki.''
:''<div class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation Board of Trustees/Call for feedback:2022 Board of Trustees election/Upcoming Call for Feedback about the Board of Trustees elections|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation Board of Trustees/Call for feedback:2022 Board of Trustees election/Upcoming Call for Feedback about the Board of Trustees elections}}&language=&action=page&filter= {{int:please-translate}}]</div>''
The Board of Trustees is preparing a call for feedback about the upcoming Board Elections, from January 7 - February 10, 2022.
While details will be finalized the week before the call, we have confirmed at least two questions that will be asked during this call for feedback:
* What is the best way to ensure fair representation of emerging communities among the Board?
* What involvement should candidates have during the election?
While additional questions may be added, the Movement Strategy and Governance team wants to provide time for community members and affiliates to consider and prepare ideas on the confirmed questions before the call opens. We apologize for not having a complete list of questions at this time. The list of questions should only grow by one or two questions. The intention is to not overwhelm the community with requests, but provide notice and welcome feedback on these important questions.
'''Do you want to help organize local conversation during this Call?'''
Contact the [[m:Special:MyLanguage/Movement Strategy and Governance|Movement Strategy and Governance team]] on Meta, on [https://t.me/wmboardgovernancechat Telegram], or via email at msg[[File:At sign.svg|16x16px|link=|(_AT_)]]wikimedia.org.
Reach out if you have any questions or concerns. The Movement Strategy and Governance team will be minimally staffed until January 3. Please excuse any delayed response during this time. We also recognize some community members and affiliates are offline during the December holidays. We apologize if our message has reached you while you are on holiday.
Thank you, [[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 08:09, 28 ਦਸੰਬਰ 2021 (UTC)
== Wiki Loves Folklore is back! ==
<div lang="en" dir="ltr" class="mw-content-ltr">
{{int:please-translate}}
[[File:Wiki Loves Folklore Logo.svg|right|150px|frameless]]
You are humbly invited to participate in the '''[[:c:Commons:Wiki Loves Folklore 2022|Wiki Loves Folklore 2022]]''' an international photography contest organized on Wikimedia Commons to document folklore and intangible cultural heritage from different regions, including, folk creative activities and many more. It is held every year from the '''1st till the 28th''' of February.
You can help in enriching the folklore documentation on Commons from your region by taking photos, audios, videos, and [https://commons.wikimedia.org/w/index.php?title=Special:UploadWizard&campaign=wlf_2022 submitting] them in this commons contest.
You can also [[:c:Commons:Wiki Loves Folklore 2022/Organize|organize a local contest]] in your country and support us in translating the [[:c:Commons:Wiki Loves Folklore 2022/Translations|project pages]] to help us spread the word in your native language.
Feel free to contact us on our [[:c:Commons talk:Wiki Loves Folklore 2022|project Talk page]] if you need any assistance.
'''Kind regards,'''
'''Wiki loves Folklore International Team'''
--[[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 13:15, 9 ਜਨਵਰੀ 2022 (UTC)
</div>
<!-- Message sent by User:Tiven2240@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Tiven2240/wlf&oldid=22560402 -->
== Call for Feedback about the Board of Trustees elections is now open ==
<section begin="announcement-content" />:''[[m:Special:MyLanguage/Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open|You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open}}&language=&action=page&filter= {{int:please-translate}}]</div>''
The Call for Feedback: Board of Trustees elections is now open and will close on 7 February 2022.
With this Call for Feedback, the Movement Strategy and Governance team is taking a different approach. This approach incorporates community feedback from 2021. Instead of leading with proposals, the Call is framed around key questions from the Board of Trustees. The key questions came from the feedback about the 2021 Board of Trustees election. The intention is to inspire collective conversation and collaborative proposal development about these key questions.
There are two confirmed questions that will be asked during this Call for Feedback:
# What is the best way to ensure more diverse representation among elected candidates? ''The Board of Trustees noted the importance of selecting candidates who represent the full diversity of the Wikimedia movement. The current processes have favored volunteers from North America and Europe.''
# What are the expectations for the candidates during the election? ''Board candidates have traditionally completed applications and answered community questions. How can an election provide appropriate insight into candidates while also appreciating candidates’ status as volunteers?''
There is one additional question that may be presented during the Call about selection processes. This question is still under discussion, but the Board wanted to give insight into the confirmed questions as soon as possible. Hopefully if an additional question is going to be asked, it will be ready during the first week of the Call for Feedback.
[[m:Special:MyLanguage/Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Join the conversation.]]
Thank you,
Movement Strategy and Governance<section end="announcement-content"/>
[[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 10:39, 12 ਜਨਵਰੀ 2022 (UTC)
== Subscribe to the This Month in Education newsletter - learn from others and share your stories ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Dear community members,
Greetings from the EWOC Newsletter team and the education team at Wikimedia Foundation. We are very excited to share that we on tenth years of Education Newsletter ([[m:Education/News|This Month in Education]]) invite you to join us by [[m:Global message delivery/Targets/This Month in Education|subscribing to the newsletter on your talk page]] or by [[m:Education/News/Newsroom|sharing your activities in the upcoming newsletters]]. The Wikimedia Education newsletter is a monthly newsletter that collects articles written by community members using Wikimedia projects in education around the world, and it is published by the EWOC Newsletter team in collaboration with the Education team. These stories can bring you new ideas to try, valuable insights about the success and challenges of our community members in running education programs in their context.
If your affiliate/language project is developing its own education initiatives, please remember to take advantage of this newsletter to publish your stories with the wider movement that shares your passion for education. You can submit newsletter articles in your own language or submit bilingual articles for the education newsletter. For the month of January the deadline to submit articles is on the 20th January. We look forward to reading your stories.
Older versions of this newsletter can be found in the [[outreach:Education/Newsletter/Archives|complete archive]].
More information about the newsletter can be found at [[m:Education/News/Publication Guidelines|Education/Newsletter/About]].
For more information, please contact spatnaik{{@}}wikimedia.org.
------
<div style="text-align: center;"><div style="margin-top:10px; font-size:90%; padding-left:5px; font-family:Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;">[[m:Education/Newsletter/About|About ''This Month in Education'']] · [[m:Global message delivery/Targets/This Month in Education|Subscribe/Unsubscribe]] · [[m:MassMessage|Global message delivery]] · For the team: [[User:ZI Jony|<span style="color:#8B0000">'''ZI Jony'''</span>]] [[User talk:ZI Jony|<sup><span style="color:Green"><i>(Talk)</i></span></sup>]], {{<includeonly>subst:</includeonly>#time:l G:i, d F Y|}} (UTC)</div></div>
</div>
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:ZI_Jony/MassMessage/Awareness_of_Education_Newsletter/List_of_Village_Pumps&oldid=21244129 -->
== Movement Strategy and Governance News – Issue 5 ==
<section begin="ucoc-newsletter"/>
:''<div class="plainlinks">[[m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5/Global message|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Movement Strategy and Governance/Newsletter/5/Global message}}&language=&action=page&filter= {{int:please-translate}}]</div>''
<span style="font-size:200%;">'''Movement Strategy and Governance News'''</span><br>
<span style="font-size:120%; color:#404040;">'''Issue 5, January 2022'''</span><span style="font-size:120%; float:right;">[[m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5|'''Read the full newsletter''']]</span>
----
Welcome to the fifth issue of Movement Strategy and Governance News (formerly known as Universal Code of Conduct News)! This revamped newsletter distributes relevant news and events about the Movement Charter, Universal Code of Conduct, Movement Strategy Implementation grants, Board elections and other relevant MSG topics.
This Newsletter will be distributed quarterly, while more frequent Updates will also be delivered weekly or bi-weekly to subscribers. Please remember to subscribe '''[[:m:Special:MyLanguage/Global message delivery/Targets/MSG Newsletter Subscription|here]]''' if you would like to receive these updates.
<div style="margin-top:3px; padding:10px 10px 10px 20px; background:#fffff; border:2px solid #808080; border-radius:4px; font-size:100%;">
*'''Call for Feedback about the Board elections''' - We invite you to give your feedback on the upcoming WMF Board of Trustees election. This call for feedback went live on 10th January 2022 and will be concluded on 16th February 2022. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5#Call for Feedback about the Board elections|continue reading]])
*'''Universal Code of Conduct Ratification''' - In 2021, the WMF asked communities about how to enforce the Universal Code of Conduct policy text. The revised draft of the enforcement guidelines should be ready for community vote in March. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5#Universal Code of Conduct Ratification|continue reading]])
*'''Movement Strategy Implementation Grants''' - As we continue to review several interesting proposals, we encourage and welcome more proposals and ideas that target a specific initiative from the Movement Strategy recommendations. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5#Movement Strategy Implementation Grants|continue reading]])
*'''The New Direction for the Newsletter''' - As the UCoC Newsletter transitions into MSG Newsletter, join the facilitation team in envisioning and deciding on the new directions for this newsletter. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5#The New Direction for the Newsletter|continue reading]])
*'''Diff Blogs''' - Check out the most recent publications about MSG on Wikimedia Diff. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5#Diff Blogs|continue reading]])</div><section end="ucoc-newsletter"/>
[[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 08:14, 19 ਜਨਵਰੀ 2022 (UTC)
== Wiki Loves Folklore is extended till 15th March ==
<div lang="en" dir="ltr" class="mw-content-ltr">{{int:please-translate}}
[[File:Wiki Loves Folklore Logo.svg|right|frameless|180px]]
Greetings from Wiki Loves Folklore International Team,
We are pleased to inform you that [[:c:Commons:Wiki Loves Folklore|Wiki Loves Folklore]] an international photographic contest on Wikimedia Commons has been extended till the '''15th of March 2022'''. The scope of the contest is focused on folk culture of different regions on categories, such as, but not limited to, folk festivals, folk dances, folk music, folk activities, etc.
We would like to have your immense participation in the photographic contest to document your local Folk culture on Wikipedia. You can also help with the [[:c:Commons:Wiki Loves Folklore 2022/Translations|translation]] of project pages and share a word in your local language.
Best wishes,
'''International Team'''<br />
'''Wiki Loves Folklore'''
[[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 04:50, 22 ਫ਼ਰਵਰੀ 2022 (UTC)
</div>
<!-- Message sent by User:Rockpeterson@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=22754428 -->
== Universal Code of Conduct (UCoC) Enforcement Guidelines & Ratification Vote ==
'''In brief:''' the [[:m:Universal Code of Conduct/Enforcement guidelines|revised Enforcement Guidelines]] have been published. Voting to ratify the guidelines will happen from [[:m:Universal Code of Conduct/Enforcement guidelines/Voting|7 March to 21 March 2022]]. Community members can participate in the discussion with the UCoC project team and drafting committee members on 25 February (12:00 UTC) and 4 March (15:00 UTC). Please [[:m:Special:MyLanguage/Universal Code of Conduct/Conversations|sign-up]].
'''Details:'''
The [[:m:Universal Code of Conduct]] (UCoC) provides a baseline of acceptable behavior for the entire Wikimedia movement. The UCoC and the Enforcement Guidelines were written by [[:m:Special:MyLanguage/Universal Code of Conduct/Drafting committee|volunteer-staff drafting committees]] following community consultations. The revised guidelines were published 24 January 2022.
'''What’s next?'''
'''#1 Community Conversations'''
To help to understand the guidelines, the [[:m:Special:MyLanguage/Movement Strategy and Governance|Movement Strategy and Governance]] (MSG) team will host conversations with the UCoC project team and drafting committee members on 25 February (12:00 UTC) and 4 March (15:00 UTC). Please [[:m:Special:MyLanguage/Universal Code of Conduct/Conversations|sign-up]].
Comments about the guidelines can be shared [[:m:Talk:Universal Code of Conduct/Enforcement guidelines|on the Enforcement Guidelines talk page]]. You can comment in any language.
'''#2 Ratification Voting'''
The Wikimedia Foundation Board of Trustees released a [[:m:Special:MyLanguage/Wikimedia Foundation Board noticeboard/January 2022 - Board of Trustees on Community ratification of enforcement guidelines of UCoC|statement on the ratification process]] where eligible voters can support or oppose the adoption of the enforcement guidelines through vote. Wikimedians are invited to [[:m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Voter information/Volunteer|translate and share important information]].
A [[:m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Voting|SecurePoll vote]] is scheduled from 7 March to 21 March 2022.
[[:m:Universal Code of Conduct/Enforcement guidelines/Voter information#Voting%20eligibility|Eligible voters]] are invited to answer a poll question and share comments. Voters will be asked if they support the enforcement of the UCoC based on the proposed guidelines.
Thank you. [[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 16:03, 22 ਫ਼ਰਵਰੀ 2022 (UTC)
== <section begin="announcement-header" />The Call for Feedback: Board of Trustees elections is now closed <section end="announcement-header" /> ==
<section begin="announcement-content" />:''[[m:Special:MyLanguage/Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback is now closed|You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback is now closed|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback is now closed}}&language=&action=page&filter= {{int:please-translate}}]</div>''
The [[m:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Call for Feedback: Board of Trustees elections]] is now closed. This Call ran from 10 January and closed on 16 February 2022. The Call focused on [[m:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Discuss Key Questions#Questions|three key questions]] and received broad discussion [[m:Talk:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Discuss Key Questions|on Meta-wiki]], during meetings with affiliates, and in various community conversations. The community and affiliates provided many proposals and discussion points. The [[m:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Reports|reports]] are on Meta-wiki.
This information will be shared with the Board of Trustees and Elections Committee so they can make informed decisions about the upcoming Board of Trustees election. The Board of Trustees will then follow with an announcement after they have discussed the information.
Thank you to everyone who participated in the Call for Feedback to help improve Board election processes.
Thank you,
Movement Strategy and Governance<br /><section end="announcement-content" />
[[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 08:20, 5 ਮਾਰਚ 2022 (UTC)
== UCoC Enforcement Guidelines Ratification Vote Begins (7 - 21 March 2022) ==
The ratification of the [[metawiki:Special:MyLanguage/Universal Code of Conduct|Universal Code of Conduct]] (UCoC) [[metawiki:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines|enforcement guidelines]] has started. Every eligible community member can vote.
For instructions on voting using SecurePoll and Voting eligibility, [[metawiki:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Voter_information|please read this]]. The last date to vote is 21 March 2022.
'''Vote here''' - https://meta.wikimedia.org/wiki/Special:SecurePoll/vote/391
Thank you, [[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 17:14, 7 ਮਾਰਚ 2022 (UTC)
== Wiki Loves Folklore 2022 ends tomorrow ==
[[File:Wiki Loves Folklore Logo.svg|right|frameless|180px]]
International photographic contest [[:c:Commons:Wiki Loves Folklore 2022| Wiki Loves Folklore 2022]] ends on 15th March 2022 23:59:59 UTC. This is the last chance of the year to upload images about local folk culture, festival, cuisine, costume, folklore etc on Wikimedia Commons. Watch out our social media handles for regular updates and declaration of Winners.
([https://www.facebook.com/WikiLovesFolklore/ Facebook] , [https://twitter.com/WikiFolklore Twitter ] , [https://www.instagram.com/wikilovesfolklore/ Instagram])
The writing competition Feminism and Folklore will run till 31st of March 2022 23:59:59 UTC. Write about your local folk tradition, women, folk festivals, folk dances, folk music, folk activities, folk games, folk cuisine, folk wear, folklore, and tradition, including ballads, folktales, fairy tales, legends, traditional song and dance, folk plays, games, seasonal events, calendar customs, folk arts, folk religion, mythology etc. on your local Wikipedia. Check if your [[:m:Feminism and Folklore 2022/Project Page|local Wikipedia is participating]]
A special competition called '''Wiki Loves Falles''' is organised in Spain and the world during 15th March 2022 till 15th April 2022 to document local folk culture and [[:en:Falles|Falles]] in Valencia, Spain. Learn more about it on [[:ca:Viquiprojecte:Falles 2022|Catalan Wikipedia project page]].
We look forward for your immense co-operation.
Thanks
Wiki Loves Folklore international Team
[[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 14:40, 14 ਮਾਰਚ 2022 (UTC)
<!-- Message sent by User:Rockpeterson@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=22754428 -->
== Universal Code of Conduct Enforcement guidelines ratification voting is now closed ==
: ''[[metawiki:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Vote/Closing message|You can find this message translated into additional languages on Meta-wiki.]]''
: ''<div class="plainlinks">[[metawiki:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Vote/Closing message|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Universal Code of Conduct/Enforcement guidelines/Vote/Closing message}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Greetings,
The ratification voting process for the [[metawiki:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines|revised enforcement guidelines]] of the [[metawiki:Special:MyLanguage/Universal Code of Conduct|Universal Code of Conduct]] (UCoC) came to a close on 21 March 2022. '''Over {{#expr:2300}} Wikimedians voted''' across different regions of our movement. Thank you to everyone who participated in this process! The scrutinizing group is now reviewing the vote for accuracy, so please allow up to two weeks for them to finish their work.
The final results from the voting process will be announced [[metawiki:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Voting/Results|here]], along with the relevant statistics and a summary of comments as soon as they are available. Please check out [[metawiki:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Voter information|the voter information page]] to learn about the next steps. You can comment on the project talk page [[metawiki:Talk:Universal Code of Conduct/Enforcement guidelines|on Meta-wiki]] in any language.
You may also contact the UCoC project team by email: ucocproject[[File:At_sign.svg|link=|16x16px|(_AT_)]]wikimedia.org
Best regards,
[[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 09:54, 23 ਮਾਰਚ 2022 (UTC)
== Announcing Indic Hackathon 2022 and Scholarship Applications ==
Dear Wikimedians, we are happy to announce that the Indic MediaWiki Developers User Group will be organizing [[m:Indic Hackathon 2022|Indic Hackathon 2022]], a regional event as part of the main [[mw:Wikimedia Hackathon 2022|Wikimedia Hackathon 2022]] taking place in a hybrid mode during 20-22 May 2022. The event will take place in Hyderabad. The regional event will be in-person with support for virtual participation. As it is with any hackathon, the event’s program will be semi-structured i.e. while we will have some sessions in sync with the main hackathon event, the rest of the time will be upto participants’ interest on what issues they are interested to work on. The event page can be seen on [[m:Indic Hackathon 2022|this page]].
In this regard, we would like to invite community members who would like to attend in-person to fill out a [https://docs.google.com/forms/d/e/1FAIpQLSc1lhp8IdXNxL55sgPmgOKzfWxknWzN870MvliqJZHhIijY5A/viewform?usp=sf_link form for scholarship application] by 17 April, which is available on the event page. Please note that the hackathon won’t be focusing on training of new skills, and it is expected that applications have some experience/knowledge contributing to technical areas of the Wikimedia movement. Please post on the event talk page if you have any queries. [[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 18:31, 7 ਅਪਰੈਲ 2022 (UTC)
<!-- Message sent by User:KCVelaga@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/South_Asia_Village_Pumps&oldid=23115331 -->
== Join the South Asia / ESEAP Annual Plan Meeting with Maryana Iskander ==
Dear community members,
In continuation of [[m:User:MIskander-WMF|Maryana Iskander]]'s [[m:Special:MyLanguage/Wikimedia Foundation Chief Executive Officer/Maryana’s Listening Tour| listening tour]], the [[m:Special:MyLanguage/Movement Communications|Movement Communications]] and [[m:Special:MyLanguage/Movement Strategy and Governance|Movement Strategy and Governance]] teams invite you to discuss the '''[[m:Special:MyLanguage/Wikimedia Foundation Annual Plan/2022-2023/draft|2022-23 Wikimedia Foundation Annual Plan]]'''.
The conversations are about these questions:
* The [[m:Special:MyLanguage/Wikimedia 2030|2030 Wikimedia Movement Strategy]] sets a direction toward "knowledge as a service" and "knowledge equity". The Wikimedia Foundation wants to plan according to these two goals. How do you think the Wikimedia Foundation should apply them to our work?
* The Wikimedia Foundation continues to explore better ways of working at a regional level. We have increased our regional focus in areas like grants, new features, and community conversations. How can we improve?
* Anyone can contribute to the Movement Strategy process. We want to know about your activities, ideas, requests, and lessons learned. How can the Wikimedia Foundation better support the volunteers and affiliates working in Movement Strategy activities?
<b>Date and Time</b>
The meeting will happen via [https://wikimedia.zoom.us/j/84673607574?pwd=dXo0Ykpxa0xkdWVZaUZPNnZta0k1UT09 Zoom] on 24 April (Sunday) at 07:00 UTC ([https://zonestamp.toolforge.org/1650783659 local time]). Kindly [https://calendar.google.com/event?action=TEMPLATE&tmeid=MmtjZnJibXVjYXYyZzVwcGtiZHVjNW1lY3YgY19vbWxxdXBsMTRqbnNhaHQ2N2Y5M2RoNDJnMEBn&tmsrc=c_omlqupl14jnsaht67f93dh42g0%40group.calendar.google.com add the event to your calendar]. Live interpretation will be available for some languages.
Regards,
[[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 10:19, 17 ਅਪਰੈਲ 2022 (UTC)
== Call for Candidates: 2022 Board of Trustees Election ==
Dear community members,
The [[m:Special:MyLanguage/Wikimedia Foundation elections/2022|2022 Board of Trustees elections]] process has begun. The [[m:Special:MyLanguage/Wikimedia_Foundation_elections/2022/Announcement/Call_for_Candidates|Call for Candidates]] has been announced.
The Board of Trustees oversees the operations of the Wikimedia Foundation. Community-and-affiliate selected trustees and Board-appointed trustees make up the Board of Trustees. Each trustee serves a three year term. The Wikimedia community has the opportunity to vote for community-and-affiliate selected trustees.
The Wikimedia community will vote to elect two seats on the Board of Trustees in 2022. This is an opportunity to improve the representation, diversity, and expertise of the Board of Trustees.
Kindly [[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Apply to be a Candidate|submit your candidacy]] to join the Board of Trustees.
[[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 08:58, 29 ਅਪਰੈਲ 2022 (UTC)
== <section begin="announcement-header" />Wikimedia Foundation Board of Trustees election 2022 - Call for Election Volunteers<section end="announcement-header" /> ==
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/Movement Strategy and Governance/Election Volunteers/2022/Call for Election Volunteers|You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Movement Strategy and Governance/Election Volunteers/2022/Call for Election Volunteers|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Movement Strategy and Governance/Election Volunteers/2022/Call for Election Volunteers}}&language=&action=page&filter= {{int:please-translate}}]</div>''
The Movement Strategy and Governance team is looking for community members to serve as election volunteers in the upcoming Board of Trustees election.
The idea of the Election Volunteer Program came up during the 2021 Wikimedia Board of Trustees Election. This program turned out to be successful. With the help of Election Volunteers we were able to increase outreach and participation in the election by 1,753 voters over 2017. Overall turnout was 10.13%, 1.1 percentage points more, and 214 wikis were represented in the election.
There were a total of 74 wikis that did not participate in 2017 that produced voters in the 2021 election. Can you help increase the participation even more?
Election volunteers will help in the following areas:
* Translate short messages and announce the ongoing election process in community channels
* Optional: Monitor community channels for community comments and questions
Volunteers should:
* Maintain the friendly space policy during conversations and events
* Present the guidelines and voting information to the community in a neutral manner
Do you want to be an election volunteer and ensure your community is represented in the vote? Sign up [[m:Special:MyLanguage/Movement Strategy and Governance/Election Volunteers/About|here]] to receive updates. You can use the [[m:Special:MyLanguage/Talk:Movement Strategy and Governance/Election Volunteers/About|talk page]] for questions about translation.<br /><section end="announcement-content" />
[[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 10:30, 12 ਮਈ 2022 (UTC)
== ਆਰਜੀ ਪ੍ਰਬੰਧਕੀ ਹੱਕ ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ ! ਮੈਂ ਇੱਥੇ ਬਹੁਤ ਖ਼ਰਾਬ ਸਫ਼ੇ ਅਤੇ ਬਹੁਤ ਕਮੀਆਂ ਵੇਖੀਆਂ ਹਨ। ਉਹ ਸਫ਼ੇ ਮਿਟਾਉਣ, ਬਾਕੀ ਕਮੀਆਂ ਦੂਰ ਕਰਨ ਅਤੇ ਇੰਟਰਫ਼ੇਸ ਬਿਹਤਰੀ ਲਈ ਮੈਂ ਇਸ ਵਿਕੀ ’ਤੇ ਆਰਜੀ ਤੌਰ ਤੇ ਪ੍ਰਬੰਧਕ ਦੇ ਹੱਕ ਚਾਹੁੰਦਾ ਹਾਂ। ਇਸ ਤਰ੍ਹਾਂ ਨਾਲ ਵਿਕੀਬੁਕ, ਬਣਾਉਣ ਦਾ ਕੰਮ ਵਧੇਰੇ ਚੰਗੀ ਤਰ੍ਹਾਂ ਕਰ ਸਕਾਂਗਾ। ਧੰਨਵਾਦ।[[ਵਰਤੋਂਕਾਰ:Mulkh Singh|Mulkh Singh]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Mulkh Singh|ਗੱਲ-ਬਾਤ]]) 08:03, 5 ਜੂਨ 2022 (UTC)
== Propose statements for the 2022 Election Compass ==
: ''[[metawiki:Special:MyLanguage/Wikimedia Foundation elections/2022/Announcement/Propose statements for the 2022 Election Compass| You can find this message translated into additional languages on Meta-wiki.]]''
: ''<div class="plainlinks">[[metawiki:Special:MyLanguage/Wikimedia Foundation elections/2022/Announcement/Propose statements for the 2022 Election Compass|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation elections/2022/Announcement/Propose statements for the 2022 Election Compass}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hi all,
Community members are invited to ''' [[metawiki:Special:MyLanguage/Wikimedia_Foundation_elections/2022/Community_Voting/Election_Compass|propose statements to use in the Election Compass]]''' for the [[metawiki:Special:MyLanguage/Wikimedia Foundation elections/2022|2022 Board of Trustees election.]]
An Election Compass is a tool to help voters select the candidates that best align with their beliefs and views. The community members will propose statements for the candidates to answer using a Lickert scale (agree/neutral/disagree). The candidates’ answers to the statements will be loaded into the Election Compass tool. Voters will use the tool by entering in their answer to the statements (agree/neutral/disagree). The results will show the candidates that best align with the voter’s beliefs and views.
Here is the timeline for the Election Compass:
* July 8 - 20: Community members propose statements for the Election Compass
* July 21 - 22: Elections Committee reviews statements for clarity and removes off-topic statements
* July 23 - August 1: Volunteers vote on the statements
* August 2 - 4: Elections Committee selects the top 15 statements
* August 5 - 12: candidates align themselves with the statements
* August 15: The Election Compass opens for voters to use to help guide their voting decision
The Elections Committee will select the top 15 statements at the beginning of August. The Elections Committee will oversee the process, supported by the Movement Strategy and Governance (MSG) team. MSG will check that the questions are clear, there are no duplicates, no typos, and so on.
Regards,
Movement Strategy & Governance
''This message was sent on behalf of the Board Selection Task Force and the Elections Committee''
[[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 08:19, 12 ਜੁਲਾਈ 2022 (UTC)
== Bot policy ==
Hello. To facilitate [[:m:Special:MyLanguage/Stewards|steward]] granting of bot access, I suggest implementing the [[m:Special:MyLanguage/Bot policy|standard bot policy]] on this wiki. In particular, this policy allows stewards to automatically flag known interlanguage linking bots (if this page says that is acceptable) or bots that fix double redirects. The policy also enables [[m:Bot policy#Global_bots|global bots]] on this wiki (if this page says that is acceptable), which are trusted bots that will be given bot access on every wiki that allows global bots.
This policy makes bot access requesting much easier for local users, operators, and stewards. To implement it we only need to create a redirect to this page from [[Project:Bot policy]], and add a line at the top noting that it is used here. If you use or prefer to use a dedicated project page for handling bot flag requests, that is also acceptable. Please read [[m:Special:MyLanguage/Bot policy|the text at Meta-Wiki]] before commenting. If you object, please say so; I hope to implement in two weeks if there is no objection, since it is particularly written to streamline bot requests on wikis with little or no community interested in bot access requests. Thank you for your consideration. --'''[[User:Rschen7754|Rs]][[User talk:Rschen7754|chen]][[Special:Contributions/Rschen7754|7754]]''' 07:08, 2 ਅਗਸਤ 2022 (UTC)
== WikiConference India 2023: Initial conversations ==
Dear Wikimedians,
Hope all of you are doing well. We are glad to inform you to restart the conversation to host the next WikiConference India 2023 after WCI 2020 which was not conducted due to the unexpected COVID-19 pandemic, it couldn't take place. However, we are hoping to reinitiate this discussion and for that we need your involvement, suggestions and support to help organize a much needed conference in February-March of 2023.
The proposed 2023 conference will bring our energies, ideas, learnings, and hopes together. This conference will provide a national-level platform for Indian Wikimedians to connect, re-connect, and establish their collaboration itself can be a very important purpose on its own- in the end it will empower us all to strategize, plan ahead and collaborate- as a movement.
We hope we, the Indian Wikimedia Community members, come together in various capacities and make this a reality. We believe we will take learnings from earlier attempts, improve processes & use best practices in conducting this conference purposefully and fruitfully.
Here is a survey [https://docs.google.com/forms/d/e/1FAIpQLSfof80NVrf3b9x3AotDBkICe-RfL3O3EyTM_L5JaYM-0GkG1A/viewform form] to get your responses on the same notion. Unfortunately we are working with short timelines since the final date of proposal submission is 5 September. We request you please fill out the form by 28th August. After your responses, we can decide if we have the community need and support for the conference. You are also encouraged to add your support on [[:m:WikiConference_India_2023:_Initial_conversations|'''this page''']], if you support the idea.
Regards, [[User:Nitesh Gill|Nitesh Gill]], [[User:Nivas10798|Nivas10798]], [[User:Neechalkaran|Neechalkaran]], 06:39, 24 ਅਗਸਤ 2022 (UTC)
<!-- Message sent by User:KCVelaga@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/South_Asia_Village_Pumps&oldid=23115331 -->
== 2022 Board of Trustees Community Voting Period is now Open ==
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Announcement/The 2022 Board of Trustees election Community Voting period is now open| You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Announcement/The 2022 Board of Trustees election Community Voting period is now open|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation elections/2022/Announcement/The 2022 Board of Trustees election Community Voting period is now open}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Dear community members,
The Community Voting period for the [[m:Special:MyLanguage/Wikimedia Foundation elections/2022|2022 Board of Trustees election]] is now open. Here are some helpful links to get you the information you need to vote:
* Try the [https://board-elections-compass-2022.toolforge.org/ Election Compass], showing how candidates stand on 15 different topics.
* Read the [[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Candidates|candidate statements]] and [[m:Special:MyLanguage/Wikimedia_Foundation_elections/2022/Affiliate_Organization_Participation/Candidate_Questions|answers to Affiliate questions]]
* [[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Apply to be a Candidate|Learn more about the skills the Board seeks]] and how the [[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Candidates|Analysis Committee found candidates align with those skills]]
* [[m:Special:MyLanguage/Wikimedia_Foundation_elections/2022/Campaign_Videos|Watch the videos of the candidates answering questions proposed by the community]].
If you are ready to vote, you may go to [[Special:SecurePoll/vote/Wikimedia_Foundation_Board_Elections_2022|SecurePoll voting page]] to vote now. '''You may vote from August 23 at 00:00 UTC to September 6 at 23:59 UTC.''' To see about your voter eligibility, please visit the [[m:Special:MyLanguage/Wikimedia_Foundation_elections/2022/Voter_eligibility_guidelines|voter eligibility page]].
Regards,
Movement Strategy and Governance
''This message was sent on behalf of the Board Selection Task Force and the Elections Committee''<br /><section end="announcement-content" />
[[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 12:39, 26 ਅਗਸਤ 2022 (UTC)
== The 2022 Board of Trustees election Community Voting is about to close ==
:''[[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Announcement/The 2022 Board of Trustees election Community Voting is about to Close| You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Announcement/The 2022 Board of Trustees election Community Voting about to Close|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation elections/2022/Announcement/The 2022 Board of Trustees election Community Voting is about to Close}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hello,
The Community Voting period of the 2022 Board of Trustees election started on August 23, 2022, and will close on September 6, 2022 23:59 UTC. There’s still a chance to participate in this election. If you did not vote, please visit the [[Special:SecurePoll/vote/Wikimedia_Foundation_Board_Elections_2022|SecurePoll voting page]] to vote now. To see about your voter eligibility, please visit the [[m:Special:MyLanguage/Wikimedia_Foundation_elections/2022/Voter_eligibility_guidelines|voter eligibility page]].
If you need help in making your decision, here are some helpful links:
* Try the [https://board-elections-compass-2022.toolforge.org/ Election Compass], showing how candidates stand on 15 different topics.
* Read the [[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Candidates|candidate statements]] and [[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Affiliate_Organization_Participation/Candidate_Questions|answers to Affiliate questions]].
*[[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Apply to be a Candidate|Learn more about the skills the Board seek]] and how the [[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Candidates|Analysis Committee found candidates align with those skills]]
* [[m:Special:MyLanguage/Wikimedia_Foundation_elections/2022/Campaign_Videos|Watch the videos of the candidates answering questions proposed by the community]].
Regards,
Movement Strategy and Governance<section end="announcement-content" />
[[ਵਰਤੋਂਕਾਰ:CSinha (WMF)|CSinha (WMF)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:CSinha (WMF)|ਗੱਲ-ਬਾਤ]]) 13:14, 1 ਸਤੰਬਰ 2022 (UTC)
== WikiConference India 2023: Proposal to WMF ==
Hello everyone,
We are happy to inform you that we have submitted the [[:m:Grants:Conference/WikiConference_India_2023|Conference & Event Grant proposal for WikiConference India 2023]] to the Wikimedia Foundation. We kindly request all the community members to go through the proposal -- including the community engagement survey report, program plan, venue and logistics, participation and scholarships, and the budget, and provide us with your suggestions/comments on the [[:m:Grants_talk:Conference/WikiConference_India_2023|talk page]]. You can endorse the proposal in the [[:m:Grants:Conference/WikiConference_India_2023#Endorsements|endorsements section]], please do add a rationale for supporting this project.
According to the timeline of the Conference and Event Grants program, the community can review till 23 September 2022, post that we will start integrating all the received feedback to make modifications to the proposal. Depending on the response of community members, an IRC may be hosted next week, especially if there are any questions/concerns that need to be addressed.
We reopened the survey form and if you are still interested in taking part in the survey and you have something in mind to share or want to become a part of the organizing team, please <span class="plainlinks">[https://docs.google.com/forms/d/e/1FAIpQLSfof80NVrf3b9x3AotDBkICe-RfL3O3EyTM_L5JaYM-0GkG1A/viewform fill out the form]</span> so we all can work together.
Let us know if you have any questions.
Regards,
[[:m:User:Nitesh Gill|Nitesh Gill]], [[:m:User:Nivas10798|Nivas10798]], [[:m:User:Neechalkaran|Neechalkaran]], 07:36, 19 ਸਤੰਬਰ 2022 (UTC)
<!-- Message sent by User:KCVelaga@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/South_Asia_Village_Pumps&oldid=23719531 -->
== The Vector 2022 skin as the default in two weeks? ==
<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:Wikimania 2022 Vector (2022) Presentation.pdf|thumb|The slides for our presentation at Wikimania 2022|page=26]]
Hello. I'm writing on behalf of the [[mw:Reading/Web|Wikimedia Foundation Web team]]. '''In two weeks, we would like to make the Vector 2022 skin the default on this wiki.'''
We have been working on it for the past three years. So far, it has been the default on more than 30 wikis, including sister projects, all accounting for more than 1 billion pageviews per month. On average [[phab:T317529#8246686|87% of active logged-in users]] of those wikis use Vector 2022.
It would become the default for all logged-out users, and also all logged-in users who currently use Vector legacy. Logged-in users can at any time switch to [[Special:Preferences#mw-prefsection-rendering|any other skins]]. No changes are expected for users of these skins.
<div style="width:100%; margin:auto;"><gallery widths="220" heights="150" mode="packed" caption="Top of an article">
Screenshot Historia da moeda do Tíbet - 2022-09-22 - Vector 2010 top.png|Vector legacy (current default)
Screenshot Historia da moeda do Tíbet - 2022-09-22 - Vector 2022 top.png|Vector 2022
</gallery><gallery widths="220" heights="150" mode="packed" caption="A section of an article">
Screenshot Historia da moeda do Tíbet - 2022-09-22 - Vector 2010 scrolled.png|Vector legacy (current default)
Screenshot Historia da moeda do Tíbet - 2022-09-22 - Vector 2022 scrolled.png|Vector 2022
</gallery></div>
=== About the skin ===
'''[Why is a change necessary]''' The current default skin meets the needs of the readers and editors as these were 13 years ago. Since then, new users have begun using Wikimedia projects. [https://diff.wikimedia.org/2022/08/18/prioritizing-equity-within-wikipedias-new-desktop/ The old Vector doesn't meet their needs.]
'''[Objective]''' The objective for the new skin is to make the interface more welcoming and comfortable for readers and useful for advanced users. It draws inspiration from previous requests, the [[metawiki:Special:MyLanguage/Community_Wishlist_Survey|Community Wishlist Surveys]], and gadgets and scripts. The work helped our code follow the standards and improve all other skins. [[phab:phame/post/view/290/how_and_why_we_moved_our_skins_to_mustache/|We reduced PHP code in Wikimedia deployed skins by 75%]]. The project has also focused on making it easier to support gadgets and use APIs.
'''[Changes and test results]''' The skin introduces a [[mw:Special:MyLanguage/Reading/Web/Desktop Improvements/Features|series of changes]] that improve readability and usability. The new skin does not remove any functionality currently available on the Vector skin.
* The sticky header makes it easier to find tools that editors use often. It decreases scrolling to the top of the page by 16%.
* The new table of contents makes it easier to navigate to different sections. Readers and editors jumped to different sections of the page 50% more than with the old table of contents. It also looks a bit different on talk pages.
* The new search bar is easier to find and makes it easier to find the correct search result from the list. This increased the amount of searches started by 30% on the wikis we tested on.
* The skin does not negatively affect pageviews, edit rates, or account creation. There is evidence of increases in pageviews and account creation across partner communities.
'''[Try it out]''' Try out the new skin by going to the appearance tab in [[Special:Preferences#mw-prefsection-rendering|your preferences]] and selecting Vector 2022 from the list of skins.
=== How can editors change and customize this skin? ===
It's possible to configure and personalize our changes. We support volunteers who create new gadgets and user scripts. Check out [[mw:Special:MyLanguage/Reading/Web/Desktop Improvements/Repository|our repository]] for a list of currently available customizations, or add your own.
=== Our plan ===
'''If no large concerns are raised, we plan on deploying in the week of October 3, 2022'''. If your community would like to request more time to discuss the changes, hit the button and write to us. We can adjust the calendar.
<div style="text-align: center;">[[mw:Talk:Reading/Web/Desktop Improvements|<span class="plainlinks mw-ui-button">Request for more time to discuss the change</span>]]</div>
If you'd like ask our team anything, if you have questions, concerns, or additional thoughts, please ping me here or write on the [[mw:Talk:Reading/Web/Desktop Improvements|talk page of the project]]. We will gladly answer! Also, [[mw:Reading/Web/Desktop Improvements/Frequently asked questions|see our FAQ]]. Thank you! [[mw:User:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ([[mw:User talk:SGrabarczuk (WMF)|talk]]) 04:14, 22 ਸਤੰਬਰ 2022 (UTC)
</div>
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:SGrabarczuk_(WMF)/sandbox/MM/Varia&oldid=23838600 -->
c8h8d3rcke2qp8ru3851c5h0h25b03o
ਫਰਮਾ:Flatlist
10
3095
5825
2023-06-07T08:46:32Z
Kuldeepburjbhalaike
1880
"<div class="hlist {{{class|}}}" style="margin-left: {{#expr:{{{indent|0}}}*1.6}}em; {{{style|}}}">{{#if:{{{1|}}}| {{{1}}} </div>}}<noinclude></div> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="hlist {{{class|}}}" style="margin-left: {{#expr:{{{indent|0}}}*1.6}}em; {{{style|}}}">{{#if:{{{1|}}}|
{{{1}}}
</div>}}<noinclude></div>
{{documentation}}
</noinclude>
m932n5ogkgsh97lpgcgwp295k6gvqct
ਫਰਮਾ:Flatlist/doc
10
3096
5826
2023-06-07T08:48:00Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> ===Usage=== {{tl|Flatlist}} starts a horizontal list, such as: {{flatlist}} *[[Cookbook:Appetizers|Appetizers]] *[[Cookbook:Beverages|Beverages]] *[[Cookbook:Bread Recipes|Bread]] *[[Cookbook:Breakfast Recipes|Breakfast]] *[[Cookbook:Confections|Confections]] *[[Cookbook:Dessert|Desserts]] *[[Cookbook:Meat Recipes|Meats]] *Cookbook:Pasta Recipes|P..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
===Usage===
{{tl|Flatlist}} starts a horizontal list, such as:
{{flatlist}}
*[[Cookbook:Appetizers|Appetizers]]
*[[Cookbook:Beverages|Beverages]]
*[[Cookbook:Bread Recipes|Bread]]
*[[Cookbook:Breakfast Recipes|Breakfast]]
*[[Cookbook:Confections|Confections]]
*[[Cookbook:Dessert|Desserts]]
*[[Cookbook:Meat Recipes|Meats]]
*[[Cookbook:Pasta Recipes|Pasta]]
*[[Cookbook:Rice Recipes|Rice]]
*[[Cookbook:Salad Recipes|Salads]]
{{endflatlist}}
The bottom margin is inherited from the current container. Normally this will be 0.5em. This template can be used with or without {{tl|endflatlist}}.
For navigation boxes using {{tl|navbox}}, one can set {{para|listclass|hlist}}, and achieve the same styling without using this template.
===Examples===
<pre><nowiki>
{{flatlist |
*[[Cookbook:Appetizers|Appetizers]]
*[[Cookbook:Beverages|Beverages]]
*[[Cookbook:Bread Recipes|Bread]]
*[[Cookbook:Breakfast Recipes|Breakfast]]
*[[Cookbook:Confections|Confections]]
*[[Cookbook:Dessert|Desserts]]
*[[Cookbook:Meat Recipes|Meats]]
*[[Cookbook:Pasta Recipes|Pasta]]
*[[Cookbook:Rice Recipes|Rice]]
*[[Cookbook:Salad Recipes|Salads]]
}}
</nowiki></pre>
{{flatlist |
*[[Cookbook:Appetizers|Appetizers]]
*[[Cookbook:Beverages|Beverages]]
*[[Cookbook:Bread Recipes|Bread]]
*[[Cookbook:Breakfast Recipes|Breakfast]]
*[[Cookbook:Confections|Confections]]
*[[Cookbook:Dessert|Desserts]]
*[[Cookbook:Meat Recipes|Meats]]
*[[Cookbook:Pasta Recipes|Pasta]]
*[[Cookbook:Rice Recipes|Rice]]
*[[Cookbook:Salad Recipes|Salads]]
}}
;Alternative syntax:
<pre><nowiki>
{{flatlist}}
*[[Cookbook:Appetizers|Appetizers]]
*[[Cookbook:Beverages|Beverages]]
*[[Cookbook:Bread Recipes|Bread]]
*[[Cookbook:Breakfast Recipes|Breakfast]]
*[[Cookbook:Confections|Confections]]
*[[Cookbook:Dessert|Desserts]]
*[[Cookbook:Meat Recipes|Meats]]
*[[Cookbook:Pasta Recipes|Pasta]]
*[[Cookbook:Rice Recipes|Rice]]
*[[Cookbook:Salad Recipes|Salads]]
{{endflatlist}}
</nowiki></pre>
{{flatlist}}
*[[Cookbook:Appetizers|Appetizers]]
*[[Cookbook:Beverages|Beverages]]
*[[Cookbook:Bread Recipes|Bread]]
*[[Cookbook:Breakfast Recipes|Breakfast]]
*[[Cookbook:Confections|Confections]]
*[[Cookbook:Dessert|Desserts]]
*[[Cookbook:Meat Recipes|Meats]]
*[[Cookbook:Pasta Recipes|Pasta]]
*[[Cookbook:Rice Recipes|Rice]]
*[[Cookbook:Salad Recipes|Salads]]
{{endflatlist}}
;Syntax for ordered lists:
<pre><nowiki>
{{flatlist | class=hnum |
#[[Cookbook:Appetizers|Appetizers]]
#[[Cookbook:Beverages|Beverages]]
#[[Cookbook:Bread Recipes|Bread]]
#[[Cookbook:Breakfast Recipes|Breakfast]]
#[[Cookbook:Confections|Confections]]
#[[Cookbook:Dessert|Desserts]]
#[[Cookbook:Meat Recipes|Meats]]
#[[Cookbook:Pasta Recipes|Pasta]]
#[[Cookbook:Rice Recipes|Rice]]
#[[Cookbook:Salad Recipes|Salads]]
}}
</nowiki></pre>
{{flatlist | class=hnum |
#[[Cookbook:Appetizers|Appetizers]]
#[[Cookbook:Beverages|Beverages]]
#[[Cookbook:Bread Recipes|Bread]]
#[[Cookbook:Breakfast Recipes|Breakfast]]
#[[Cookbook:Confections|Confections]]
#[[Cookbook:Dessert|Desserts]]
#[[Cookbook:Meat Recipes|Meats]]
#[[Cookbook:Pasta Recipes|Pasta]]
#[[Cookbook:Rice Recipes|Rice]]
#[[Cookbook:Salad Recipes|Salads]]
}}
===Parameters===
* '''class''' – adds a CSS class to the containing div.
* '''style''' – adds CSS style options.
::Example: {{para|<var>style</var>|<var>border:solid 1px silver; background:lightyellow</var>}}
* '''indent''' – indents the list by a number of standard indents (one indent being 1.6em), particularly handy for inclusion in an indented discussion thread.
::Example: {{para|<var>indent</var>|<var>2</var>}}
===See also===
* {{tl|endflatlist}}
* {{tl|plainlist}}
* {{tl|unbulleted list}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[ka:თარგი:Flatlist]]
[[Category:List formatting templates|{{PAGENAME}}]]
}}</includeonly>
au66pc56d77v7yezdyamqeiq996l0jl
ਫਰਮਾ:Endflatlist
10
3097
5827
2023-06-07T08:49:20Z
Kuldeepburjbhalaike
1880
"<includeonly></div></includeonly><noinclude> {{documentation|Template:Flatlist/doc}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly></div></includeonly><noinclude>
{{documentation|Template:Flatlist/doc}}
</noinclude>
0p78pkby8s7e1o474p48twvpgtfs9ul
ਫਰਮਾ:Flatlist/microformat
10
3098
5828
2023-06-07T08:52:48Z
Kuldeepburjbhalaike
1880
"<div class="hlist">{{{1}}}</div><noinclude> {{documentation|content=A separate version of the flatlist template for use on the microformat documentation pages.}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="hlist">{{{1}}}</div><noinclude>
{{documentation|content=A separate version of the flatlist template for use on the microformat documentation pages.}}
</noinclude>
sxo2o920rctg4u89zzp6mnyzszcql6m
ਫਰਮਾ:Plainlist
10
3099
5829
2023-06-07T09:24:30Z
Kuldeepburjbhalaike
1880
"<div class="plainlist {{{class|}}}" style="margin-left: {{#expr:{{{indent|0}}}*1.6}}em; {{{style|}}}">{{#if:{{{1|}}}| {{{1}}} </div>}}<noinclude></div> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="plainlist {{{class|}}}" style="margin-left: {{#expr:{{{indent|0}}}*1.6}}em; {{{style|}}}">{{#if:{{{1|}}}|
{{{1}}}
</div>}}<noinclude></div>
{{documentation}}
</noinclude>
0sfownjz01ntul49r3ruw8ggai2wdm6
ਫਰਮਾ:Plainlist/doc
10
3100
5830
2023-06-07T09:25:47Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> ===Usage=== {{tl|Plainlist}} starts a plain, or unbulleted, list, such as: {{plainlist| *[[Cookbook:Appetizers|Appetizers]] *[[Cookbook:Beverages|Beverages]] *[[Cookbook:Bread Recipes|Bread]] *[[Cookbook:Breakfast Recipes|Breakfast]] *[[Cookbook:Confections|Confections]] *[[Cookbook:Dessert|Desserts]] *[[Cookbook:Meat Recipes|Meats]] *Cookbook:Pa..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
===Usage===
{{tl|Plainlist}} starts a plain, or unbulleted, list, such as:
{{plainlist|
*[[Cookbook:Appetizers|Appetizers]]
*[[Cookbook:Beverages|Beverages]]
*[[Cookbook:Bread Recipes|Bread]]
*[[Cookbook:Breakfast Recipes|Breakfast]]
*[[Cookbook:Confections|Confections]]
*[[Cookbook:Dessert|Desserts]]
*[[Cookbook:Meat Recipes|Meats]]
*[[Cookbook:Pasta Recipes|Pasta]]
*[[Cookbook:Rice Recipes|Rice]]
*[[Cookbook:Salad Recipes|Salads]]
}}
It uses proper HTML list markup, which is more standards-compliant and more accessible than separating list items with {{tag|br|s}}.
This template can be used with or without {{tl|endplainlist}}. It is an alternative to {{Tl|Unbulleted list}}, which performs the same function in a more concise but less wiki-style manner.
===Examples===
<pre><nowiki>
{{Plainlist |
*[[Cookbook:Appetizers|Appetizers]]
*[[Cookbook:Beverages|Beverages]]
*[[Cookbook:Bread Recipes|Bread]]
*[[Cookbook:Breakfast Recipes|Breakfast]]
*[[Cookbook:Confections|Confections]]
*[[Cookbook:Dessert|Desserts]]
*[[Cookbook:Meat Recipes|Meats]]
*[[Cookbook:Pasta Recipes|Pasta]]
*[[Cookbook:Rice Recipes|Rice]]
*[[Cookbook:Salad Recipes|Salads]]
}}
</nowiki></pre>
{{Plainlist |
*[[Cookbook:Appetizers|Appetizers]]
*[[Cookbook:Beverages|Beverages]]
*[[Cookbook:Bread Recipes|Bread]]
*[[Cookbook:Breakfast Recipes|Breakfast]]
*[[Cookbook:Confections|Confections]]
*[[Cookbook:Dessert|Desserts]]
*[[Cookbook:Meat Recipes|Meats]]
*[[Cookbook:Pasta Recipes|Pasta]]
*[[Cookbook:Rice Recipes|Rice]]
*[[Cookbook:Salad Recipes|Salads]]
}}
;Alternative syntax:
<pre><nowiki>
{{Plainlist}}
*[[Cookbook:Appetizers|Appetizers]]
*[[Cookbook:Beverages|Beverages]]
*[[Cookbook:Bread Recipes|Bread]]
*[[Cookbook:Breakfast Recipes|Breakfast]]
*[[Cookbook:Confections|Confections]]
*[[Cookbook:Dessert|Desserts]]
*[[Cookbook:Meat Recipes|Meats]]
*[[Cookbook:Pasta Recipes|Pasta]]
*[[Cookbook:Rice Recipes|Rice]]
*[[Cookbook:Salad Recipes|Salads]]
{{endplainlist}}
</nowiki></pre>
{{Plainlist}}
*[[Cookbook:Appetizers|Appetizers]]
*[[Cookbook:Beverages|Beverages]]
*[[Cookbook:Bread Recipes|Bread]]
*[[Cookbook:Breakfast Recipes|Breakfast]]
*[[Cookbook:Confections|Confections]]
*[[Cookbook:Dessert|Desserts]]
*[[Cookbook:Meat Recipes|Meats]]
*[[Cookbook:Pasta Recipes|Pasta]]
*[[Cookbook:Rice Recipes|Rice]]
*[[Cookbook:Salad Recipes|Salads]]
{{Endplainlist}}
===Parameters===
* '''indent''' – indents the list by a number of standard indents (one indent being 1.6em), particularly handy for inclusion in an indented discussion thread.
::Example: {{para|<var>indent</var>|<var>2</var>}}
* '''style''' – adds CSS style options.
::Example: {{para|<var>style</var>|<var>border:solid 1px silver; background:lightyellow</var>}}
===See also===
* {{tl|endplainlist}}
* {{tl|unbulleted list}}
* {{tl|flatlist}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:List formatting templates|{{PAGENAME}}]]
}}</includeonly>
s7icb4js7f1r01tsdjoelb3qsixst96
ਫਰਮਾ:Endplainlist
10
3101
5831
2023-06-07T09:27:00Z
Kuldeepburjbhalaike
1880
"</div><noinclude> {{documentation|Template:Plainlist/doc}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
</div><noinclude>
{{documentation|Template:Plainlist/doc}}
</noinclude>
d3q5ji9gj1bbqhgk0bolhi57ue8x2bu
ਫਰਮਾ:Unbulleted list
10
3102
5832
2023-06-07T09:28:31Z
Kuldeepburjbhalaike
1880
"{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}}{{{21|}}}{{{22|}}}{{{23|}}}{{{24|}}}{{{25|}}}{{{26|}}}{{{27|}}}{{{28|}}}{{{29|}}}{{{30|}}}{{{31|}}}{{{32|}}}{{{33|}}}{{{34|}}}{{{35|}}}{{{36|}}}{{{37|}}}{{{38|}}}{{{39|}}}{{{40|}}}{{{41|}}}{{{42|}}}{{{43|}}}{{{44|}}}{{{45|}}}{{{46|}}}{{{47|}}}{{{48|}}}{{{49|}}}{{{50|}}}|<di..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}}{{{21|}}}{{{22|}}}{{{23|}}}{{{24|}}}{{{25|}}}{{{26|}}}{{{27|}}}{{{28|}}}{{{29|}}}{{{30|}}}{{{31|}}}{{{32|}}}{{{33|}}}{{{34|}}}{{{35|}}}{{{36|}}}{{{37|}}}{{{38|}}}{{{39|}}}{{{40|}}}{{{41|}}}{{{42|}}}{{{43|}}}{{{44|}}}{{{45|}}}{{{46|}}}{{{47|}}}{{{48|}}}{{{49|}}}{{{50|}}}|<div class="plainlist"><ul style="{{{ul_style|}}}"><!--
-->{{#if:{{{1|}}}|<li style="{{{li_style|}}}{{{li_style1|}}}">{{{1}}}</li>}}<!--
-->{{#if:{{{2|}}}|<li style="{{{li_style|}}}{{{li_style2|}}}">{{{2}}}</li>}}<!--
-->{{#if:{{{3|}}}|<li style="{{{li_style|}}}{{{li_style3|}}}">{{{3}}}</li>}}<!--
-->{{#if:{{{4|}}}|<li style="{{{li_style|}}}{{{li_style4|}}}">{{{4}}}</li>}}<!--
-->{{#if:{{{5|}}}|<li style="{{{li_style|}}}{{{li_style5|}}}">{{{5}}}</li>}}<!--
-->{{#if:{{{6|}}}|<li style="{{{li_style|}}}{{{li_style6|}}}">{{{6}}}</li>}}<!--
-->{{#if:{{{7|}}}|<li style="{{{li_style|}}}{{{li_style7|}}}">{{{7}}}</li>}}<!--
-->{{#if:{{{8|}}}|<li style="{{{li_style|}}}{{{li_style8|}}}">{{{8}}}</li>}}<!--
-->{{#if:{{{9|}}}|<li style="{{{li_style|}}}{{{li_style9|}}}" >{{{9}}}</li>}}<!--
-->{{#if:{{{10|}}}|<li style="{{{li_style|}}}{{{li_style10|}}}">{{{10}}}</li>}}<!--
-->{{#if:{{{11|}}}|<li style="{{{li_style|}}}{{{li_style11|}}}">{{{11}}}</li>}}<!--
-->{{#if:{{{12|}}}|<li style="{{{li_style|}}}{{{li_style12|}}}">{{{12}}}</li>}}<!--
-->{{#if:{{{13|}}}|<li style="{{{li_style|}}}{{{li_style13|}}}">{{{13}}}</li>}}<!--
-->{{#if:{{{14|}}}|<li style="{{{li_style|}}}{{{li_style14|}}}">{{{14}}}</li>}}<!--
-->{{#if:{{{15|}}}|<li style="{{{li_style|}}}{{{li_style15|}}}">{{{15}}}</li>}}<!--
-->{{#if:{{{16|}}}|<li style="{{{li_style|}}}{{{li_style16|}}}">{{{16}}}</li>}}<!--
-->{{#if:{{{17|}}}|<li style="{{{li_style|}}}{{{li_style17|}}}">{{{17}}}</li>}}<!--
-->{{#if:{{{18|}}}|<li style="{{{li_style|}}}{{{li_style18|}}}">{{{18}}}</li>}}<!--
-->{{#if:{{{19|}}}|<li style="{{{li_style|}}}{{{li_style19|}}}">{{{19}}}</li>}}<!--
-->{{#if:{{{20|}}}|<li style="{{{li_style|}}}{{{li_style20|}}}">{{{20}}}</li>}}<!--
-->{{#if:{{{21|}}}|<li style="{{{li_style|}}}{{{li_style21|}}}">{{{21}}}</li>}}<!--
-->{{#if:{{{22|}}}|<li style="{{{li_style|}}}{{{li_style22|}}}">{{{22}}}</li>}}<!--
-->{{#if:{{{23|}}}|<li style="{{{li_style|}}}{{{li_style23|}}}">{{{23}}}</li>}}<!--
-->{{#if:{{{24|}}}|<li style="{{{li_style|}}}{{{li_style24|}}}">{{{24}}}</li>}}<!--
-->{{#if:{{{25|}}}|<li style="{{{li_style|}}}{{{li_style25|}}}">{{{25}}}</li>}}<!--
-->{{#if:{{{26|}}}|<li style="{{{li_style|}}}{{{li_style26|}}}">{{{26}}}</li>}}<!--
-->{{#if:{{{27|}}}|<li style="{{{li_style|}}}{{{li_style27|}}}">{{{27}}}</li>}}<!--
-->{{#if:{{{28|}}}|<li style="{{{li_style|}}}{{{li_style28|}}}">{{{28}}}</li>}}<!--
-->{{#if:{{{29|}}}|<li style="{{{li_style|}}}{{{li_style29|}}}">{{{29}}}</li>}}<!--
-->{{#if:{{{30|}}}|<li style="{{{li_style|}}}{{{li_style30|}}}">{{{30}}}</li>}}<!--
-->{{#if:{{{31|}}}|<li style="{{{li_style|}}}{{{li_style31|}}}">{{{31}}}</li>}}<!--
-->{{#if:{{{32|}}}|<li style="{{{li_style|}}}{{{li_style32|}}}">{{{32}}}</li>}}<!--
-->{{#if:{{{33|}}}|<li style="{{{li_style|}}}{{{li_style33|}}}">{{{33}}}</li>}}<!--
-->{{#if:{{{34|}}}|<li style="{{{li_style|}}}{{{li_style34|}}}">{{{34}}}</li>}}<!--
-->{{#if:{{{35|}}}|<li style="{{{li_style|}}}{{{li_style35|}}}">{{{35}}}</li>}}<!--
-->{{#if:{{{36|}}}|<li style="{{{li_style|}}}{{{li_style36|}}}">{{{36}}}</li>}}<!--
-->{{#if:{{{37|}}}|<li style="{{{li_style|}}}{{{li_style37|}}}">{{{37}}}</li>}}<!--
-->{{#if:{{{38|}}}|<li style="{{{li_style|}}}{{{li_style38|}}}">{{{38}}}</li>}}<!--
-->{{#if:{{{39|}}}|<li style="{{{li_style|}}}{{{li_style39|}}}">{{{39}}}</li>}}<!--
-->{{#if:{{{40|}}}|<li style="{{{li_style|}}}{{{li_style40|}}}">{{{40}}}</li>}}<!--
-->{{#if:{{{41|}}}|<li style="{{{li_style|}}}{{{li_style41|}}}">{{{41}}}</li>}}<!--
-->{{#if:{{{42|}}}|<li style="{{{li_style|}}}{{{li_style42|}}}">{{{42}}}</li>}}<!--
-->{{#if:{{{43|}}}|<li style="{{{li_style|}}}{{{li_style43|}}}">{{{43}}}</li>}}<!--
-->{{#if:{{{44|}}}|<li style="{{{li_style|}}}{{{li_style44|}}}">{{{44}}}</li>}}<!--
-->{{#if:{{{45|}}}|<li style="{{{li_style|}}}{{{li_style45|}}}">{{{45}}}</li>}}<!--
-->{{#if:{{{46|}}}|<li style="{{{li_style|}}}{{{li_style46|}}}">{{{46}}}</li>}}<!--
-->{{#if:{{{47|}}}|<li style="{{{li_style|}}}{{{li_style47|}}}">{{{47}}}</li>}}<!--
-->{{#if:{{{48|}}}|<li style="{{{li_style|}}}{{{li_style48|}}}">{{{48}}}</li>}}<!--
-->{{#if:{{{49|}}}|<li style="{{{li_style|}}}{{{li_style49|}}}">{{{49}}}</li>}}<!--
-->{{#if:{{{50|}}}|<li style="{{{li_style|}}}{{{li_style50|}}}">{{{50}}}</li>}}<!--
--></ul></div>}}<noinclude>
{{documentation}}</noinclude>
spzsmmr0retsyyjvgeyxklj76jpurq7
ਫਰਮਾ:Unbulleted list/doc
10
3103
5833
2023-06-07T09:29:45Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{template shortcut|ubl}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template is used (primarily in infoboxes) to create unbulleted lists using the correct HTML mark-up using CSS to hide the bullets. Up to 50 entries are supported. Each item in the list may have styles added to it individually, by appending a numbered parameter. The parameter <kbd>li_style1</kbd> formats the first item,..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{template shortcut|ubl}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template is used (primarily in infoboxes) to create unbulleted lists using the correct HTML mark-up using CSS to hide the bullets. Up to 50 entries are supported. Each item in the list may have styles added to it individually, by appending a numbered parameter. The parameter <kbd>li_style1</kbd> formats the first item, <kbd>li_style2</kbd> the second, and so on.
=== Usage ===
:<code><nowiki>{{Unbulleted list|entry1|entry2|entry3}}</nowiki></code>
:<code><nowiki>{{Unbulleted list|entry1|entry2|entry3|li_style1=css-style-a;css-style-b;|li_style3=css-style-x;css-style-y;}}</nowiki></code>
=== Examples ===
{| class="wikitable"
! Code !! Result
|-
| <code><nowiki>{{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}}</nowiki></code> || {{Unbulleted list|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}}
|-
| <code><nowiki>{{Unbulleted list|Winner|Runner-up|Third place|li_style1=background-color:#FE2;|li_style2=background-color:#DDD;}}</nowiki></code> || {{Unbulleted list|Winner|Runner-up|Third place|li_style1=background-color:#FE2;|li_style2=background-color:#DDD;}}
|-
| <code><nowiki>{{Unbulleted list| |entry2|entry3}}</nowiki></code> || {{Unbulleted list| |entry2|entry3}}
|-
| <code><nowiki>{{Unbulleted list|entry1| |entry3}}</nowiki></code> || {{Unbulleted list|entry1| |entry3}}
|-
| <code><nowiki>{{Unbulleted list|entry1|entry2| }}</nowiki></code> || {{Unbulleted list|entry1|entry2| }}
|-
| <code><nowiki>{{Unbulleted list|entry1| | }}</nowiki></code> || {{Unbulleted list|entry1| | }}
|-
| <code><nowiki>{{Unbulleted list| |entry2| }}</nowiki></code> || {{Unbulleted list| |entry2| }}
|-
| <code><nowiki>{{Unbulleted list| | |entry3}}}</nowiki></code> || {{Unbulleted list| | |entry3}}
|-
| <code><nowiki>{{Unbulleted list| | | }}}</nowiki></code> || {{Unbulleted list| | | }}
|}
=== See also ===
* {{tl|flatlist}}
* {{tl|plainlist}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:List formatting templates|{{PAGENAME}}]]
</includeonly>
sk8dwhes93mhsgeag4434p8sypnvjza
ਫਰਮਾ:Ubl
10
3104
5834
2023-06-07T09:30:46Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Unbulleted list]]
wikitext
text/x-wiki
#redirect[[ਫਰਮਾ:Unbulleted list]]
054xgxi0rlqljiqhe992fvc7mwtg44j
ਫਰਮਾ:Evalx/test
10
3105
5835
2023-06-07T09:41:23Z
Kuldeepburjbhalaike
1880
"{{dialog/ifsupported|1= <div class="template-documentation"> Testing evaluation by [[Module:{{#if:{{{test-eval|}}}|{{{test-eval}}}|Wikilisp}}]] ---- {{#if:{{{expr|}}}| {{{!}} style{{==}}"width: 100%;" {{!}}- {{!}} style{{==}}"width: 2em;" {{!}} '''expr:''' {{!}} <pre>{{{expr}}}</pre> {{#if:{{{arg|}}}| {{!}}- {{!}} '''arg:''' {{!}} <pre>{{{arg}}}</pre> }} {{!}}- {{!}} style{{==}}"vertical-align: top;" {{!}} '''result:''' {{!}} <code>{{evalx|test-ev..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{dialog/ifsupported|1=
<div class="template-documentation">
Testing evaluation by [[Module:{{#if:{{{test-eval|}}}|{{{test-eval}}}|Wikilisp}}]]
----
{{#if:{{{expr|}}}|
{{{!}} style{{==}}"width: 100%;"
{{!}}-
{{!}} style{{==}}"width: 2em;" {{!}} '''expr:'''
{{!}} <pre>{{{expr}}}</pre>
{{#if:{{{arg|}}}|
{{!}}-
{{!}} '''arg:'''
{{!}} <pre>{{{arg}}}</pre>
}}
{{!}}-
{{!}} style{{==}}"vertical-align: top;" {{!}} '''result:'''
{{!}}
<code>{{evalx|test-eval={{{test-eval|}}}|{{{expr}}}|{{{arg|}}}}}</code>
{{!}}}
----
}}
{{{!}} style{{==}}"width: 100%;"
{{!}}-
{{!}} style{{==}}"vertical-align: top; width: 2em;" {{!}} expr:
{{!}} style{{==}}"vertical-align: top;" {{!}} {{dialog/textarea|id=expr}}
{{!}}-
{{!}} style{{==}}"vertical-align: top; text-align: right;" {{!}} arg:
{{!}} {{dialog/textarea|id=arg}}
{{!}}}
{{dialog/view|page=Template:Evalx/test|label=eval|delegable=yes|expr|arg}}
</div>
|2=waiting to detect dialog}}
2cozi93lq0jv0sty5wvqyh846txiwsq
ਫਰਮਾ:Dialog/ifsupported
10
3106
5836
2023-06-07T09:43:13Z
Kuldeepburjbhalaike
1880
"{{#if:{{{inline|}}}|<span style="display:none" class="wikidialog-dependent">{{{1|}}}</span><span style="display:inline" class="wikidialog-alternative">{{{2|}}}</span>|<div style="display:none" class="wikidialog-dependent">{{{1|}}}</div><div style="display:inline" class="wikidialog-alternative">{{{2|}}}</div>}}<noinclude>{{documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#if:{{{inline|}}}|<span style="display:none" class="wikidialog-dependent">{{{1|}}}</span><span style="display:inline" class="wikidialog-alternative">{{{2|}}}</span>|<div style="display:none" class="wikidialog-dependent">{{{1|}}}</div><div style="display:inline" class="wikidialog-alternative">{{{2|}}}</div>}}<noinclude>{{documentation}}</noinclude>
e24e5ygjhm3rczccqlr30afazklwkb6
ਫਰਮਾ:Dialog/ifsupported/doc
10
3107
5837
2023-06-07T09:44:35Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} {{high-risk|over 1000}} This template displays different content depending on whether or not [[Help:Dialog|dialogs]] are supported. === Usage === Takes two unnamed parameters. If dialogs are supported, the first parameter is visible while the second is hidden. If dialogs are not supported, the first parameter is hidd..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
{{high-risk|over 1000}}
This template displays different content depending on whether or not [[Help:Dialog|dialogs]] are supported.
=== Usage ===
Takes two unnamed parameters. If dialogs are supported, the first parameter is visible while the second is hidden. If dialogs are not supported, the first parameter is hidden while the second is visible. Both parameters are ''present'' on the page; it's just that one or the other is hidden.
During wiki page load prior to the start of a dialog, depending on various local and internet conditions there may be a period of delay —anywhere from just long enough to see up to several seconds or more— before the [[MediaWiki:Gadget-wikidialog.js|dialog gadget]] is permitted to run, during which dialog is temporarily unsupported before becoming available. Dialog would be persistently unsupported if, for example, the user has deselected the dialog gadget in their user preferences, or turned off javascript in their browser.
By default, both unnamed parameters are formatted as separate paragraphs. This can be overridden by specifying a non-blank parameter <nowiki>{{{inline}}}</nowiki>. However, when specifying inline, don't put anything in either unnamed parameter that wouldn't ordinarily occur embedded on a line of text (for example, don't put an {{tl|xambox}} in either parameter), as this may prevent {{tl|dialog/ifsupported}} from functioning correctly. (Internally, by default the template converts both unnamed parameters to <code><nowiki><div></nowiki></code> html elements, while with non-blank inline it converts them to <code><nowiki><span></nowiki></code> elements.)
=== See also ===
* [[Special:WhatLinksHere/{{FULLPAGENAME}}|pages using, or referring to, this template]]
* [[Help:Dialog]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Dialog behavior templates|ifsupported]]
</includeonly>
ihyod7r856s8oqkbf37oma6mcp8pe5t
ਫਰਮਾ:Vertical header
10
3108
5838
2023-06-07T09:47:18Z
Kuldeepburjbhalaike
1880
"<noinclude> {|class="wikitable sortable" ! </noinclude>{{#invoke:Vertical header|cell|text={{{1|<noinclude>Sample text</noinclude>}}}|sortPadding={{{stp|}}}|vertAlign={{{va|bottom}}}|maxWidth={{{mw|}}}|noBold={{{nb|}}}|style={{{style|}}}|cellstyle={{{cellstyle|}}}}}<noinclude> |} {{doc}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude>
{|class="wikitable sortable"
! </noinclude>{{#invoke:Vertical header|cell|text={{{1|<noinclude>Sample text</noinclude>}}}|sortPadding={{{stp|}}}|vertAlign={{{va|bottom}}}|maxWidth={{{mw|}}}|noBold={{{nb|}}}|style={{{style|}}}|cellstyle={{{cellstyle|}}}}}<noinclude>
|}
{{doc}}
</noinclude>
lz08zn1iqg96d7ouyl318j1pxs1fczq
ਮੌਡਿਊਲ:Vertical header
828
3109
5839
2023-06-07T09:49:07Z
Kuldeepburjbhalaike
1880
"local p = {} function p.cell(frame) local text = frame.args.text local sortPadding = frame.args.sortPadding local vertAlign = frame.args.vertAlign local maxWidth = frame.args.maxWidth local noBold = frame.args.noBold local style = frame.args.style:gsub("\"", """) local cellStyle = frame.args.cellstyle:gsub("\"", """) local wikiText = "class = \"nowrap" local normalAlign = "" -- local stupidIEAlign = "" local rows = 1 local w..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
Scribunto
text/plain
local p = {}
function p.cell(frame)
local text = frame.args.text
local sortPadding = frame.args.sortPadding
local vertAlign = frame.args.vertAlign
local maxWidth = frame.args.maxWidth
local noBold = frame.args.noBold
local style = frame.args.style:gsub("\"", """)
local cellStyle = frame.args.cellstyle:gsub("\"", """)
local wikiText = "class = \"nowrap"
local normalAlign = ""
-- local stupidIEAlign = ""
local rows = 1
local width = 0
if maxWidth ~= "" then
width = maxWidth
else
for eachMatch in text:gmatch("<[bB][rR] */? *>") do
rows = rows + 1
end
width = rows * 0.875
width = width .. "em"
end
if sortPadding == "" then
wikiText = wikiText .. " unsortable"
end
wikiText = wikiText .. "\" style=\"line-height:99%;vertical-align:" .. vertAlign .. ";padding:"
if sortPadding == "" then
wikiText = wikiText .. ".4em"
else
wikiText = wikiText .. "21px"
end
wikiText = wikiText .. " .4em .2em;background-position:50% .4em !important;"
wikiText = wikiText .. "min-width:" .. width .. ";max-width:" .. width .. ";width:" .. width .. ";overflow:hidden;" .. cellStyle .. "\""
wikiText = wikiText .. " | <div style=\"" .. frame:preprocess("{{writing-mode|v1}}") .. "transform:rotate(180deg);-ms-transform: none \ ;padding-left:1px;text-align:"
if vertAlign == "top" then
normalAlign = "right"
-- stupidIEAlign = "left"
elseif vertAlign == "middle" then
normalAlign = "center"
-- stupidIEAlign = "center"
else
normalAlign = "left"
-- stupidIEAlign = "right"
end
wikiText = wikiText .. normalAlign .. ";" -- text-align:" .. stupidIEAlign .. " \ ;"
wikiText = wikiText .. style .. "\">"
if noBold == "" then
wikiText = wikiText .. text
else
wikiText = wikiText .. frame:preprocess("{{nobold|1=" .. text .. "}}")
end
wikiText = wikiText .. "</div>"
return wikiText
end
return p
sxgc7mhy62qq66vahshov07eb8kyxar
ਫਰਮਾ:Dialog/button
10
3110
5840
2023-06-08T09:17:32Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#if:{{{action|}}}|{{dialog/button/core|action={{{action}}}|label={{{label|}}}|italic={{{italic|}}}|bold={{{bold|}}}|delegable={{{delegable|}}}|rescript={{{rescript|}}}|norollback={{{norollback|}}}|sequence={{{sequence|}}}|echo={{{echo|}}}|live={{{live|}}}|{{{1|}}}|{{#if:{{{1|}}}|{{dialog/button/1-nam|{{{1}}}}}}}|{{{2|}}}|{{#if:{{{2|}}}|{{dialog/button/1-nam|{{{2}}}}}}}|{{{3|}}}|{{#if:{{{3|}}}|{{dialog/button/1-nam|{{{3}}}}}}}|{{{4|}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#if:{{{action|}}}|{{dialog/button/core|action={{{action}}}|label={{{label|}}}|italic={{{italic|}}}|bold={{{bold|}}}|delegable={{{delegable|}}}|rescript={{{rescript|}}}|norollback={{{norollback|}}}|sequence={{{sequence|}}}|echo={{{echo|}}}|live={{{live|}}}|{{{1|}}}|{{#if:{{{1|}}}|{{dialog/button/1-nam|{{{1}}}}}}}|{{{2|}}}|{{#if:{{{2|}}}|{{dialog/button/1-nam|{{{2}}}}}}}|{{{3|}}}|{{#if:{{{3|}}}|{{dialog/button/1-nam|{{{3}}}}}}}|{{{4|}}}|{{#if:{{{4|}}}|{{dialog/button/1-nam|{{{4}}}}}}}|{{{5|}}}|{{#if:{{{5|}}}|{{dialog/button/1-nam|{{{5}}}}}}}|{{{6|}}}|{{#if:{{{6|}}}|{{dialog/button/1-nam|{{{6}}}}}}}|{{{7|}}}|{{#if:{{{7|}}}|{{dialog/button/1-nam|{{{7}}}}}}}|{{{8|}}}|{{#if:{{{8|}}}|{{dialog/button/1-nam|{{{8}}}}}}}|{{{9|}}}|{{#if:{{{9|}}}|{{dialog/button/1-nam|{{{9}}}}}}}|{{{10|}}}|{{#if:{{{10|}}}|{{dialog/button/1-nam|{{{10}}}}}}}|{{{11|}}}|{{#if:{{{11|}}}|{{dialog/button/1-nam|{{{11}}}}}}}|{{{12|}}}|{{#if:{{{12|}}}|{{dialog/button/1-nam|{{{12}}}}}}}|{{{13|}}}|{{#if:{{{13|}}}|{{dialog/button/1-nam|{{{13}}}}}}}|{{{14|}}}|{{#if:{{{14|}}}|{{dialog/button/1-nam|{{{14}}}}}}}|{{{15|}}}|{{#if:{{{15|}}}|{{dialog/button/1-nam|{{{15}}}}}}}|{{{16|}}}|{{#if:{{{16|}}}|{{dialog/button/1-nam|{{{16}}}}}}}|{{{17|}}}|{{#if:{{{17|}}}|{{dialog/button/1-nam|{{{17}}}}}}}|{{{18|}}}|{{#if:{{{18|}}}|{{dialog/button/1-nam|{{{18}}}}}}}|{{{19|}}}|{{#if:{{{19|}}}|{{dialog/button/1-nam|{{{19}}}}}}}|{{{20|}}}|{{#if:{{{20|}}}|{{dialog/button/1-nam|{{{20}}}}}}}|{{{21|}}}|{{#if:{{{21|}}}|{{dialog/button/1-nam|{{{21}}}}}}}|{{{22|}}}|{{#if:{{{22|}}}|{{dialog/button/1-nam|{{{22}}}}}}}|{{{23|}}}|{{#if:{{{23|}}}|{{dialog/button/1-nam|{{{23}}}}}}}|{{{24|}}}|{{#if:{{{24|}}}|{{dialog/button/1-nam|{{{24}}}}}}}|{{{25|}}}|{{#if:{{{25|}}}|{{dialog/button/1-nam|{{{25}}}}}}}|{{{26|}}}|{{#if:{{{26|}}}|{{dialog/button/1-nam|{{{26}}}}}}}|{{{27|}}}|{{#if:{{{27|}}}|{{dialog/button/1-nam|{{{27}}}}}}}|{{{28|}}}|{{#if:{{{28|}}}|{{dialog/button/1-nam|{{{28}}}}}}}|{{{29|}}}|{{#if:{{{29|}}}|{{dialog/button/1-nam|{{{29}}}}}}}|{{{30|}}}|{{#if:{{{30|}}}|{{dialog/button/1-nam|{{{30}}}}}}}|{{{31|}}}|{{#if:{{{31|}}}|{{dialog/button/1-nam|{{{31}}}}}}}|{{{32|}}}|{{#if:{{{32|}}}|{{dialog/button/1-nam|{{{32}}}}}}}}}|<span style="color:red;">'''{{nowrap|<dialog button requires an action field>}}'''</span>}}</includeonly><noinclude>
{{Documentation}}</noinclude>
nnsv8mqou85f3frjlranqbw5umm1djc
ਫਰਮਾ:Dialog/button/doc
10
3111
5841
2023-06-08T09:19:10Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} {{possible-risk}} This template sets up a button to perform an [[Help:Dialog|action]], parameterizing the action by the contents of selected dialog fields on the page. It functions via supporting javascript code. === Usage === Parameters: * action — required — the name of the action to be performed when th..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
{{possible-risk}}
This template sets up a button to perform an [[Help:Dialog|action]], parameterizing the action by the contents of selected dialog fields on the page. It functions via supporting javascript code.
=== Usage ===
Parameters:
* action — required — the name of the action to be performed when the button is clicked.
* label — optional — the text label on the button. If omitted, defaults to the <kbd>action</kbd> template parameter. Optional parameters <code>bold</code> and <code>italic</code> may be nonblank to give the label those attributes.
* unnamed template parameters — optional — dialog parameters passed to the action target when the button is clicked; currently up to thirty two dialog parameters are supported. Each dialog parameter may be specified in any of three ways.
:* A dialog parameter name, a colon, and the id of a dialog field. The value of that field is passed under the given name. Parameter name and id should each be made up of letters, digits, and hyphens.
:* A dialog parameter name, alone. The omitted id defaults to the parameter name.
:* A dialog parameter name, two colons, and additional text (which may be blank). The additional text is taken to be the literal value for the parameter, as if a dialog field had been declared using {{tl|dialog/textarea|2=hidden=1}} with the given text as its initial value.
:: If the given value contains a colon, it is presumed to be a file name and is also passed to {{tl|hidden use}}. See {{tl|dialog/page}}.
* delegable — optional — if set to <code>no</code>, the action of the button is not delegated; see below. Delegation is not always possible, and even when possible and not suppressed via this parameter, in the most general case it may be permitted rather than required.
* echo — optional — if non-blank, a second button appears after the first, which sends the same dialog parameters to action [[{{SITENAME}}:Dialog/echo/doc|echo]]; may aid dialog debugging.
* norollback — optional — if non-blank, and not delegating, the button does not support [[MediaWiki talk:Dialog/receive#Rollback|rollback]]. Has no effect when delegating.
* rescript — optional — if non-blank, and not delegating, the button removes all cached wikidialog javascript functions before performing the action. Has no effect when delegating. May be used when testing new versions of wikidialog javascript to avoid accidentally mixing new versions of some functions with old versions of others.
* sequence — optional — if non-blank, the button may be triggered automatically as part of an action-sequence.
* live — optional — if non-blank, the button is not disabled when it occurs in a non-live [[Template:Dialog/preview|preview]].
When practical, use a more specialized template to specify a button, such as {{tl|dialog/view}} or {{tl|dialog/edit}}.
=== Behavior ===
When the button is clicked, it attempts to pass the specified dialog parameters to a target page. Ordinarily, the target page name is formed by prefixing <code>{{SITENAME}}:Dialog/</code> to the action name. The target is required to be fully protected.
If a single dialog field id, specified to be passed by the button, occurs on more than one field on the page, by preference the button uses the value of the first such field ''after the button'' (or, failing that, the first such field on the page). This allows data for a button to be stored in fields immediately after the button without worrying about name collisions.
If the action name begins with "User:", the target page name is just the unmodified action name. However, a button with a userspace target will only work if clicked by an admin.
Delegation of the outgoing action means it does not create a new set of dialog parameters, but instead ''modifies'' the existing dialog parameters by which the current page is being viewed. This is only possible if the current page view is the result of an incoming dialog action, so that there are existing parameters to modify. Delegation occurs only if not blocked by template parameter <code>delegable</code> ''and'' delegation is technically possible; even then the button is only required to attempt to delegate if the target action is the same as the current action. Delegation has two potential advantages. It allows the action to send forward dialog parameters that the current button doesn't know about; and — when the outgoing action is the same as the incoming action — it may allow the outgoing action to take place without reloading the action page or its page-specific javascript, both saving time for page accesses and reducing thrashing of the browser view (no "please wait" message between views).
=== Example ===
Wiki markup
: <code><nowiki>{{dialog/button|action=do|verb::view|page:::Indian space agency launches five foreign satellites}}</nowiki></code>
specifies a button instructing action [[{{SITENAME}}:Dialog/do|do]] to view page "Indian space agency launches five foreign satellites". It specifies dialog parameter <code>verb</code> with literal value <code>view</code>, and dialog parameter <code>page</code> with literal value {{nowrap|<code>Indian space agency launches five foreign satellites</code>}}. It produces
: {{dialog/button|action=do|verb::view|page:::Indian space agency launches five foreign satellites}}
and is equivalent to
: <code><nowiki>{{dialog/button|action=do|verb:button-local-field-verb|page:button-local-field-page}}{{dialog/textarea|id=button-local-field-verb|view|hidden=1}}{{dialog/textarea|id=button-local-field-page|:Indian space agency launches five foreign satellites|hidden=1}}{{hidden use|:Indian space agency launches five foreign satellites}}</nowiki></code>
=== Internals ===
The template sets up a span element of class <code>wikidialog-button</code>, containing the specs for the button. Associated javascript code converts the span element into a button. When the button is clicked, an event handler confirms that the target page is fully protected, then collects the named field values and passes them via sessionStorage (per HTML5) to the target page. Page-specific javascript at the target is responsible for processing the data passed to it.
Javascript code to format dialog fields and buttons is contained in the [[MediaWiki:Gadget-wikidialog.js|dialog gadget]]. Javascript code to retrieve passed data at an action is contained in the [[MediaWiki:Dialog/receive|receive module]].
If a parameter ''name'' is specified using a double-colon for a literal value, the value is stored separately from the button itself in a hidden {{tl|dialog/textarea}} field <code>button-local-field-</code>''name''. (Since these fields are placed immediately after the button, the button picks up their values in preference to any other fields with the same id.)
The template uses several [[:{{dialog/subtemplates cat}}|subtemplates]] (seven, as of this writing). This keeps each template simple enough to maintain with high reliability, which was deemed more important than minimizing template count, although the suite is also organized to minimize the number of calls to {{tl|evalx}}. The primary template itself makes sure template parameter <code>action</code> is non-blank, takes care (once and for all) of all necessary calls to {{tl|dialog/button/1-nam}}, and delegates all remaining operations to {{tl|dialog/button/core}}.
=== See also ===
* [[:Category:Dialog actions]]
* [[Special:WhatLinksHere/{{FULLPAGENAME}}|pages using, or referring to, this template]]
* [[Help:Dialog]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Dialog element templates|button]]
</includeonly>
oz79pjmgmwou7u9krry51n8ry76mb0x
ਫਰਮਾ:Dialog/button/core
10
3112
5842
2023-06-08T09:20:51Z
Kuldeepburjbhalaike
1880
"<includeonly><!-- -->{{dialog/button/visible|action={{{action}}}|label={{{label|}}}|italic={{{italic|}}}|bold={{{bold|}}}|delegable={{{delegable|}}}|rescript={{{rescript|}}}|norollback={{{norollback|}}}|sequence={{{sequence|}}}|live={{{live|}}}|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}|{{{21|}}}|{{{2..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><!--
-->{{dialog/button/visible|action={{{action}}}|label={{{label|}}}|italic={{{italic|}}}|bold={{{bold|}}}|delegable={{{delegable|}}}|rescript={{{rescript|}}}|norollback={{{norollback|}}}|sequence={{{sequence|}}}|live={{{live|}}}|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}|{{{21|}}}|{{{22|}}}|{{{23|}}}|{{{24|}}}|{{{25|}}}|{{{26|}}}|{{{27|}}}|{{{28|}}}|{{{29|}}}|{{{30|}}}|{{{31|}}}|{{{32|}}}|{{{33|}}}|{{{34|}}}|{{{35|}}}|{{{36|}}}|{{{37|}}}|{{{38|}}}|{{{39|}}}|{{{40|}}}|{{{41|}}}|{{{42|}}}|{{{43|}}}|{{{44|}}}|{{{45|}}}|{{{46|}}}|{{{47|}}}|{{{48|}}}|{{{49|}}}|{{{50|}}}|{{{51|}}}|{{{52|}}}|{{{53|}}}|{{{54|}}}|{{{55|}}}|{{{56|}}}|{{{57|}}}|{{{58|}}}|{{{59|}}}|{{{60|}}}|{{{61|}}}|{{{62|}}}|{{{63|}}}|{{{64|}}}}}<!--
-->{{#if:{{{echo|}}}|{{dialog/button/visible|action=echo|delegable={{{delegable|}}}|rescript={{{rescript|}}}|live={{{live|}}}|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}|{{{21|}}}|{{{22|}}}|{{{23|}}}|{{{24|}}}|{{{25|}}}|{{{26|}}}|{{{27|}}}|{{{28|}}}|{{{29|}}}|{{{30|}}}|{{{31|}}}|{{{32|}}}|{{{33|}}}|{{{34|}}}|{{{35|}}}|{{{36|}}}|{{{37|}}}|{{{38|}}}|{{{39|}}}|{{{40|}}}|{{{41|}}}|{{{42|}}}|{{{43|}}}|{{{44|}}}|{{{45|}}}|{{{46|}}}|{{{47|}}}|{{{48|}}}|{{{49|}}}|{{{50|}}}|{{{51|}}}|{{{52|}}}|{{{53|}}}|{{{54|}}}|{{{55|}}}|{{{56|}}}|{{{57|}}}|{{{58|}}}|{{{59|}}}|{{{60|}}}|{{{61|}}}|{{{62|}}}|{{{63|}}}|{{{64|}}}}}}}<!--
-->{{dialog/button/hidden|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}|{{{21|}}}|{{{22|}}}|{{{23|}}}|{{{24|}}}|{{{25|}}}|{{{26|}}}|{{{27|}}}|{{{28|}}}|{{{29|}}}|{{{30|}}}|{{{31|}}}|{{{32|}}}|{{{33|}}}|{{{34|}}}|{{{35|}}}|{{{36|}}}|{{{37|}}}|{{{38|}}}|{{{39|}}}|{{{40|}}}|{{{41|}}}|{{{42|}}}|{{{43|}}}|{{{44|}}}|{{{45|}}}|{{{46|}}}|{{{47|}}}|{{{48|}}}|{{{49|}}}|{{{50|}}}|{{{51|}}}|{{{52|}}}|{{{53|}}}|{{{54|}}}|{{{55|}}}|{{{56|}}}|{{{57|}}}|{{{58|}}}|{{{59|}}}|{{{60|}}}|{{{61|}}}|{{{62|}}}|{{{63|}}}|{{{64|}}}}}<!--
--></includeonly><noinclude>
{{Documentation}}</noinclude>
gw6a7tgx3j7r7ti0rtaf30kpeb6nvyl
ਫਰਮਾ:Dialog/button/core/doc
10
3113
5843
2023-06-08T09:22:06Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} {{high-risk|over 1000}} This is a subtemplate of {{tl|dialog/button}}. It processes template parameter <code>echo</code>, and delegates all further operations of the template to {{tl|dialog/button/visible}} for a visible button and {{tl|dialog/button/hidden}} for the hidden infrastructure that accompanies the button i..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
{{high-risk|over 1000}}
This is a subtemplate of {{tl|dialog/button}}. It processes template parameter <code>echo</code>, and delegates all further operations of the template to {{tl|dialog/button/visible}} for a visible button and {{tl|dialog/button/hidden}} for the hidden infrastructure that accompanies the button if any of its parameters are specified with literal values.
<!--
=== See also ===
-->
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[{{dialog/subtemplates cat}}|{{#titleparts:{{PAGENAME}}||2}}]]
</includeonly>
pjfwf9x2m4rpn3givz3t21vgrgmtnpn
ਫਰਮਾ:Dialog/button/visible
10
3114
5844
2023-06-08T09:23:32Z
Kuldeepburjbhalaike
1880
"<includeonly><span class="wikidialog-button {{#ifeq:{{{delegable|}}}|no||wikidialog-delegable}} {{#if:{{{rescript|}}}|wikidialog-rescript}} {{#if:{{{norollback|}}}|wikidialog-norollback}} {{#if:{{{sequence|}}}|wikidialog-sequence-next}} {{#if:{{{italic|}}}|wikidialog-italic-label}} {{#if:{{{bold|}}}|wikidialog-bold-label}} {{#if:{{{live|}}}|wikidialog-live}}">action={{{action}}}&label={{#if:{{{label|}}}|{{{label}}}|{{{action}}}}}&{{dialog/button/1..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><span class="wikidialog-button {{#ifeq:{{{delegable|}}}|no||wikidialog-delegable}} {{#if:{{{rescript|}}}|wikidialog-rescript}} {{#if:{{{norollback|}}}|wikidialog-norollback}} {{#if:{{{sequence|}}}|wikidialog-sequence-next}} {{#if:{{{italic|}}}|wikidialog-italic-label}} {{#if:{{{bold|}}}|wikidialog-bold-label}} {{#if:{{{live|}}}|wikidialog-live}}">action={{{action}}}&label={{#if:{{{label|}}}|{{{label}}}|{{{action}}}}}&{{dialog/button/1-vis|{{{1|}}}|{{{2|}}}}}{{dialog/button/1-vis|{{{3|}}}|{{{4|}}}}}{{dialog/button/1-vis|{{{5|}}}|{{{6|}}}}}{{dialog/button/1-vis|{{{7|}}}|{{{8|}}}}}{{dialog/button/1-vis|{{{9|}}}|{{{10|}}}}}{{dialog/button/1-vis|{{{11|}}}|{{{12|}}}}}{{dialog/button/1-vis|{{{13|}}}|{{{14|}}}}}{{dialog/button/1-vis|{{{15|}}}|{{{16|}}}}}{{dialog/button/1-vis|{{{17|}}}|{{{18|}}}}}{{dialog/button/1-vis|{{{19|}}}|{{{20|}}}}}{{dialog/button/1-vis|{{{21|}}}|{{{22|}}}}}{{dialog/button/1-vis|{{{23|}}}|{{{24|}}}}}{{dialog/button/1-vis|{{{25|}}}|{{{26|}}}}}{{dialog/button/1-vis|{{{27|}}}|{{{28|}}}}}{{dialog/button/1-vis|{{{29|}}}|{{{30|}}}}}{{dialog/button/1-vis|{{{31|}}}|{{{32|}}}}}{{dialog/button/1-vis|{{{33|}}}|{{{34|}}}}}{{dialog/button/1-vis|{{{35|}}}|{{{36|}}}}}{{dialog/button/1-vis|{{{37|}}}|{{{38|}}}}}{{dialog/button/1-vis|{{{39|}}}|{{{40|}}}}}{{dialog/button/1-vis|{{{41|}}}|{{{42|}}}}}{{dialog/button/1-vis|{{{43|}}}|{{{44|}}}}}{{dialog/button/1-vis|{{{45|}}}|{{{46|}}}}}{{dialog/button/1-vis|{{{47|}}}|{{{48|}}}}}{{dialog/button/1-vis|{{{49|}}}|{{{50|}}}}}{{dialog/button/1-vis|{{{51|}}}|{{{52|}}}}}{{dialog/button/1-vis|{{{53|}}}|{{{54|}}}}}{{dialog/button/1-vis|{{{55|}}}|{{{56|}}}}}{{dialog/button/1-vis|{{{57|}}}|{{{58|}}}}}{{dialog/button/1-vis|{{{59|}}}|{{{60|}}}}}{{dialog/button/1-vis|{{{61|}}}|{{{62|}}}}}{{dialog/button/1-vis|{{{63|}}}|{{{64|}}}}}</span><span style="display:none">[[{{#ifeq:{{NAMESPACE:{{{action}}}}}|{{ns:2}}||{{SITENAME}}:Dialog/}}{{{action}}}|‍]]</span></includeonly><noinclude>
{{Documentation}}</noinclude>
8gnozdy0n4a66ann6uvvlstlbyrlpxc
ਫਰਮਾ:Dialog/button/visible/doc
10
3115
5845
2023-06-08T09:25:43Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} {{high-risk|over 1000}} This is a subtemplate of {{tl|dialog/button}}. It produces a visible button, setting up the overall framework of the html code, and invoking {{tl|dialog/button/1-vis}} to produce the internal specification for each dialog parameter. Associated hidden infrastructure is generated separately by {..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
{{high-risk|over 1000}}
This is a subtemplate of {{tl|dialog/button}}. It produces a visible button, setting up the overall framework of the html code, and invoking {{tl|dialog/button/1-vis}} to produce the internal specification for each dialog parameter. Associated hidden infrastructure is generated separately by {{tl|dialog/button/hidden}}.
<!--
=== See also ===
-->
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[{{dialog/subtemplates cat}}|{{#titleparts:{{PAGENAME}}||2}}]]
</includeonly>
trzwl4g1n7p2u0q9omzksshn3h51rmd
ਫਰਮਾ:Dialog/button/1-vis
10
3116
5854
2023-06-27T05:44:45Z
Kuldeepburjbhalaike
1880
"{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{{2}}}:button-local-field-{{{2}}}|{{{1}}}}}&}}<noinclude> {{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{{2}}}:button-local-field-{{{2}}}|{{{1}}}}}&}}<noinclude>
{{Documentation}}</noinclude>
a3a5egnh88pl4klvmkt734wyi7kwgvp
ਫਰਮਾ:Dialog/button/1-vis/doc
10
3117
5855
2023-06-27T05:45:45Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} {{high-risk|over 800}} This is a subtemplate of {{tl|dialog/button}}. Given the specification of a single dialog parameter for the button, and the output of {{tl|dialog/button/1-nam}} on that spec, produces the internal spec of that parameter for integration by {{tl|dialog/button/visible}}. Uses {{tl|evalx}}. <!-- =..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
{{high-risk|over 800}}
This is a subtemplate of {{tl|dialog/button}}. Given the specification of a single dialog parameter for the button, and the output of {{tl|dialog/button/1-nam}} on that spec, produces the internal spec of that parameter for integration by {{tl|dialog/button/visible}}. Uses {{tl|evalx}}.
<!--
=== See also ===
-->
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[{{dialog/subtemplates cat}}|{{#titleparts:{{PAGENAME}}||2}}]]
</includeonly>
dkg61w9liyllxm23xbgphmfs09cntvq
ਫਰਮਾ:Dialog/button/1-nam
10
3118
5856
2023-06-27T05:46:36Z
Kuldeepburjbhalaike
1880
"{{evalx| (define param (get-arg 2)) (define sep (find param "::")) (if (equal? sep ()) "" (get-substring param 1 (+ (nth sep 1 1) -1))) |{{{1|}}}}}<noinclude> {{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{evalx|
(define param (get-arg 2))
(define sep (find param "::"))
(if (equal? sep ())
""
(get-substring param 1 (+ (nth sep 1 1) -1)))
|{{{1|}}}}}<noinclude>
{{Documentation}}</noinclude>
1pjxfx306trxpfckoyaolb8q7q2lnvc
ਫਰਮਾ:Dialog/button/1-nam/doc
10
3119
5857
2023-06-27T05:47:36Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} {{high-risk|over 1000}} This is a subtemplate of {{tl|dialog/button}}. Given the specification of a single dialog parameter for the button, it determines whether a literal value is provided for the parameter (that is, whether the spec contains a double-colon), and if so, extracts the name of the parameter for subseque..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
{{high-risk|over 1000}}
This is a subtemplate of {{tl|dialog/button}}. Given the specification of a single dialog parameter for the button, it determines whether a literal value is provided for the parameter (that is, whether the spec contains a double-colon), and if so, extracts the name of the parameter for subsequent use. If no literal value is provided, the template returns the empty string. Uses {{tl|evalx}}.
<!--
=== See also ===
-->
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[{{dialog/subtemplates cat}}|{{#titleparts:{{PAGENAME}}||2}}]]
</includeonly>
ni045hp19id1u05yjpkrbv3yrzwmgzp
ਫਰਮਾ:Dialog/page
10
3120
5858
2023-06-27T05:49:12Z
Kuldeepburjbhalaike
1880
"{{evalx| (let (s (get-arg 2)) (if (equal? (find s ":") ()) (+ ":" s) s)) |{{{1|}}}}}<noinclude> {{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{evalx| (let (s (get-arg 2)) (if (equal? (find s ":") ()) (+ ":" s) s)) |{{{1|}}}}}<noinclude>
{{Documentation}}</noinclude>
mtgslr31tpb0hq594uj868jtci3ffxp
ਫਰਮਾ:Dialog/page/doc
10
3121
5859
2023-06-27T05:50:05Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} {{high-risk|over 700}} This template guarantees a page name has a colon somewhere in it, by adding one at the front if necessary. === Usage === Apply this template to a parameter literal value for {{tl|dialog/button}} if the literal value is meant to be a page name, but might not contain a colon. ({{tl|dialog/button}}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
{{high-risk|over 700}}
This template guarantees a page name has a colon somewhere in it, by adding one at the front if necessary.
=== Usage ===
Apply this template to a parameter literal value for {{tl|dialog/button}} if the literal value is meant to be a page name, but might not contain a colon. ({{tl|dialog/button}} uses the presence of a colon to identify whether a parameter literal value is a page name that ought to be linked via {{nowrap|{{tl|hidden use}}}}.)
{|
|-
| <code><nowiki>{{dialog/page|foo:bar}}</nowiki></code>
| would produce
| {{dialog/page|foo:bar}}
|-
| <code><nowiki>{{dialog/page|foobar}}</nowiki></code>
| would produce
| {{dialog/safe|{{dialog/page|foobar}}}}
|}
<!--
=== See also ===
-->
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Dialog required support templates|page]]<!-- e.g. Template:Dialog/view, Template:Dialog/edit -->
</includeonly>
5o1r09c2uzmywobzuqqm7jzaeapqwem
ਫਰਮਾ:Dialog/edit
10
3122
5860
2023-06-27T05:50:55Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#if:{{{form|}}}|{{#invoke:TScope|prepend|dialog/button|label={{{label|edit}}}|action={{#ifeq:{{NAMESPACE:{{{test}}}}}|User|{{{test}}}|do}}|verb::edit|form::{{dialog/page|{{{form}}}}}}}|<span style="color:red;">'''{{nowrap|<edit template requires a <code>form</code> field>}}'''</span>}}</includeonly><noinclude> {{Documentation}} {{hidden use|Module:TScope}} {{hidden use|Template:Dialog/button}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#if:{{{form|}}}|{{#invoke:TScope|prepend|dialog/button|label={{{label|edit}}}|action={{#ifeq:{{NAMESPACE:{{{test}}}}}|User|{{{test}}}|do}}|verb::edit|form::{{dialog/page|{{{form}}}}}}}|<span style="color:red;">'''{{nowrap|<edit template requires a <code>form</code> field>}}'''</span>}}</includeonly><noinclude>
{{Documentation}}
{{hidden use|Module:TScope}}
{{hidden use|Template:Dialog/button}}
</noinclude>
8344e5fudhlqlcw9ahj7n84fw2l1gyv
ਫਰਮਾ:Dialog/edit/doc
10
3123
5861
2023-06-27T05:51:55Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} This template sets up a [[Template:Dialog/button|button]] to perform an [[{{SITENAME}}:Dialog/do/doc#Verb: edit|edit]] mediated by a given [[:Category:Dialog edit forms|form]], via action <code>[[{{SITENAME}}:Dialog/do|do]]</code>. === Usage === Parameters: * <code>form</code> — required — the name of the m..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
This template sets up a [[Template:Dialog/button|button]] to perform an [[{{SITENAME}}:Dialog/do/doc#Verb: edit|edit]] mediated by a given [[:Category:Dialog edit forms|form]], via action <code>[[{{SITENAME}}:Dialog/do|do]]</code>.
=== Usage ===
Parameters:
* <code>form</code> — required — the name of the mediating form page for the edit, used as the <code>form</code> dialog parameter to the <code>edit</code> verb of the <code>do</code> action.
* <code>label</code> — optional — the text label on the button. If omitted, defaults to <code>edit</code>.
* unnamed parameters — mostly optional — dialog parameters passed to the do action when the button is clicked; as with the unnamed template parameters to {{tl|dialog/button}}, but currently only up to thirty (two fewer than supported by the other template). The <code>edit</code> verb requires a dialog parameter <tt>subject</tt>.
A second, [[{{SITENAME}}:Dialog/echo/doc|echo]] button can be provided, by specifying non-blank template parameter <code>echo</code>; the same dialog parameters are passed to the <code>echo</code> action as to the <code>do</code> action, which may aid dialog debugging.
Non-blank template parameter <code>delegable</code> indicates the action of the button may be delegated; delegation is not always possible, and even when possible, the parameter permits it rather than requiring it.
Template parameter <code>test</code> may name an action page in userspace to use instead of <code>do</code>. Action pages in userspace are restricted to use by sysops.
Non-blank template parameter <code>rescript</code> causes the button to remove all cached wikidialog javascript functions before performing the action; no effect when delegating; may be used when testing new versions of wikidialog javascript to avoid accidentally mixing new versions of some functions with old versions of others.
Non-blank template parameter <code>sequence</code> marks the button as part of an [[{{SITENAME}}:Dialog/do/doc#Action sequences|action-sequence]].
Non-blank template parameter <code>live</code> prevents the button from being disabled when it occurs in a non-live [[Template:Dialog/preview|preview]].
=== See also ===
* [[Special:WhatLinksHere/{{FULLPAGENAME}}|pages using, or referring to, this template]]
* [[Help:Dialog]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Dialog element templates|edit]]
</includeonly>
rk4r8l2evjodfkmfuwkvg6uixm8lx29
ਫਰਮਾ:Dialog/view
10
3124
5862
2023-06-27T05:52:57Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#if:{{{page|}}}|{{#invoke:TScope|prepend|dialog/button|label={{{label|view}}}|action={{#ifeq:{{NAMESPACE:{{{test}}}}}|User|{{{test}}}|do}}|verb::view|page::{{dialog/page|{{{page}}}}}}}|<span style="color:red;">'''{{nowrap|<edit template requires a <code>page</code> field>}}'''</span>}}</includeonly><noinclude> {{Documentation}} {{hidden use|Module:TScope}} {{hidden use|Template:Dialog/button}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#if:{{{page|}}}|{{#invoke:TScope|prepend|dialog/button|label={{{label|view}}}|action={{#ifeq:{{NAMESPACE:{{{test}}}}}|User|{{{test}}}|do}}|verb::view|page::{{dialog/page|{{{page}}}}}}}|<span style="color:red;">'''{{nowrap|<edit template requires a <code>page</code> field>}}'''</span>}}</includeonly><noinclude>
{{Documentation}}
{{hidden use|Module:TScope}}
{{hidden use|Template:Dialog/button}}
</noinclude>
cf5ynscapz79q70quz3nhzol4q7uss3
ਫਰਮਾ:Dialog/view/doc
10
3125
5863
2023-06-27T05:53:55Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} {{possible-risk}} This template sets up a [[Template:Dialog/button|button]] to [[{{SITENAME}}:Dialog/do/doc#Verb: view|view]] a given page via action <code>[[{{SITENAME}}:Dialog/do|do]]</code>. === Usage === Parameters: * page — required — the name of the page to be viewed, used as the <code>page</code> dia..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
{{possible-risk}}
This template sets up a [[Template:Dialog/button|button]] to [[{{SITENAME}}:Dialog/do/doc#Verb: view|view]] a given page via action <code>[[{{SITENAME}}:Dialog/do|do]]</code>.
=== Usage ===
Parameters:
* page — required — the name of the page to be viewed, used as the <code>page</code> dialog parameter to the do action.
* label — optional — the text label on the button. If omitted, defaults to <code>view</code>.
* unnamed parameters — optional — dialog parameters passed to the do action when the button is clicked; as with the unnamed parameters to {{tl|dialog/button}}, but currently only up to thirty (two fewer than supported by the other template).
A second, [[{{SITENAME}}:Dialog/echo|echo]] button can be provided by this template, by specifying non-blank template parameter <code>echo</code>; the same dialog parameters are passed to the echo action as to the do action, which may aid dialog debugging.
Non-blank template parameter <code>delegable</code> indicates the action of the button may be delegated; delegation is not always possible, and even when possible, the parameter permits it but only requires it if the current page is being viewed via a do action.
Template parameter <code>test</code> may name an action page in userspace to use instead of <code>do</code>. Action pages in userspace are restricted to use by sysops.
Non-blank template parameter <code>rescript</code> causes the button to remove all cached wikidialog javascript functions before performing the action; no effect when delegating; may be used when testing new versions of wikidialog javascript to avoid accidentally mixing new versions of some functions with old versions of others.
Non-blank template parameter <code>sequence</code> marks the button as part of an [[{{SITENAME}}:Dialog/do/doc#Action sequences|action-sequence]].
Non-blank template parameter <code>live</code> prevents the button from being disabled when it occurs in a non-live [[Template:Dialog/preview|preview]].
=== See also ===
* [[Special:WhatLinksHere/{{FULLPAGENAME}}|pages using, or referring to, this template]]
* [[Help:Dialog]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Dialog element templates|view]]
</includeonly>
r1jw0r7nw1ypqhi8vixeuvktzgrv4yr
ਫਰਮਾ:Dialog/subtemplates cat
10
3126
5864
2023-06-27T05:54:49Z
Kuldeepburjbhalaike
1880
"Category:Template subpages<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
Category:Template subpages<noinclude>
{{documentation}}
</noinclude>
5b1892tjvsjmzostomf5gi403ncpnci
ਫਰਮਾ:Dialog/subtemplates cat/doc
10
3127
5865
2023-06-27T05:55:56Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === Documents the category to put subtemplates in. Different projects may have different names for this category; if no such category exists or is wanted when dialog is installed, a category could be created within the {{nowrap|[[:Category:dialog infrastructure|dialog infrastructure]]}} hierarchy, e.g. {{nowrap|<code>Category:Dialog subte..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
=== Usage ===
Documents the category to put subtemplates in.
Different projects may have different names for this category; if no such category exists or is wanted when dialog is installed, a category could be created within the {{nowrap|[[:Category:dialog infrastructure|dialog infrastructure]]}} hierarchy, e.g. {{nowrap|<code>Category:Dialog subtemplates</code>}} under {{nowrap|[[:Category:Dialog support templates]]}}.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Dialog documentation|{{#titleparts:{{FULLPAGENAME}}||2}}]]
[[Category:Templates for project-specific customization]]
</includeonly>
lp5t8q6ghag9bswp93jrjvuly872kxm
ਫਰਮਾ:Dialog/button/hidden
10
3128
5866
2023-06-27T05:57:05Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#if:{{{2|}}}|{{dialog/button/1-hid|{{{2}}}|{{dialog/button/1-val|{{{1}}}}}}}}}{{#if:{{{4|}}}|{{dialog/button/1-hid|{{{4}}}|{{dialog/button/1-val|{{{3}}}}}}}}}{{#if:{{{6|}}}|{{dialog/button/1-hid|{{{6}}}|{{dialog/button/1-val|{{{5}}}}}}}}}{{#if:{{{8|}}}|{{dialog/button/1-hid|{{{8}}}|{{dialog/button/1-val|{{{7}}}}}}}}}{{#if:{{{10|}}}|{{dialog/button/1-hid|{{{10}}}|{{dialog/button/1-val|{{{9}}}}}}}}}{{#if:{{{12|}}}|{{dialog/button/1-hi..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#if:{{{2|}}}|{{dialog/button/1-hid|{{{2}}}|{{dialog/button/1-val|{{{1}}}}}}}}}{{#if:{{{4|}}}|{{dialog/button/1-hid|{{{4}}}|{{dialog/button/1-val|{{{3}}}}}}}}}{{#if:{{{6|}}}|{{dialog/button/1-hid|{{{6}}}|{{dialog/button/1-val|{{{5}}}}}}}}}{{#if:{{{8|}}}|{{dialog/button/1-hid|{{{8}}}|{{dialog/button/1-val|{{{7}}}}}}}}}{{#if:{{{10|}}}|{{dialog/button/1-hid|{{{10}}}|{{dialog/button/1-val|{{{9}}}}}}}}}{{#if:{{{12|}}}|{{dialog/button/1-hid|{{{12}}}|{{dialog/button/1-val|{{{11}}}}}}}}}{{#if:{{{14|}}}|{{dialog/button/1-hid|{{{14}}}|{{dialog/button/1-val|{{{13}}}}}}}}}{{#if:{{{16|}}}|{{dialog/button/1-hid|{{{16}}}|{{dialog/button/1-val|{{{15}}}}}}}}}{{#if:{{{18|}}}|{{dialog/button/1-hid|{{{18}}}|{{dialog/button/1-val|{{{17}}}}}}}}}{{#if:{{{20|}}}|{{dialog/button/1-hid|{{{20}}}|{{dialog/button/1-val|{{{19}}}}}}}}}{{#if:{{{22|}}}|{{dialog/button/1-hid|{{{22}}}|{{dialog/button/1-val|{{{21}}}}}}}}}{{#if:{{{24|}}}|{{dialog/button/1-hid|{{{24}}}|{{dialog/button/1-val|{{{23}}}}}}}}}{{#if:{{{26|}}}|{{dialog/button/1-hid|{{{26}}}|{{dialog/button/1-val|{{{25}}}}}}}}}{{#if:{{{28|}}}|{{dialog/button/1-hid|{{{28}}}|{{dialog/button/1-val|{{{27}}}}}}}}}{{#if:{{{30|}}}|{{dialog/button/1-hid|{{{30}}}|{{dialog/button/1-val|{{{29}}}}}}}}}{{#if:{{{32|}}}|{{dialog/button/1-hid|{{{32}}}|{{dialog/button/1-val|{{{31}}}}}}}}}{{#if:{{{34|}}}|{{dialog/button/1-hid|{{{34}}}|{{dialog/button/1-val|{{{33}}}}}}}}}{{#if:{{{36|}}}|{{dialog/button/1-hid|{{{36}}}|{{dialog/button/1-val|{{{35}}}}}}}}}{{#if:{{{38|}}}|{{dialog/button/1-hid|{{{38}}}|{{dialog/button/1-val|{{{37}}}}}}}}}{{#if:{{{40|}}}|{{dialog/button/1-hid|{{{40}}}|{{dialog/button/1-val|{{{39}}}}}}}}}{{#if:{{{42|}}}|{{dialog/button/1-hid|{{{42}}}|{{dialog/button/1-val|{{{41}}}}}}}}}{{#if:{{{44|}}}|{{dialog/button/1-hid|{{{44}}}|{{dialog/button/1-val|{{{43}}}}}}}}}{{#if:{{{46|}}}|{{dialog/button/1-hid|{{{46}}}|{{dialog/button/1-val|{{{45}}}}}}}}}{{#if:{{{48|}}}|{{dialog/button/1-hid|{{{48}}}|{{dialog/button/1-val|{{{47}}}}}}}}}{{#if:{{{50|}}}|{{dialog/button/1-hid|{{{50}}}|{{dialog/button/1-val|{{{49}}}}}}}}}{{#if:{{{52|}}}|{{dialog/button/1-hid|{{{52}}}|{{dialog/button/1-val|{{{51}}}}}}}}}{{#if:{{{54|}}}|{{dialog/button/1-hid|{{{54}}}|{{dialog/button/1-val|{{{53}}}}}}}}}{{#if:{{{56|}}}|{{dialog/button/1-hid|{{{56}}}|{{dialog/button/1-val|{{{55}}}}}}}}}{{#if:{{{58|}}}|{{dialog/button/1-hid|{{{58}}}|{{dialog/button/1-val|{{{57}}}}}}}}}{{#if:{{{60|}}}|{{dialog/button/1-hid|{{{60}}}|{{dialog/button/1-val|{{{59}}}}}}}}}{{#if:{{{62|}}}|{{dialog/button/1-hid|{{{62}}}|{{dialog/button/1-val|{{{61}}}}}}}}}{{#if:{{{64|}}}|{{dialog/button/1-hid|{{{64}}}|{{dialog/button/1-val|{{{63}}}}}}}}}</includeonly><noinclude>
{{Documentation}}</noinclude>
6skzthntfwt949zjwf862vlp7rs9dre
ਫਰਮਾ:Dialog/button/hidden/doc
10
3129
5867
2023-06-27T05:58:11Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} {{high-risk|over 1000}} This is a subtemplate of {{tl|dialog/button}}. It invokes {{tl|dialog/button/1-val}} to extract each provided dialog-parameter literal value, and passes the extracted value on to {{tl|dialog/button/1-hid}} to generate the hidden infrastructure for that dialog parameter. <!-- === See also === -..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
{{high-risk|over 1000}}
This is a subtemplate of {{tl|dialog/button}}. It invokes {{tl|dialog/button/1-val}} to extract each provided dialog-parameter literal value, and passes the extracted value on to {{tl|dialog/button/1-hid}} to generate the hidden infrastructure for that dialog parameter.
<!--
=== See also ===
-->
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[{{dialog/subtemplates cat}}|{{#titleparts:{{PAGENAME}}||2}}]]
</includeonly>
iai9ypdncz0sevzowdulgkrl4vt1gtq
ਫਰਮਾ:Dialog/button/1-val
10
3130
5868
2023-06-27T05:58:57Z
Kuldeepburjbhalaike
1880
"{{evalx| (define param (get-arg 2)) (define sep (find param "::")) (if (equal? sep ()) "" (get-substring param (+ (nth sep 1 2) 1))) |{{{1|}}}}}<noinclude> {{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{evalx|
(define param (get-arg 2))
(define sep (find param "::"))
(if (equal? sep ())
""
(get-substring param (+ (nth sep 1 2) 1)))
|{{{1|}}}}}<noinclude>
{{Documentation}}</noinclude>
26151h3orm9q51oifbxdvbfgeuz1zws
ਫਰਮਾ:Dialog/button/1-val/doc
10
3131
5869
2023-06-27T06:00:10Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} {{possible-risk}} This is a subtemplate of {{tl|dialog/button}}. Given the specification of a single dialog parameter for the button, it extracts the literal value provided for the parameter, if any. Uses {{tl|evalx}}. == Internals == When a template returns a string starting with colon, as this subtemplate is somet..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
{{possible-risk}}
This is a subtemplate of {{tl|dialog/button}}. Given the specification of a single dialog parameter for the button, it extracts the literal value provided for the parameter, if any. Uses {{tl|evalx}}.
== Internals ==
When a template returns a string starting with colon, as this subtemplate is sometimes ordinarily expected to do, the wiki platform prefixes a linebreak to it. Functions within a [[Module:Wikilisp|Wikilisp]] expression are not subject to this limitation since the entire Wikilisp expression is within a single template call; the result from this template can therefore be renormalized by Wikilisp function <code>trim</code>, stripping off the prefixed linebreak, but must then be further processed within the Wikilisp expression to avoid re-prefixing by the wiki platform.
<!--
=== See also ===
-->
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[{{dialog/subtemplates cat}}|{{#titleparts:{{PAGENAME}}||2}}]]
</includeonly>
atj6e2tpqnnqukwe6brr0qe3inlzhco
ਫਰਮਾ:Dialog/button/1-hid
10
3132
5870
2023-06-27T06:01:38Z
Kuldeepburjbhalaike
1880
"<includeonly>{{dialog/textarea|id=button-local-field-{{{1|}}}|{{{2|}}}|hidden=1}}{{#if:{{evalx|(define s (get-arg 2)) (if (or? (equal? (find s ":") ()) (equal? (get-substring s 1 1) "(")) "" "1")|{{{2|}}}}}|{{hidden use|{{{2|}}}}}}}</includeonly><noinclude> {{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{dialog/textarea|id=button-local-field-{{{1|}}}|{{{2|}}}|hidden=1}}{{#if:{{evalx|(define s (get-arg 2)) (if (or? (equal? (find s ":") ()) (equal? (get-substring s 1 1) "(")) "" "1")|{{{2|}}}}}|{{hidden use|{{{2|}}}}}}}</includeonly><noinclude>
{{Documentation}}</noinclude>
26nzuzfquvdg0n9vhhkqzti8qsk28y8
ਫਰਮਾ:Dialog/button/1-hid/doc
10
3133
5871
2023-06-27T06:02:48Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dialog/formatting template}} {{high-risk|over 1000}} This is a subtemplate of {{tl|dialog/button}}. Given the name and provided literal value of a single dialog parameter for the button, produces the hidden infrastructure for that parameter. Uses {{tl|evalx}}. <!-- === See also === --> <includeonly> <!-- CATEGORIES AND INTERWIKIS HERE, THANKS -..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{dialog/formatting template}}
{{high-risk|over 1000}}
This is a subtemplate of {{tl|dialog/button}}. Given the name and provided literal value of a single dialog parameter for the button, produces the hidden infrastructure for that parameter. Uses {{tl|evalx}}.
<!--
=== See also ===
-->
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[{{dialog/subtemplates cat}}|{{#titleparts:{{PAGENAME}}||2}}]]
</includeonly>
kby5r1a7bhkmza6fjeh0yuui2azgux2
ਫਰਮਾ:Hidden use
10
3134
5872
2023-06-27T06:03:59Z
Kuldeepburjbhalaike
1880
"{{#if:{{{1|}}}|{{#invoke:TScope|map|Hidden use/single}}|<span style="color:red">'''<used page not specified>'''</span>}}<noinclude>{{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#if:{{{1|}}}|{{#invoke:TScope|map|Hidden use/single}}|<span style="color:red">'''<used page not specified>'''</span>}}<noinclude>{{Documentation}}</noinclude>
5fjjpjy2zn11xc8ivtrav3nbp8mtk7z
ਫਰਮਾ:Hidden use/doc
10
3135
5873
2023-06-27T06:05:05Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}}{{possible-risk}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === When one or more pages are used in a way that does not automatically show up in the using page's [[Special:WhatLinkshere]], use this template to create invisible links to the used page. This happens, for example, when a template is used on a page as an [[:Category:Editintro templates|editintro]] or :Category:Preload..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}{{possible-risk}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
=== Usage ===
When one or more pages are used in a way that does not automatically show up in the using page's [[Special:WhatLinkshere]], use this template to create invisible links to the used page. This happens, for example, when a template is used on a page as an [[:Category:Editintro templates|editintro]] or [[:Category:Preload templates|preload]], or when a category is specified in a [[{{SITENAME}}:DPL|dynamic page list]].
Specify the names of the used pages as unnamed parameters; if no names are specified, this template generates a very visible error message.
Don't use this template to mark a page dependency in a javascript or Lua page; instead, just provide a comment linking to the page depended upon.
If optional parameter <code>show</code> is non-blank, the links are visible rather than hidden; this may aid in debugging.
Note that {{tl|dialog/button}} automatically creates a hidden link to its target action, without use of this template.
=== Internals ===
After checking that at least one name was specified, this template delegates via [[Module:TScope#map]] to subtemplate {{tl|Hidden use/single}}.
=== See also ===
* [[Help:Dialog]]
* [[Special:WhatLinkshere/{{FULLPAGENAME}}|pages using, or referencing, this template]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Dialog required support templates]]
</includeonly>
elg1h4g0zxs9c0ogezuaxdgocmfl4vv
ਫਰਮਾ:Hidden use/single
10
3136
5874
2023-06-27T06:05:49Z
Kuldeepburjbhalaike
1880
"<span {{#if:{{{show|}}}||style="display:none"}}>{{evalx| (+ "[[" (let (s (trim (get-arg 2))) (if (equal? (get-substring s 1 1) ":") s (+ ":" s))) "]]") |{{{1}}}}}</span><noinclude>{{Documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<span {{#if:{{{show|}}}||style="display:none"}}>{{evalx|
(+ "[["
(let (s (trim (get-arg 2)))
(if (equal? (get-substring s 1 1) ":")
s
(+ ":" s)))
"]]")
|{{{1}}}}}</span><noinclude>{{Documentation}}</noinclude>
fe8uxvfjd67y0vcb7bf10en199clgg6
ਫਰਮਾ:Hidden use/single/doc
10
3137
5875
2023-06-27T06:06:45Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === This subtemplate of {{tl|hidden use}} handles the case of exactly one specified target. <includeonly> <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> [[{{dialog/subtemplates cat}}]] </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
=== Usage ===
This subtemplate of {{tl|hidden use}} handles the case of exactly one specified target.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[{{dialog/subtemplates cat}}]]
</includeonly>
bbqel8zd48zi7gb53z6h6eg2de3k7ve
ਫਰਮਾ:BookCat/user
10
3138
5876
2023-06-27T06:55:01Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#ifeq: {{#titleparts:{{{fullpagename}}}|1|2}} | sandbox |{{#invoke:TScope|override|BookCat/user/core|w0=3|w1=4}} |{{#invoke:TScope|override|BookCat/user/core|w0=2|w1=3}} }}</includeonly><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#ifeq: {{#titleparts:{{{fullpagename}}}|1|2}} | sandbox
|{{#invoke:TScope|override|BookCat/user/core|w0=3|w1=4}}
|{{#invoke:TScope|override|BookCat/user/core|w0=2|w1=3}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
ilw9jhu7fky69a0577vo0ots9cvy9en
ਫਰਮਾ:BookCat/user/doc
10
3139
5877
2023-06-27T06:55:59Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> === Usage === This template handles pages in userspace for {{tl|BookCat}}. Parameters are passed down from the parent. At this writing, parameters used are optiona <code>filing</code>, optional <code>sortkey</code>, and required <code>fullpagename</code> and <code>pagename</code>. === Internals === Draft book..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
=== Usage ===
This template handles pages in userspace for {{tl|BookCat}}.
Parameters are passed down from the parent. At this writing, parameters used are optiona <code>filing</code>, optional <code>sortkey</code>, and required <code>fullpagename</code> and <code>pagename</code>.
=== Internals ===
Draft books sometimes occur in userspace; the tricky part is deciding how much of the page name is the "book name". At this writing, the rule is that usually everything before the second slash is the book name — thus, page {{nowrap|<code>User:Mark Twain/The Adventures of Tom Sawyer/Chapter I</code>}} would have book name {{nowrap|<code>User:Mark Twain/The Adventures of Tom Sawyer</code>}} — except that if the trailing part of this is <code>/sandbox</code>, everything up to the ''third'' slash is the book name. This template decides which slash to use and passes its choice on to {{tl|BookCat/user/core}} for further processing (using [[Module:TScope]] to pass through other parameters).
=== See also ===
* {{tl|BookCat/core}}
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
t4iag21ksdf2ymur78p3tq3iwn7lewm
ਫਰਮਾ:BookCat/user/core
10
3140
5878
2023-06-27T06:56:52Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#ifeq: {{{filing|}}} | deep |[[{{BOOKCATEGORY|{{{fullpagename}}}|book={{#if:{{#titleparts:{{{fullpagename}}}|1|{{{w1}}}}}|{{#titleparts:{{{fullpagename}}}|-1}}|{{{fullpagename}}}}}}}|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#if:{{#titleparts:{{{fullpagename}}}|1|{{{w1}}}}}|{{#titleparts:{{{fullpagename}}}||-1}}}}}} ]][[Category:Pages with deep filing]] |{{BOOKCATEGORY|{{{fullpagename}}}|book={{#titleparts:{{{fullpagename}}}|{{{w0}}}}}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#ifeq: {{{filing|}}} | deep
|[[{{BOOKCATEGORY|{{{fullpagename}}}|book={{#if:{{#titleparts:{{{fullpagename}}}|1|{{{w1}}}}}|{{#titleparts:{{{fullpagename}}}|-1}}|{{{fullpagename}}}}}}}|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#if:{{#titleparts:{{{fullpagename}}}|1|{{{w1}}}}}|{{#titleparts:{{{fullpagename}}}||-1}}}}}} ]][[Category:Pages with deep filing]]
|[[{{BOOKCATEGORY|{{{fullpagename}}}|book={{#titleparts:{{{fullpagename}}}|{{{w0}}}}}}}|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#titleparts:{{{fullpagename}}}||{{{w1}}}}}}} ]]
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
n2dqluu3ndlef83j2jh22xoxirdqlkc
ਫਰਮਾ:BookCat/user/core/doc
10
3141
5879
2023-06-27T06:57:46Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> === Usage === This template handles pages in userspace for {{tl|BookCat}}, using the book-name width determined by {{tl|BookCat/user}}. Required parameter <code>w0</code> is the integer number of the slash at which the book name stops; for example, if this is<code>2</code>, the book name is everything before th..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
=== Usage ===
This template handles pages in userspace for {{tl|BookCat}}, using the book-name width determined by {{tl|BookCat/user}}.
Required parameter <code>w0</code> is the integer number of the slash at which the book name stops; for example, if this is<code>2</code>, the book name is everything before the second slash. Required parameter <code>w1</code> is one more than <code>w0</code>.
Other parameters are passed down from {{tl|BookCat}}. At this writing, parameters used are optional <code>filing</code>, optional <code>sortkey</code>, and required <code>fullpagename</code>.
== Internals ==
The difference from {{tl|BookCat/default}} is that here the "book name" encompasses more of the full page name, how much more being determined by <code>w0</code> and <code>w1</code>.
=== See also ===
* {{tl|BookCat/core}}
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
medbo8ng8nkbmu81z0dsqnxd5iaeh9e
ਫਰਮਾ:BookCat/department
10
3142
5880
2023-06-27T06:59:11Z
Kuldeepburjbhalaike
1880
"<includeonly>[[{{BOOKCATEGORY|Wikibooks Stacks}}|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{evalx|(get-substring (get-arg 2) 12)|{{{pagename}}}}}}} ]]</includeonly><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>[[{{BOOKCATEGORY|Wikibooks Stacks}}|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{evalx|(get-substring (get-arg 2) 12)|{{{pagename}}}}}}} ]]</includeonly><noinclude>
{{documentation}}
</noinclude>
mkq3sgc87lsvzsaicu0oabgusloczll
ਫਰਮਾ:BookCat/department/doc
10
3143
5881
2023-06-27T07:00:04Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> === Usage === This template handles department pages for {{tl|BookCat}}. Parameters are passed down from the parent. At this writing, the only parameters used are optional <code>sortkey</code> and required <code>pagename</code>. === Internals === Department pages are placed directly in the book category of ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
=== Usage ===
This template handles department pages for {{tl|BookCat}}.
Parameters are passed down from the parent. At this writing, the only parameters used are optional <code>sortkey</code> and required <code>pagename</code>.
=== Internals ===
Department pages are placed directly in the book category of [[Wikibooks Stacks]].
=== See also ===
* {{tl|BookCat/core}}
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
sepdac0q8foojefgxfwcnko8gza9fqn
ਫਰਮਾ:BookCat/shelf
10
3144
5882
2023-06-27T07:01:02Z
Kuldeepburjbhalaike
1880
"<includeonly>[[{{BOOKCATEGORY|Wikibooks Stacks}}/Shelves|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{evalx|(get-substring (get-arg 2) 7)|{{{pagename}}}}}}} ]]</includeonly><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>[[{{BOOKCATEGORY|Wikibooks Stacks}}/Shelves|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{evalx|(get-substring (get-arg 2) 7)|{{{pagename}}}}}}} ]]</includeonly><noinclude>
{{documentation}}
</noinclude>
o6dtmv9epfiptqp6xbea68bbss01yh3
ਫਰਮਾ:BookCat/shelf/doc
10
3145
5883
2023-06-27T07:02:03Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> === Usage === This template handles shelf pages for {{tl|BookCat}}. Parameters are passed down from the parent. At this writing, the only parameters used are optional <code>sortkey</code> and required <code>pagename</code>. === Internals === Shelf pages are placed in book subcategory :{{BOOKCATEGORY|Wikiboo..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
=== Usage ===
This template handles shelf pages for {{tl|BookCat}}.
Parameters are passed down from the parent. At this writing, the only parameters used are optional <code>sortkey</code> and required <code>pagename</code>.
=== Internals ===
Shelf pages are placed in book subcategory [[:{{BOOKCATEGORY|Wikibooks Stacks}}/Shelves]].
=== See also ===
* {{tl|BookCat/core}}
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
bxtaze1acheyxm3j5i5b9coiqh998l1
ਫਰਮਾ:BookCat/subject
10
3146
5884
2023-06-27T07:02:56Z
Kuldeepburjbhalaike
1880
"<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude>
{{documentation}}
</noinclude>
g4ue397xjq2zpyw3rr15h0rlzgba04u
ਫਰਮਾ:BookCat/subject/doc
10
3147
5885
2023-06-27T07:03:47Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. --> === Usage === This template handles pages in the subject namespace for {{tl|BookCat}}. === See also === * {{tl|BookCat/core}} <includeonly> <!-- Categories go here, and interwikis go on Wikidata. --> [[Category:Template subpages]] </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. -->
=== Usage ===
This template handles pages in the subject namespace for {{tl|BookCat}}.
=== See also ===
* {{tl|BookCat/core}}
<includeonly>
<!-- Categories go here, and interwikis go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
i24fra4bewdnkx27kzryqntlgjbj21d
ਫਰਮਾ:BookCat/talk
10
3148
5886
2023-06-27T07:07:39Z
Kuldeepburjbhalaike
1880
"<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<noinclude>
{{documentation}}
</noinclude>
g4ue397xjq2zpyw3rr15h0rlzgba04u
ਫਰਮਾ:BookCat/talk/doc
10
3149
5887
2023-06-27T07:08:45Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. --> === Usage === This template handles pages in all talk namespaces for {{tl|BookCat}}. === See also === * {{tl|BookCat/core}} <includeonly> <!-- Categories go here, and interwikis go on Wikidata. --> [[Category:Template subpages]] </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. -->
=== Usage ===
This template handles pages in all talk namespaces for {{tl|BookCat}}.
=== See also ===
* {{tl|BookCat/core}}
<includeonly>
<!-- Categories go here, and interwikis go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
dcp9qsfbq5d11viwsxiyng0eaw3bncz
ਫਰਮਾ:BookCat/template
10
3150
5888
2023-06-27T07:09:40Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#invoke:TScope|override|BookCat/template/core|bookcategory={{BOOKCATEGORY|{{{fullpagename}}}}}|bookpagename={{BOOKPAGENAME|{{{fullpagename}}}}}}}</includeonly><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#invoke:TScope|override|BookCat/template/core|bookcategory={{BOOKCATEGORY|{{{fullpagename}}}}}|bookpagename={{BOOKPAGENAME|{{{fullpagename}}}}}}}</includeonly><noinclude>
{{documentation}}
</noinclude>
jbg4v89c67q7kd6mro5npqoepib7zbf
ਫਰਮਾ:BookCat/template/doc
10
3151
5889
2023-06-27T07:10:47Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. --> === Usage === This template handles pages in the template namespace for {{tl|BookCat}}. Parameters are passed down from the parent. At this writing, parameters used are optional <code>template-filing</code>, optional <code>sortkey</code>, and required <code>fullpagename</code>. === Internals === This template p..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories to the bottom of this page, and add interwikis to Wikidata. -->
=== Usage ===
This template handles pages in the template namespace for {{tl|BookCat}}.
Parameters are passed down from the parent. At this writing, parameters used are optional <code>template-filing</code>, optional <code>sortkey</code>, and required <code>fullpagename</code>.
=== Internals ===
This template parses the template page name via {{tl|BOOKCATEGORY}} and {{tl|BOOKPAGENAME}}, and delegates the rest of its operation to {{tl|BookCat/template/core}}.
=== See also ===
* {{tl|BookCat/core}}
<includeonly>
<!-- Categories go here, and interwikis go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
p6nsxykq781u042y61b1fllnigxrmua
ਫਰਮਾ:BookCat/template/core
10
3152
5890
2023-06-27T07:11:33Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#ifeq: {{{template-filing|}}} | deep |[[{{{bookcategory}}}/Templates{{#if:{{#titleparts:{{{bookpagename}}}|-1}}|/{{#titleparts:{{{bookpagename}}}|-1}}}}|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#titleparts:{{{bookpagename}}}||-1}}}} ]][[Category:Pages with deep filing]] |[[{{{bookcategory}}}/Templates|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{{bookpagename}}}}} ]] }}</includeonly><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#ifeq: {{{template-filing|}}} | deep
|[[{{{bookcategory}}}/Templates{{#if:{{#titleparts:{{{bookpagename}}}|-1}}|/{{#titleparts:{{{bookpagename}}}|-1}}}}|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#titleparts:{{{bookpagename}}}||-1}}}} ]][[Category:Pages with deep filing]]
|[[{{{bookcategory}}}/Templates|{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{{bookpagename}}}}} ]]
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
pnxpn189l36403120844dluykmmq43b
ਫਰਮਾ:BookCat/template/core/doc
10
3153
5891
2023-06-27T07:12:34Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> === Usage === This template handles the latter part of handling pages in template space for {{tl|BookCat}}, after the page name has been decomposed by {{tl|BookCat/template}}. Operational parameters <code>template-filing</code> and <code>sortkey</code> are passed down from {{tl|BookCat}}. Req..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
=== Usage ===
This template handles the latter part of handling pages in template space for {{tl|BookCat}}, after the page name has been decomposed by {{tl|BookCat/template}}.
Operational parameters <code>template-filing</code> and <code>sortkey</code> are passed down from {{tl|BookCat}}. Required parameters <code>bookcategory</code> and <code>bookpagename</code> are provided by {{tl|BookCat/template}}, per {{tl|BOOKCATEGORY}} and {{tl|BOOKPAGENAME}}.
<!--
=== See also ===
-->
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
[[Category:Template subpages]]
</includeonly>
mupf6hea7huonvhl5hmlaqev2qcw849
ਫਰਮਾ:Support
10
3154
5898
2023-06-29T05:11:48Z
Kuldeepburjbhalaike
1880
"[[Image:Symbol support vote.svg|15px|link=|alt=]] '''{{{1|ਸਮਰਥਨ}}}'''<noinclude> [[Category:Image with comment templates|{{PAGENAME}}]]</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
[[Image:Symbol support vote.svg|15px|link=|alt=]] '''{{{1|ਸਮਰਥਨ}}}'''<noinclude>
[[Category:Image with comment templates|{{PAGENAME}}]]</noinclude>
2cnvef9e67cz64yzymumurotxlv21m8
ਫਰਮਾ:Strong support
10
3155
5906
2023-06-29T11:11:39Z
Kuldeepburjbhalaike
1880
"[[File:Symbol strong support vote.svg|15px|link=]] '''{{{1|ਭਰਪੂਰ ਸਮਰਥਨ}}}'''<noinclude>{{documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
[[File:Symbol strong support vote.svg|15px|link=]] '''{{{1|ਭਰਪੂਰ ਸਮਰਥਨ}}}'''<noinclude>{{documentation}}</noinclude>
a0m3wz0afbfzmrqq68ascihlsrx9n2k
Wikibooks:Sandbox
4
3157
5910
2023-07-06T20:57:09Z
Stang
1338
test T340613
wikitext
text/x-wiki
<quiz>
{<math>3 \times (-7)=?</math>
|type="()"}
- <math>21</math>
+ <math>-21</math>
{<math>1.4 \times (-5)=?</math>
|type="()"}
- <math>7</math>
+ <math>-7</math>
</quiz>
mndvw3p3qcp8gwlgcpv85f5bgw57p5d
ਹਿੰਦੀ
0
3158
5922
5921
2023-09-24T09:12:51Z
Tamanpreet Kaur
1785
/* ਮੂਲ ਹਿੰਦੀ 1,2,3 ਕਦਮਾਂ ਵਿੱਚ */
wikitext
text/x-wiki
<center><font size="8" color=#FF0055><b>नमस्ते!
</b></font></center>
[[Image:Taj Mahal in March 2004.jpg|center|500px]]
'''ਹਿੰਦੀ''' ਇੱਕ ਇੰਡੋ-ਯੂਰਪੀਅਨ ਭਾਸ਼ਾ ਹੈ ਜੋ ਉੱਤਰੀ ਭਾਰਤ ਦੇ ਬਹੁਗਿਣਤੀ ਰਾਜਾਂ ਵਿੱਚ ਪਹਿਲੀ ਭਾਸ਼ਾ ਅਤੇ ਕਈ ਦੇਸ਼ਾਂ ਵਿੱਚ ਦੂਜੀ ਭਾਸ਼ਾ ਵਜੋਂ ਬੋਲੀ ਜਾਂਦੀ ਹੈ ਜਿੱਥੇ ਇਹ ਲੋਕ ਪਰਵਾਸ ਕਰ ਗਏ ਹਨ। ਇਹ '''ਦੇਵਨਾਗਰੀ''' ਲਿਪੀ ਨਾਲ ਲਿਖੀ ਗਈ ਹੈ, ਜੋ ਕਿ ਭਾਸ਼ਾ ਦੇ ਧੁਨੀ-ਵਿਗਿਆਨ ਦੀ ਪੂਰੀ ਤਰ੍ਹਾਂ ਨਾਲ ਪਾਲਣਾ ਕਰਦੀ ਹੈ। ਬੋਲੀ ਜਾਣ ਵਾਲੀ ਹਿੰਦੀ ਬੋਲੀ ਜਾਣ ਵਾਲੀ [[ਉਰਦੂ]] ਨਾਲ ਮਿਲਦੀ-ਜੁਲਦੀ ਹੈ; ਇਸ ਤਰ੍ਹਾਂ ਇਹਨਾਂ ਦੋਵਾਂ ਨੂੰ ਅਕਸਰ ਹਿੰਦੁਸਤਾਨੀ ਭਾਸ਼ਾ ਦੇ ਹਿੱਸੇ ਵਜੋਂ ਸ਼੍ਰੇਣੀਬੱਧ ਕੀਤਾ ਜਾਂਦਾ ਹੈ।
== ਮੂਲ ਹਿੰਦੀ 3 ਕਦਮਾਂ ਵਿੱਚ ==
* [[/ਮੂਲ ਹਿੰਦੀ/]]
* [[/ਰੋਜ਼ਾਨਾ ਦੇ ਵਾਕਾਂਸ਼/]]
* [[/ਮਿੰਨੀ-ਟਿਊਟੋਰਿਅਲ ਪਾਠ/]]
*[[ਹਿੰਦੀ/ਜਾਣ-ਪਛਾਣ|1: ਹਿੰਦੀ ਦੀ ਜਾਣ-ਪਛਾਣ]]
*[[ਹਿੰਦੀ/ਬੋਲਣਾ ਅਤੇ ਲਿਖਣਾ|2: ਹਿੰਦੀ ਭਾਸ਼ਾ ਬੋਲਣਾ ਅਤੇ ਲਿਖਣਾ]]
*[[ਹਿੰਦੀ/ਵਿਆਕਰਣ|3: ਤੁਹਾਡੀ ਸ਼ਬਦਾਵਲੀ ਅਤੇ ਵਿਆਕਰਣ ਦੇ ਪਹਿਲੇ ਹਿੱਸੇ]]
== ਹੋਰ ਸਿੱਖਣਾ ==
* [[ਹਿੰਦੀ/ਉਚਾਰਨ 'ਤੇ ਹੋਰ|ਉਚਾਰਣ 'ਤੇ ਹੋਰ]]
* [[ਹਿੰਦੀ/ਆਪਣੀ ਸ਼ਬਦਾਵਲੀ ਦਾ ਵਿਸਤਾਰ|ਆਪਣੀ ਸ਼ਬਦਾਵਲੀ ਦਾ ਵਿਸਤਾਰ]]
* [[ਹਿੰਦੀ/ਵਧੇਰੇ ਉਪਯੋਗੀ ਵਿਆਕਰਣ|ਵਧੇਰੇ ਉਪਯੋਗੀ ਵਿਆਕਰਣ]]
== ਡੂੰਘਾਈ ਵਾਲੇ ਵਿਸ਼ੇ ==
* [[ਨਾਂਵਾਂ ਬਾਰੇ ਹਿੰਦੀ/ਵਿਸਥਾਪਨ|ਨਾਂਵ]]
* [[ਹਿੰਦੀ/ਕ੍ਰਿਆਵਾਂ ਦੀ ਡੂੰਘਾਈ|ਕਿਰਿਆਵਾਂ]]
* [[ਹਿੰਦੀ/ਪੜਨਾਂਵ 'ਤੇ ਡੂੰਘਾਈ|ਸਰਵਨਾਵਾਂ]]
* [[ਹਿੰਦੀ/ਕਾਲਾਂ 'ਤੇ ਅੰਤਰ|ਕਾਲ]]
== ਸ਼ਬਦਾਵਲੀ ==
*[[ਹਿੰਦੀ/ਨਾਂਵਾਂ ਦੀ ਸ਼ਬਦਾਵਲੀ|ਨਾਂਵਾਂ]]
*[[ਹਿੰਦੀ/ਕਿਰਿਆਵਾਂ ਦੀ ਸ਼ਬਦਾਵਲੀ|ਕਿਰਿਆਵਾਂ]]
*[[ਹਿੰਦੀ/ਵਿਸ਼ੇਸ਼ਣਾਂ ਦੀ ਸ਼ਬਦਾਵਲੀ|ਵਿਸ਼ੇਸ਼ਣ]]
*[[ਹਿੰਦੀ/ਵਾਕਾਂਸ਼ਾਂ ਅਤੇ ਮੁਹਾਵਰਿਆਂ ਦੀ ਸ਼ਬਦਾਵਲੀ|ਵਾਕਾਂਸ਼ ਅਤੇ ਮੁਹਾਵਰੇ]]
onos3of4sukbfwd40tncqj7lqnu4xf2
ਹਿੰਦੀ/ਮੂਲ ਹਿੰਦੀ
0
3159
5924
5923
2023-09-24T09:18:12Z
Tamanpreet Kaur
1785
Replaced content with "== ਆਮ ਵਾਕਾਂਸ਼ == ਮੈਂ ਤੁਮਸੇ ਜ਼ਰੂਰ ਮਿਲੂਗਾ (ਹਿੰਦੁਸਤਾਨੀ) ਮੈਂ ਤੁਮਸੇ ਅਵਸ਼ਿਆ ਮਿਲਾਂਗਾ (ਹਿੰਦੀ)"
wikitext
text/x-wiki
== ਆਮ ਵਾਕਾਂਸ਼ ==
ਮੈਂ ਤੁਮਸੇ ਜ਼ਰੂਰ ਮਿਲੂਗਾ (ਹਿੰਦੁਸਤਾਨੀ)
ਮੈਂ ਤੁਮਸੇ ਅਵਸ਼ਿਆ ਮਿਲਾਂਗਾ (ਹਿੰਦੀ)
km12ckelrupr2uu8zxw3ubd0741r4k7
ਪੰਜਾਬੀ
0
3160
5927
2023-10-12T06:46:06Z
Kuldeepburjbhalaike
1880
"{{status|75%}} {{Punjabi/Mobile}} {| width=100% |- |valign="top"|[[File:Hamandir Sahib (Golden Temple).jpg|right|thumbnail|390px|[[w:pa:ਹਰਿਮੰਦਰ ਸਾਹਿਬ|ਹਰਿਮੰਦਿਰ ਸਾਹਿਬ]] ਅੰਮ੍ਰਿਤਸਰ, ਪੰਜਾਬ, ਭਾਰਤ]][[w:pa:ਪੰਜਾਬੀ ਭਾਸ਼ਾ|'''ਪੰਜਾਬੀ''']], w:pa:ਹਿੰਦ-ਯੂਰਪੀ ਪਰਿਵਾਰ|ਹਿੰਦ-ਯੂਰਪੀ ਪਰਿਵਾਰ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{status|75%}}
{{Punjabi/Mobile}}
{| width=100%
|-
|valign="top"|[[File:Hamandir Sahib (Golden Temple).jpg|right|thumbnail|390px|[[w:pa:ਹਰਿਮੰਦਰ ਸਾਹਿਬ|ਹਰਿਮੰਦਿਰ ਸਾਹਿਬ]] ਅੰਮ੍ਰਿਤਸਰ, ਪੰਜਾਬ, ਭਾਰਤ]][[w:pa:ਪੰਜਾਬੀ ਭਾਸ਼ਾ|'''ਪੰਜਾਬੀ''']], [[w:pa:ਹਿੰਦ-ਯੂਰਪੀ ਪਰਿਵਾਰ|ਹਿੰਦ-ਯੂਰਪੀ ਪਰਿਵਾਰ]] ਦੀ ਇੱਕ ਭਾਸ਼ਾ, [[w:pa:ਪੰਜਾਬ ਖੇਤਰ|ਪੰਜਾਬ ਖੇਤਰ]] ਦੀ ਮੂਲ ਭਾਸ਼ਾ ਹੈ। [[W:pa:ਪੂਰਬੀ ਪੰਜਾਬ (ਭਾਰਤ)|ਪੂਰਬੀ ਪੰਜਾਬ (ਭਾਰਤ)]] ਵਿੱਚ, ਇਹ [[W:pa:ਗੁਰਮੁਖੀ|ਗੁਰਮੁਖੀ]] ਲਿਪੀ ਵਿੱਚ ਲਿਖੀ ਜਾਂਦੀ ਹੈ; [[W:pa:ਸ਼ਾਹਮੁਖੀ|ਸ਼ਾਹਮੁਖੀ]], ਪਰਸੋ-ਅਰਬੀ ਲਿਪੀ ਦਾ ਇੱਕ ਅਨੁਕੂਲਿਤ ਡੈਰੀਵੇਟਿਵ, [[W:pa:ਪੱਛਮੀ ਪੰਜਾਬ (ਪਾਕਿਸਤਾਨ)|ਪੱਛਮੀ ਪੰਜਾਬ (ਪਾਕਿਸਤਾਨ)]] ਵਿੱਚ ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ। ਭਾਰਤ ਵਿੱਚ, ਇਸਨੂੰ ਪੰਜਾਬ ਦੀ ਪਹਿਲੀ ਸਰਕਾਰੀ ਭਾਸ਼ਾ ਵਜੋਂ ਮਾਨਤਾ ਪ੍ਰਾਪਤ ਹੈ, ਜਦੋਂ ਕਿ ਕਈ ਹੋਰ ਰਾਜਾਂ ਵਿੱਚ ਇਸਨੂੰ ਵਾਧੂ ਸਰਕਾਰੀ ਭਾਸ਼ਾ ਵਜੋਂ ਸਵੀਕਾਰ ਕੀਤਾ ਜਾਂਦਾ ਹੈ। ਇਹ ਪਾਕਿਸਤਾਨ ਵਿੱਚ ਸਭ ਤੋਂ ਵੱਧ ਬੋਲੀ ਜਾਣ ਵਾਲੀ ਭਾਸ਼ਾ ਹੈ ਹਾਲਾਂਕਿ ਇਸਨੂੰ ਅਧਿਕਾਰਤ ਦਰਜਾ ਨਹੀਂ ਮਿਲਿਆ ਹੈ। ਇਹ ਅੰਤਰਰਾਸ਼ਟਰੀ ਤੌਰ 'ਤੇ ਅੰਦਾਜ਼ਨ 100 ਤੋਂ 125 ਮਿਲੀਅਨ ਲੋਕਾਂ ਦੁਆਰਾ ਬੋਲੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਦੁਨੀਆ ਵਿੱਚ ਦਸਵੀਂ ਸਭ ਤੋਂ ਵੱਧ ਬੋਲੀ ਜਾਣ ਵਾਲੀ ਭਾਸ਼ਾ ਹੈ। ਕੈਨੇਡਾ ਵਿੱਚ ਇਸਦਾ ਮਾਣ ਵਾਲਾ ਸਥਾਨ ਹੈ, ਜਿੱਥੇ ਇਹ ਤੀਜੀ ਸਭ ਤੋਂ ਵੱਧ ਬੋਲੀ ਜਾਣ ਵਾਲੀ ਭਾਸ਼ਾ ਹੈ, ਅਤੇ ਇੰਗਲੈਂਡ ਅਤੇ ਵੇਲਜ਼ ਵਿੱਚ ਇਹ ਚੌਥੀ ਸਭ ਤੋਂ ਵੱਧ ਬੋਲੀ ਜਾਣ ਵਾਲੀ ਭਾਸ਼ਾ ਹੈ। ਇਹ ਵਿਕੀ ਕਿਤਾਬ ਪਾਠਕਾਂ ਨੂੰ ਇਸ ਦਿਲਚਸਪ ਭਾਸ਼ਾ ਸਿੱਖਣ ਵਿੱਚ ਮਦਦ ਕਰਨ ਦੀ ਕੋਸ਼ਿਸ਼ ਕਰਦੀ ਹੈ।
|valign="top"|
<noinclude>{{Print version}}
{{InterWiki|code=pa}}
{{wikipedia|Punjabi}}
{{Category 2}}</noinclude>
|}
{{Punjabi|state=uncollapsed}}
{{Shelves|Languages of Asia}}
<noinclude>{{Alphabetical|P}}</noinclude>
jxdeligzpsxidavkgmvq6ad600pteyx
ਫਰਮਾ:Shelf:Map
10
3161
5928
2023-10-12T06:49:47Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#switch:{{evalx| (let (parents (get-arg-expr 2)) (if (not? (list? parents)) 0 (length parents))) |{{{2}}}}} |1={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}} |2={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!-- -->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}} |3={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-ex..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#switch:{{evalx|
(let (parents (get-arg-expr 2))
(if (not? (list? parents))
0
(length parents))) |{{{2}}}}}
|1={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}
|2={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}
|3={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}
|4={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 4) |{{{2}}}}}}}
|5={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 4) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 5) |{{{2}}}}}}}
|6={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 4) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 5) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 6) |{{{2}}}}}}}
|7={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 4) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 5) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 6) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 7) |{{{2}}}}}}}
|8={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 4) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 5) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 6) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 7) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 8) |{{{2}}}}}}}
|9={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 4) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 5) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 6) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 7) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 8) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 9) |{{{2}}}}}}}
|10={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 4) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 5) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 6) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 7) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 8) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 9) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 10)|{{{2}}}}}}}
|11={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 4) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 5) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 6) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 7) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 8) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 9) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 10)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 11)|{{{2}}}}}}}
|12={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 4) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 5) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 6) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 7) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 8) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 9) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 10)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 11)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 12)|{{{2}}}}}}}
|13={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 4) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 5) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 6) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 7) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 8) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 9) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 10)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 11)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 12)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 13)|{{{2}}}}}}}
|14={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 4) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 5) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 6) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 7) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 8) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 9) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 10)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 11)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 12)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 13)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 14)|{{{2}}}}}}}
|15={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 4) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 5) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 6) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 7) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 8) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 9) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 10)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 11)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 12)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 13)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 14)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 15)|{{{2}}}}}}}
|16={{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 1) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 2) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 3) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 4) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 5) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 6) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 7) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 8) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 9) |{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 10)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 11)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 12)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 13)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 14)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 15)|{{{2}}}}}}}<!--
-->{{#invoke:TScope|drop|{{{1}}}|{{evalx| (nth (get-arg-expr 2) 16)|{{{2}}}}}}}
|#default={{#if:{{{diagnose}}}|{{Shelf:Check page|shelf={{{shelf}}}}}}}
}}</includeonly><noinclude>
{{Documentation}}
{{hidden use|Template:Shelf:Check page}}
</noinclude>
80z3vvh3lozd493kzv8bcklfajmy9g3
ਫਰਮਾ:Shelf:Map/doc
10
3162
5929
2023-10-12T06:50:54Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> === Usage === This template applies a template to each element of a list, one by one, if the list is short enough. Meant for a list of ancestors of a shelf. * <code>1</code> — the name of the template to be applied. * <code>2</code> — the list. * <code>diagnose</code> — optional — if not..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
=== Usage ===
This template applies a template to each element of a list, one by one, if the list is short enough. Meant for a list of ancestors of a shelf.
* <code>1</code> — the name of the template to be applied.
* <code>2</code> — the list.
* <code>diagnose</code> — optional — if not provided, or if non-blank, the template provides diagnostic messages if it detects a problem; if provided and blank, no diagnostic messages.
* <code>shelf</code> — the name of the shelf, without its <code>Shelf:</code> prefix. Only used when providing a diagnostic message.
=== Internals ===
Applies the template using [[Module:TScope#drop]], passing an element of the list as first unnamed parameter.
There is no need for this template to support any list length greater than the maximum number of ancestors per shelf. As of this writing, it supports up to list length 16.
The key templates that use this one, as of this writing, are {{tl|Shelf:Category/display}}, {{tl|Shelf:Allbooks category/display}}, and {{tl|Shelves/leaf}}.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
{{BookCat}}
</includeonly>
ky8n2smujpyuq1om00p6kpjo3pn6pmj
ਫਰਮਾ:Punjabi
10
3163
5959
5930
2023-10-12T07:38:25Z
Kuldeepburjbhalaike
1880
wikitext
text/x-wiki
<div class="noprint" style= "{{#ifeq:{{SUBPAGENAME}}|Print version|display: none;}}">
{{Navbox
| name = Punjabi
| title = [[ਪੰਜਾਬੀ]]
| listclass = hlist
| state = {{{state|<noinclude>uncollapsed</noinclude>}}}
| group1 = [[ਪੰਜਾਬੀ/ਗੁਰਮੁਖੀ|ਗੁਰਮੁਖੀ]]
| list1= {{ਪੰਜਾਬੀ/ਗੁਰਮੁਖੀ}}
| group2 = [[ਪੰਜਾਬੀ/ਮੁਹਾਰਨੀ|ਮੁਹਾਰਨੀ]]
| list2 = {{ਪੰਜਾਬੀ/ਮੁਹਾਰਨੀ}}
| group3 = [[ਪੰਜਾਬੀ/Vocabulary|Vocabulary]]
| list3 = {{ਪੰਜਾਬੀ/Vocabulary}}
| group4 = [[ਪੰਜਾਬੀ/Conversation|Conversation]]
| list4 = {{ਪੰਜਾਬੀ/Conversation}}
| group5 = [[ਪੰਜਾਬੀ/Grammar|Grammar]]
| list5 = {{ਪੰਜਾਬੀ/Grammar}}
| group6 = ਪੰਜਾਬੀ ਬਾਰੇ ਹੋਰ
| list6 = {{ਪੰਜਾਬੀ/About}}
| group7 = Appendices
| list7 =
{{Navbox|child
| list1 = [[ਪੰਜਾਬੀ/Phonetics|Appendix 1 : Phonetics]] • [[ਪੰਜਾਬੀ/Numbers|Appendix 2 : Numbers]]
| list2 = [[ਪੰਜਾਬੀ/Dictionary|Appendix 3 : Dictionary]] - {{ਪੰਜਾਬੀ/Dictionary}}
}}
| group8 = References
| list8 = {{ਪੰਜਾਬੀ/References}}
| group9 = Further readings
| list9 = {{ਪੰਜਾਬੀ/Readings}}
}}</div>
{{BookCat}}
9w821ktgk8rq4h2zpwwyq6ca5z2r290
ਫਰਮਾ:Punjabi/Mobile
10
3164
5931
2023-10-12T06:53:26Z
Kuldeepburjbhalaike
1880
"<div class="noprint" style= "{{#ifeq:{{SUBPAGENAME}}|Print version|display: none;}}"> {| width="100%" class="noprint" style="margin-bottom:1ex;" ! width="20%" style="background:{{#ifeq:"{{CHAPTERNAME}}"|"Gurmukhi"|lightyellow|Lemonchiffon}};"|[[Punjabi/Gurmukhi|Gurmukhi]] ! width="20%" style="background:{{#ifeq:"{{CHAPTERNAME}}"|"Muharni"|lightyellow|Lemonchiffon}};"|[[Punjabi/Muharni|Muharni]] ! width="20%" style="background:{{#ifeq:"{{CHAPTERNAM..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="noprint" style= "{{#ifeq:{{SUBPAGENAME}}|Print version|display: none;}}">
{| width="100%" class="noprint" style="margin-bottom:1ex;"
! width="20%" style="background:{{#ifeq:"{{CHAPTERNAME}}"|"Gurmukhi"|lightyellow|Lemonchiffon}};"|[[Punjabi/Gurmukhi|Gurmukhi]]
! width="20%" style="background:{{#ifeq:"{{CHAPTERNAME}}"|"Muharni"|lightyellow|Lemonchiffon}};"|[[Punjabi/Muharni|Muharni]]
! width="20%" style="background:{{#ifeq:"{{CHAPTERNAME}}"|"Vocabulary"|lightyellow|Lemonchiffon}};"|[[Punjabi/Vocabulary|Vocabulary]]
! width="20%" style="background:{{#ifeq:"{{CHAPTERNAME}}"|"Conversation"|lightyellow|Lemonchiffon}};"|[[Punjabi/Conversation|Conversation]]
! width="20%" style="background:{{#ifeq:"{{CHAPTERNAME}}"|"Grammar"|lightyellow|Lemonchiffon}};"|[[Punjabi/Grammar|Grammar]]
|- align=center bgcolor=lightyellow
| colspan="5" style="border-left:1px solid Lemonchiffon; border-bottom:1px solid Lemonchiffon; border-right:1px solid Lemonchiffon"|{{#ifeq:"{{CHAPTERNAME}}"|"Gurmukhi"|{{Punjabi/Gurmukhi}}|{{#ifeq:"{{CHAPTERNAME}}"|"Muharni"|{{Punjabi/Muharni}}|{{#ifeq:"{{CHAPTERNAME}}"|"Vocabulary"|{{Punjabi/Vocabulary}}|{{#ifeq:"{{CHAPTERNAME}}"|"Conversation"|{{Punjabi/Conversation}}|{{#ifeq:"{{CHAPTERNAME}}"|"Grammar"|{{Punjabi/Grammar}}|}} }} }} }} }}
|}
{{BookCat}}</div>
c2zuaytj6xcgr3xnng07zntvjos4kyp
ਫਰਮਾ:Category 2
10
3165
5932
2023-10-12T06:54:58Z
Kuldeepburjbhalaike
1880
"<div style="clear:{{{float|right}}};float:{{{float|right}}};border:solid #CCCC00 1px;margin:1px"> <table cellspacing="0" style="width:238px;background:#FFFF99"> <tr> <td style="width:45px;height:45px;background:#FFFF00;text-align:center;font-size:14pt">'''[[Wikibooks:Language Learning Difficulty for English Speakers|II]]'''</td> <td style="font-size:8pt;padding:4pt;line-height:1.25em">This is a ''':Category:Category 2 Languages|Category II Langu..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div style="clear:{{{float|right}}};float:{{{float|right}}};border:solid #CCCC00 1px;margin:1px">
<table cellspacing="0" style="width:238px;background:#FFFF99">
<tr>
<td style="width:45px;height:45px;background:#FFFF00;text-align:center;font-size:14pt">'''[[Wikibooks:Language Learning Difficulty for English Speakers|II]]'''</td>
<td style="font-size:8pt;padding:4pt;line-height:1.25em">This is a '''[[:Category:Category 2 Languages|Category II Language]]'''.</td>
</tr>
</table>
</div><includeonly>[[Category:Category 2 Languages|{{ROOTPAGENAME}}]]</includeonly><noinclude>[[Category:Catalogue templates|{{PAGENAME}}]]</noinclude>
9io7gitr2jtu7zvkk4603rquqfzsfdg
ਫਰਮਾ:Wikipedia
10
3166
5933
2023-10-12T06:56:15Z
Kuldeepburjbhalaike
1880
"{{mbox-side|type=notice|image=Wikipedia-logo-v2.svg|text= [[w:|Wikipedia]] has related information at {{sec link auto| wikipedia | {{{1| Special:Search/{{PAGENAME}} }}} | '''''{{{1|{{PAGENAME}}}}}''''' }}{{#if:{{{2|}}}|{{#if:{{{3|}}}|,| and}} {{sec link auto| wikipedia | Special:Search/{{{2}}} | '''''{{{2}}}''''' }}}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|,| and}} {{sec link auto| wikipedia | Special:Search/{{{3}}} | '''''{{{3}}}''''' }}}}{{#if..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{mbox-side|type=notice|image=Wikipedia-logo-v2.svg|text= [[w:|Wikipedia]] has related information at {{sec link auto| wikipedia | {{{1| Special:Search/{{PAGENAME}} }}} | '''''{{{1|{{PAGENAME}}}}}''''' }}{{#if:{{{2|}}}|{{#if:{{{3|}}}|,| and}} {{sec link auto| wikipedia | Special:Search/{{{2}}} | '''''{{{2}}}''''' }}}}{{#if:{{{3|}}}|{{#if:{{{4|}}}|,| and}} {{sec link auto| wikipedia | Special:Search/{{{3}}} | '''''{{{3}}}''''' }}}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|,| and}} {{sec link auto| wikipedia | Special:Search/{{{4}}} | '''''{{{4}}}''''' }}}}{{#if:{{{5|}}}| and {{sec link auto| wikipedia | Special:Search/{{{5}}} | '''''{{{5}}}''''' }}}}
}}<noinclude><div style="width:250px; float:right; clear:right; margin:0px; margin-top:10px !important;"></div>
{{documentation}}
</noinclude>
mlvknet9x0df1235j9zvawhscsjocim
ਫਰਮਾ:Wikipedia/doc
10
3167
5934
2023-10-12T06:57:53Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template links to a page or pages on Wikipedia with additional information on a topic. === Usage === This template takes up to 5 parameters. If none are specified, the box will link to a search on Wikipedia using the current page's name. {{Wikipedia|Topic 1}}{{tlx|Wikipedia|Topic 1}} gives {{clear}} ---- {{Wikipedia|Topic 1|Topic&nbs..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template links to a page or pages on Wikipedia with additional information on a topic.
=== Usage ===
This template takes up to 5 parameters. If none are specified, the box will link to a search on Wikipedia using the current page's name.
{{Wikipedia|Topic 1}}{{tlx|Wikipedia|Topic 1}} gives {{clear}}
----
{{Wikipedia|Topic 1|Topic 2}}{{tlx|Wikipedia|Topic 1|Topic 2}} gives {{clear}}
----
{{Wikipedia|Topic 1|Topic 2|Topic 3}}{{tlx|Wikipedia|Topic 1|Topic 2|Topic 3}} gives {{clear}}
----
{{Wikipedia|Topic 1|Topic 2|Topic 3|Topic 4}}{{tlx|Wikipedia|Topic 1|Topic 2|Topic 3|Topic 4}} gives {{clear}}
----
{{Wikipedia|Topic 1|Topic 2|Topic 3|Topic 4|Topic 5}}{{tlx|Wikipedia|Topic 1|Topic 2|Topic 3|Topic 4|Topic 5}} gives {{clear}}
=== See also ===
* {{tl|Wikipedia category}} - for linking to a category instead
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia link templates| ]]
[[da:Template:Wikipedia]]
[[de:Template:Wikipedia]]
[[es:Template:Wikipedia]]
[[fr:Template:Wikipedia]]
[[ja:Template:Wikipedia]]
[[ko:틀:위키백과]]
[[pl:Template:Wikipedia]]
[[pt:Template:Wikipedia]]
[[ro:Template:Wikipedia]]
[[ru:Template:Wikipedia]]
[[fi:Template:Wikipedia]]
[[vi:Tiêu bản:Wikipedia]]
</includeonly>
0z8655j380fve3m3nqc7pbwghzlo2dh
ਫਰਮਾ:Wikipedia category
10
3168
5935
2023-10-12T06:58:41Z
Kuldeepburjbhalaike
1880
"{{sister |project=wikipedia |text=[[w:|Wikipedia]] has more on :'''''[[w:Category:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]''''' }}<noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{sister
|project=wikipedia
|text=[[w:|Wikipedia]] has more on
:'''''[[w:Category:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]'''''
}}<noinclude>
{{documentation}}
</noinclude>
g1rhhjcxpr2c1c4ikpj75dlrvc1kwh0
ਫਰਮਾ:Wikipedia category/doc
10
3169
5936
2023-10-12T06:59:50Z
Kuldeepburjbhalaike
1880
"{{documentation subpage}} === Usage === This template may be used to add a link to a Wikipedia category to a page. *{{tlx|Wikipedia category}}: Creates a box with a link to a Wikipedia category with the same name as the current page. *{{tlx|Wikipedia category|SomeCategoryTitle}}: Creates a box with a link to the category ''SomeCategoryTitle''. *{{tlx|Wikipedia category|SomeCategoryTitle|LinkTitle}}: Creates a box with a link to the category ''So..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{documentation subpage}}
=== Usage ===
This template may be used to add a link to a Wikipedia category to a page.
*{{tlx|Wikipedia category}}: Creates a box with a link to a Wikipedia category with the same name as the current page.
*{{tlx|Wikipedia category|SomeCategoryTitle}}: Creates a box with a link to the category ''SomeCategoryTitle''.
*{{tlx|Wikipedia category|SomeCategoryTitle|LinkTitle}}: Creates a box with a link to the category ''SomeCategoryTitle'' and with ''LinkTitle'' as the text displayed for the link.
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Wikipedia link templates|Category]]
[[ko:틀:위키백과 분류]]
</includeonly>
gdi26e2ktdbzkncninjoo5sudmzi858
ਫਰਮਾ:Sister
10
3170
5937
2023-10-12T07:00:55Z
Kuldeepburjbhalaike
1880
"{{side box | position = {{{position|}}} | image = {{#switch: {{{image|}}} | none = <!-- "image=none", do nothing --> | = <!-- No image fed, select an image --> Image:{{#switch: {{lc: {{{project|}}} }} | commons = Commons-logo.svg | meta|metawiki|m = Wikimedia Community Logo.svg | wikibooks|wbk|wb|b = Wikibooks-logo.svg | wikiquote|quote|wqt|q = Wikiquote-logo.svg | wikipedia..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{side box
| position = {{{position|}}}
| image =
{{#switch: {{{image|}}}
| none = <!-- "image=none", do nothing -->
| = <!-- No image fed, select an image -->
[[Image:{{#switch: {{lc: {{{project|}}} }}
| commons = Commons-logo.svg
| meta|metawiki|m = Wikimedia Community Logo.svg
| wikibooks|wbk|wb|b = Wikibooks-logo.svg
| wikiquote|quote|wqt|q = Wikiquote-logo.svg
| wikipedia|wp|w = Wikipedia-logo.svg
| wikisource|source|ws|s = Wikisource-logo.svg
| wiktionary|wkt|wdy|d = Wiktionary-logo.svg
| wikinews|news|wnw|n = Wikinews-logo.svg
| wikispecies|species = Wikispecies-logo.svg
| wikiversity|wvy|v = Wikiversity-logo.svg
| mediawiki|mw = Mediawiki.png
| wikivoyage|voy = Wikivoyage-logo.svg
| #default = Wikimedia-logo.svg
}}|40x40px|link={{sec link image
| {{#switch: {{lc: {{{project|}}} }}
| commons = commons
| meta|metawiki|m = meta
| wikibooks|wbk|wb|b = b
| wikiquote|quote|wqt|q = q
| wikipedia|wp|w = w
| wikisource|source|ws|s = s
| wiktionary|wkt|wdy|d = wikt
| wikinews|news|wnw|n = n
| wikispecies|species = species
| wikiversity|wvy|v = v
| mediawiki|mw = mw
| wikivoyage|voy = voy
| #default = <!--Just for demonstration-->
}}
| {{{1| Special:Search/{{PAGENAME}} }}}
| lang = {{{lang|}}}
}}| Search {{#switch: {{lc: {{{project}}} }}
| commons = Wikimedia Commons
| meta|metawiki|m = Meta
| wikibooks|wbk|wb|b = Wikibooks
| wikiquote|quote|wqt|q = Wikiquote
| wikipedia|wp|w = Wikipedia
| wikisource|source|ws|s = Wikisource
| wiktionary|wkt|wdy|d = Wiktionary
| wikinews|news|wnw|n = Wikinews
| wikispecies|species = Wikispecies
| wikiversity|wvy|v = Wikiversity
| mediawiki|mw = MediaWiki
| wikivoyage|voy = Wikivoyage
| #default = sister project
}}]]
| #default = {{{image|}}}
}}
| text = {{{text}}}
| below = {{{below|}}}
| imageright = {{{imageright|}}}
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
ta04jepotsvsgpt563f4kqksp04jpx0
ਫਰਮਾ:Sister/doc
10
3171
5938
2023-10-12T07:01:49Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is a meta-template used for creating interwiki links to other sister projects of Wikibooks. Note that links to other ''language'' Wikibooks should ''not'' use links in this form, instead use interwiki links to add them to the sidebar. === Parameters === *{{para|text}} – text of the message *{{para|project}} – the sister project..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is a meta-template used for creating interwiki links to other sister projects of Wikibooks. Note that links to other ''language'' Wikibooks should ''not'' use links in this form, instead use interwiki links to add them to the sidebar.
=== Parameters ===
*{{para|text}} – text of the message
*{{para|project}} – the sister project to link to. Used to select which project logo is displayed.
*{{para|below}} – optional text to display in a full-width row below the main content. Use sparingly
*{{para|position}} – set to <kbd>left</kbd> for a left-floating box or, ideally, pass through with {{nowrap|<kbd><nowiki>|position={{{position|}}}</nowiki></kbd>}} to let this be set on a per-page basis.
===Example===
<pre style="overflow:auto;">
{{sister
|project=commons
|text=[[commons:Wikimedia Commons|]] has media related to: '''''[[Commons:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]'''''
}}
</pre>
{{sister
|project=commons
|text=[[commons:Wikimedia Commons|Wikimedia Commons]] has media related to: '''''[[Commons:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]''''' }}
=== See also ===
*{{tl|side box}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Interwiki link templates| ]]
[[Category:Exclude in print|{{PAGENAME}}]]
[[Category:Metatemplates|{{PAGENAME}}]]
</includeonly>
auvaytv52i4y1nlhnfcfteqk7heinrh
ਫਰਮਾ:InterWiki
10
3172
5939
2023-10-12T07:03:54Z
Kuldeepburjbhalaike
1880
"{{mbox-side|type=notice|image=Wikibooks-logo.svg|text='''''[[:{{{code}}}:|{{{edition|{{#titleparts:{{{1|{{PAGENAME}}}}}|1}}}}} edition]]''''' of [[Wikibooks:Welcome|Wikibooks]].}}<noinclude>[[Category:Interwiki link templates|{{PAGENAME}}]]</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{mbox-side|type=notice|image=Wikibooks-logo.svg|text='''''[[:{{{code}}}:|{{{edition|{{#titleparts:{{{1|{{PAGENAME}}}}}|1}}}}} edition]]''''' of [[Wikibooks:Welcome|Wikibooks]].}}<noinclude>[[Category:Interwiki link templates|{{PAGENAME}}]]</noinclude>
ev24l9kqthxn73o11aoxqss5hor6f3d
ਫਰਮਾ:Mbox-side/doc
10
3173
5940
2023-10-12T07:06:47Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{high-risk|3,500+}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> <includeonly> <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> [[Category:Infobox templates|{{PAGENAME}}]] [[Category:Exclude in print|{{PAGENAME}}]] </includeonly>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{high-risk|3,500+}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Exclude in print|{{PAGENAME}}]]
</includeonly>
j6lqf23u1kzqlzjj8mbpes4i2zjjjzi
ਫਰਮਾ:Existlist
10
3174
5941
2023-10-12T07:07:40Z
Kuldeepburjbhalaike
1880
"<includeonly><!-- -->{{#ifeq:{{{1|}}}|{{{1|+}}}|{{#ifexist:{{#rel2abs:{{{1}}}}}|{{#rel2abs:{{{1}}}}}|<!-- -->{{#ifeq:{{{2|}}}|{{{2|+}}}|{{#ifexist:{{#rel2abs:{{{2}}}}}|{{#rel2abs:{{{2}}}}}|<!-- -->{{#ifeq:{{{3|}}}|{{{3|+}}}|{{#ifexist:{{#rel2abs:{{{3}}}}}|{{#rel2abs:{{{3}}}}}|<!-- -->{{#ifeq:{{{4|}}}|{{{4|+}}}|{{#ifexist:{{#rel2abs:{{{4}}}}}|{{#rel2abs:{{{4}}}}}|<!-- -->{{#ifeq:{{{5|}}}|{{{5|+}}}|{{#ifexist:{{#rel2abs:{{{5}}}}}|{{#rel2abs:{{{5}}}}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly><!--
-->{{#ifeq:{{{1|}}}|{{{1|+}}}|{{#ifexist:{{#rel2abs:{{{1}}}}}|{{#rel2abs:{{{1}}}}}|<!--
-->{{#ifeq:{{{2|}}}|{{{2|+}}}|{{#ifexist:{{#rel2abs:{{{2}}}}}|{{#rel2abs:{{{2}}}}}|<!--
-->{{#ifeq:{{{3|}}}|{{{3|+}}}|{{#ifexist:{{#rel2abs:{{{3}}}}}|{{#rel2abs:{{{3}}}}}|<!--
-->{{#ifeq:{{{4|}}}|{{{4|+}}}|{{#ifexist:{{#rel2abs:{{{4}}}}}|{{#rel2abs:{{{4}}}}}|<!--
-->{{#ifeq:{{{5|}}}|{{{5|+}}}|{{#ifexist:{{#rel2abs:{{{5}}}}}|{{#rel2abs:{{{5}}}}}|<!--
-->{{#ifeq:{{{6|}}}|{{{6|+}}}|{{#ifexist:{{#rel2abs:{{{6}}}}}|{{#rel2abs:{{{6}}}}}|<!--
-->{{#ifeq:{{{7|}}}|{{{7|+}}}|{{#ifexist:{{#rel2abs:{{{7}}}}}|{{#rel2abs:{{{7}}}}}|<!--
-->{{#ifeq:{{{8|}}}|{{{8|+}}}|{{#ifexist:{{#rel2abs:{{{8}}}}}|{{#rel2abs:{{{8}}}}}|<!--
-->{{#ifeq:{{{9|}}}|{{{9|+}}}|{{#ifexist:{{#rel2abs:{{{9}}}}}|{{#rel2abs:{{{9}}}}}|<!--
-->{{#ifeq:{{{10|}}}|{{{10|+}}}|{{#ifexist:{{#rel2abs:{{{10}}}}}|{{#rel2abs:{{{10}}}}}|<!--
-->{{{else|}}}}}|{{{else|}}}}}|{{{else|}}}}}|{{{else|}}}}}|{{{else|}}}}}|{{{else|}}}}}|<!--
-->{{{else|}}}}}|{{{else|}}}}}|{{{else|}}}}}|{{{else|}}}}}|{{{else|}}}}}|{{{else|}}}}}|<!--
-->{{{else|}}}}}|{{{else|}}}}}|{{{else|}}}}}|{{{else|}}}}}|{{{else|}}}}}|{{{else|}}}}}|<!--
-->{{{else|}}}}}|{{{else|}}}}}<!--
--></includeonly><noinclude>
{{esoteric}}
;Example Usage: [[{{tlx|existlist|A|B|C|Wikibooks:Sandbox|E|F|G}}]]
;Result: [[{{existlist|A|B|C|Wikibooks:Sandbox|E|F|G}}]]
;Example Usage: [[{{tlx|existlist|A|B|C|Wikibooks:Sandbox|E|F|G}}|click here]]
;Result: [[{{existlist|A|B|C|Wikibooks:Sandbox|E|F|G}}|click here]]
;What it does: returns the name of the first page which exists up to 10 max.
[[Category:Utility templates|{{PAGENAME}}]]
</noinclude>
ky5n5d7c3w6km147ef9nw9iawcrdar3
ਫਰਮਾ:Esoteric
10
3175
5942
2023-10-12T07:08:44Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Intricate template]]
wikitext
text/x-wiki
#redirect[[Template:Intricate template]]
rd5ol874t42b98bpx67yuz01yuwfrlt
ਫਰਮਾ:Intricate template
10
3176
5943
2023-10-12T07:09:20Z
Kuldeepburjbhalaike
1880
"{{ombox | type = style | image = [[File:Ambox warning yellow.svg|40px|link=|alt=]] | text ='''This template employs intricate features of template syntax.''' {{nowrap|{{{1|}}}}}<div style="font-size:95%; padding-bottom:2px;">You are encouraged to familiarize yourself with its setup and [[mw:Help:Extension:ParserFunctions|parser functions]] before editing the template. If your edit causes unexpected problems, please [[Help:Editing#Undo|undo]] it qu..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{ombox
| type = style
| image = [[File:Ambox warning yellow.svg|40px|link=|alt=]]
| text ='''This template employs intricate features of template syntax.''' {{nowrap|{{{1|}}}}}<div style="font-size:95%; padding-bottom:2px;">You are encouraged to familiarize yourself with its setup and [[mw:Help:Extension:ParserFunctions|parser functions]] before editing the template. If your edit causes unexpected problems, please [[Help:Editing#Undo|undo]] it quickly. Remember that you can conduct experiments, and should test all improvements, in either the {{nowrap|{{#switch:
{{#ifexist:{{FULLPAGENAME}}/sandbox |sandbox |
{{#ifexist:{{FULLPAGENAME}}/Sandbox |Sandbox |
{{#ifexist:{{FULLPAGENAME}}/test sandbox|test sandbox|
{{#ifexist:{{FULLPAGENAME}}/Test sandbox|Test sandbox|
{{#ifexist:{{FULLPAGENAME}}/test |test |
{{#ifexist:{{FULLPAGENAME}}/Test |Test |
}} }} }} }} }} }}
| sandbox = [[Template:{{PAGENAME}}/sandbox |local /sandbox ]]
| Sandbox = [[Template:{{PAGENAME}}/Sandbox |local /Sandbox ]]
| test sandbox = [[Template:{{PAGENAME}}/test sandbox|local /test sandbox ]]
| Test sandbox = [[Template:{{PAGENAME}}/Test sandbox|local /Test sandbox ]]
| test = [[Template:{{PAGENAME}}/test |local /test ]]
| Test = [[Template:{{PAGENAME}}/Test |local /Test ]]
| #default = [[Template:Template sandbox |general template sandbox]]
<!--ENDswitch-->}}<!--ENDnowrap-->}} or your user space before changing anything here.</div>
}}<noinclude>
{{documentation}}
</noinclude>
stas2hto98ra0kgcafbmldpzidg2tbj
ਫਰਮਾ:Intricate template/doc
10
3177
5944
2023-10-12T07:10:22Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|intricate template}} message box. {{tl|esoteric}} and {{tl|intricate}} redirect here and can be used as alternative names for this template. Actually, ''this'' template's syntax is relatively simple. This template can be put at the top of the documentation for any templates that are intricate, i.e., complex, using less obvious te..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This is the {{tl|intricate template}} message box.
{{tl|esoteric}} and {{tl|intricate}} redirect here and can be used as alternative names for this template.
Actually, ''this'' template's syntax is relatively simple.
This template can be put at the top of the documentation for any templates that are intricate, i.e., complex, using less obvious techniques, [[wikt:esoteric|esoteric]] syntax, combining different techniques, used as parameter for other templates, built to function for a variety of calling instances, etc.
=== Usage ===
When this template is placed on a template's /doc page it can be nice to put it within <code><includeonly></code> tags so it only gets visible on the template page. The full code for a /doc page top then can look like this:
<pre>
{{Documentation subpage}}
<includeonly>{{intricate template}}</includeonly>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
</pre>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Template namespace templates|{{PAGENAME}}]]
</includeonly>
0f01qqj05iu4zgmn3evd408iescxg26
ਫਰਮਾ:Intricate
10
3178
5945
2023-10-12T07:11:08Z
Kuldeepburjbhalaike
1880
Redirected page to [[ਫਰਮਾ:Intricate template]]
wikitext
text/x-wiki
#redirect[[ਫਰਮਾ:Intricate template]]
c4f5qbqt4jd3sp0p5jja6zekrhh1m5h
ਫਰਮਾ:Alphabetical
10
3179
5946
2023-10-12T07:11:52Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#switch:{{#titleparts:{{FULLPAGENAME}}}}|Wikijunior:{{ROOTPAGENAME}}|{{ROOTPAGENAME}}=[[Category:Alphabetical/{{padleft:|1|{{ucfirst:{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}}}}}]]|#default = <br /><span style="color:red;">'''Please add {{tlx|alphabetical}} only to book title pages.'''</span>}}</includeonly><noinclude>{{documentation}}</noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#switch:{{#titleparts:{{FULLPAGENAME}}}}|Wikijunior:{{ROOTPAGENAME}}|{{ROOTPAGENAME}}=[[Category:Alphabetical/{{padleft:|1|{{ucfirst:{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}}}}}]]|#default = <br /><span style="color:red;">'''Please add {{tlx|alphabetical}} only to book title pages.'''</span>}}</includeonly><noinclude>{{documentation}}</noinclude>
1vzy0ervczqggm3j3md22w91fl10h52
ਫਰਮਾ:Alphabetical/doc
10
3180
5947
2023-10-12T07:12:43Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template adds a book to the appropriate alphabetical category for use with [[WB:ABC]]. === Usage === Place this on a book's main page. '''Do not''' put it on any subpages. :{{tlx|alphabetical|A}} adds a book to [[:Category:Alphabetical/A]] :{{tlx|alphabetical|abc}} adds a book to [[:Category:Alphabetical/A]] :{{tlx|alphabetic..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template adds a book to the appropriate alphabetical category for use with [[WB:ABC]].
=== Usage ===
Place this on a book's main page. '''Do not''' put it on any subpages.
:{{tlx|alphabetical|A}} adds a book to [[:Category:Alphabetical/A]]
:{{tlx|alphabetical|abc}} adds a book to [[:Category:Alphabetical/A]]
:{{tlx|alphabetical}} adds a book beginning with "A" to [[:Category:Alphabetical/A]]
=== TemplateData ===
{{TemplateData header}}
<templatedata>
{
"description": "This template adds a book to the appropriate alphabetical category for use with https://en.wikibooks.org/wiki/Wikibooks:Alphabetical_classification. Place this on a book's main page; do not put it on any subpages.",
"params": {
"1": {
"label": "key",
"description": "The key to sort the page with. It can be a single letter, or a full word (in which case only the first letter will be considered anyway). By default the title of the page will be used.",
"type": "line"
}
}
}
</templatedata>
=== See also ===
*{{tl|subjects}} – classifies book by subject matter
*{{tl|status}} – classifies book by completion status
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Catalogue templates|{{PAGENAME}}]]
[[tr:Şablon:Alfabetik]]
</includeonly>
6lj4xgw4bg3dc83vfh6nu3vkgotfcqx
ਫਰਮਾ:TemplateData header
10
3181
5948
2023-10-12T07:13:47Z
Kuldeepburjbhalaike
1880
"<div class="templatedata-header">{{#if:{{{noheader|}}}|<!-- noheader: -->{{Template parameter usage|based=y}}|<!-- +header: -->This is the {{#if:{{{nolink|}}}|<!-- +header, nolink TD -->TemplateData|<!-- +header, +link [[TD]]; DEFAULT: -->[[Wikipedia:TemplateData|TemplateData]]}}<!-- e.o. #if:nolink; DEFAULT: --> for this template used by [[mw:Extension:TemplateWizard|TemplateWizard]], [[Wikipedia:VisualEditor|VisualEditor]] and other..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<div class="templatedata-header">{{#if:{{{noheader|}}}|<!--
noheader:
-->{{Template parameter usage|based=y}}|<!--
+header:
-->This is the {{#if:{{{nolink|}}}|<!--
+header, nolink TD
-->TemplateData|<!--
+header, +link [[TD]]; DEFAULT:
-->[[Wikipedia:TemplateData|TemplateData]]}}<!--
e.o. #if:nolink; DEFAULT:
--> for this template used by [[mw:Extension:TemplateWizard|TemplateWizard]], [[Wikipedia:VisualEditor|VisualEditor]] and other tools. {{Template parameter usage|based=y}}<!--
e.o. #if:noheader
-->}}
'''TemplateData for {{{1|{{BASEPAGENAME}}}}}'''
</div><includeonly><!--
check parameters
-->{{#invoke:Check for unknown parameters|check
|unknown={{template other|1=[[Category:Pages using TemplateData header with unknown parameters|_VALUE_]]}}
|template=Template:TemplateData header
|1 |nolink |noheader
|preview=<div class="error" style="font-weight:normal">Unknown parameter '_VALUE_' in [[Template:TemplateData header]].</div>
}}<!--
-->{{template other|{{sandbox other||
[[Category:Templates using TemplateData]]
}}}}</includeonly><!--
--><noinclude>{{Documentation}}</noinclude>
pxhfjcmyklg4yst97in9mz897nxe198
ਫਰਮਾ:TemplateData header/doc
10
3182
5949
2023-10-12T07:14:45Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> Inserts a brief header for the template data section. Adds the page to [[:Category:TemplateData documentation]]. == Usage == <pre> ==TemplateData== or ==Parameters== or ==Usage== {{TemplateData header}} <templatedata>{ ... }</templatedata> </pre> Use <code><nowiki>{{TemplateData header|Template name}}</nowiki></code> to display a name for..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
Inserts a brief header for the template data section. Adds the page to [[:Category:TemplateData documentation]].
== Usage ==
<pre>
==TemplateData== or ==Parameters== or ==Usage==
{{TemplateData header}}
<templatedata>{
...
}</templatedata>
</pre>
Use <code><nowiki>{{TemplateData header|Template name}}</nowiki></code> to display a name for the template other than the default, which is [[w:Help:Magic_words#Variables|<nowiki>{{BASEPAGENAME}}</nowiki>]].
:{|
|-
|
{{TemplateData header|Template name}}
|}
Use <code><nowiki>{{TemplateData header|nolink=1}}</nowiki></code> to omit the [[w:Help:Link#Wikilinks|wikilink]] from the word "TemplateData" in the header text, for instances where it is already linked outside this template.
:{|
|-
|
{{TemplateData header|nolink=1}}
|}
Use <code><nowiki>{{TemplateData header|noheader=1}}</nowiki></code> to omit the first sentence of the header text.
:{|
|-
|
{{TemplateData header|noheader=1}}
|}
==Parameters==
{{TemplateData header}}
<templatedata>{
"description": "Inserts a brief header for the template data section. Adds the page to [[Category:TemplateData documentation]]",
"params": {
"1": {
"label": "Template name",
"description": "Used to display a name for the template other than the default, which is {{BASEPAGENAME}}.",
"type": "string",
"required": false
},
"nolink": {
"label": "No link",
"description": "Assigning any value to this parameter will omit cause the template to omit the wikilink from the word \"TemplateData\" in the header text, for instances where it is already linked outside this template.",
"type": "string",
"required": false
},
"noheader": {
"label": "No header",
"description": "Assigning any value to this parameter will cause the template to omit the first sentence of the header text.",
"type": "string",
"required": false
}
}
}</templatedata>
<includeonly>{{sandbox other||
<!-- Categories go here, and interwikis go in Wikidata -->
[[Category:TemplateData documentation| ]]
}}</includeonly>
ke5j753ur30uc2bn20tw680422bltq8
ਫਰਮਾ:Template parameter usage
10
3183
5950
2023-10-12T07:15:58Z
Kuldeepburjbhalaike
1880
"{{#switch:{{{label|}}} |=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|C|c}}lick here] to see a monthly parameter usage report for {{#if:{{{1|}}}|[[Template:{{ROOTPAGENAME:{{{1|}}}}}]]|this template}}{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}. |None|none=[https://bamb..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#switch:{{{label|}}}
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|C|c}}lick here] to see a monthly parameter usage report for {{#if:{{{1|}}}|[[Template:{{ROOTPAGENAME:{{{1|}}}}}]]|this template}}{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|P|p}}arameter usage report]{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|P|p}}arameter usage report] for {{#if:{{{1|}}}|[[Template:{{ROOTPAGENAME:{{{1|}}}}}]]|[[Template:{{ROOTPAGENAME}}]]}}{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}.
|#default=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{{label|}}}]{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}
}}<noinclude>
{{documentation}}
</noinclude>
lpccs26r3pb49u723au85qnq27a3axj
ਫਰਮਾ:Shelf:Check page
10
3184
5951
2023-10-12T07:20:23Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#if:{{Shelf:Page?|{{{shelf|{{{1}}}}}}}}|| {{#ifexist:Shelf:{{{shelf|{{{1}}}}}} |This shelf page isn't formatted correctly. {{Query button |page=Shelf:{{{shelf|{{{1}}}}}} |query=action=edit&editintro=Template:Shelf:Editintro_format&summary=noinclude |text=edit shelf page }} |There is no shelf page with this name. Creating a new shelf is a significant act; see [[Using Wikibooks/Shelves, Categories, and Classifications|here]]. {{Q..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#if:{{Shelf:Page?|{{{shelf|{{{1}}}}}}}}||
{{#ifexist:Shelf:{{{shelf|{{{1}}}}}}
|This shelf page isn't formatted correctly. {{Query button
|page=Shelf:{{{shelf|{{{1}}}}}}
|query=action=edit&editintro=Template:Shelf:Editintro_format&summary=noinclude
|text=edit shelf page
}}
|There is no shelf page with this name. Creating a new shelf is a significant act; see [[Using Wikibooks/Shelves, Categories, and Classifications|here]]. {{Query button
|page=Shelf:{{{shelf|{{{1}}}}}}
|query=action=edit&editintro=Template:Shelf:Editintro&preload=Template:Shelf:Preload&summary=create
|text=create shelf
}}
}}
<p>[[{{BOOKCATEGORY|Shelf:}}/Attention needed]]
}}</includeonly><noinclude>
{{documentation}}
{{hidden use|Using Wikibooks/Shelves, Categories, and Classifications}}
</noinclude>
2qaybkr57j5yhstw0yv0l9m2owhi1bq
ਫਰਮਾ:Shelf:Check page/doc
10
3185
5952
2023-10-12T07:21:15Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> This template checks the status of an expected shelf page. === Usage === Place this template on a page that expects the shelf to exist. This template expects one parameter, as of this writing: * <code>shelf</code> — required — the name of the shelf, without the <code>Shelf:</code>..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
This template checks the status of an expected shelf page.
=== Usage ===
Place this template on a page that expects the shelf to exist. This template expects one parameter, as of this writing:
* <code>shelf</code> — required — the name of the shelf, without the <code>Shelf:</code> prefix.
Alternatively, if <code>shelf</code> is omitted, the information may instead be provided as an unnamed parameter.
=== Internals ===
Checks that the associated shelf exists and appears to be properly set up, per {{tl|Shelf:Page?}}. If not, adds the current page to [[:{{BOOKCATEGORY}}/Attention needed]], generates a text message, and provides a [[Template:Query button|button]] to create/repair the shelf page via ordinary editing of a wikipage. A contemplated upgrade would detect availability of [[Help:dialog|dialog]] and replace the editing button with one for a dialog-based assistant.
Another contemplated upgrade is to check that the shelf page responds to a <code>parents</code> query with a non-empty list.
=== See also ===
* {{tl|Shelf:Editintro format}}
* {{tl|Shelf:Editintro}}
* {{tl|Shelf:Preload}}
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
{{BookCat}}
</includeonly>
3h68xqrxfh6pxqlg49nhtdh8ianfhc4
ਫਰਮਾ:Shelf:Page?
10
3186
5953
2023-10-12T07:22:13Z
Kuldeepburjbhalaike
1880
"{{#ifeq:{{:Shelf:{{{1}}}|ping}}|Shelf:Page|x|}}<noinclude> {{Documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{#ifeq:{{:Shelf:{{{1}}}|ping}}|Shelf:Page|x|}}<noinclude>
{{Documentation}}
</noinclude>
eln4wg1dtt0bpkok6yq0ne7sdbma1at
ਫਰਮਾ:Shelf:Page?/doc
10
3187
5954
2023-10-12T07:23:05Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> === Usage === This template takes one unnamed parameter, and looks for a shelf with that name. Returns non-blank only if the shelf page exists and is apparently properly set up. === Internals === This template pings the shelf page, and checks for the correct response by {{tl|Shelf:Page}}. The correct ping res..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
=== Usage ===
This template takes one unnamed parameter, and looks for a shelf with that name. Returns non-blank only if the shelf page exists and is apparently properly set up.
=== Internals ===
This template pings the shelf page, and checks for the correct response by {{tl|Shelf:Page}}. The correct ping response cannot result if the shelf doesn't exist, and is wildly unlikely if the shelf page isn't properly set up. This template does not use the <code>[[mw:Help:Extension:ParserFunctions#ifexist limits|#ifexist:]]</code> magic word.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
{{BookCat}}
</includeonly>
6xot7aajkw8aici4dx0wg6mv9fe5uxp
ਫਰਮਾ:Shelf:Page
10
3188
5955
2023-10-12T07:23:51Z
Kuldeepburjbhalaike
1880
"<includeonly>{{#switch: {{#if:{{{1|}}}|{{{1}}}|{{evalx|(if (equal? (get-substring (get-arg 2) 1 6) "Shelf:") "" "parents")|{{PAGENAME}}}}}} | ping = Shelf:Page | = {{#invoke:TScope|override|Shelf:Page/display|shelf={{evalx|(get-substring (get-arg 2) 7)|{{PAGENAME}}}}}} | #default = ("{{{parent}}}" {{#if:{{{parent2|}}}|"{{{parent2}}}"}}) }}</includeonly><noinclude> {{documentation}} </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<includeonly>{{#switch: {{#if:{{{1|}}}|{{{1}}}|{{evalx|(if (equal? (get-substring (get-arg 2) 1 6) "Shelf:") "" "parents")|{{PAGENAME}}}}}}
| ping = Shelf:Page
| = {{#invoke:TScope|override|Shelf:Page/display|shelf={{evalx|(get-substring (get-arg 2) 7)|{{PAGENAME}}}}}}
| #default = ("{{{parent}}}" {{#if:{{{parent2|}}}|"{{{parent2}}}"}})
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
3g81gh4kq78wt78hhtejd2lpbq5l7ie
ਫਰਮਾ:Shelf:Page/doc
10
3189
5956
2023-10-12T07:30:46Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} {{possible-risk}} <!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. --> === Usage === Use this template on a shelf page in the [[{{BOOKNAME}}]]; everything on the shelf page ''other'' than the template call should be <code>noinclude</code>d. The template primarily performs one of two functions. It can provide a detailed display of information about the shelf, inc..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
{{possible-risk}}
<!-- Please add categories and interwikis to the bottom of this page, and also add interwikis to Wikidata. -->
=== Usage ===
Use this template on a shelf page in the [[{{BOOKNAME}}]]; everything on the shelf page ''other'' than the template call should be <code>noinclude</code>d.
The template primarily performs one of two functions. It can provide a detailed display of information about the shelf, including its description, its parents, its children (immediate subshelves), and all the books on the shelf or any of its descendants classified by stage of completion; or, it can provide a [[Module:Wikilisp|wikilisp]]-formatted list of parents of the shelf. The parentage function is performed whenever the shelf page is transcluded onto any page whose <code>PAGENAME</code> does not have prefix <code>Shelf:</code>, and also when invoked by unnamed parameter (below). Only if <code>PAGENAME</code> has the prefix ''and'' is not overridden by parameter, the template performs its display function.
Parents can be either shelves or departments (the top-level classifications of books in the Wikibooks Stacks). The corresponding template for departments is {{tl|Department:Page}}.
===Parameters===
*<code>parent</code>: specifies a parent shelf or department, of which this shelf is a subset.
*<code>parent2</code>: optional, specifies a second parent shelf or department.
*<code>description</code>: specifies the description of the subject matter the shelf covers.
*<code>namespace</code>: optional, specifies which namespace should be searched through for books; defaults to the main namespace.
*<code>1</code>: needs to be passed through from the shelf page to this template, otherwise it would not be possible for a transcluding page to override the display function.
Cosmetic parameters, less often used:
*<code>maxcount</code>: optional, specifies a requested maximum length of the book lists; default is the maximum supported directly by the extension (as of this writing, 200); request a larger number if it may be required for this shelf; see {{tl|DPL}}.
*<code>theme</code>: optional, specifies the {{tl|Robox}} theme for the description box; defaults to 15.
*<code>theme2</code>: optional, specifies the {{tl|Robox}} theme for the books box; defaults to 3.
*<code>icon</code>: optional, specifies the logo displayed in the description box without the <code>File:</code> included; defaults to the Wikibooks logo.
*<code>iconwidth</code>: optional, specifies the width of the logo displayed in the description box with <code>px</code> included; defaults to 45px.
===Copy-paste===
{| class="wikitable"
!Commonly-used || Full
|- style="vertical-align:top;"
|<pre>
{{Shelf:Page
|parent=
|description=
|1={{{1|}}}
}}
</pre>
|<pre>
{{Shelf:Page
|parent=
|parent2=
|description=
|namespace=
|1={{{1|}}}
|maxcount=
|theme=
|theme2=
|icon=
|iconwidth=
}}
</pre>
|}
===Internals===
This template itself determines which sort of information request is being made, and either provides information directly, or delegates the display function to {{nowrap|{{tl|Shelf:Page/display}}}}. Delegation is done using [[Module:TScope#override]], so that the subtemplate can tell which parameters were not provided, in order to supply default values for them.
When the transcluding page has <code>PAGENAME</code> prefix <code>Shelf:</code> and is not overridden by a non-blank first unnamed parameter, this template delegates to produce a full display. If the first unnamed parameter is <code>ping</code>, this template returns <code>Shelf:Page</code>. Otherwise, it produces a list of quoted strings, suitable for parsing via {{tl|evalx}}. Before attempting to extract the parents this way, a calling page should verify correct format of the result by checking that {{tl|evalx}} recognized the result as a non-empty list; if the format doesn't verify, the caller should report the problem to {{nowrap|[[:{{BOOKCATEGORY}}/Attention needed]]}}.
The maximum number of parents per shelf is meant to be hardcoded only into this template and its subtemplates; if one ever needed to adjust that maximum, they ''should'' be the only templates directly involved. See also {{tl|Shelf:Map}}.
<includeonly>
<!-- Categories and interwikis go here, and interwikis also go on Wikidata. -->
{{BookCat}}
</includeonly>
1zyqw3f78m3n2a70tzsxe59qfkr8x2i
ਫਰਮਾ:Color
10
3190
5957
2023-10-12T07:32:46Z
Kuldeepburjbhalaike
1880
"<span style="color:{{{1}}};{{<includeonly>safesubst:</includeonly>#if:{{{3|}}}|background-color:{{{3}}};|}}">{{{2}}}</span><noinclude> {{Documentation}} <!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> </noinclude>" ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
<span style="color:{{{1}}};{{<includeonly>safesubst:</includeonly>#if:{{{3|}}}|background-color:{{{3}}};|}}">{{{2}}}</span><noinclude>
{{Documentation}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
cjg1rrhcnjtktjfa49gm8px5090paux
ਫਰਮਾ:Color/doc
10
3191
5958
2023-10-12T07:33:42Z
Kuldeepburjbhalaike
1880
"{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> == Usage == <code>{{tlx|color|red|Hello, world!}}</code> results in {{color|red|Hello, world!}} <code>{{tlx|color|#00F000|Hello, world!}}</code> results in {{color|#00F000|Hello, world!}} See [[w:Web colors|Web colors]] for a list of colors. <includeonly> <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> Category:Text color templates|{{PAGENAME}..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
== Usage ==
<code>{{tlx|color|red|Hello, world!}}</code> results in {{color|red|Hello, world!}}
<code>{{tlx|color|#00F000|Hello, world!}}</code> results in {{color|#00F000|Hello, world!}}
See [[w:Web colors|Web colors]] for a list of colors.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Text color templates|{{PAGENAME}}]]
</includeonly>
8itprdkk31kqmqy4vu2xh4j31b0v7yd