האיגוד הישראלי לרפואת משפחה

הבדלים בין גרסאות בדף "תבנית: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=
|Parent Chapter number=
+
|Chapter number=
 
|Sub Chapter number=
 
|Sub Chapter number=
 
}}
 
}}
שורה 12: שורה 12:
 
</noinclude><includeonly>{{#ask:
 
</noinclude><includeonly>{{#ask:
 
[[{{{Book|}}}]]
 
[[{{{Book|}}}]]
|?Image
+
|?תמונה
|?Author
+
|?שם המחבר
 
|sep=;
 
|sep=;
 
|link=none
 
|link=none
שורה 19: שורה 19:
 
|template=Book Header
 
|template=Book Header
 
}}
 
}}
{{#set:Book={{{Book|}}}}}{{#set:Parent Chapter number={{{Chapter number|}}}}}{{#set:Sub Chapter number={{{Sub Chapter number|}}}}}<div class="row">
+
{{#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::{{{Book|}}}]]
+
[[ספר::{{{Book|}}}]]
[[Chapter number::{{{Chapter number|}}}]]
+
[[מספר הפרק::{{{Chapter number|}}}]]
 
|limit=1
 
|limit=1
 
|searchlabel=
 
|searchlabel=
 
|link=none
 
|link=none
}}|Parent Chapter]]
+
}}|פרק ראשי]]</span>
  
  
 
<!-- next sub chapter--><span class="button-link">{{#if:
 
<!-- next sub chapter--><span class="button-link">{{#if:
 
{{#ask:
 
{{#ask:
[[Book::{{{Book|}}}]]
+
[[ספר::{{{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::{{{Book|}}}]]
+
[[ספר::{{{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
}}|Next sub chapter]]
+
}}|תת הפרק הבא]]
 
}}</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::{{{Book|}}}]]
+
[[ספר::{{{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::{{{Book|}}}]]
+
[[ספר::{{{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
}}|Previous chapter]]
+
}}|תת הפרק הקודם]]
 
}}</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|}}}|Table of contents]] > Sub Chapter #{{{Sub Chapter number|}}}: {{FULLPAGENAME}}
+
[[{{{Book|}}}|תוכן עניינים]] > פרק #{{{Chapter number|}}}.{{{Sub Chapter number|}}}: {{FULLPAGENAME}}
 
</div>
 
</div>
 
</div><!-- /breadcrumbs -->
 
</div><!-- /breadcrumbs -->
שורה 76: שורה 76:
 
{{#arraymap:
 
{{#arraymap:
 
{{#ask:
 
{{#ask:
[[Category:Books]]
+
[[Category:ערכים]]
 
[[Sub Chapter::{{FULLPAGENAME}}]]
 
[[Sub Chapter::{{FULLPAGENAME}}]]
 
  |format=list
 
  |format=list
 
  |link=none
 
  |link=none
  |sort=Book number
+
  |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.