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

הבדלים בין גרסאות בדף "תבנית:Book"

מתוך ויקירפואה

מ (גרסה אחת יובאה)
 
 
(4 גרסאות ביניים של 2 משתמשים אינן מוצגות)
שורה 3: שורה 3:
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{ספר
+
{{Book
 
|שם המחבר=
 
|שם המחבר=
 
|תמונה=
 
|תמונה=
שורה 9: שורה 9:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{Book Header|{{FULLPAGENAME}}|{{{תמונה|}}}|{{{שם המחבר|}}}}}{{#arraymap:{{{שם המחבר|}}}|;|x|{{#set:שם המחבר=User:x}}}}{{#set:תמונה=File:{{{תמונה|}}} }}<div class="breadcrumbs wt-color-black-bc">
+
</noinclude><includeonly>{{Book Header|{{FULLPAGENAME}}|{{{תמונה|}}}|{{{שם המחבר|}}}}}{{#arraymap:{{{שם המחבר|}}}|;|x|{{#set:שם המחבר=x}}}}{{#set:תמונה=File:{{{תמונה|}}} }}<div class="breadcrumbs wt-color-black-bc">
 
{{#if:{{#ask:
 
{{#if:{{#ask:
 
[[Category:פרקים]]
 
[[Category:פרקים]]
שורה 17: שורה 17:
 
}}
 
}}
 
</div>
 
</div>
{{#arraymap:
+
<div class="book-category-list">
 
{{#ask:
 
{{#ask:
 
[[Category:פרקים]]
 
[[Category:פרקים]]
 
[[ספר::{{FULLPAGENAME}}]]
 
[[ספר::{{FULLPAGENAME}}]]
  |format=list
+
  |format=ul
  |link=none
+
  |link=all
 
  |sort=מספר הפרק
 
  |sort=מספר הפרק
 
  |order=ascending
 
  |order=ascending
שורה 28: שורה 28:
 
  |limit=100
 
  |limit=100
 
  |sep=;
 
  |sep=;
}}|;|x|: {{#show:x|?מספר הפרק}}. [[x]]|\n}}
+
}}
 +
</div>
 
[[Category:ספרים]]</includeonly>
 
[[Category:ספרים]]</includeonly>

גרסה אחרונה מ־16:50, 24 במרץ 2024

This is the "ספר" template. It should be called in the following format:

{{Book
|שם המחבר=
|תמונה=
}}

Edit the page to see the template text.