Difference between revisions of "Template:Topic cat"

From iCulturalDiplomacy
Jump to: navigation, search
(fix)
 
(Created page with "{| width="100%" style="background-color:transparent;" | style="text-align:left; width:75%;" valign="top" | This is the category for {{#if:{{{the|}}}|the}} '''{{#ifeq:{{{wikipe...")
Line 2: Line 2:
 
| style="text-align:left; width:75%;" valign="top" |
 
| style="text-align:left; width:75%;" valign="top" |
 
This is the category for {{#if:{{{the|}}}|the}} '''{{#ifeq:{{{wikipedia}}}|no|{{{pipe|{{PAGENAME}}}}}|[[{{{target|w:{{{wikipedia|{{PAGENAME}}}}}}}}|{{{pipe|{{PAGENAME}}}}}]]}}'''{{#if:{{{intro|}}}|{{#if:{{{no comma|}}}|<span/>|,}} {{{intro}}}}}. {{#ifeq:{{{portal|}}}|no|[[Category:Topic cats with suppressed portal link]]{{#ifexist:Portal:{{PAGENAME}}|[[Category:Topic cats with existing portal]]}}|{{#ifexist:Portal:{{{portal|{{PAGENAME}}}}}|See also the '''[[Portal:{{{portal|{{PAGENAME}}}}}|{{{portal|{{PAGENAME}}}}} Portal]]'''.[[Category:Topic cats with existing portal]]}}}} [[File:Feed-icon.svg|18px|link=https://en.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom&categories=Published%7C{{PAGENAMEE}}&notcategories=No%20publish%7Cdisputed&namespace=0&count=15&ordermethod=categoryadd&stablepages=only]]{{#if:{{{usage note|}}}|<nowiki/>
 
This is the category for {{#if:{{{the|}}}|the}} '''{{#ifeq:{{{wikipedia}}}|no|{{{pipe|{{PAGENAME}}}}}|[[{{{target|w:{{{wikipedia|{{PAGENAME}}}}}}}}|{{{pipe|{{PAGENAME}}}}}]]}}'''{{#if:{{{intro|}}}|{{#if:{{{no comma|}}}|<span/>|,}} {{{intro}}}}}. {{#ifeq:{{{portal|}}}|no|[[Category:Topic cats with suppressed portal link]]{{#ifexist:Portal:{{PAGENAME}}|[[Category:Topic cats with existing portal]]}}|{{#ifexist:Portal:{{{portal|{{PAGENAME}}}}}|See also the '''[[Portal:{{{portal|{{PAGENAME}}}}}|{{{portal|{{PAGENAME}}}}} Portal]]'''.[[Category:Topic cats with existing portal]]}}}} [[File:Feed-icon.svg|18px|link=https://en.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom&categories=Published%7C{{PAGENAMEE}}&notcategories=No%20publish%7Cdisputed&namespace=0&count=15&ordermethod=categoryadd&stablepages=only]]{{#if:{{{usage note|}}}|<nowiki/>
 
{{{usage note}}}}}
 
 
{{#if:{{{nolist|}}}||==={{#ifexpr: {{{offset|0}}} > 0 |Past|Latest}} stories===
 
{{Refresh|Refresh this list}} to see the latest articles.
 
{{Topic cat/latest|{{{category|{{PAGENAME}}}}}|offset={{{offset|0}}}|scrollable={{{offset|}}}}}
 
}}
 
{{#ifexpr:{{PAGESINCAT:{{PAGENAME}}|R}} > 400|=== All articles ===
 
You can also browse through all articles in this category alphabetically.
 
<includeonly><div align="center">
 
{{CategoryTOC}}
 
</div>__NOEDITSECTION__
 
</includeonly>|}}
 
| style="padding-left:1em;border-right:1px dotted silver;"|
 
| style="padding-left:1em; text-align:left; width:25%;" valign="top" |
 
''From Wikinews, the free news source you can write.''
 
----
 
{{#if:{{{image|}}}|[[File:{{{image}}}|center|250px|{{{imagecaption|{{PAGENAME}}}}}]]
 
{{#if:{{{imagecaption|}}}|<p style="text-align:right; font-size:75%;">
 
{{{imagecaption}}}
 
</p>|{{clr}}}}
 
----|}}{{#if:{{{locmap|{{{coat|{{{seal|{{{flag|}}}}}}}}}}}}|
 
<div style="-moz-column-count:2; column-count:2;">
 
{{#if:{{{locmap|}}}|[[File:{{{locmap}}}|125px|center|Location map of {{PAGENAME}}.]]}}
 
{{#if:{{{coat|}}}|[[File:{{{coat}}}|80px|center|Coat of arms of {{PAGENAME}}.]]}}
 
{{#if:{{{emblem|}}}|[[File:{{{emblem}}}|80px|center|Emblem of {{PAGENAME}}.]]}}
 
{{#if:{{{seal|}}}|[[File:{{{seal}}}|80px|center|Seal of {{PAGENAME}}.]]}}
 
{{#if:{{{flag|}}}|[[File:{{{flag}}}|125px|center|Flag of {{PAGENAME}}.]]}}
 
</div>
 
----
 
}}{{#ifeq:{{{sisterprojects|no}}}|no||{{Infosection|name='''Sister projects'''|1=
 
<div style="-moz-column-count:2; column-count:2;">{{#if:{{{wikibooks|}}}|<nowiki/>
 
* {{nowrap|[[File:Wikibooks-logo.svg|15px|link=b:{{{wikibooks}}}]] [[b:{{{wikibooks}}}|Wikibooks]]}}}}{{#ifeq:{{{commons}}}|no||<nowiki/>
 
* {{nowrap|[[File:Commons-logo.svg|15px|link=commons:{{{commons|{{PAGENAME}}}}}]] [[commons:{{{commons|{{PAGENAME}}}}}|Commons]]}}}}{{#if:{{{wikidata|}}}|<nowiki/>
 
* {{nowrap|[[File:Wikidata-logo.svg|15px|link=d:{{{wikidata}}}]] [[d:{{{wikidata}}}|Wikidata]]}}}}{{#if:{{{meta|}}}|<nowiki/>
 
* {{nowrap|[[File:Wikimedia Community Logo optimized.svg|15px|link=meta:{{{meta}}}]] [[meta:{{{meta}}}|Meta-Wiki]]}}}}{{#ifeq:{{{wikipedia}}}|no||<nowiki/>
 
* {{nowrap|[[File:Wikipedia-logo-v2.svg|15px|link=w:{{{wikipedia|{{PAGENAME}}}}}]] [[w:{{{wikipedia|{{PAGENAME}}}}}|Wikipedia]]}}}}{{#if:{{{wikiquote|}}}|<nowiki/>
 
* {{nowrap|[[File:Wikiquote-logo.svg|15px|link=q:{{{wikiquote}}}]] [[q:{{{wikiquote}}}|Wikiquote]]}}}}{{#if:{{{wikisource|}}}|<nowiki/>
 
* {{nowrap|[[File:Wikisource-logo.svg|15px|link=s:{{{wikisource}}}]] [[s:{{{wikisource}}}|Wikisource]]}}}}{{#if:{{{wiktionary|}}}|<nowiki/>
 
* {{nowrap|[[File:Wiktionary-logo.svg|15px|link=wikt:{{{wiktionary}}}]] [[wikt:{{{wiktionary}}}|Wiktionary]]}}}}{{#if:{{{wikiversity|}}}|<nowiki/>
 
* {{nowrap|[[File:Wikiversity-logo.svg|15px|link=v:{{{wikiversity}}}]] [[v:{{{wikiversity}}}|Wikiversity]]}}}}{{#if:{{{wikivoyage|}}}|<nowiki/>
 
* {{nowrap|[[File:Wikivoyage-Logo-v3-icon.svg|15px|link=voy:{{{wikivoyage}}}]] [[voy:{{{wikivoyage}}}|Wikivoyage]]}}}}
 
</div>
 
}}
 
----
 
}}
 
{{#if:{{{external|}}}|{{Infosection|name='''External links'''|1=
 
{{{external}}}
 
----}}
 
}}
 
|}{{#if:{{{offset|}}}|[[Category:Topic cats with offset parameter]]}}
 
<noinclude>{{Documentation}}</noinclude>
 

Revision as of 14:14, 12 October 2015

This is the category for Topic cat. 18px{{#if:|