Jump to content

Template:ShiurInfobox: Difference between revisions

From Step 4
Create ShiurInfobox template with fields for original shiur link, source sheets, and related topics
 
Fix template: remove ParserFunctions dependency, use plain table rows
Line 2: Line 2:
|-
|-
! colspan="2" style="text-align: center; font-size: 115%; font-weight: bold; background-color: #cce6ff; padding: 0.4em;" | {{{title|{{PAGENAME}}}}}
! colspan="2" style="text-align: center; font-size: 115%; font-weight: bold; background-color: #cce6ff; padding: 0.4em;" | {{{title|{{PAGENAME}}}}}
{{#if:{{{original_shiur|}}}|
|-
|-
! style="background-color: #e6f2ff; padding: 0.2em 0.4em; width: 40%; vertical-align: top;" | Original Shiur
! style="background-color: #e6f2ff; padding: 0.2em 0.4em; width: 40%; vertical-align: top;" | Original Shiur
| style="padding: 0.2em 0.4em; vertical-align: top;" | {{{original_shiur}}}
| style="padding: 0.2em 0.4em; vertical-align: top;" | {{{original_shiur|}}}
}}{{#if:{{{source_sheets|}}}|
|-
|-
! style="background-color: #e6f2ff; padding: 0.2em 0.4em; vertical-align: top;" | Source Sheets
! style="background-color: #e6f2ff; padding: 0.2em 0.4em; vertical-align: top;" | Source Sheets
| style="padding: 0.2em 0.4em; vertical-align: top;" | {{{source_sheets}}}
| style="padding: 0.2em 0.4em; vertical-align: top;" | {{{source_sheets|}}}
}}{{#if:{{{related_topics|}}}|
|-
|-
! style="background-color: #e6f2ff; padding: 0.2em 0.4em; vertical-align: top;" | Related Topics
! style="background-color: #e6f2ff; padding: 0.2em 0.4em; vertical-align: top;" | Related Topics
| style="padding: 0.2em 0.4em; vertical-align: top;" | {{{related_topics}}}
| style="padding: 0.2em 0.4em; vertical-align: top;" | {{{related_topics|}}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
== ShiurInfobox Template ==
== ShiurInfobox Template ==

Revision as of 05:00, 15 June 2026

ShiurInfobox Template

Use this infobox at the top of any shiur page to display a side panel with key reference information.

Usage

Copy and paste the following at the very top of the page:

{{ShiurInfobox
| title          = 
| original_shiur = 
| source_sheets  = 
| related_topics = 
}}

Parameters

  • title – The display title of the shiur. Defaults to the page name if left blank.
  • original_shiur – A link to the original audio, video, or text of the shiur. Example: Listen to Shiur
  • source_sheets – Links or references to source sheets. Can use internal wiki links or external URLs.
  • related_topics – Comma-separated list of related topics. Use wiki links, e.g. Parsha Bamidbar, Leadership

Example

{{ShiurInfobox
| title          = Leadership in Bamidbar
| original_shiur = [https://example.com/audio Listen to Shiur]
| source_sheets  = [[File:Sources.pdf|Source Sheet]]
| related_topics = [[Parsha Bamidbar]], [[Leadership]], [[Moshe Rabbeinu]]
}}