Help:Templates: Difference between revisions

Jump to navigation Jump to search
639 bytes added ,  16:39, 26 September 2021
no edit summary
(Created page with " == Column 2, 3, 4 == If you want to make column then first you have to use Template:Col-2, Template:Col-3, and Template:Col-4 with in Template:Col-begin and [...")
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Book Cover ==
[[Template:BookCover]] is used to created front page on the book. Instead editor, you can also use author. The default title, editor, author size is 16px.
'''Example''':
<pre>
{{BookCover
|cover_image = File:Ardhi-Sadi-Samagra-Title.jpg
|cover_size = 300px
|title = અરધી સદીની વાચનયાત્રા — ભાગ ૧ થી ૪
|title_size = 20px
|editor = મહેન્દ્ર મેઘાણી 
|editor_size = 12px
|row3 = I am 1st row after editor/author
|row4 = I am 2nd row after editor/author
}}
</pre>
'''Output''':
{{BookCover
|cover_image = File:Ardhi-Sadi-Samagra-Title.jpg
|cover_size = 300px
|title = અરધી સદીની વાચનયાત્રા — ભાગ ૧ થી ૪
|title_size = 20px
|editor = મહેન્દ્ર મેઘાણી 
|editor_size = 10px
|row3 = I am 1st row after editor/author
|row4 = I am 2nd row after editor/author
}}


== Column 2, 3, 4 ==
== Column 2, 3, 4 ==
Line 5: Line 33:
{{col-begin}}
{{col-begin}}
{{col-3}}
{{col-3}}
* [[સત્યના_પ્રયોગો_અથવા_આત્મકથા/ભાગ પહેલો:૧. જન્મ|૧. જન્મ]]
* [[A]]
* [[સત્યના_પ્રયોગો_અથવા_આત્મકથા/ભાગ પહેલો:૨. બચપણ|૨. બચપણ]]
* [[B]]
* [[સત્યના_પ્રયોગો_અથવા_આત્મકથા/ભાગ પહેલો:૩. બાળવિવાહ|૩. બાળવિવાહ]]
* [[C]]
{{col-3}}
{{col-3}}
* [[સત્યના_પ્રયોગો_અથવા_આત્મકથા/ભાગ પહેલો:૪. ધણીપણું|૪. ધણીપણું]]
* [[D]]
* [[સત્યના_પ્રયોગો_અથવા_આત્મકથા/ભાગ પહેલો:૫. હાઈસ્કૂલમાં|૫. હાઈસ્કૂલમાં]]
* [[E]]
* [[સત્યના_પ્રયોગો_અથવા_આત્મકથા/ભાગ પહેલો:૬. દુ:ખદ પ્રસંગ—૧|૬. દુ:ખદ પ્રસંગ—૧]]
* [[F]]
{{col-end}}
{{col-end}}


</pre>
</pre>


Output:
'''Output''':
{{col-begin}}
{{col-begin}}
{{col-3}}
{{col-3}}
* [[સત્યના_પ્રયોગો_અથવા_આત્મકથા/ભાગ પહેલો:૧. જન્મ|૧. જન્મ]]
* [[A]]
* [[સત્યના_પ્રયોગો_અથવા_આત્મકથા/ભાગ પહેલો:૨. બચપણ|૨. બચપણ]]
* [[B]]
* [[સત્યના_પ્રયોગો_અથવા_આત્મકથા/ભાગ પહેલો:૩. બાળવિવાહ|૩. બાળવિવાહ]]
* [[C]]
{{col-3}}
{{col-3}}
* [[સત્યના_પ્રયોગો_અથવા_આત્મકથા/ભાગ પહેલો:૪. ધણીપણું|૪. ધણીપણું]]
* [[D]]
* [[સત્યના_પ્રયોગો_અથવા_આત્મકથા/ભાગ પહેલો:૫. હાઈસ્કૂલમાં|૫. હાઈસ્કૂલમાં]]
* [[E]]
* [[સત્યના_પ્રયોગો_અથવા_આત્મકથા/ભાગ પહેલો:૬. દુ:ખદ પ્રસંગ—૧|૬. દુ:ખદ પ્રસંગ—૧]]
* [[F]]
{{col-end}}
{{col-end}}
== Header ==
<pre>
{{header
| title      = [[સત્યના પ્રયોગો અથવા આત્મકથા]]
| author    = મોહનદાસ કરમચંદ ગાંધી
| translator =
| section    = જન્મ
| previous  = [[સત્યના પ્રયોગો અથવા આત્મકથા/પ્રસ્તાવના|પ્રસ્તાવના]]
| next      = [[સત્યના પ્રયોગો અથવા આત્મકથા/ભાગ પહેલો:૨. બચપણ|૨. બચપણ]]
| notes      =
}}
</pre>
'''Output''':
{{header
| title      = [[સત્યના પ્રયોગો અથવા આત્મકથા]]
| author    = મોહનદાસ કરમચંદ ગાંધી
| translator =
| section    = જન્મ
| previous  = [[સત્યના પ્રયોગો અથવા આત્મકથા/પ્રસ્તાવના|પ્રસ્તાવના]]
| next      = [[સત્યના પ્રયોગો અથવા આત્મકથા/ભાગ પહેલો:૨. બચપણ|૨. બચપણ]]
| notes      =
}}
== Box ==
We use divbox template.
Example 1: <nowiki>{{divbox|gray|Lorem ipsum|Lorem ipsum dolor...}}</nowiki>
'''Output 1''': {{divbox|gray|Lorem ipsum|Lorem ipsum dolor...}}
Example 2: <nowiki>{{divbox|radius=10px|navy|Lorem ipsum|Lorem ipsum dolor...}}</nowiki>
'''Output 2''': {{divbox|radius=10px|navy|Lorem ipsum|Lorem ipsum dolor...}}
== Vimeo ==
<pre>
{{#widget:Vimeo|id=8758454}}
</pre>
Output:-
{{#widget:Vimeo|id=8758454}}

Navigation menu