Template:Prayer: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 155: Line 155:


=== Notes ===
=== Notes ===
* - The Cargo table `Prayers` is defined when this template is saved. If the table doesn’t appear in Special:CargoTables, use Special:CreateCargoTable with the #cargo_declare code or transclude on a setup page (e.g., PrayersSetup).
* The Cargo table `Prayers` is defined when this template is saved. If the table doesn’t appear in Special:CargoTables, use Special:CreateCargoTable with the #cargo_declare code or transclude on a setup page (e.g., PrayersSetup).
* - Use [[Form:Prayer]] for easy data entry.
* Use [[Form:Prayer]] for easy data entry.
* - Query the table using {{#cargo_query:tables=Prayers}} with LIKE for Text fields (e.g., where=Purpose LIKE '%Petition%').
* Query the table using {{#cargo_query:tables=Prayers}} with LIKE for Text fields (e.g., where=Purpose LIKE '%Petition%').
* - The prayer text is displayed below the infobox, without a blockquote, as plain text.
* The prayer text is displayed below the infobox, without a blockquote, as plain text.
* - The infobox uses the `{{Infobox}}` template for a cleaner, standardized appearance.
* The infobox uses the `{{Infobox}}` template for a cleaner, standardized appearance.
* - If errors persist, check Cargo version (3.0+ recommended) and permissions in LocalSettings.php.
* If errors persist, check Cargo version (3.0+ recommended) and permissions in LocalSettings.php.
*  
*  
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>