Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Editing Template:Portal/Layout

Template page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 97: Line 97:
<div class="portal-hero-content"><div class="portal-hero-caption"></div></div>
<div class="portal-hero-content"><div class="portal-hero-caption"></div></div>
<div class="portal-hero-nav"><span class="portal-hero-prev" role="button" tabindex="0" aria-label="Previous image">&#x2039;</span><span class="portal-hero-dots"></span><span class="portal-hero-next" role="button" tabindex="0" aria-label="Next image">&#x203a;</span></div>
<div class="portal-hero-nav"><span class="portal-hero-prev" role="button" tabindex="0" aria-label="Previous image">&#x2039;</span><span class="portal-hero-dots"></span><span class="portal-hero-next" role="button" tabindex="0" aria-label="Next image">&#x203a;</span></div>
<div class="portal-hero-footer">{{#if:{{{image_category|}}}|[https://media.battlestarwiki.org/Category:{{urlencode:{{{image_category|}}}|PATH}} Browse gallery ↗]|}}</div>
</div><!--/#portal-widget-slider-->
</div><!--/#portal-widget-slider-->
}}
}}
Line 103: Line 104:
<div class="portal-widget" id="portal-widget-newest">
<div class="portal-widget" id="portal-widget-newest">
<div class="portal-widget-head"><span class="portal-widget-title">Newest article{{#if:{{{newest_category|}}}|&#32;— [[Portal:{{{pagename}}}|{{{title}}}]]}}</span><span class="portal-widget-edit">[[Special:NewPages|browse all]]</span></div>
<div class="portal-widget-head"><span class="portal-widget-title">Newest article{{#if:{{{newest_category|}}}|&#32;— [[Portal:{{{pagename}}}|{{{title}}}]]}}</span><span class="portal-widget-edit">[[Special:NewPages|browse all]]</span></div>
<div class="portal-widget-body"><div class="portal-newest-inner" data-category="{{{newest_category|}}}"><!-- populated by portal JS --></div></div>
<div class="portal-widget-body"><div class="portal-newest-inner"{{#if:{{{newest_category|}}}|&#32;data-category="{{{newest_category}}}"}}><!-- populated by portal JS --></div></div>
{{#if:{{{newest_category|}}}|<div class="portal-widget-foot"><span>Filtered to [[:Category:{{{newest_category|}}}]]</span>[[Special:NewPages|See all new articles →]]</div>}}
{{#if:{{{newest_category|}}}|<div class="portal-widget-foot"><span>Filtered to [[:Category:{{{newest_category|}}}]]</span>[[Special:NewPages|See all new articles →]]</div>}}
</div><!--/#portal-widget-newest-->
</div><!--/#portal-widget-newest-->
Line 183: Line 184:
}}
}}


{{#if:{{{browse_topics|}}}|
{{#if:{{{categories|}}}|
<div class="portal-widget" id="portal-widget-browse">
<div class="portal-widget" id="portal-widget-categories">
<div class="portal-widget-head"><span class="portal-widget-title">Browse by topic</span></div>
<div class="portal-widget-head"><span class="portal-widget-title">Categories</span>[[Portal:{{{pagename}}}/Categories|<span class="portal-widget-edit">[edit]</span>]]</div>
<div class="portal-widget-body"><div class="portal-browse-bar">{{{browse_topics}}}</div></div>
<div class="portal-widget-body">{{{categories}}}</div>
</div><!--/#portal-widget-browse-->
</div><!--/#portal-widget-categories-->
}}
}}


Line 197: Line 198:
}}
}}


{{#if:{{{show_podcasts|yes}}}|{{#ifexist:Portal:{{{pagename}}}/Podcasts|
{{#if:{{{podcasts|}}}|
<div class="portal-widget" id="portal-widget-podcasts">
<div class="portal-widget" id="portal-widget-podcasts">
<div class="portal-widget-head"><span class="portal-widget-title">Episode podcasts</span>[[Portal:{{{pagename}}}/Podcasts|<span class="portal-widget-edit">[browse]</span>]]</div>
<div class="portal-widget-head"><span class="portal-widget-title">Episode podcasts</span>[[Portal:{{{pagename}}}/Podcasts|<span class="portal-widget-edit">[edit]</span>]]</div>
<div class="portal-widget-body"><div class="portal-podcast-teaser">Episode podcasts — from cast, crew, and producers — are available for all seasons. [[Portal:{{{pagename}}}/Podcasts|Browse all episode podcasts →]]</div></div>
<div class="portal-widget-body">{{{podcasts}}}</div>
</div><!--/#portal-widget-podcasts-->
</div><!--/#portal-widget-podcasts-->
|}}}}
}}


</div><!--/.portal-sidebar-->
</div><!--/.portal-sidebar-->

To edit this page, please enter the words that appear below in the box (more info):

Refresh
Cancel Editing help (opens in new window)

  [] · [[]] · [[|]] · {{}} · · “” ‘’ «» ‹› „“ ‚‘ · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
     [[Category:]] · [[:File:]] · [[Special:MyLanguage/]] · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <syntaxhighlight></syntaxhighlight> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · <translate></translate> · <languages/> · {{#translation:}} · <tvar|></> · {{DEFAULTSORT:}} · <categorytree></categorytree> · <div style="clear:both;"></div> <s></s>


Your changes will be visible immediately.
  • For testing, please use the sandbox instead.
  • On talk pages, please sign your comment by typing four tildes (~~~~).

Pages included on this page: