クレジット付き評価モジュール:backmodule
このページはコンポーネントページです
クレジット付き評価モジュールを構成するシステムページです。
許可なく編集しないでください。編集が必要だと思われる場合は、このページのディスカッションか、サイトスタッフまでご連絡ください。
許可なく編集しないでください。編集が必要だと思われる場合は、このページのディスカッションか、サイトスタッフまでご連絡ください。
使用に関する規定
以下の2つのページは、カスタムテーマページ等、Wikiの仕様上やむを得ない事情がない限り使用しないでください。
使用されていた場合、予告なく通常のページをincludeするよう置き換えられる場合があります。
使用されていた場合、予告なく通常のページをincludeするよう置き換えられる場合があります。
クレジット付き評価モジュール
開発:
改良:
使い方:
このコードは評価モジュールの代わりに使われます。
[[include credit:start]]
**タイトル:** SCP-XXX - タイトル
**著者:** [[*user 作者のアカウント名]]
**オリジナル:** オリジナル記事へのリンク
**訳者:** [[*user 訳者のアカウント名]]
**画像:** ライセンスがある画像のクレジット
[[include credit:otherwise]]
新しいウィンドウで現れる選択的クレジットを表記する場所です。略すには「[[include credit:otherwise]]」を消してください。
[[include credit:end]]
注意:ページのプレビューからページを保存するまでモジュールが正しく表示されないことがあります。それはバグではありません。
CreatedBy: C-take
sinazugawa
Start
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <head> <meta http-equiv="Content-Script-Type" content="text/javascript"/> <meta http-equiv="Content-Style-Type" content="text/css"/> <meta http-equiv="content-language" content="ja,jp-ja"/> <meta charset="UTF-8"/> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> /*! * jQuery JavaScript Library v3.2.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2017-03-20T18:59Z */ //--------------------------- //ProjectName: Credit Module //FunctionName: Back Module //CreatedBy C-take , sinazugawa //License MIT //--------------------------- $(function() { var ua = navigator.userAgent.toLowerCase(); var bReload= true; if ( ( ua.indexOf("applewebkit") >= 0 || ua.indexOf("firefox") >= 0 ) && ua.indexOf("edge") == -1 ) bReload= false; $('.fader').on("click",closeCredit); function closeCredit() { if ( bReload ) { history.go(-1); parent.location.href = document.referrer.split('#')[0]; } else { history.go(-1); } $('.fader').off("click"); setTimeout(function(){ $('.fader').on("click",closeCredit); },1200); } }); </script> <style> .fader { width: 100%; height: 100%; position: fixed; } </style> </head> <body> <div class='fader'></div> </body> </html>
End
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <head> <meta http-equiv="Content-Script-Type" content="text/javascript"/> <meta http-equiv="Content-Style-Type" content="text/css"/> <meta http-equiv="content-language" content="ja,jp-ja"/> <meta charset="UTF-8"/> <link rel="stylesheet" href="/component:theme/code/1"> <style> body{ background:transparent; padding:0; } </style> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> /*! * jQuery JavaScript Library v3.2.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2017-03-20T18:59Z */ //--------------------------- //ProjectName: Credit Module //FunctionName: Back Module //CreatedBy C-take , sinazugawa //License MIT //--------------------------- $(function() { var ua = navigator.userAgent.toLowerCase(); var bReload= true; if ( ( ua.indexOf("applewebkit") >= 0 || ua.indexOf("firefox") >= 0 ) && ua.indexOf("edge") == -1 ) bReload= false; $('.back').click(closeCredit); function closeCredit() { if ( bReload ) { history.go(-1); parent.location.href = document.referrer.split('#')[0]; } else { history.go(-1); } return false; } }); </script> </head> <body> <div style="width: 100%; text-align: center;"> <a class="back" style="cursor: pointer;">クレジット</span> </div> </body> </html>
OtherWise
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <head> <meta http-equiv="Content-Script-Type" content="text/javascript"/> <meta http-equiv="Content-Style-Type" content="text/css"/> <meta http-equiv="content-language" content="ja,jp-ja"/> <meta charset="UTF-8"/> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> /*! * jQuery JavaScript Library v3.2.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2017-03-20T18:59Z */ //--------------------------- //ProjectName: Credit Module //FunctionName: Back Module //CreatedBy C-take , sinazugawa //License MIT //--------------------------- $(function() { var ua = navigator.userAgent.toLowerCase(); var bReload= true; if ( ( ua.indexOf("applewebkit") >= 0 || ua.indexOf("firefox") >= 0 ) && ua.indexOf("edge") == -1 ) bReload= false; $('.fader').click(closeCredit); function closeCredit() { if ( bReload ) { history.go(-2); parent.location.href = document.referrer.split('#')[0]; } else { history.go(-2); } } }); </script> <style> .fader { width: 100%; height: 100%; position: fixed; } </style> </head> <body> <div class='fader'></div> </body> </html>
ページリビジョン: 6, 最終更新: 24 Dec 2021 17:05