الفرق بين المراجعتين لصفحة: «قالب:Root subject»
تم حذف المحتوى تمت إضافة المحتوى
أنشأ الصفحة ب'<noinclude>==Usage== This template is used on top-level subject pages to list books within that subject's respective category. Use {{tl|subject page}} for regular subjects...' |
ط روبوت: تغييرات تجميلية |
||
سطر 1:
<noinclude>==Usage==
This template is used on top-level subject pages to list books within that subject's respective category.
== Parameters ==
* <tt>description</tt>: specifies the description of the subject area the page will cover
* <tt>featuredbooks</tt>: specifies a list of featured books in the sub-subjects of this top-level subject as an HTML unordered list (<nowiki><ul><li>[[Book]]</li><li>[[Book2]]</li></ul></nowiki>)
* <tt>subject</tt>: optional, specifies the category to look in; defaults to the subject page's name
* <tt>theme</tt>: optional, specifies the {{tl|Robox}} theme for the description box; defaults to 15
* <tt>theme2</tt>: optional, specifies the {{tl|Robox}} theme for the book box; defaults to 3
* <tt>icon</tt>: optional, specifies the logo displayed in the description box without the <tt>File:</tt> included; defaults to the Wikibooks logo
* <tt>iconwidth</tt>: optional, specifies the width of the logo displayed in the description box with <tt>px</tt> included; defaults to 45px
== Copy-paste ==
{| class="wikitable"
!Commonly-used || Full
سطر 34:
|}
{{pp-template}}
[[
== Example ==
</noinclude><span style="font-size:90%;">< [[Subject:Books by subject|Books by subject]]</span>
{| cellspacing="0" cellpadding="0" style="margin:0 0 4px 0; width:100%;"
| style="width:100%; vertical-align:top; border:1px solid {{Robox/C2|{{{theme|15}}}}}; background-color:{{Robox/C1|{{{theme|15}}}}};" | [[
{{{description}}}</div>
|}
سطر 45:
{| cellspacing="0" cellpadding="0" style="width:100%; margin:0em; border:1px solid {{Robox/C2|{{{theme|3}}}}}; background-color:{{Robox/C1|{{{theme|3}}}}};"
|- style="vertical-align:middle; height:1%;"
| style="border-right:1px solid {{Robox/C2|{{{theme2|3}}}}};" | [[
| [[
|- style="vertical-align:top; height:1%;"
| style="padding:0em 0.5em 0.2em 0.5em; border-right:1px solid {{Robox/C2|{{{theme2|3}}}}}; width:50%;" | {{CategoryList|cat={{{subject|{{PAGENAME}}}}}|namespace=Subject}}
| style="vertical-align:top; height:1%; padding:0em 0.5em 0.2em 0.5em; width:50%;" | {{{featuredbooks}}}
|}<includeonly>{{Subjects|Books by subject}}[[
|