利用者:Adminkoyama100/sandboxのソースを表示
←
利用者:Adminkoyama100/sandbox
ナビゲーションに移動
検索に移動
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループのいずれかに属する利用者のみが実行できます:
管理者
、bukai_member、project_editor。
このページのソースの閲覧やコピーができます。
== タブのデモ == <tabs> <tab name="First" style="border:1px solid black;">This tab has a defined <code>name</code>. It also has a <code>style</code> attribute set to <code>style="border:1px solid black;"</code>.</tab> <tab name="Second" style="background:salmon;">This tab also has a defined <code>name</code> attribute, and its <code>style</code> attribute set to <code>style="background:salmon;"</code>.</tab> <tab>This tab has no attributes defined. Its name is automatically generated based on its position.</tab> <tab index="1">This is a seperate tab. It has a defined <code>index</code> attribute with value "1". This makes it also show when the first tab is selected.</tab> <tab name="Second">This is a seperate tab. It has a defined <code>name</code> attribute, with a value equal to that of the second tab ("Second"). It therefore also shows when the second tab is opened.</tab> ---- This line of text will show for every tab you view. It is not placed within <code><tab> tags, and can be used as default content for the tab menu. </tabs> <br> <br> <br> <br> For example, this will not work: <tabs style="color:{{#if:{{{1|}}}|green|red}}"> <tab name="{{{1|}}}">Foo</tab> <tab name="{{{2|}}}">Bar</tab> </tabs> <br><br><br> But this will work: :と言うが機能していないようだ。 {{#tag:tabs| {{#tag:tab|Foo|name={{{1|}}}}} {{#tab:{{{2|}}}|Bar}} |style=color:{{#if:{{{1|}}}|green|red}} }} <br> <br> <br> === Toggle box demos === ==== Plain toggle box ==== <tab openname="Show code" closename="Hide code" collapsed block style="max-width:100%;"><pre style="overflow:auto;"> <tab>This toggle box has no attributes assigned to it.</tab> </pre></tab> <tab>This toggle box has no attributes assigned to it.</tab> ==== Toggle box attributes ==== <tab openname="Show code" closename="Hide code" collapsed block style="max-width:100%;"><pre style="overflow:auto;"> <tab collapsed openname="Toggle" style="font-weight:bold;width:500px;" container="font-style:italic;" title="Example tooltip"> This toggle box has the following attributes defined: *<code>collapsed</code> - By default, it is closed. *<code>openname="Toggle"</code> - The label will show "Toggle" when it can be clicked to open the box. Since no <code>closename</code> attribute is defined, it defaults to "Toggle" too. *<code>style="font-weight:bold;width:500px;"</code> - The whole toggle box will be bold, and have a width of 500px. *<code>container="font-style:italic;"</code> - Only the contents of the toggle box will be italic. *<code>title="Example tooltip"</code> - The tooltip that shows when hovering over this tab is defined via the <code>title</code> attribute. </tab> </pre></tab> <tab collapsed openname="Toggle" style="font-weight:bold;width:500px;" container="font-style:italic;" title="Example tooltip"> This toggle box has the following attributes defined: *<code>collapsed</code> - By default, it is closed. *<code>openname="Toggle"</code> - The label will show "Toggle" when it can be clicked to open the box. Since no <code>closename</code> attribute is defined, it defaults to "Toggle" too. *<code>style="font-weight:bold;width:500px;"</code> - The whole toggle box will be bold, and have a width of 500px. *<code>container="font-style:italic;"</code> - Only the contents of the toggle box will be italic. *<code>title="Example tooltip"</code> - The tooltip that shows when hovering over this tab is defined via the <code>title</code> attribute. </tab> ==== Inline toggle boxes ==== <tab openname="Show code" closename="Hide code" collapsed block style="max-width:100%;"><pre style="overflow:auto;"> <tab inline collapsed openname="Show" closename="Hide"> </pre></tab> Here is an example of an inline toggle box. <tab inline collapsed openname="Show" closename="Hide">This togglebox is <code>inline</code> and <code>collapsed</code></tab> This toggle box has the attributes <code>openname="Show"</code> and <code>closename="Hide"</code> to change the default label text. <br> <br> <br>
利用者:Adminkoyama100/sandbox
に戻る。
ナビゲーション メニュー
個人用ツール
ログイン
名前空間
利用者ページ
議論
日本語
表示
閲覧
ソースを閲覧
履歴表示
その他
検索
案内
八中・小山台デジタルアーカイブ
メインページ
最近の更新
おまかせ表示
MediaWiki についてのヘルプ
編集時サンドボックス
ツール
リンク元
関連ページの更新状況
利用者の投稿記録
記録
利用者グループの表示
特別ページ
ページ情報
関連リンク
菊桜会Webサイト
菊桜会YouTubeチャンネル
小山台教育財団