سانچو:Show/دستاويز
ڏيک
| هي سانچي جي دستاويزڪاري جو ذيلي صفحو آهي، جيڪو سانچي جي دستاويزڪاري جي ذيلي صفحي سان ڳنڍيل آهي۔ (سانچو بابت وڌيڪ تفصيل لاءِ ان جو اصل صفحو ڏسو) جنهن ۾ استعمال جو طريقو، زمرا ، بين الوڪي تعلق ۽ ٻيو مواد شامل آهي جيڪو خود سانچو ۾ شامل ناهي۔ |
This template is for use when you wish to minimise information to be expanded at the user's discretion.
Usage
[سنواريو]This usage:
{{show
|Header!
|Content!
This information here will not show until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.}}
Yields this output:
Header!
Content!
This information here will not show until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.
To use this in a table:
{| class="wikitable" width=300px
|-
|
{{show
|هيڊر!
|مواد!
هي ڄاڻ هتي نظر نه ايندي جيستائين توهان "show" بٽڻ تي ڪلڪ نه ڪندا. پوءِ جڏهن توهان "hide" بٽڻ تي ڪلڪ ڪندا ته اهو حصو ٻيهر لڪي ويندو.}}
|}
...هي نتيجو ڏئي ٿو:
|
هيڊر!
مواد!
هي ڄاڻ هتي نظر نه ايندي جيستائين توهان "show" بٽڻ تي ڪلڪ نه ڪندا. پوءِ جڏهن توهان "hide" بٽڻ تي ڪلڪ ڪندا ته اهو حصو ٻيهر لڪي ويندو. |
The alignment of the header text and content text can be manipulated using the parameters |headalign= and |textalign=. For example, the usage
{| class="wikitable" width=300px
|-
|
{{show
|Header!
|Content!
|headalign=center
|textalign=right}}
|-
|}
yields the output
|
Header!
Content!
|
Note that you should not put the alignment parameters in quotes (i.e., you should not use "center", but just center, or the color of the header may change. Also, while headalign=right is possible, it causes the header to overlap with the [show] button.