メインメニューを開く
ホーム
おまかせ表示
ログイン
設定
脳科学辞典について
免責事項
脳科学辞典
検索
テンプレート:PermissionOTRS/sandboxのソースを表示
←
テンプレート:PermissionOTRS/sandbox
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、以下のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
{{#switch:1 <!-- CASE 1: parameter "id" or "1" which is numeric and in the correct range --> |{{#expr:{{{id|{{{1|0}}}}}}>1980000000000000 and {{{id|{{{1|0}}}}}}<3000000000000000}} = {{Autotranslate|base=PermissionOTRS|1=https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber={{{id|{{{1}}}}}}|2={{{id|{{{1}}}}}}|lang={{{lang|}}} }}<!-- -->{{#switch:{{{nocat|}}}{{NAMESPACE}}|File|File talk =[[Category:Items with OTRS permission confirmed]]|Template = [[Category:Custom OTRS permission template]] |Category = [[Category:Categories with OTRS permission template]] }} <!-- CASE 2: parameter "id" or "1" which is likely not right --> |{{#if:{{{id|{{{1|}}}}}}|1|0}} = {{Autotranslate|base=PermissionOTRS|1=https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber={{{id|{{{1}}}}}}|2=<span style="color:red">{{{id|{{{1}}}}}}</span>|lang={{{lang|}}} }}<!-- -->{{gibox|text='''Warning:''' This file's OTRS ticket ID seems to be invalid.|type=issue}}<!-- -->{{#switch:{{{nocat|}}}{{NAMESPACE}}|File|File talk|Category|Template = [[Category:Items with incorrect OTRS ticket ID]]}} <!-- CASE 3: everything else which means no "id" or "1" parameters --> |#default = {{Autotranslate|base=PermissionOTRS|1=|2=|lang={{{lang|}}} }}<!-- -->{{gibox|text='''Warning:''' This file is missing essential information needed to confirm validity of the OTRS ticket.|type=issue}}<!-- -->{{#switch:{{{nocat|}}}{{NAMESPACE}}|File|File talk|Category|Template = [[Category:Items with incorrect OTRS ticket ID]]}} }}<span class="autoconfonly" id="otrstemplatewr" style="display:none;">{{#invoke:TemplatePar|check |opt= id= nocat= date= comment= user= lang= 1= 2= 3= 4= |cat= Pages using PermissionOTRS template with incorrect parameter |errNS= 6 |template= [[Template:PermissionOTRS]] }}</span>