7,180
edits
Changes
Created page with "<noinclude> == Usage == Generates content for a Card of the Day panel on the Main page. There are no parameters. == Example == The following shorthand: <pre><nowiki> {{fle..."
<noinclude>
== Usage ==
Generates content for a Card of the Day panel on the Main page.
There are no parameters.
== Example ==
The following shorthand:
<pre><nowiki>
{{flexbox-header}}
<!-- FIRST COLUMN -->
{{flexbox-item-header|order=1|style=width:40%;margin:10px 0.5% 10px 0; flex:1 auto;}}
{{Main page chunk| bgcolor=#FFF7FC| headcolor=#F4E0E0
| title = Card of the Day
| content = {{Card of the day}}
}}
{{flexbox-footer}}
{{flexbox-footer}}
</nowiki></pre>
Produces:
{{flexbox-item-header|order=1|style=width:40%;margin:10px 0.5% 10px 0; flex:1 auto;}}
{{Main page chunk| bgcolor=#FFF7FC| headcolor=#F4E0E0
| title = Card of the Day
| content = {{Card of the day}}
}}
{{flexbox-footer}}
{{flexbox-footer}}
</noinclude><includeonly><div id="CardOfTheDay" style="width: 277px; margin: 0 auto;">
{{Card panel|Abbot of Keral Keep}}
</div></includeonly>
== Usage ==
Generates content for a Card of the Day panel on the Main page.
There are no parameters.
== Example ==
The following shorthand:
<pre><nowiki>
{{flexbox-header}}
<!-- FIRST COLUMN -->
{{flexbox-item-header|order=1|style=width:40%;margin:10px 0.5% 10px 0; flex:1 auto;}}
{{Main page chunk| bgcolor=#FFF7FC| headcolor=#F4E0E0
| title = Card of the Day
| content = {{Card of the day}}
}}
{{flexbox-footer}}
{{flexbox-footer}}
</nowiki></pre>
Produces:
{{flexbox-item-header|order=1|style=width:40%;margin:10px 0.5% 10px 0; flex:1 auto;}}
{{Main page chunk| bgcolor=#FFF7FC| headcolor=#F4E0E0
| title = Card of the Day
| content = {{Card of the day}}
}}
{{flexbox-footer}}
{{flexbox-footer}}
</noinclude><includeonly><div id="CardOfTheDay" style="width: 277px; margin: 0 auto;">
{{Card panel|Abbot of Keral Keep}}
</div></includeonly>