Template:Portal: Difference between revisions

Content deleted Content added
m FennecBot moved page Template:שער to Template:Portal
No edit summary
Line 1: Line 1:
<noinclude>{{#cargo_declare:
<noinclude>{{#cargo_declare:
_table=sh_r
_table=portal
|field_section_94340_7=String
|field_section_94340_7=String
|field_section_94340_9=String
|field_section_94340_9=String
|field_section_18753_11=List (;) of String
|field_section_18753_11=List (;) of String
}}
}}</noinclude><includeonly><div class="portal-container">{{#if:{{{featured-image|}}}|[[קובץ:{{{featured-image|}}}|טקסט=|מרכז|לא ממוסגר|1057x1057 פיקסלים|link=|class=fetured-image]]|}}{{#if:{{{field_section_94340_7|}}}{{{field_section_94340_8|}}}|<div class="portal-excerpt mb-5"><div class="mt-0 text-center text-primary-ejppd h1">
<pre>
<nowiki>
{{portal
|featured-image=image.jpg
|field_section_94340_7=Welcome to the portal
|field_section_94340_8=Welcome text
|text-ontop=no
|field_section_18753_11={{Animated tile
|title=All pages
|link=special:AllPages
|icon=copy
}}{{Animated tile
|title=Recent Changes
|link=Special:RecentChanges
|icon=history
}}{{Animated tile
|title=Help Center
|link=openfoxhelp:Getting Started
|icon=life-ring
}}
}}
</nowiki>

==Result==
{{portal
|featured-image=image.jpg
|field_section_94340_7=Welcome to the portal
|field_section_94340_8=Welcome text
|text-ontop=no
|field_section_18753_11={{Animated tile
|title=All pages
|link=special:AllPages
|icon=copy
}}{{Animated tile
|title=Recent Changes
|link=Special:RecentChanges
|icon=history
}}{{Animated tile
|title=Help Center
|link=openfoxhelp:Getting Started
|icon=life-ring
}}
}}
</pre>
</noinclude><includeonly><div class="portal-container">{{#if:{{{featured-image|}}}|{{#if: {{{image in content|}}}|[[קובץ:{{{featured-image|}}}|center|frameless|1057x1057px|link=|class=fetured-image]]|{{#htmlbeforetitle:[[קובץ:{{{featured-image|}}}|center||frameless|600x1960px|link=|class=fetured-image]]}} }}|}}{{#if:{{{field_section_94340_7|}}}{{{field_section_94340_8|}}}|<div class="portal-excerpt mb-5"><div class="mt-0 text-center text-primary-ejppd h1">
{{{field_section_94340_7|}}}
{{{field_section_94340_7|}}}
</div>{{synopsis|1={{{field_section_94340_7|}}}|category=שער}}
</div>{{synopsis|1={{{field_section_94340_7|}}}|category=שער}}
Line 14: Line 59:
</div></div>
</div></div>
{{#cargo_store:
{{#cargo_store:
_table=sh_r
_table=portal
|field_section_94340_7={{{field_section_94340_7|}}}
|field_section_94340_7={{{field_section_94340_7|}}}
|field_section_94340_9={{{field_section_94340_9|}}}
|field_section_94340_9={{{field_section_94340_9|}}}

Revision as of 17:45, 1 December 2021

This template defines the table "portal". This table has not been created yet.


{{portal
|featured-image=image.jpg
|field_section_94340_7=Welcome to the portal
|field_section_94340_8=Welcome text
|text-ontop=no
|field_section_18753_11={{Animated tile
|title=All pages
|link=special:AllPages
|icon=copy
}}{{Animated tile
|title=Recent Changes
|link=Special:RecentChanges
|icon=history
}}{{Animated tile
|title=Help Center
|link=openfoxhelp:Getting Started
|icon=life-ring
}}
}}


==Result==
{{portal
|featured-image=image.jpg
|field_section_94340_7=Welcome to the portal
|field_section_94340_8=Welcome text
|text-ontop=no
|field_section_18753_11={{Animated tile
|title=All pages
|link=special:AllPages
|icon=copy
}}{{Animated tile
|title=Recent Changes
|link=Special:RecentChanges
|icon=history
}}{{Animated tile
|title=Help Center
|link=openfoxhelp:Getting Started
|icon=life-ring
}}
}}