Difference between revisions of "Template:Chapter"

From FBSwiki
Jump to navigation Jump to search
(Undo revision 1223 by Murray (talk))
Tag: Undo
Line 15: Line 15:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
−
</noinclude><includeonly>
+
</noinclude><includeonly>{{Chapter header
−
{{Chapter header
 
 
|Chapter number={{{Chapter number|?}}}
 
|Chapter number={{{Chapter number|?}}}
 
|Chapter title={{PAGENAME}}
 
|Chapter title={{PAGENAME}}
Line 22: Line 21:
 
|Next chapter={{{Next chapter|FBS2e}}}
 
|Next chapter={{{Next chapter|FBS2e}}}
 
}}
 
}}
−
 
+
[[Image:{{{Short name}}}-firstpage.png|right|thumb|link={{FBS pdf link|fbs-{{{Short name}}}}}]]
 
{{{Chapter summary|}}}
 
{{{Chapter summary|}}}
−
 
−
{| border=1 width=100%
 
−
|- valign=top style="padding-top: 0em"
 
−
| width=50% style="padding-left: 0.5em" |
 
−
===Chapter contents===
 
−
{{FBS pdf|PDF|fbs-{{{Short name}}}}} ({{FBS date}})
 
−
{{{Chapter contents}}}
 
−
| width=50% style="padding-left: 0.5em" |
 
−
 
−
=== Teaching Materials ===
 
−
{{#ask: [[Category:Lectures]] [[Chapter::{{PAGENAME}}]] | format=ul}}
 
−
* [[#Additional Exercises|Additional Exercises]]
 
−
 
−
=== Supplemental Information ===
 
−
* [[#Frequently Asked Questions|Frequently Asked Questions]]
 
−
* [[#Errata|Errata]]
 
−
* [[#Python Code|Python Code]]
 
−
* [[#Additional Information|Additional Information]]
 
−
{{#ifeq: {{{First edition URL|None}}} | None | | * [{{{First edition URL}}} First Edition Supplemental Information]}}
 
−
|}
 
−
 
 
[[Category:Chapter]]
 
[[Category:Chapter]]
 
{{#set:
 
{{#set:
Line 50: Line 28:
 
|Previous={{{Previous chapter}}}
 
|Previous={{{Previous chapter}}}
 
|Next={{{Next chapter}}}
 
|Next={{{Next chapter}}}
−
}}
+
}}</includeonly>
−
</includeonly>
 

Revision as of 04:19, 8 April 2024

This is the "Chapter" template. It should be called in the following format:

{{Chapter
|Chapter contents=
|Previous chapter=
|Next chapter=
|Chapter number=
|Shortname=
|First edition URL=
|Chapter summary=
|Chapter synopsis=
}}

Edit the page to see the template text.