Jump to content

Template:Infobox tennis tournament year/footer: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Protected Template:Infobox tennis event/footer: Highly-visible template (between 1900 and 4000 transclusions) (‎[edit=autoconfirmed] (indefinite) ‎[move=sysop] (indefinite))
convert to /doc page for protected template
 
(23 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{succession links|centerstyle=line-height:130%;|bullets=yes
<noinclude>
| left = {{#if:{{#ifeq:{{{edition|}}}|1st|no|}}{{#ifeq:{{{before_year|}}}|no|no|}}
{|
|<!-- NOTHING -->
|- style="background:#eee;"
|{{#if:{{Yesno|{{{multi|}}}{{{multiwc|}}}}}
| align="center" colspan="3" |
|{{#if:{{{event_name|}}}
</noinclude>'''{{#if:{{{main_name|}}} |[[{{{main_name}}}]]|[[{{#ifexist: {{{event}}} (tennis)|{{{event}}} (tennis)|{{{event}}} }}|{{{event}}}]]}}'''
|{{#ifexist:{{#ifeq:{{{multi|}}}|yes|Tennis|}}{{#ifeq:{{{multiwc|}}}|yes|Wheelchair tennis|}} at the {{{before_year}}} {{{before_name}}} – {{{event_name}}}
{| style="width:80%; border:1px; border-collapse:collapse; background:#eee; line-height:90%;"
|[[{{#ifeq:{{{multi|}}}|yes|Tennis|}}{{#ifeq:{{{multiwc|}}}|yes|Wheelchair tennis|}} at the {{{before_year}}} {{{before_name}}} – {{{event_name}}}|{{{before_year}}}]]
|-
| align="center" width=45% | {{#ifeq: {{{edition|}}} | 1st | | {{#ifeq: {{{before_year|}}}|no| |'''[[{{{before_year}}} {{{before_name}}} {{#ifexist:{{{before_year}}} {{{before_name}}} (tennis)|(tennis)}}| &nbsp;&lt; {{{before_year}}}]]'''}} }}
|[[{{#ifeq:{{{multi|}}}|yes|Tennis|}}{{#ifeq:{{{multiwc|}}}|yes|Wheelchair tennis|}} at the {{{before_year}}} {{{before_name}}}|{{{before_year}}}]]{{#ifeq:{{NAMESPACE}}||[[Category:Pages using infobox tennis tournament year footer with an unknown event]]}}
}}
| align="center" width=45% | {{#ifeq: {{{after_year|}}}|no| |'''[[{{{after_year}}} {{{after_name}}} {{#ifexist:{{{after_year}}} {{{after_name}}} (tennis)|(tennis)}}|{{{after_year}}} &gt;&nbsp;]]'''}}
|{{#ifexist:{{#ifeq:{{{multi|}}}|yes|Tennis|}}{{#ifeq:{{{multiwc|}}}|yes|Wheelchair tennis|}} at the {{{before_year}}} {{{before_name}}}
|}<noinclude>
|[[{{#ifeq:{{{multi|}}}|yes|Tennis|}}{{#ifeq:{{{multiwc|}}}|yes|Wheelchair tennis|}} at the {{{before_year}}} {{{before_name}}}|{{{before_year}}}]]
|}</noinclude>
|[[{{{before_year}}} {{{before_name}}}|{{{before_year}}}]]{{#ifeq:{{NAMESPACE}}||[[Category:Pages using infobox tennis tournament year footer with an unknown tournament edition]]}}
}}
}}
|{{#if:{{{event_name|}}}
|{{#ifeq:{{#invoke:String|replace|{{{before_name}}}|–.-$|||plain=false}}|{{{before_name}}}
|{{#ifexist:{{{before_year}}} {{{before_name}}} – {{{event_name}}}
|[[{{{before_year}}} {{{before_name}}} – {{{event_name}}}|{{{before_year}}}]]
|[[{{{before_year}}} {{{before_name}}} {{#ifexist:{{{before_year}}} {{{before_name}}} (tennis)|(tennis)}}|{{{before_year}}}]]{{#ifeq:{{NAMESPACE}}||[[Category:Pages using infobox tennis tournament year footer with an unknown event]]}}
}}
|{{#ifexist:{{{before_year}}} {{{before_name}}}
|[[{{{before_year}}} {{{before_name}}}|{{{before_year}}}]]
|[[{{{before_year}}} {{{before_name}}} {{#ifexist:{{{before_year}}} {{{before_name}}} (tennis)|(tennis)}}|{{{before_year}}}]]{{#ifeq:{{NAMESPACE}}||[[Category:Pages using infobox tennis tournament year footer with an unknown event]]}}
}}
}}
|{{#ifexist:{{{before_year}}} {{{before_name}}} (tennis)
|[[{{{before_year}}} {{{before_name}}} (tennis)|{{{before_year}}}]]
|[[{{{before_year}}} {{{before_name}}}|{{{before_year}}}]]{{#ifexist:{{{before_year}}} {{{before_name}}}||{{#ifeq:{{NAMESPACE}}||[[Category:Pages using infobox tennis tournament year footer with an unknown tournament edition]]}}}}
}}
}}
}}
}}
| center = {{#if:{{{main_name|}}}|'''[[{{{main_name}}}]]'''|'''[[{{#ifeq:{{{multi|}}}|yes|Tennis at the|}}{{#ifeq:{{{multiwc|}}}|yes|Wheelchair tennis at the|}} {{#if:{{Yesno|{{{multi|}}}{{{multiwc|}}}}}|{{{event}}}|{{#ifexist: {{{event}}} (tennis)|{{{event}}} (tennis)|{{{event}}}}}}}|{{{event}}}]]'''}}{{#ifexist:{{#if:{{{main_name|}}}|{{#invoke:String|replace|{{{main_name}}}| *{{!}}.-$|||plain=false}}|{{#ifeq:{{{multi|}}}|yes|Tennis at the|}}{{#ifeq:{{{multiwc|}}}|yes|Wheelchair tennis at the|}} {{#if:{{Yesno|{{{multi|}}}{{{multiwc|}}}}}|{{{event}}}|{{#ifexist: {{{event}}} (tennis)|{{{event}}} (tennis)|{{{event}}}}}}}}}||{{#ifeq:{{NAMESPACE}}||[[Category:Pages using infobox tennis tournament year footer with an unknown tournament|{{#if:{{{main_name|}}}|{{#invoke:String|replace|{{{main_name}}}| *{{!}}.-$|||plain=false}}|{{#ifeq:{{{multi|}}}|yes|Tennis at the|}}{{#ifeq:{{{multiwc|}}}|yes|Wheelchair tennis at the|}} {{#if:{{Yesno|{{{multi|}}}{{{multiwc|}}}}}|{{{event}}}|{{#ifexist: {{{event}}} (tennis)|{{{event}}} (tennis)|{{{event}}}}}}}}}]]}}}}
| right = {{#ifeq:{{{after_year|}}}|no
|<!-- NOTHING -->
|{{#if:{{Yesno|{{{multi|}}}{{{multiwc|}}}}}
|{{#if:{{{event_name|}}}
|{{#ifexist:{{#ifeq:{{{multi|}}}|yes|Tennis|}}{{#ifeq:{{{multiwc|}}}|yes|Wheelchair tennis|}} at the {{{after_year}}} {{{after_name}}} – {{{event_name}}}
|[[{{#ifeq:{{{multi|}}}|yes|Tennis|}}{{#ifeq:{{{multiwc|}}}|yes|Wheelchair tennis|}} at the {{{after_year}}} {{{after_name}}} – {{{event_name}}}|{{{after_year}}}]]
|[[{{#ifeq:{{{multi|}}}|yes|Tennis|}}{{#ifeq:{{{multiwc|}}}|yes|Wheelchair tennis|}} at the {{{after_year}}} {{{after_name}}}|{{{after_year}}}]]{{#ifexpr: {{{after_year}}}>={{CURRENTYEAR}}||{{#ifeq:{{NAMESPACE}}||[[Category:Pages using infobox tennis tournament year footer with an unknown event]]}}}}
}}
|{{#ifexist:{{#ifeq:{{{multi|}}}|yes|Tennis|}}{{#ifeq:{{{multiwc|}}}|yes|Wheelchair tennis|}} at the {{{after_year}}} {{{after_name}}}
|[[{{#ifeq:{{{multi|}}}|yes|Tennis|}}{{#ifeq:{{{multiwc|}}}|yes|Wheelchair tennis|}} at the {{{after_year}}} {{{after_name}}}|{{{after_year}}}]]
|[[{{{after_year}}} {{{after_name}}}|{{{after_year}}}]]{{#ifexpr: {{{after_year}}}>={{CURRENTYEAR}}||{{#ifeq:{{NAMESPACE}}||[[Category:Pages using infobox tennis tournament year footer with an unknown tournament edition]]}}}}
}}
}}
|{{#if:{{{event_name|}}}
|{{#ifeq:{{#invoke:String|replace|{{{after_name}}}|–.-$|||plain=false}}|{{{after_name}}}
|{{#ifexist:{{{after_year}}} {{{after_name}}} – {{{event_name}}}
|[[{{{after_year}}} {{{after_name}}} – {{{event_name}}}|{{{after_year}}}]]
|[[{{{after_year}}} {{{after_name}}} {{#ifexist:{{{after_year}}} {{{after_name}}} (tennis)|(tennis)}}|{{{after_year}}}]]{{#ifexpr: {{{after_year}}}>={{CURRENTYEAR}}||{{#ifeq:{{NAMESPACE}}||[[Category:Pages using infobox tennis tournament year footer with an unknown event]]}}}}
}}
|{{#ifexist:{{{after_year}}} {{{after_name}}}
|[[{{{after_year}}} {{{after_name}}}|{{{after_year}}}]]
|[[{{{after_year}}} {{{after_name}}} {{#ifexist:{{{after_year}}} {{{after_name}}} (tennis)|(tennis)}}|{{{after_year}}}]]{{#ifexpr: {{{after_year}}}>={{CURRENTYEAR}}||{{#ifeq:{{NAMESPACE}}||[[Category:Pages using infobox tennis tournament year footer with an unknown event]]}}}}
}}
}}
|{{#ifexist:{{{after_year}}} {{{after_name}}} (tennis)
|[[{{{after_year}}} {{{after_name}}} (tennis)|{{{after_year}}}]]
|[[{{{after_year}}} {{{after_name}}}|{{{after_year}}}]]{{#ifexist:{{{after_year}}} {{{after_name}}}||{{#ifexpr: {{{after_year}}}>={{CURRENTYEAR}}||{{#ifeq:{{NAMESPACE}}||[[Category:Pages using infobox tennis tournament year footer with an unknown tournament edition]]}}}}}}
}}
}}
}}
}}

}}<noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 11:59, 12 September 2022

← [[{{{before_year}}} {{{before_name}}}|{{{before_year}}}]] · [[ {{{event}}}|{{{event}}}]] · [[{{{after_year}}} {{{after_name}}}|{{{after_year}}}]]Expression error: Unrecognized punctuation character "{". →