הבדלים בין גרסאות בדף "תבנית:Sub Chapter"
מתוך ויקירפואה
(יצירת דף עם התוכן "<noinclude> -This is the "Sub Chapter" template. It should be called in the following format: <pre> {{Chapter |Book= |Parent Chapter number= |Sub Chapter number=...") |
|||
(7 גרסאות ביניים של אותו משתמש אינן מוצגות) | |||
שורה 5: | שורה 5: | ||
{{Chapter | {{Chapter | ||
|Book= | |Book= | ||
− | | | + | |Chapter number= |
|Sub Chapter number= | |Sub Chapter number= | ||
}} | }} | ||
שורה 12: | שורה 12: | ||
</noinclude><includeonly>{{#ask: | </noinclude><includeonly>{{#ask: | ||
[[{{{Book|}}}]] | [[{{{Book|}}}]] | ||
− | |? | + | |?תמונה |
− | |? | + | |?שם המחבר |
|sep=; | |sep=; | ||
|link=none | |link=none | ||
שורה 19: | שורה 19: | ||
|template=Book Header | |template=Book Header | ||
}} | }} | ||
− | {{#set: | + | {{#set:ספר={{{Book|}}}}}{{#set:Parent Chapter number={{{Chapter number|}}}}}{{#set:Sub Chapter number={{{Sub Chapter number|}}}}}<div class="row"> |
<div class="col-sm-3" style="text-align: left;"> | <div class="col-sm-3" style="text-align: left;"> | ||
<span class="button-link"> | <span class="button-link"> | ||
[[{{#ask: | [[{{#ask: | ||
− | [[ | + | [[ספר::{{{Book|}}}]] |
− | [[ | + | [[מספר הפרק::{{{Chapter number|}}}]] |
|limit=1 | |limit=1 | ||
|searchlabel= | |searchlabel= | ||
|link=none | |link=none | ||
− | }}| | + | }}|פרק ראשי]]</span> |
<!-- next sub chapter--><span class="button-link">{{#if: | <!-- next sub chapter--><span class="button-link">{{#if: | ||
{{#ask: | {{#ask: | ||
− | [[ | + | [[ספר::{{{Book|}}}]] |
[[Parent Chapter number::{{{Chapter number|}}}]] | [[Parent Chapter number::{{{Chapter number|}}}]] | ||
[[Sub Chapter number::{{#expr:{{{Sub Chapter number|}}}+1}}]] | [[Sub Chapter number::{{#expr:{{{Sub Chapter number|}}}+1}}]] | ||
שורה 41: | שורה 41: | ||
}} | }} | ||
|<!-- then -->[[{{#ask: | |<!-- then -->[[{{#ask: | ||
− | [[ | + | [[ספר::{{{Book|}}}]] |
[[Parent Chapter number::{{{Chapter number|}}}]] | [[Parent Chapter number::{{{Chapter number|}}}]] | ||
[[Sub Chapter number::{{#expr:{{{Sub Chapter number|}}}+1}}]] | [[Sub Chapter number::{{#expr:{{{Sub Chapter number|}}}+1}}]] | ||
שורה 47: | שורה 47: | ||
|searchlabel= | |searchlabel= | ||
|link=none | |link=none | ||
− | }}| | + | }}|תת הפרק הבא]] |
}}</span><!-- /next chapter--> | }}</span><!-- /next chapter--> | ||
<!-- prev sub chapter--><span class="button-link">{{#if: | <!-- prev sub chapter--><span class="button-link">{{#if: | ||
{{#ask: | {{#ask: | ||
− | [[ | + | [[ספר::{{{Book|}}}]] |
[[Parent Chapter number::{{{Chapter number|}}}]] | [[Parent Chapter number::{{{Chapter number|}}}]] | ||
[[Sub Chapter number::{{#expr:{{{Sub Chapter number|}}}-1}}]] | [[Sub Chapter number::{{#expr:{{{Sub Chapter number|}}}-1}}]] | ||
שורה 59: | שורה 59: | ||
|<!-- then --> | |<!-- then --> | ||
[[{{#ask: | [[{{#ask: | ||
− | [[ | + | [[ספר::{{{Book|}}}]] |
[[Parent Chapter number::{{{Chapter number|}}}]] | [[Parent Chapter number::{{{Chapter number|}}}]] | ||
[[Sub Chapter number::{{#expr:{{{Sub Chapter number|}}}-1}}]] | [[Sub Chapter number::{{#expr:{{{Sub Chapter number|}}}-1}}]] | ||
שורה 65: | שורה 65: | ||
|searchlabel= | |searchlabel= | ||
|link=none | |link=none | ||
− | }}| | + | }}|תת הפרק הקודם]] |
}}</span><!-- /prev sub chapter--> | }}</span><!-- /prev sub chapter--> | ||
</div> | </div> | ||
<!-- breadcrumbs --><div class="col-sm-9"> | <!-- breadcrumbs --><div class="col-sm-9"> | ||
<div class="breadcrumbs wt-color-black-bc"> | <div class="breadcrumbs wt-color-black-bc"> | ||
− | [[{{{Book|}}}| | + | [[{{{Book|}}}|תוכן עניינים]] > פרק #{{{Chapter number|}}}.{{{Sub Chapter number|}}}: {{FULLPAGENAME}} |
</div> | </div> | ||
</div><!-- /breadcrumbs --> | </div><!-- /breadcrumbs --> | ||
שורה 76: | שורה 76: | ||
{{#arraymap: | {{#arraymap: | ||
{{#ask: | {{#ask: | ||
− | [[Category: | + | [[Category:ערכים]] |
[[Sub Chapter::{{FULLPAGENAME}}]] | [[Sub Chapter::{{FULLPAGENAME}}]] | ||
|format=list | |format=list | ||
|link=none | |link=none | ||
− | |sort= | + | |sort=מספר הערך |
|order=ascending | |order=ascending | ||
|searchlabel= | |searchlabel= |
גרסה אחרונה מ־19:13, 1 במרץ 2021
-This is the "Sub Chapter" template. It should be called in the following format:
{{Chapter |Book= |Chapter number= |Sub Chapter number= }}
Edit the page to see the template text.