Diff for ''

Revision 9
Author:
cernyj27
Time:
2022-10-16 02:30
Revision 14
Author:
cernyj27
Time:
2024-05-28 20:26
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
<includeonly><div class="thumb {{#switch: {{{align|}}} | left = tleft | center | centre = tnone | tright}} {{#if: {{{noclear|}}} | no-clear }}" style="width:{{#ifeq: {{{direction|horizontal}}} | vertical | {{#expr: {{#if: {{{width|}}} | {{{width}}} | {{{width1}}} }} + 12}} | {{#if: {{{width|}}} | {{#expr: 8 + ({{{width|0}}} + 4) * {{#if: {{{image5|}}} | 5 | {{#if: {{{image4|}}} | 4 | {{#if: {{{image3|}}} | 3 | 2 }} }} }} }} | {{#expr: 16 + {{{width1}}} + {{{width2}}} + {{{width3|0}}} + {{{width4|0}}} + {{{width5|0}}} + {{#if: {{{image5|}}} | 12 | {{#if: {{{image4|}}} | 8 | {{#if: {{{image3|}}} | 4 | 0 }} }} }} }} }} }}px;{{#switch: {{{align|}}} | center | centre = margin: 0 auto;}}">
<div class="thumbinner">
{{#if: {{{header|}}} | <div style="clear:both;font-weight:bold;text-align:{{{header_align|center}}};background:{{{header_background|transparent}}};">{{{header}}}</div> }}
<div style="{{#ifeq: {{{direction|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{width|}}} | {{{width}}} | {{{width1}}} }} }}px;"><div class="thumbimage">[[Image:{{{image1}}}|{{#if: {{{width|}}} | {{{width}}} | {{{width1}}} }}px|{{{caption1|{{{box_caption}}}}}}]]</div>{{#if: {{{caption1|}}} | <div class="thumbcaption" style="clear:left;">{{{caption1}}}</div>}}</div>
<div style="{{#ifeq: {{{direction|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{width|}}} | {{{width}}} | {{{width2}}} }} }}px;"><div class="thumbimage">[[Image:{{{image2}}}|{{#if: {{{width|}}} | {{{width}}} | {{{width2}}} }}px|{{{caption2|{{{box_caption}}}}}}]]</div>{{#if: {{{caption2|}}} | <div class="thumbcaption" style="clear:left;">{{{caption2}}}</div>}}</div>
{{#if: {{{image3|}}} | <div style="{{#ifeq: {{{direction|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{width|}}} | {{{width}}} | {{{width3}}} }} }}px;"><div class="thumbimage">[[Image:{{{image3}}}|{{#if: {{{width|}}} | {{{width}}} | {{{width3}}} }}px|{{{caption3|{{{box_caption}}}}}}]]</div>{{#if: {{{caption3|}}} | <div class="thumbcaption" style="clear:left;">{{{caption3}}}</div>}}</div>
{{#if: {{{image4|}}} | <div style="{{#ifeq: {{{direction|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{width|}}} | {{{width}}} | {{{width4}}} }} }}px;"><div class="thumbimage">[[Image:{{{image4}}}|{{#if: {{{width|}}} | {{{width}}} | {{{width4}}} }}px|{{{caption4|{{{box_caption}}}}}}]]</div>{{#if: {{{caption4|}}} | <div class="thumbcaption" style="clear:left;">{{{caption4}}}</div>}}</div>
{{#if: {{{image5|}}} | <div style="{{#ifeq: {{{direction|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{width|}}} | {{{width}}} | {{{width5}}} }} }}px;"><div class="thumbimage">[[Image:{{{image5}}}|{{#if: {{{width|}}} | {{{width}}} | {{{width5}}} }}px|{{{caption5|{{{box_caption}}}}}}]]</div>{{#if: {{{caption5|}}} | <div class="thumbcaption" style="clear:left;">{{{caption5}}}</div>}}</div>}}}}}}
{{#if: {{{footer|}}} | <div class="thumbcaption" style="clear:left;text-align:{{{footer_align|left}}};background:{{{footer_background|transparent}}};">{{{footer}}}</div> }}</div></div></includeonly><noinclude>
{{documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
Tu TODO šablonu jsi udělal hezky. Ale nevíš jak zařidít aby po kliknutí na odkaz rozšířit to editovalo jen sekci v které se to nachází a ne celý článek? Ja na to nějak nemůžu přijít.

--[[User:Maker|Maker]] 22:24, 14 Jun 2005 (CEST)

* Díky :) Koukal jsem do MediaWiki nápovědy, a zdá se, že pro aktuální sekci tam proměnnou nemají. Takže se bojím, že to nijak snadno nejde. (Alespoň jsem tam ale našel počítadlo stránek.) --[[User:Che|Che]] 01:26, 15 Jun 2005 (CEST)
* Nejsme jediní, komu by se to hodilo... http://bugzilla.wikipedia.org/show_bug.cgi?id=1605 --[[User:Che|Che]] 18:58, 16 Jun 2005 (CEST)

== spammerz ==

zdar ;-) celkom zabava revertovat tie veci, hm? :) som rozmyslal, ci by nebolo dobre zakazat editacie, a povolit ich napr. iba ludom z pasnetu (resp. matfyzu) a registrovanym... teda ak sa take nieco vobec da v mediawiki :-) --[[User:Andree|Andree]]

:V MediaWiki se to myslím dá (omezení na registrované určitě). Po dnešním klikání jsem takovému omezení nakloněn více než kdykoli předtím :) --[[User:che|che]] 01:45, 10 Oct 2005 (CEST)
::Uz som to nastavil, zaedituju si len prihlaseni... snad sa nebudu boti registrovat :-| ... [[User:MiEro|miEro]]
:[[Special:Contributions/Buba1|Buba1]] [http://wiki.matfyz.cz/index.php?title=Matfyz_v_medi%C3%ADch&diff=1935&oldid=1782 na pokec]? --[[User:che|che]] 01:19, 11 Oct 2005 (CEST)
:: Tak tohle už začíná být vážný problém. viz [http://wiki.matfyz.cz/index.php?title=Special%3AContributions&target=Puta38 Puta38]. Napada mě omezit registraci jen z domény cz. [[User:Maker|Maker]] 10:34, 23 Oct 2005 (CEST)
:Nestačila by na podobné automaty nějaká [[wen:CAPTCHA|CAPTCHA]], jako má třeba Tůma? [http://nenya.ms.mff.cuni.cz/~ceres/wik/osy/] --[[User:che|che]] 12:41, 26 Oct 2005 (CEST)