« Modèle:Localized link » : différence entre les versions

De wikarphy
Well... this didn't work actually, mw was smarter than me :( return the hidden span
ucfirst pagename
Ligne 1 : Ligne 1 :
{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)-->
{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)-->
   |<b>
   |<b>
}}[[Special:MyLanguage/{{{1}}}|{{{2|{{#ifexist:Translations:{{{1}}}/Page display title/en
}}[[Special:MyLanguage/{{{1}}}|{{{2|{{#ifexist:Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page display title/en
   |{{#if:{{{nsp|}}}
   |{{#if:{{{nsp|}}}
     |{{PAGENAME:{{ {{TNTN|Translations:{{{1}}}/Page_display_title}} }} }}
     |{{PAGENAME:{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} }} }}
     |{{ {{TNTN|Translations:{{{1}}}/Page_display_title}} }}
     |{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} }}
   }}|{{#if:{{{nsp|}}}
   }}|{{#if:{{{nsp|}}}
     |{{PAGENAME:{{{1}}}}}
     |{{PAGENAME:{{{1}}}}}

Version du 25 novembre 2018 à 04:13

{{#ifeq:|

 |

}}[[Special:MyLanguage/{{{1}}}|{{#ifexist:Translations:{{#if:|:}}/Page display title/en

 |{{#if:
   |
   |{{ Modèle:TNTN }}
 }}|{{#if:
   |
   |{{{1}}}
 }}

}}]]{{#ifeq:|

 |

}}[[:{{{1}}}| ]] {{ Modèle:TNTN }}