Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::open($save_path, $session_name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/PHPSessionHandler.php on line 205
Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/PHPSessionHandler.php on line 220
Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::read($id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/PHPSessionHandler.php on line 234
Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::write($id, $dataStr) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/PHPSessionHandler.php on line 262
Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::destroy($id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/PHPSessionHandler.php on line 368
Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/PHPSessionHandler.php on line 389
Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 70
Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 80
Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 75
Deprecated: Return type of Wikimedia\Rdbms\ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php on line 117
Deprecated: Return type of Wikimedia\Rdbms\ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php on line 90
Deprecated: Return type of MediaWiki\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/Session.php on line 625
Deprecated: Return type of MediaWiki\Session\Session::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/Session.php on line 631
Deprecated: Return type of MediaWiki\Session\Session::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/Session.php on line 643
Deprecated: Return type of MediaWiki\Session\Session::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/Session.php on line 637
Deprecated: Return type of MediaWiki\Session\Session::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/Session.php on line 655
Deprecated: Return type of MediaWiki\Session\Session::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/Session.php on line 649
Deprecated: Return type of MediaWiki\Session\Session::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/Session.php on line 665
Deprecated: Return type of & MediaWiki\Session\Session::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/Session.php on line 678
Deprecated: Return type of MediaWiki\Session\Session::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/Session.php on line 688
Deprecated: Return type of MediaWiki\Session\Session::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lfg/itchan.official.jp/public_html/wiki/includes/session/Session.php on line 693
Deprecated: Creation of dynamic property ApiMain::$mCommit is deprecated in /home/lfg/itchan.official.jp/public_html/wiki/includes/api/ApiMain.php on line 296
Warning: Cannot modify header information - headers already sent by (output started at /home/lfg/itchan.official.jp/public_html/wiki/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php:24) in /home/lfg/itchan.official.jp/public_html/wiki/includes/Feed.php on line 294
Warning: Cannot modify header information - headers already sent by (output started at /home/lfg/itchan.official.jp/public_html/wiki/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php:24) in /home/lfg/itchan.official.jp/public_html/wiki/includes/Feed.php on line 300
Warning: Cannot modify header information - headers already sent by (output started at /home/lfg/itchan.official.jp/public_html/wiki/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php:24) in /home/lfg/itchan.official.jp/public_html/wiki/includes/WebResponse.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /home/lfg/itchan.official.jp/public_html/wiki/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php:24) in /home/lfg/itchan.official.jp/public_html/wiki/includes/WebResponse.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /home/lfg/itchan.official.jp/public_html/wiki/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php:24) in /home/lfg/itchan.official.jp/public_html/wiki/includes/WebResponse.php on line 46 http://itchan.official.jp/wiki/api.php?action=feedcontributions&feedformat=atom&user=Fryed-peachiTchan Wiki - 利用者の投稿記録 [ja]2026-03-25T13:51:59Z利用者の投稿記録MediaWiki 1.31.1http://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Error&diff=1075テンプレート:Error2014-02-22T13:37:49Z<p>Fryed-peach: :en:Template:Error 2013年10月29日 (火) 00:20 よりコピー</p>
<hr />
<div>{{#invoke:Error|error|{{{message|{{{1}}}}}}|tag={{{tag|}}}}}<noinclude><br />
{{documentation}}<br />
</noinclude></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Lua&diff=1101テンプレート:Lua2014-02-22T05:23:52Z<p>Fryed-peach: </p>
<hr />
<div>{{mbox<br />
| image-file = Lua-logo-nolabel.svg<br />
| text = このテンプレートにはプログラミング言語 [[Lua]] {{#if: {{{1|}}} |で書かれた '''[[{{{1}}}]]''' というスクリプト}}が使われています。Lua について知りたい場合や Lua を使って他のテンプレートを書き換えたい場合には [[Wikipedia:Lua]] を参照してください。{{{2|}}}<br />
}}<noinclude><br />
[[Category:Luaを利用するテンプレート|*]]<br />
</noinclude></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Link_FA&diff=1993テンプレート:Link FA2013-12-20T02:59:07Z<p>Fryed-peach: </p>
<hr />
<div><onlyinclude><span id="interwiki-{{{1}}}-fa" style="display:none;"></span></onlyinclude><br />
{{Documentation}}<br />
<!-- カテゴリはここではなく、/doc サブページに追加してください --></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Boxboxtop/doc&diff=1425テンプレート:Boxboxtop/doc2013-07-16T05:38:23Z<p>Fryed-peach: ウィキデータの項目に移行した言語間リンク 19 (17+2) 件を除去</p>
<hr />
<div><noinclude>{{Documentation subpage|種類=[[Help:テンプレート|テンプレート]]}}</noinclude><br />
{{複雑なテンプレート}}<br />
利用者ページにユーザーボックスを並べるためのテンプレートです。<br />
<br />
なお、ユーザーボックス専用のサブページを作成して利用者ページに呼び出しする場合は、サブページの中身を'''<code><nowiki><includeonly></includeonly></nowiki></code>'''で囲んでください。そうしないと、サブページと呼び出し先のページが重複してカテゴリに登録されます。<br />
<br />
__TOC__<br />
== 使い方 ==<br />
<pre><nowiki>{{Boxboxtop<br />
|toptext=<br />
|align=<br />
|bordercolor=<br />
|backgroundcolor=<br />
|toptextcolor=<br />
|extra-css=<br />
}}<br />
.<br />
.<br />
[Userboxes]<br />
.<br />
.<br />
{{Boxboxbottom}}</nowiki></pre><br />
<br />
== 引数 ==<br />
いずれも省略可能です。<br />
{| class="wikitable" border="1"<br />
|+ 引数の一覧<br />
! 引数 !! 指定内容 !! 既定値 !! 説明<br />
|-<br />
! toptext<br />
| || || キャプションのテキスト。1番目の引数ならパラメーター名を省略可<br />
|-<br />
! align<br />
| left、right、center || || ボックスの表示位置。2番目の引数ならパラメーター名を省略可。<br />
|-<br />
! bordercolor<br />
| #ffcc00やpurple || || ボックスの枠線の色<br />
|-<br />
! backgroundcolor<br />
| || || ボックスの背景色<br />
|-<br />
! toptextcolor<br />
| || || キャプションの文字色<br />
|-<br />
! extra-css<br />
| || || 追加のCSS要素<br />
|}<br />
<br />
== 関連項目 ==<br />
*[[Template:Boxboxbreak]]<br />
*[[Template:Boxboxbottom]]<includeonly><br />
<!-- カテゴリは以下に追加してください --><br />
[[Category:利用者ページ用テンプレート]]<br />
</includeonly></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Error/doc&diff=1087テンプレート:Error/doc2013-07-09T05:05:48Z<p>Fryed-peach: ウィキデータの項目に移行した言語間リンク 20 件を除去</p>
<hr />
<div><noinclude>{{Documentation subpage|種類=[[Help:テンプレート|テンプレート]]}}</noinclude><br />
テンプレート内でエラーメッセージを作成するメタテンプレートです<br />
<br />
* {{tlx|error|エラーです}} → {{error|エラーです}}<br />
<includeonly><br />
[[Category:メタテンプレート]]<br />
</includeonly></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Coordinates&diff=1068モジュール:Coordinates2013-07-01T00:17:25Z<p>Fryed-peach: :en:Module:Coordinates oldid=562174757 より</p>
<hr />
<div>--[[<br />
This module is intended to replace the functionality of {{Coord}} and related<br />
templates. It provides several methods, including<br />
<br />
{{#Invoke:Coordinates | coord }} : General function formatting and displaying<br />
coordinate values.<br />
<br />
{{#Invoke:Coordinates | dec2dms }} : Simple function for converting decimal<br />
degree values to DMS format.<br />
<br />
{{#Invoke:Coordinates | dms2dec }} : Simple function for converting DMS format<br />
to decimal degree format.<br />
<br />
]]<br />
<br />
math_mod = require( "Module:Math" );<br />
globalFrame = nil<br />
<br />
coordinates = {};<br />
<br />
--[[ Helper function, replacement for {{coord/display/title}} ]]<br />
function displaytitle (s, notes)<br />
local l = "[[地理座標系|座標]]: " .. s<br />
local co = '<span id="coordinates">' .. l .. notes .. '</span>';<br />
return '<span style="font-size: small;">' .. co .. '</span>';<br />
end<br />
<br />
--[[ Helper function, Replacement for {{coord/display/inline}} ]]<br />
function displayinline (s, notes)<br />
return s .. notes <br />
end<br />
<br />
--[[ Helper function, used in detecting DMS formatting ]]<br />
local dmsTest = function(first, second)<br />
local concatenated = first:upper() .. second:upper();<br />
<br />
if concatenated == "NE" or concatenated == "NW" or concatenated == "SE" or concatenated == "SW" or<br />
concatenated == "EN" or concatenated == "WN" or concatenated == "ES" or concatenated == "WS" then<br />
return true;<br />
end<br />
return false;<br />
end<br />
<br />
--[[<br />
parseDec<br />
<br />
Transforms decimal format latitude and longitude into the a<br />
structure to be used in displaying coordinates<br />
]]<br />
function parseDec( lat, long, format )<br />
local coordinateSpec = {}<br />
local errors = {}<br />
<br />
if long == "" or long == nil then<br />
return nil, {{"parseDec", "経度が指定されていません"}}<br />
end<br />
<br />
errors = validate( lat, nil, nil, long, nil, nil, 'parseDec', false ); <br />
coordinateSpec["dec-lat"] = lat;<br />
coordinateSpec["dec-long"] = long;<br />
<br />
local mode = coordinates.determineMode( lat, long );<br />
coordinateSpec["dms-lat"] = convert_dec2dms( lat, "北緯", "南緯", mode) -- {{coord/dec2dms|{{{1}}}|N|S|{{coord/prec dec|{{{1}}}|{{{2}}}}}}}<br />
coordinateSpec["dms-long"] = convert_dec2dms( long, "東経", "西経", mode) -- {{coord/dec2dms|{{{2}}}|E|W|{{coord/prec dec|{{{1}}}|{{{2}}}}}}} <br />
<br />
if format ~= "" then<br />
coordinateSpec.default = format<br />
else<br />
coordinateSpec.default = "dec"<br />
end<br />
<br />
return coordinateSpec, errors<br />
end<br />
<br />
--[[ Helper function, handle optional args. ]]<br />
function optionalArg(arg, suplement)<br />
if arg ~= nil and arg ~= "" then<br />
return arg .. suplement<br />
end<br />
return ""<br />
end<br />
<br />
--[[<br />
parseDMS<br />
<br />
Transforms degrees, minutes, seconds format latitude and longitude <br />
into the a structure to be used in displaying coordinates<br />
]]<br />
function parseDMS( lat_d, lat_m, lat_s, lat_f, long_d, long_m, long_s, long_f, format )<br />
local coordinateSpec = {}<br />
local errors = {}<br />
local format_en2ja = {<br />
N = "北緯",<br />
S = "南緯",<br />
E = "東経",<br />
W = "西経"<br />
}<br />
<br />
lat_f = lat_f:upper();<br />
long_f = long_f:upper();<br />
<br />
-- Check if specified backward<br />
if lat_f == 'E' or lat_f == 'W' then<br />
local t_d, t_m, t_s, t_f;<br />
t_d = lat_d;<br />
t_m = lat_m;<br />
t_s = lat_s;<br />
t_f = lat_f;<br />
lat_d = long_d;<br />
lat_m = long_m;<br />
lat_s = long_s;<br />
lat_f = long_f;<br />
long_d = t_d;<br />
long_m = t_m;<br />
long_s = t_s;<br />
long_f = t_f;<br />
end <br />
<br />
errors = validate( lat_d, lat_m, lat_s, long_d, long_m, long_s, 'parseDMS', true );<br />
if long_d == nil or long_d == "" then<br />
table.insert(errors, {"parseDMS", "経度が指定されていません" })<br />
end<br />
<br />
if lat_m == nil and lat_s == nil and long_m == nil and long_s == nil and #errors == 0 then <br />
if math_mod._precision( lat_d ) > 0 or math_mod._precision( long_d ) > 0 then<br />
if lat_f:upper() == 'S' then <br />
lat_d = '-' .. lat_d;<br />
end<br />
if long_f:upper() == 'W' then <br />
long_d = '-' .. long_d;<br />
end <br />
<br />
return parseDec( lat_d, long_d, format );<br />
end <br />
end <br />
<br />
coordinateSpec["dms-lat"] = format_en2ja[lat_f] .. lat_d.."度"..optionalArg(lat_m,"分") .. optionalArg(lat_s,"秒")<br />
coordinateSpec["dms-long"] = format_en2ja[long_f] .. long_d.."度"..optionalArg(long_m,"分") .. optionalArg(long_s,"秒")<br />
coordinateSpec["dec-lat"] = convert_dms2dec(lat_f, lat_d, lat_m, lat_s) -- {{coord/dms2dec|{{{4}}}|{{{1}}}|0{{{2}}}|0{{{3}}}}}<br />
coordinateSpec["dec-long"] = convert_dms2dec(long_f, long_d, long_m, long_s) -- {{coord/dms2dec|{{{8}}}|{{{5}}}|0{{{6}}}|0{{{7}}}}}<br />
<br />
if format ~= "" then<br />
coordinateSpec.default = format<br />
else<br />
coordinateSpec.default = "dms"<br />
end <br />
<br />
return coordinateSpec, errors<br />
end<br />
<br />
--[[<br />
specPrinter<br />
<br />
Output formatter. Takes the structure generated by either parseDec<br />
or parseDMS and formats it for inclusion on Wikipedia.<br />
]]<br />
function specPrinter(args, coordinateSpec)<br />
local uriComponents = coordinateSpec["param"]<br />
if uriComponents == "" then<br />
-- RETURN error, should never be empty or nil<br />
return "エラー: param が空です"<br />
end<br />
if args["name"] ~= "" and args["name"] ~= nil then<br />
uriComponents = uriComponents .. "&title=" .. mw.uri.encode(coordinateSpec["name"])<br />
end<br />
<br />
local geodmshtml = '<span class="geo-dms" title="この位置の地図や航空写真などにリンクするページを表示します">'<br />
.. '<span class="latitude">' .. coordinateSpec["dms-lat"] .. '</span> '<br />
.. '<span class="longitude">' ..coordinateSpec["dms-long"] .. '</span>'<br />
.. '</span>'<br />
<br />
local lat = tonumber( coordinateSpec["dec-lat"] ) or 0<br />
if lat < 0 then<br />
-- FIXME this breaks the pre-existing precision<br />
geodeclat = "南緯" .. coordinateSpec["dec-lat"]:sub(2) .. "度"<br />
else<br />
geodeclat = "北緯" .. (coordinateSpec["dec-lat"] or 0) .. "度"<br />
end<br />
<br />
local long = tonumber( coordinateSpec["dec-long"] ) or 0<br />
if long < 0 then<br />
-- FIXME does not handle unicode minus<br />
geodeclong = "西経" .. coordinateSpec["dec-long"]:sub(2) .. "度"<br />
else<br />
geodeclong = "東経" .. (coordinateSpec["dec-long"] or 0) .. "度"<br />
end<br />
<br />
local geodechtml = '<span class="geo-dec" title="この位置の地図や航空写真などにリンクするページを表示します">'<br />
.. '<span class="nowrap">' .. geodeclat .. '</span> '<br />
.. '<span class="nowrap">' .. geodeclong .. '</span>'<br />
.. '</span>'<br />
<br />
local geonumhtml = '<span class="geo">'<br />
.. coordinateSpec["dec-lat"] .. '; '<br />
.. coordinateSpec["dec-long"]<br />
.. '</span>'<br />
<br />
local inner;<br />
inner = '<span class="' .. displayDefault(coordinateSpec["default"], "dms" ) .. '">' .. geodmshtml .. '</span>'<br />
.. '<span class="geo-multi-punct">&#xfeff; / &#xfeff;</span>'<br />
.. '<span class="' .. displayDefault(coordinateSpec["default"], "dec" ) .. '">';<br />
<br />
if args["name"] == "" or args["name"] == nil then<br />
inner = inner .. geodechtml <br />
.. '<span style="display:none">&#xfeff; / ' .. geonumhtml .. '</span></span>'<br />
else<br />
inner = inner .. '<span class="vcard">' .. geodechtml <br />
.. '<span style="display:none">&#xfeff; / ' .. geonumhtml .. '</span>'<br />
.. '<span style="display:none">&#xfeff; (<span class="fn org">'<br />
.. args["name"] .. '</span>)</span></span></span>'<br />
end<br />
<br />
return '<span class="plainlinks nourlexpansion">' .. globalFrame:preprocess(<br />
'[//tools.wmflabs.org/geohack/geohack.php?language=ja&pagename={{FULLPAGENAMEE}}&params=' ..<br />
uriComponents .. ' ' .. inner .. ']') .. '</span>'<br />
end<br />
<br />
--[[<br />
Formats any error messages generated for display<br />
]]<br />
function errorPrinter(errors)<br />
local result = ""<br />
for i,v in ipairs(errors) do<br />
local errorHTML = '<strong class="error">座標: ' .. v[2] .. '</strong>'<br />
result = result .. errorHTML .. "<br />"<br />
end<br />
return result<br />
end<br />
<br />
--[[<br />
Determine the required CSS class to display coordinates<br />
<br />
Usually geo-nondefault is hidden by CSS, unless a user has overridden this for himself<br />
default is the mode as specificied by the user when calling the {{coord}} template<br />
mode is the display mode (dec or dms) that we will need to determine the css class for <br />
]]<br />
function displayDefault(default, mode)<br />
if default == "" then<br />
default = "dec"<br />
end<br />
<br />
if default == mode then<br />
return "geo-default"<br />
else<br />
return "geo-nondefault"<br />
end<br />
end<br />
<br />
--[[ <br />
Check the input arguments for coord to determine the kind of data being provided<br />
and then make the necessary processing.<br />
]]<br />
function formatTest(args)<br />
local result, errors;<br />
local primary = false;<br />
<br />
if args[1] == "" then<br />
-- no lat logic<br />
return errorPrinter( {{"formatTest", "緯度が指定されていません"}} )<br />
elseif args[4] == "" and args[5] == "" and args[6] == "" then<br />
-- dec logic<br />
result, errors = parseDec( args[1], args[2], args['format'] )<br />
if result == nil then<br />
return errorPrinter( errors );<br />
end <br />
result.param = table.concat( {args[1], "_N_", args[2], "_E_", args[3] } );<br />
elseif dmsTest(args[4], args[8]) then<br />
-- dms logic<br />
result, errors = parseDMS( args[1], args[2], args[3], args[4], <br />
args[5], args[6], args[7], args[8], args['format'] )<br />
result.param = table.concat( { args[1], args[2], args[3], args[4], args[5],<br />
args[6], args[7], args[8], args[9] } , '_' );<br />
if args[10] ~= '' then<br />
table.insert( errors, { 'formatTest', '座標オプションが認識できません' } );<br />
end <br />
elseif dmsTest(args[3], args[6]) then<br />
-- dm logic<br />
result, errors = parseDMS( args[1], args[2], nil, args[3], <br />
args[4], args[5], nil, args[6], args['format'] )<br />
result.param = table.concat( { args[1], args[2], args[3], args[4], args[5],<br />
args[6], args[7] } , '_' );<br />
if args[8] ~= '' then<br />
table.insert( errors, { 'formatTest', '座標オプションが認識できません' } );<br />
end <br />
elseif dmsTest(args[2], args[4]) then<br />
-- d logic<br />
result, errors = parseDMS( args[1], nil, nil, args[2], <br />
args[3], nil, nil, args[4], args['format'] )<br />
result.param = table.concat( { args[1], args[2], args[3], args[4], args[5] } , '_' );<br />
if args[6] ~= '' then<br />
table.insert( errors, { 'formatTest', '座標オプションが認識できません' } );<br />
end <br />
else<br />
-- Error<br />
return errorPrinter( {{"formatTest", "引数の形式が認識できません"}} )<br />
end<br />
result.name = args["name"]<br />
<br />
local extra_param = {'dim', 'globe', 'scale', 'region', 'source', 'type'}<br />
for _, v in ipairs( extra_param ) do<br />
if (args[v] or '') ~= '' then <br />
table.insert( errors, {'formatTest', '引数: "' .. v .. '=" は "' .. v .. ':" という形式でなければいけません' } );<br />
end<br />
end<br />
<br />
if #errors == 0 then<br />
return specPrinter( args, result ) <br />
else<br />
return specPrinter( args, result ) .. " " .. errorPrinter(errors) .. '[[Category:座標タグに誤りがあるページ]]'; <br />
end <br />
end<br />
<br />
--[[ <br />
Helper function, convert decimal latitude or longitude to <br />
degrees, minutes, and seconds format based on the specified precision. <br />
]]<br />
function convert_dec2dms(coordinate, firstPrefix, secondPrefix, precision)<br />
local coord = tonumber(coordinate) or 0<br />
local prefix<br />
if coord >= 0 then<br />
prefix = firstPrefix<br />
else<br />
prefix = secondPrefix<br />
end<br />
<br />
precision = precision:lower();<br />
if precision == "dms" then<br />
return prefix .. convert_dec2dms_dms( math.abs( coord ) );<br />
elseif precision == "dm" then<br />
return prefix .. convert_dec2dms_dm( math.abs( coord ) );<br />
elseif precision == "d" then<br />
return prefix .. convert_dec2dms_d( math.abs( coord ) );<br />
end<br />
end<br />
<br />
--[[ Helper function, convert decimal to degrees ]]<br />
function convert_dec2dms_d(coordinate)<br />
local d = math_mod._round( coordinate, 0 ) .. "度"<br />
return d .. ""<br />
end<br />
<br />
--[[ Helper function, convert decimal to degrees and minutes ]]<br />
function convert_dec2dms_dm(coordinate) <br />
coordinate = math_mod._round( coordinate * 60, 0 );<br />
local m = coordinate % 60;<br />
coordinate = math.floor( (coordinate - m) / 60 );<br />
local d = coordinate % 360 .."度"<br />
<br />
return d .. string.format( "%02d分", m )<br />
end<br />
<br />
--[[ Helper function, convert decimal to degrees, minutes, and seconds ]]<br />
function convert_dec2dms_dms(coordinate)<br />
coordinate = math_mod._round( coordinate * 60 * 60, 0 );<br />
local s = coordinate % 60<br />
coordinate = math.floor( (coordinate - s) / 60 );<br />
local m = coordinate % 60<br />
coordinate = math.floor( (coordinate - m) / 60 );<br />
local d = coordinate % 360 .."度"<br />
<br />
return d .. string.format( "%02d分", m ) .. string.format( "%02d秒", s )<br />
end<br />
<br />
--[[<br />
Convert DMS format into a N or E decimal coordinate<br />
]]<br />
function convert_dms2dec(direction, degrees_str, minutes_str, seconds_str)<br />
local degrees = tonumber(degrees_str) or 0<br />
local minutes = tonumber(minutes_str) or 0<br />
local seconds = tonumber(seconds_str) or 0<br />
<br />
local factor<br />
direction = mw.ustring.gsub(direction, '^[ ]*(.-)[ ]*$', '%1');<br />
if direction == "N" or direction == "E" then<br />
factor = 1<br />
else<br />
factor = -1<br />
end<br />
<br />
local precision = 0<br />
if seconds_str ~= nil and seconds_str ~= '' then<br />
precision = 5 + math.max( math_mod._precision(seconds_str), 0 );<br />
elseif minutes_str ~= nil and minutes_str ~= '' then<br />
precision = 3 + math.max( math_mod._precision(minutes_str), 0 );<br />
else<br />
precision = math.max( math_mod._precision(degrees_str), 0 );<br />
end<br />
<br />
local decimal = factor * (degrees+(minutes+seconds/60)/60) <br />
return string.format( "%." .. precision .. "f", decimal ) -- not tonumber since this whole thing is string based.<br />
end<br />
<br />
--[[ <br />
Checks input values to for out of range errors.<br />
]]<br />
function validate( lat_d, lat_m, lat_s, long_d, long_m, long_s, source, strong )<br />
local errors = {};<br />
lat_d = tonumber( lat_d ) or 0;<br />
lat_m = tonumber( lat_m ) or 0;<br />
lat_s = tonumber( lat_s ) or 0;<br />
long_d = tonumber( long_d ) or 0;<br />
long_m = tonumber( long_m ) or 0;<br />
long_s = tonumber( long_s ) or 0;<br />
<br />
if strong then<br />
if lat_d < 0 then<br />
table.insert(errors, {source, "緯度が0度を下回っていますが南北が指定されています"})<br />
end<br />
if long_d < 0 then<br />
table.insert(errors, {source, "経度が0度を下回っていますが東西が指定されています"})<br />
end<br />
--[[ <br />
#coordinates is inconsistent about whether this is an error. If globe: is<br />
specified, it won't error on this condition, but otherwise it will.<br />
<br />
For not simply disable this check.<br />
<br />
if long_d > 180 then<br />
table.insert(errors, {source, "経度が180度を上回っていますが東西が指定されています"})<br />
end<br />
]]<br />
end <br />
<br />
if lat_d > 90 then<br />
table.insert(errors, {source, "緯度の度が90を上回っています"})<br />
end<br />
if lat_d < -90 then<br />
table.insert(errors, {source, "緯度の度が-90を下回っています"})<br />
end<br />
if lat_m >= 60 then<br />
table.insert(errors, {source, "緯度の分が60以上です"})<br />
end<br />
if lat_m < 0 then<br />
table.insert(errors, {source, "緯度の分が0を下回っています"})<br />
end<br />
if lat_s >= 60 then<br />
table.insert(errors, {source, "緯度の秒が60以上です"})<br />
end<br />
if lat_s < 0 then<br />
table.insert(errors, {source, "緯度の秒が0を下回っています"})<br />
end<br />
if long_d >= 360 then<br />
table.insert(errors, {source, "経度の度が360以上です"})<br />
end<br />
if long_d <= -360 then<br />
table.insert(errors, {source, "経度の度が-360以下です"})<br />
end<br />
if long_m >= 60 then<br />
table.insert(errors, {source, "経度の分が60以上です"})<br />
end<br />
if long_m < 0 then<br />
table.insert(errors, {source, "経度の分が0を下回っています"})<br />
end<br />
if long_s >= 60 then<br />
table.insert(errors, {source, "経度の秒が60以上です"})<br />
end<br />
if long_s < 0 then<br />
table.insert(errors, {source, "経度の秒が0を下回っています"})<br />
end<br />
<br />
return errors;<br />
end<br />
<br />
--[[<br />
dec2dms<br />
<br />
Wrapper to allow templates to call dec2dms directly.<br />
<br />
Usage:<br />
{{ Invoke:Coordinates | dec2dms | decimal_coordinate | positive_suffix | <br />
negative_suffix | precision }}<br />
<br />
decimal_coordinate is converted to DMS format. If positive, the positive_suffix<br />
is appended (typical N or E), if negative, the negative suffix is appended. The<br />
specified precision is one of 'D', 'DM', or 'DMS' to specify the level of detail<br />
to use.<br />
]]<br />
function coordinates.dec2dms(frame)<br />
globalFrame = frame<br />
local coordinate = frame.args[1]<br />
local firstPostfix = frame.args[2]<br />
local secondPostfix = frame.args[3]<br />
local precision = frame.args[4]<br />
<br />
return convert_dec2dms(coordinate, firstPostfix, secondPostfix, precision)<br />
end<br />
<br />
--[[<br />
Helper function to determine whether to use D, DM, or DMS<br />
format depending on the precision of the decimal input.<br />
]]<br />
function coordinates.determineMode( value1, value2 )<br />
local precision = math.max( math_mod._precision( value1 ), math_mod._precision( value2 ) );<br />
if precision <= 0 then<br />
return 'd'<br />
elseif precision <= 2 then<br />
return 'dm';<br />
else<br />
return 'dms';<br />
end<br />
end <br />
<br />
--[[<br />
dms2dec<br />
<br />
Wrapper to allow templates to call dms2dec directly.<br />
<br />
Usage:<br />
{{ Invoke:Coordinates | dms2dec | direction_flag | degrees | <br />
minutes | seconds }}<br />
<br />
Converts DMS values specified as degrees, minutes, seconds too decimal format.<br />
direction_flag is one of N, S, E, W, and determines whether the output is <br />
positive (i.e. N and E) or negative (i.e. S and W).<br />
]]<br />
function coordinates.dms2dec(frame)<br />
globalFrame = frame<br />
local direction = frame.args[1]<br />
local degrees = frame.args[2]<br />
local minutes = frame.args[3]<br />
local seconds = frame.args[4]<br />
<br />
return convert_dms2dec(direction, degrees, minutes, seconds)<br />
end<br />
<br />
--[[<br />
coord<br />
<br />
Main entry point for Lua function to replace {{coord}}<br />
<br />
Usage:<br />
{{ Invoke:Coordinates | coord }}<br />
{{ Invoke:Coordinates | coord | lat | long }}<br />
{{ Invoke:Coordinates | coord | lat | lat_flag | long | long_flag }}<br />
...<br />
<br />
Refer to {{coord}} documentation page for many additional parameters and <br />
configuration options.<br />
<br />
Note: This function provides the visual display elements of {{coord}}. In<br />
order to load coordinates into the database, the {{#coordinates:}} parser <br />
function must also be called, this is done automatically in the Lua<br />
version of {{coord}}.<br />
]]<br />
function coordinates.coord(frame)<br />
globalFrame = frame<br />
local args = frame.args<br />
if args[1] == nil then<br />
local pFrame = frame:getParent();<br />
args = pFrame.args;<br />
for k,v in pairs( frame.args ) do<br />
args[k] = v;<br />
end<br />
end<br />
<br />
for i=1,10 do <br />
if args[i] == nil then <br />
args[i] = ""<br />
else<br />
args[i] = args[i]:match( '^%s*(.-)%s*$' ); --remove whitespace<br />
end <br />
end<br />
args['format'] = args['format'] or '';<br />
<br />
local contents = formatTest(args)<br />
local Notes = args.notes or ""<br />
local Display = string.lower(args.display or "inline")<br />
if Display == '' then<br />
Display = 'inline';<br />
end<br />
<br />
local text = ''<br />
if string.find( Display, 'inline' ) ~= nil or Display == 'i' or <br />
Display == 'it' or Display == 'ti' then<br />
text = displayinline(contents, Notes)<br />
end<br />
if string.find( Display, 'title' ) ~= nil or Display == 't' or <br />
Display == 'it' or Display == 'ti' then<br />
text = text .. displaytitle(contents, Notes)<br />
end<br />
return text<br />
end<br />
<br />
return coordinates</div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:HtmlBuilder&diff=681モジュール:HtmlBuilder2013-06-27T07:02:09Z<p>Fryed-peach: :en:Module:HtmlBuilder 2013年6月8日 (土) 11:21 より</p>
<hr />
<div>-- Experimental module for building complex HTML (e.g. infoboxes, navboxes) using a fluent interface<br />
<br />
local HtmlBuilder = {}<br />
<br />
local metatable = {}<br />
<br />
metatable.__index = function(t, key)<br />
local ret = rawget(t, key)<br />
if ret then<br />
return ret<br />
end<br />
<br />
ret = metatable[key]<br />
if type(ret) == 'function' then<br />
return function(...) <br />
return ret(t, ...) <br />
end <br />
else<br />
return ret<br />
end<br />
end<br />
<br />
metatable.__tostring = function(t)<br />
local ret = {}<br />
t._build(ret)<br />
return table.concat(ret, '')<br />
end<br />
<br />
metatable._build = function(t, ret)<br />
if t.tagName then <br />
table.insert(ret, '<' .. t.tagName)<br />
for i, attr in ipairs(t.attributes) do<br />
table.insert(ret, ' ' .. attr.name .. '="' .. attr.val .. '"') <br />
end<br />
if #t.styles > 0 then<br />
table.insert(ret, ' style="')<br />
for i, prop in ipairs(t.styles) do<br />
if type(prop) == 'string' then -- added with cssText()<br />
table.insert(ret, prop .. ';')<br />
else -- added with css()<br />
table.insert(ret, prop.name .. ':' .. prop.val .. ';')<br />
end<br />
end<br />
table.insert(ret, '"')<br />
end<br />
if t.selfClosing then<br />
table.insert(ret, ' /')<br />
end<br />
table.insert(ret, '>') <br />
end<br />
for i, node in ipairs(t.nodes) do<br />
if node then<br />
if type(node) == 'table' then<br />
node._build(ret)<br />
else<br />
table.insert(ret, tostring(node))<br />
end<br />
end<br />
end<br />
if t.tagName and not t.unclosed and not t.selfClosing then<br />
table.insert(ret, '</' .. t.tagName .. '>')<br />
end<br />
end<br />
<br />
metatable.node = function(t, builder)<br />
if builder then<br />
table.insert(t.nodes, builder)<br />
end<br />
return t<br />
end<br />
<br />
metatable.wikitext = function(t, ...) <br />
local vals = {...}<br />
for i = 1, #vals do<br />
if vals[i] then<br />
table.insert(t.nodes, vals[i])<br />
end<br />
end<br />
return t<br />
end<br />
<br />
metatable.newline = function(t)<br />
table.insert(t.nodes, '\n')<br />
return t<br />
end<br />
<br />
metatable.tag = function(t, tagName, args)<br />
args = args or {}<br />
args.parent = t<br />
local builder = HtmlBuilder.create(tagName, args)<br />
table.insert(t.nodes, builder)<br />
return builder<br />
end<br />
<br />
function getAttr(t, name)<br />
for i, attr in ipairs(t.attributes) do<br />
if attr.name == name then<br />
return attr<br />
end<br />
end<br />
end<br />
<br />
metatable.attr = function(t, name, val)<br />
-- if caller sets the style attribute explicitly, then replace all styles previously added with css() and cssText()<br />
if name == 'style' then<br />
t.styles = {val}<br />
return t<br />
end<br />
<br />
local attr = getAttr(t, name)<br />
if attr then<br />
attr.val = val<br />
else<br />
table.insert(t.attributes, {name = name, val = val})<br />
end<br />
<br />
return t<br />
end<br />
<br />
metatable.addClass = function(t, class)<br />
if class then<br />
local attr = getAttr(t, 'class')<br />
if attr then<br />
attr.val = attr.val .. ' ' .. class<br />
else<br />
t.attr('class', class)<br />
end<br />
end<br />
<br />
return t<br />
end<br />
<br />
metatable.css = function(t, name, val)<br />
if type(val) == 'string' or type(val) == 'number' then<br />
for i, prop in ipairs(t.styles) do<br />
if prop.name == name then<br />
prop.val = val<br />
return t<br />
end<br />
end<br />
<br />
table.insert(t.styles, {name = name, val = val})<br />
end<br />
<br />
return t<br />
end<br />
<br />
metatable.cssText = function(t, css)<br />
if css then<br />
table.insert(t.styles, css)<br />
end<br />
return t<br />
end<br />
<br />
metatable.done = function(t)<br />
return t.parent or t<br />
end<br />
<br />
metatable.allDone = function(t)<br />
while t.parent do<br />
t = t.parent<br />
end<br />
return t<br />
end<br />
<br />
function HtmlBuilder.create(tagName, args)<br />
args = args or {}<br />
local builder = {}<br />
setmetatable(builder, metatable)<br />
builder.nodes = {}<br />
builder.attributes = {}<br />
builder.styles = {}<br />
builder.tagName = tagName<br />
builder.parent = args.parent<br />
builder.unclosed = args.unclosed or false<br />
builder.selfClosing = args.selfClosing or false<br />
return builder<br />
end<br />
<br />
return HtmlBuilder</div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:URL&diff=602モジュール:URL2013-06-18T00:29:43Z<p>Fryed-peach: :en:Module:URL 2013年5月31日 (金) 10:58 より</p>
<hr />
<div>--<br />
-- This module implements {{URL}}<br />
--<br />
-- See unit tests at [[Module:URL/tests]]<br />
<br />
local p = {}<br />
<br />
function trim(s)<br />
return (mw.ustring.gsub(s, "^%s*(.-)%s*$", "%1"))<br />
end<br />
<br />
function safeUri(s)<br />
local success, uri = pcall(function()<br />
return mw.uri.new(s)<br />
end)<br />
if success then<br />
return uri<br />
end<br />
end<br />
<br />
function p._url(url, text)<br />
url = trim(url or '')<br />
text = trim(text or '')<br />
<br />
if url == '' then<br />
if text == '' then<br />
return mw.getCurrentFrame():expandTemplate{ title = 'tlx', args = { 'URL', "1=''example.com''", "2=''リンクの表示名(省略可)''" } }<br />
else<br />
return text<br />
end<br />
end<br />
<br />
-- If the URL contains any unencoded spaces, encode them, because MediaWiki will otherwise interpret a space as the end of the URL.<br />
url = mw.ustring.gsub(url, '%s', function(s) return mw.uri.encode(s, 'PATH') end)<br />
<br />
-- If there is an empty query string or fragment id, remove it as it will cause mw.uri.new to throw an error<br />
url = mw.ustring.gsub(url, '#$', '')<br />
url = mw.ustring.gsub(url, '%?$', '')<br />
<br />
-- If it's an HTTP[S] URL without the double slash, fix it.<br />
url = mw.ustring.gsub(url, '^[Hh][Tt][Tt][Pp]([Ss]?):(/?)([^/])', 'http%1://%3')<br />
<br />
local uri = safeUri(url)<br />
<br />
-- Handle URL's without a protocol and URL's that are protocol-relative, <br />
-- e.g. www.example.com/foo or www.example.com:8080/foo, and //www.example.com/foo<br />
if uri and (not uri.protocol or (uri.protocol and not uri.host)) and url:sub(1, 2) ~= '//' then<br />
url = 'http://' .. url<br />
uri = safeUri(url)<br />
end<br />
<br />
if text == '' then<br />
if uri then<br />
if uri.path == '/' then uri.path = '' end<br />
<br />
local port = ''<br />
if uri.port then port = ':' .. uri.port end<br />
<br />
text = mw.ustring.lower(uri.host or '') .. port .. (uri.relativePath or '')<br />
else -- URL is badly-formed, so just display whatever was passed in<br />
text = url<br />
end<br />
end<br />
<br />
return mw.ustring.format('<span class="url">[%s %s]</span>', url, text)<br />
end<br />
<br />
function p.url(frame)<br />
local templateArgs = frame.args<br />
local url = templateArgs[1] or ''<br />
local text = templateArgs[2] or ''<br />
return p._url(url, text)<br />
end<br />
<br />
return p</div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:%E7%8B%AC%E8%87%AA%E7%A0%94%E7%A9%B6/doc&diff=1151テンプレート:独自研究/doc2013-06-12T05:14:00Z<p>Fryed-peach: /* 他の問題を解決するためのテンプレート */ ウィキデータの項目に移行した言語間リンク 34 (33+1) 件を除去</p>
<hr />
<div><noinclude>{{Documentation subpage|種類=[[Help:テンプレート|テンプレート]]}}</noinclude><br />
{{Notice|[[Template‐ノート:独自研究|ノート]]にて、自己参照するリンクを設置しないことが合意されました。意見がある場合は直ちに議論へ参加してください。}}<br />
== 使用法 ==<br />
* 記事全体の場合は、記事冒頭に<br />
*: <code>{&#123;独自研究|date={{#time:Y年n月|+9 hours}}}}</code> と記入してください。<br />
* 特定の節の場合は、該当節冒頭に<br />
*: <code>{&#123;独自研究|section=1}}</code> と記入してください。<br />
*テンプレートを付記した年月を記載する場合、<br />
*: <code>{&#123;独自研究|date={{#time:Y年n月|+9 hours}}}}</code> と記入してください。<br />
* DEFAULTSORTとは異なるソートキーを指定する必要がある場合<br />
*: <code>{&#123;独自研究|ソートキー=XXXX}}</code> と記入してください。XXXXには指定するソートキーを入れます。<br />
* 各パラメータは併用することができます。<br />
*: <code>{&#123;独自研究|section=1|date={{#time:Y年n月|+9 hours}}}}</code><br />
<br />
== 解説・どんな時に使うか ==<br />
このテンプレートは、ある記事や節に[[Wikipedia:独自研究は載せない]]に示されている「独自研究」に基づいた記述が含まれているおそれがある場合に用います。<br />
<br />
本テンプレートを貼付する場合、記事の内容のどの部分について出典や根拠を求めるかノートなどで具体的に提示することが望まれます。{{tl|独自研究範囲}}または、{{tl|要出典}}テンプレートを使用して問題箇所を明示するとなお望ましくなります。コメントを添えずに単なるレッテル付けの目的で使うことは望ましくありません。問題箇所を明示せずに本テンプレートを貼付しても、問題が改善される可能性が低いからです。<br />
<br />
記事内容について適切な出典や根拠が示され、独自研究に基づいた記述が含まれていないことが確認できた場合、あるいは独自研究に基づいていない内容に更新された場合、このテンプレートは取り除いてください。<br />
<br />
== カテゴリ ==<br />
このテンプレートは、貼り付けられたページに次のカテゴリを適用します:<br />
{| class="wikitable"<br />
! カテゴリ !! ソートキー !! 説明<br />
|-<br />
! style="text-align:left;" | [[:Category:独自研究の除去が必要な記事]]/yyyy年m月<br />
| || <br />
|}<br />
* 当該記事が少なくなった古いカテゴリの月別構成を変更する場合は、内部テンプレート{{Tl|独自研究/dateHandler}}を修正してください。<br />
<br />
== 関連テンプレート ==<br />
* [[Template:独自研究範囲]]: 独自研究の疑いがある記述を下線で明示<br />
<br />
=== 他の問題を解決するためのテンプレート ===<br />
記事について[[Wikipedia:独自研究は載せない]]以外の問題がある場合には、以下のようなテンプレートもあります。本テンプレートと組み合わせて使うこともできます。<br />
* [[Template:出典の明記]]: 記事の内容について出典を求める場合。<br />
* [[Template:未検証]]: 記事の内容について出典を求め、それに基づく検証を行いたい場合。<br />
* [[Template:観点]]: 記事の内容が[[Wikipedia:中立的な観点|中立的な観点]]に基づいていない場合。<br />
* [[Template:正確性]]: 記事の内容の正確性に問題がある場合。<br />
* [[Template:精度]]: 記事の内容の精度に問題がある場合。<br />
* [[Template:告知]]: 記事の内容についてノートや別ページで質問や議論、お知らせを行いたい場合。<br />
* [[Wikipedia:Template メッセージの一覧]]<br />
* [[Wikipedia:Template メッセージの一覧/問題のある記事]]<br />
* [[Wikipedia:Template メッセージの一覧/記事の内容への注意]]<includeonly><br />
<br />
{{デフォルトソート:とくしけんきゆう}}<br />
[[Category:検証可能性関連のテンプレート]]<br />
</includeonly></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Template_sandbox_notice&diff=844テンプレート:Template sandbox notice2013-06-03T00:48:31Z<p>Fryed-peach: </p>
<hr />
<div><noinclude>----<!-- white space check --><br />
</noinclude>{{<br />
#ifeq: {{SUBPAGENAME}} | {{{subpage-name|sandbox}}}<br />
|<!-- the sandbox -->{{Ombox<br />
| image-file = Sandbox.svg<br />
| text = ここは、[[{{NAMESPACE}}:{{BASEPAGENAME}}]]の[[Wikipedia:テンプレートのサンドボックスとテストケース|テンプレート・サンドボックス]]です。{{#if:{{REVISIONID}}<br />
|([{{fullurl:特別:ページの比較 | page1={{NAMESPACEE}}:{{BASEPAGENAMEE}}&page2={{FULLPAGENAMEE}}}} 差分])<br />
|<!-- プレビュー時は表示せず --><br />
}}{{<br />
#ifexist: {{ #rel2abs: ../testcases }}<br />
|<br/>対応する[[../testcases|テストケース・サブページ]]もご覧ください。<br />
}}}}{{{notice-for-sandbox|<noinclude>{{notice| text = notice-for-sandbox }}</noinclude>}}}{{<br />
#ifeq: {{NAMESPACE}} | {{ns:10}}<br />
|<includeonly>[[Category:テンプレート・サンドボックス|{{PAGENAME}}]]</includeonly><br />
}}<br />
|<!-- not sandbox -->{{{notice-not-sandbox|<noinclude>{{notice| text = notice-not-sandbox }}</noinclude>}}}<br />
}}<noinclude><br />
----<br />
<br />
<!-- white space check --><br />
{{Documentation}}<!--<br />
Add categories and inter-wikis to the /doc subpage, not here!<br />
--></noinclude></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Userbox/doc&diff=1429テンプレート:Userbox/doc2013-05-24T07:48:33Z<p>Fryed-peach: ウィキデータに移行した言語間リンクを除去</p>
<hr />
<div><noinclude>{{Documentation subpage|種類=[[Help:テンプレート|テンプレート]]}}</noinclude><br />
<includeonly>{{使用箇所の多いテンプレート|5,000以上}}</includeonly><br />
== 使用法 ==<br />
<pre><br />
{{Userbox<br />
|border-c = <!--外枠の色、省略値:#999999--><br />
|border-s = <!--外枠の太さ (px)、省略値:1--><br />
|id-c = <!--アイコン画像またはID記号の入る枠の背景色、省略値:#dddddd--><br />
|id-fc = <!--ID記号のフォントの色、省略値:#000000--><br />
|id-s = <!--ID記号のフォントサイズ (pt)、省略値:14--><br />
|id = <!--アイコン画像またはID記号、省略値:id--><br />
|info-c = <!--文章本文の入る枠の背景色、省略値:#eeeeee--><br />
|info-fc = <!--文章本文のフォントの色、省略値:#000000--><br />
|info-s = <!--文章本文のフォントサイズ (pt)、省略値:8--><br />
|info = <!--文章本文、省略値:info--><br />
|usercategory = <!--この利用者が該当するカテゴリその1 (option)--><br />
|usercategory2 = <!--この利用者が該当するカテゴリその2 (option)--><br />
|usercategory3 = <!--この利用者が該当するカテゴリその3 (option)--><br />
}}<br />
</pre><br />
※usercategory 系のパラメータに定義したカテゴリが、貼り付けられます。通常はこのユーザボックスのテンプレートを貼るのは[[Wikipedia:利用者ページ|利用者ページ]]ですので、その利用者の名前がこのカテゴリに追加されます。([[:Category:滋賀県出身のウィキペディアン]]など。以下の例参照)<br />
<br />
{| style="background:none"<br />
! 入力<br />
! 出力<br />
|-<br />
|<br />
<pre><br />
{{Userbox<br />
|border-c = black<br />
|border-s = 1<br />
|id-c = green<br />
|id-fc = <br />
|id-s = <br />
|id = [[File:Crystal kthememgr.png|40px]]<br />
|info-c = yellow<br />
|info-fc = black<br />
|info-s = 8<br />
|info = この利用者はxxxです。<br />
|usercategory = 滋賀県出身のウィキペディアン<br />
|usercategory2 = ウィキプロジェクト 世界遺産に参加しているウィキペディアン<br />
|usercategory3 = user:ja-N<br />
}}<br />
</pre><br />
|<br />
{{Userbox<br />
|border-c = black<br />
|border-s = 1<br />
|id-c = green<br />
|id-fc = <br />
|id-s = <br />
|id = [[File:Crystal kthememgr.png|40px]]<br />
|info-c = yellow<br />
|info-fc = black<br />
|info-s = 8<br />
|info = この利用者はxxxです。<br />
}}<br />
|-<br />
|<br />
<pre><br />
{{Userbox<br />
|border-c = black<br />
|border-s = 1<br />
|id-c = blue<br />
|id-fc = red<br />
|id-s = 14<br />
|id = xxx<br />
|info-c = yellow<br />
|info-fc = black<br />
|info-s = 8<br />
|info = この利用者はxxxです。<br />
}}<br />
</pre><br />
|<br />
{{Userbox<br />
|border-c = black<br />
|border-s = 1<br />
|id-c = blue<br />
|id-fc = red<br />
|id-s = 14<br />
|id = xxx<br />
|info-c = yellow<br />
|info-fc = black<br />
|info-s = 8<br />
|info = この利用者はxxxです。<br />
}}<br />
|}<br />
<br />
'''省略版:''' 第1引数がborder-c、第2引数がinfo-c、第3引数がid、第4引数がinfo、第5引数がid-s。この場合、id-cにも第1引数の値が設定される。<br />
{| style="background:none"<br />
! 入力<br />
! 出力<br />
|-<br />
|<br />
<pre><br />
{{Userbox|grey|lightgrey|xxx|この利用者はxxxです。|14}}<br />
</pre><br />
|<br />
{{Userbox|grey|lightgrey|xxx|この利用者はxxxです。|14}}<br />
|}<br />
<includeonly><br />
[[Category:ウィキペディアのユーザーボックス|*Userbox]]<br />
</includeonly></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Infobox_Website/doc&diff=864テンプレート:Infobox Website/doc2013-05-21T01:51:49Z<p>Fryed-peach: /* 関連項目 */ ウィキデータの項目に移行した言語間リンク 55 (53+2) 件を除去</p>
<hr />
<div><noinclude>{{Documentation subpage|種類=[[Help:テンプレート|テンプレート]]}}</noinclude><br />
このテンプレートは、[[ウェブサイト]]についての情報を記載するために使われるものです。<br />
<br />
__TOC__<br />
== 使い方 ==<br />
<pre><br />
{{Infobox Website<br />
| name = <br />
| logo = <br />
| screenshot = <br />
| collapsible = <br />
| collapsetext = <br />
| caption = <br />
| url = <br />
| alexa = <br />
| commercial = <br />
| type = <br />
| language = <br />
| registration = <br />
| owner = <br />
| author = <br />
| launch date = <br />
| current status = <br />
| revenue = <br />
| slogan = <br />
| content license = <br />
}}<br />
</pre><br />
<br />
===引数===<br />
{| class="wikitable"<br />
! style="text-align: left" | 引数<br />
! style="text-align: left" | 説明<br />
|- <br />
| <code>name</code><br />
| サイト名を記入します。<br />
|-<br />
| <code>logo</code><br />
| [[ロゴタイプ]]の画像がある場合は画像へのウィキリンクを記入します。[[英語版ウィキペディア]]のように[[フェアユース]]を理由にして画像を使用することはできません。[[パブリックドメイン]]になっている画像や[[Wikipedia:ウィキメディア・コモンズ|ウィキメディア・コモンズ]]にアップロードされている画像のみ使用することができます。日本語版では多くの場合、[[Wikipedia:著作権|著作権問題]]により画像を使用することはできません。<br />
|-<br />
| <code>screenshot</code><br />
| ロゴと同様に、サイトの[[スクリーンショット]]の画像について記入します。ロゴ同様、[[英語版ウィキペディア]]のように[[フェアユース]]を理由にして画像を使用することはできません。[[パブリックドメイン]]になっている画像や[[Wikipedia:ウィキメディア・コモンズ|ウィキメディア・コモンズ]]にアップロードされている画像のみ使用することができます。日本語版では多くの場合、[[Wikipedia:著作権|著作権問題]]により画像を使用することはできません。<br />
|-<br />
| <code>collapsible</code><br />
| スクリーンショットの画像を折りたたみ状態にして表示を任意にしたい場合に「Yes」と記入します。この場合「<nowiki>[表示]</nowiki>」をクリックするとスクリーンショットが表示されます。<br />
|-<br />
| <code>collapsetext</code><br />
| スクリーンショットの画像を折りたたみ状態にした場合に表示されるテキストを記入します。既定値は「スクリーンショット」です。<br />
|-<br />
| <code>caption</code><br />
| スクリーンショットについての説明(何月何日現在のスクリーンショットかなど)を記入します。<br />
|-<br />
| <code>url</code><br />
| サイトのトップページの[[Uniform Resource Locator|URL]]をそのまま記入します。<br />
|-<br />
| <code>alexa</code><br />
| [[アレクサ・インターネット]]が集計しているサイトのアクセスランキングを「'''〜位'''」という形式で記入します。([http://www.alexa.com/ Alexa.com]で目的のサイトの順位を調べることができ、出典にすることもできます。)<br />
|-<br />
| <code>commercial</code><br />
| [[利益|営利]]・[[非営利]]のいずれかを記入します。<br />
|-<br />
| <code>type</code><br />
| [[検索エンジン]]、[[ソーシャル・ネットワーキング・サービス]]など、サイトの種類や目的などを記入します。<br />
|-<br />
| <code>language</code><br />
| 使用されている言語を「'''〜語'''」という形式で記入します。<br />
|-<br />
| <code>registration</code><br />
| サイトの閲覧や利用などに、ユーザー登録などが必要かどうかを記入します。<br />
|-<br />
| <code>owner</code><br />
| サイトの運営者もしくは運営母体を記入します。<br />
|-<br />
| <code>author</code><br />
| サイトの設立者もしくは設立団体を記入します。<br />
|-<br />
| <code>launch date</code><br />
| サイトの設立日を記入します。 <br />
|-<br />
| <code>current status</code><br />
| サイトの現状について、できるだけ詳しく記入します。<br />
|-<br />
| <code>revenue</code><br />
| サイトがどこから収益を得ているのかを記入します。<br />
|-<br />
| <code>slogan</code><br />
| サイトの[[標語]](モットーやスローガンなど)を記入します。<br />
|-<br />
| <code>content license</code><br />
| [[著作権|コピーライト]]、[[GNU Free Documentation License]]など、サイトの内容に関する[[ライセンス#著作物全般の利用許諾のライセンス|ライセンス]]を記入します。<br />
|}<br />
<br />
注:<br />
* 必ずしもすべての項目を記入する必要はありません。ただし、<code>name</code>(サイト名)・<code>url</code>(URL)・<code>type</code>(タイプ)・<code>owner</code>(運営者)・<code>author</code>(設立者)はそれぞれ記入が必須になっています。<br />
* 英語版に使われているロゴ、スクリーンショットなどの画像の多くは、アメリカ合衆国の[[著作権法]]と日本の著作権法の違いにより、ウィキペディア日本語版では使用できません。これは、アメリカの著作権法では著作物でも[[フェアユース]]により使用できますが、日本の著作権法ではこのような規定は適用されないためです。<br />
* 内容が長くなった場合は<nowiki><br /></nowiki>で改行して下さい。<br />
<br />
===使用例===<br />
{{Infobox Website<br />
|name=Google<br />
|logo=[[ファイル:Google-Logo.svg|150px]]<br />
|screenshot=<br />
|caption=<br />
|url=http://www.google.co.jp/<br />
|slogan=<br />
|alexa=2位<br />
|commercial=[[利益|営利]]<br />
|type=[[検索エンジン]]<br />
|registration=任意<br />
|language=多言語<br />
|owner=[[Google|Google Inc.]]<br />
|author=[[ラリー・ペイジ]]、[[セルゲイ・ブリン]]<br />
|launch date=[[1997年]][[9月15日]]<br />
|revenue=[[Googleのサービス#Google Adwords|Google Adwords]]から<br />
|current status=現在運営中<br />
}}<br />
<br />
<pre style="overflow:auto;"><br />
{{Infobox Website<br />
|name=Google<br />
|logo=[[ファイル:Google-Logo.svg|150px]]<br />
|screenshot=<br />
|caption=<br />
|url=http://www.google.co.jp/<br />
|slogan=<br />
|alexa=2位<br />
|commercial=[[利益|営利]]<br />
|type=[[検索エンジン]]<br />
|registration=任意<br />
|language=多言語<br />
|owner=[[Google|Google Inc.]]<br />
|author=[[ラリー・ペイジ]]、[[セルゲイ・ブリン]]<br />
|launch date=[[1997年]][[9月15日]]<br />
|revenue=[[Googleのサービス#Google Adwords|Google Adwords]]から<br />
|current status=現在運営中<br />
}}<br />
</pre><br />
<br />
===関連項目===<br />
* {{tl|Infobox dot-com company}}<br />
* {{tl|Infobox オンライン情報源}}<br />
<br />
<includeonly><br />
{{DEFAULTSORT:Infobox Website}}<br />
[[Category:コンピュータの基礎情報テンプレート|Website]]<br />
[[Category:インターネット関連のテンプレート]]<br />
</includeonly></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Babel/doc&diff=1403テンプレート:Babel/doc2013-05-20T03:00:08Z<p>Fryed-peach: ウィキデータの項目に移行した言語間リンク 234 (192+42)+3 件を除去</p>
<hr />
<div><noinclude>{{Documentation subpage|種類=[[Help:テンプレート|テンプレート]]}}</noinclude><br />
<br />
利用者ページにこの「バベル」 (Babel) ボックスを表示することで、あなたが使える言語を示すことができます。詳しくは [[Wikipedia:バベル]] をご覧ください。使用している[[ウェブブラウザ]]や[[オペレーティングシステム]]などを示すこともできます([[Wikipedia:ユーザーボックス]])。<br />
<br />
__TOC__<br />
== 使い方 ==<br />
例: <nowiki>{{Babel|align=left|color=yellow|width=496|ja|en-3|!|zh-2|fr-1}}</nowiki> と書けば以下のように表示されます。<br />
<br />
<includeonly><br />
{{Babel|align=left|color=yellow|width=496|ja|en-3|!|zh-2|fr-1}}<br />
</includeonly><br />
{{-}}<br />
<br />
引数を取るボックスは、次のように末尾にまとめて指定します。<br />
<pre>{{Babel|......|special-boxes={{box1|param1|param2}}{{box2|param1|param2|param3}}}}</pre><br />
<br />
利用者名前空間内のユーザーボックスも表示できます。例えば <nowiki>{{Babel|ja|:kanjy/foobar}}</nowiki> と書けば <nowiki>[[利用者:Kanjy/foobar]]</nowiki> を指定したことになります。これは、指定した名前の先頭に "User " が付けられることと、名前空間 "User:" が "利用者:" の別名になっていることによります。<br />
<br />
なおユーザーボックス専用のサブページを作成して利用者ページに呼び出しする場合は、サブページの中身を'''<code><nowiki><includeonly></includeonly></nowiki></code>'''で囲んでください。そうしないと、サブページと呼び出し先のページが重複してカテゴリに登録されます。<br />
<br />
== 引数 ==<br />
次のような引数を追加することで書式を指定し、外観を様々に変えることができます。<br />
{| class="wikitable" border="1"<br />
|+ 引数の一覧<br />
! 引数 !! 指定内容 !! 既定値 !! 説明<br />
|-<br />
! header<br />
| 文字列・リンク|| [[Wikipedia:バベル|バベル]] || 上端に表示する内容<br />
|-<br />
! footer<br />
| 文字列・リンク ||[[:Category:言語別の利用者|言語別の利用者]] || 下端に表示する内容<br />
|-<br />
! align<br />
| right, left, center || right ||配置位置 <br />
|-<br />
! bordercolor<br />
| || #99B3FF || 枠線の色<br />
|-<br />
! color<br />
| || white || 背景色<br />
|-<br />
! textcolor<br />
| || black || 文字色<br />
|-<br />
! left<br />
| ||1 || 左余白<br />
|-<br />
! bottom<br />
| || 0.5 || 下余白<br />
|-<br />
! solid<br />
| || 1 || 枠線の太さ<br />
|-<br />
! width<br />
| || 248 || ボックスの幅<br />
|-<br />
! extra-css<br />
| || || 上記以外の書式<br />
|}<br />
<br />
* [[Template:User !|!]] (段区切り)<br />
* [[Template:User -|-]] (空行)<includeonly><br />
<!-- カテゴリは以下に追加してください --><br />
[[Category:バベル|*]]<br />
</includeonly></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Navbox_suite&diff=806テンプレート:Navbox suite2013-05-11T13:50:07Z<p>Fryed-peach: ウィキデータの項目に移行した言語間リンク 2 (0+2) 件を除去</p>
<hr />
<div><onlyinclude>{{Navbox<br />
|navbar = off<br />
|state = off<br />
|style = width:auto;float:right;margin:0em 0em 0em 1em;{{box-shadow|2px|2px|4px|#A0A080}};{{border-radius|16px 16px 16px 16px}};<br />
|titlestyle = {{border-radius|16px 16px 0px 0px}};<br />
|title = Navbox一式<br />
|list1 = {{Tl|Navbox}}<br />
|list2 = {{Tl|Navbox subgroup}}<br />
|list3 = {{Tl|Navbox with columns}}<br />
|list4 = {{Tl|Navbox with collapsible groups}}<br />
|list5 = {{Tl|NavboxYears}}<br />
|list6 = {{Tl|NavboxYears2}}<br />
|list7 = {{Tl|Navboxes}}<br />
}}</onlyinclude><!--<br />
<br />
NOTE: A template MUST support all of the parameters marked with a cross in Template:Navbox/doc in order to be Navbox suite compliant. In particular, the name, state, border, and navbar parameters are especially important. --><br />
<br />
[[Category:ナビゲーションテンプレート|*]]</div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Min&diff=1378テンプレート:Min2013-04-23T01:07:56Z<p>Fryed-peach: :en:Template:Min 2013年2月22日 (金) 02:26 より転載</p>
<hr />
<div><includeonly>{{#invoke:Math|min}}</includeonly><noinclude><br />
{{Documentation}}<br />
</noinclude></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:SUBJECTSPACE_ja&diff=1085テンプレート:SUBJECTSPACE ja2013-04-22T01:34:49Z<p>Fryed-peach: </p>
<hr />
<div><onlyinclude>{{#switch:{{SUBJECTSPACE}}<br />
| {{ns:0}} =<br />
| {{ns:2}} = 利用者<br />
| {{ns:4}} = ウィキペディア<br />
| {{ns:6}} = ファイル<br />
| {{ns:8}} = メディアウィキ<br />
| {{ns:10}} = テンプレート<br />
| {{ns:12}} = ヘルプ<br />
| {{ns:14}} = カテゴリ<br />
| {{ns:100}} = ウィキポータル<br />
| {{ns:102}} = ウィキプロジェクト<br />
| {{ns:828}} = モジュール<br />
| #default = {{SUBJECTSPACE}}<br />
}}</onlyinclude><br />
{{Documentation}}</div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:URL&diff=834テンプレート:URL2013-04-01T00:29:16Z<p>Fryed-peach: en:Template:URL 2013年3月3日 (日) 00:30 より転載</p>
<hr />
<div><includeonly>{{#invoke:URL|url|1={{{1|}}}|2={{{2|}}}}}</includeonly><noinclude>{{documentation}}</noinclude></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Cmbox&diff=1117テンプレート:Cmbox2013-02-07T11:21:52Z<p>Fryed-peach: 178.239.50.146 (会話) による ID:46133415 の版を取り消し</p>
<hr />
<div><table class="plainlinks cmbox <br />
{{#switch:{{{type|}}}<br />
| speedy = cmbox-speedy<br />
| delete = cmbox-delete<br />
| content = cmbox-content<br />
| style = cmbox-style<br />
| move = cmbox-move<br />
| protection = cmbox-protection<br />
| notice <!-- notice = default --><br />
| #default = cmbox-notice<br />
}}" style="{{#if:{{{background|}}}|background: {{{background}}};}} {{{style|}}}"><br />
<tr><br />
{{#ifeq:{{{image|}}}|none<br />
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell" style="border: none; padding: 0px; width: 1px;"></td><br />
| <td class="mbox-image"><br />
{{#if:{{{image-file|}}}<br />
| [[File:{{{image-file}}}|{{#if:{{{image-size|}}}|{{{image-size}}}|40x40}}px]]<br />
| {{#if:{{{image|}}}<br />
| {{{image}}}<br />
| [[File:{{#switch:{{{type|}}}<br />
| speedy = Cmbox deletion.png<br />
| delete = Cmbox deletion.png <br />
| content = Cmbox content.png<br />
| style = Cmbox style.png<br />
| move = Cmbox move.png<br />
| protection = Cmbox protection.png<br />
| notice <!-- notice = default --><br />
| #default = Cmbox notice.png<br />
}}|{{#if:{{{image-size|}}}|{{{image-size}}}|40x40}}px]]<br />
}}<br />
}}</td><br />
}}<br />
<td class="mbox-text" style="{{{textstyle|}}}">{{#if:{{{text|}}}| {{{text}}} }}<!-- {{{text}}}内冒頭のウィキマークアップによる箇条書きを正しく表示させるために条件文にしています。 --></td><br />
{{#if:{{{imageright-file|}}}{{{imageright|}}}<br />
| <td class="mbox-imageright"> {{#if:{{{imageright-file|}}}|[[File:{{{imageright-file}}}|{{#if:{{{imageright-size|{{{image-size|}}}}}}|{{{imageright-size|{{{image-size}}}}}}|40x40}}px]]|{{{imageright}}}}} </td><br />
}}<br />
</tr><br />
</table><!-- Detect and report usage with faulty "type" parameter:<br />
-->{{#switch:{{{type|}}}<br />
| <!-- No type fed, is also valid input --><br />
| speedy<br />
| delete<br />
| content<br />
| style<br />
| move<br />
| protection<br />
| notice = <!-- Do nothing, valid "type" --><br />
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div><!--[[Category:Wikipedia message box parameter needs fixing|{{Main other|Main:}}{{FULLPAGENAME}}]]--><!-- Sort on namespace --><br />
}}<!--<br />
<br />
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:カテゴリメッセージボックス]]}}}}</includeonly><!--<br />
<br />
--><noinclude><br />
{{Documentation}}<br />
</noinclude></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Fmbox&diff=1370テンプレート:Fmbox2013-02-07T11:18:15Z<p>Fryed-peach: Kurz(会話)による ID:28603143 の版へ差し戻し (ポップアップ使用)</p>
<hr />
<div><table id="{{{id|}}}" class="plainlinks fmbox<br />
{{#switch:{{{type|}}}<br />
| warning = fmbox-warning<br />
| editnotice = fmbox-editnotice<br />
| system <!-- system = default --><br />
| #default = fmbox-system<br />
}} {{{class|}}}" style="{{{style|}}}"><br />
<tr><br />
{{#ifeq:{{{image|}}}|none<br />
| <!-- No image. --><br />
| <td class="mbox-image"><br />
{{#if:{{{image-file|}}}<br />
| [[File:{{{image-file}}}|{{#if:{{{image-size|}}}|{{{image-size}}}|40x40}}px]]<br />
| {{#if:{{{image|}}}<br />
| {{{image}}}<br />
| [[File:{{#switch:{{{type|}}}<br />
| warning = Imbox deletion.png <br />
| editnotice = Imbox notice.png<br />
| system <!-- system = default --><br />
| #default = Imbox notice.png<br />
}}|{{#if:{{{image-size|}}}|{{{image-size}}}|40x40}}px]]<br />
}}<br />
}}</td><br />
}}<br />
<td class="mbox-text" style="{{{textstyle|}}}">{{#if:{{{text|}}}| {{{text}}} }}<!-- {{{text}}}内冒頭のウィキマークアップによる箇条書きを正しく表示させるために条件文にしています。 --></td><br />
{{#if:{{{imageright-file|}}}{{{imageright|}}}<br />
| <td class="mbox-imageright"> {{#if:{{{imageright-file|}}}|[[File:{{{imageright-file}}}|{{#if:{{{imageright-size|{{{image-size|}}}}}}|{{{imageright-size|{{{image-size}}}}}}|40x40}}px]]|{{{imageright}}}}} </td><br />
}}<br />
</tr><br />
</table><!-- Detect and report usage with faulty "type" parameter:<br />
-->{{#switch:{{{type|}}}<br />
| <!-- No type fed, is also valid input --><br />
| warning<br />
| editnotice<br />
| system = <!-- Do nothing, valid "type" --><br />
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{Main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --><br />
}}<!-- <br />
<br />
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:ヘッダ・フッタメッセージボックス]]}}}}</includeonly><!--<br />
<br />
--><noinclude>{{Documentation}}</noinclude></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Ombox&diff=812テンプレート:Ombox2013-02-07T11:15:53Z<p>Fryed-peach: Hosiryuhosi(会話)による ID:31400765 の版へ差し戻し (ポップアップ使用)</p>
<hr />
<div>{{#ifeq:{{{small|}}}|yes<br />
| {{Ombox/core<br />
| small = yes<br />
| type = {{{type|}}}<br />
| image = {{#if:{{{smallimage|}}} | {{{smallimage}}} | {{{image|}}} }}<br />
| image-file = {{#if:{{{smallimage-file|}}} | {{{smallimage-file}}} | {{{image-file|}}} }}<br />
| image-size = {{#if:{{{smallimage-size|}}} | {{{smallimage-size|}}} | 30x30 }}<br />
| imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}<br />
| imageright-file = {{#if:{{{smallimageright-file|}}} | {{{smallimageright-file}}} | {{{imageright-file|}}} }}<br />
| imageright-size = {{#if:{{{smallimageright-size|{{{smallimage-size|}}}}}}<br />
| {{{smallimageright-size|{{{smallimage-size|}}}}}}<br />
| 30x30<br />
}}<br />
| style = {{{style|}}}; {{#if:{{{background|}}}|background-color: {{{background|}}}}}<br />
| class = {{{class|}}}<br />
| textstyle = {{{textstyle|}}}<br />
| text = {{#if:{{{smalltext|}}} | {{{smalltext|}}} | {{{text}}} }}<br />
}}<br />
| {{Ombox/core<br />
| type = {{{type|}}}<br />
| image = {{{image|}}}<br />
| image-file = {{{image-file|}}}<br />
| image-size = {{#if:{{{image-size|}}} | {{{image-size|}}} | 40x40 }}<br />
| imageright = {{{imageright|}}}<br />
| imageright-file = {{{imageright-file|}}}<br />
| imageright-size = {{#if:{{{imageright-size|}}} | {{{imageright-size|}}} | 40x40 }}<br />
| style = {{{style|}}}; {{#if:{{{background|}}}|background-color: {{{background|}}}}}<br />
| class = {{{class|}}}<br />
| textstyle = {{{textstyle|}}}<br />
| text = {{{text}}}<br />
}}<br />
}}<noinclude><br />
{{Documentation}}<br />
<!-- Add categories and interwikis to the /doc subpage, not here! --><br />
</noinclude></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Ombox/core&diff=814テンプレート:Ombox/core2013-02-07T11:15:05Z<p>Fryed-peach: 178.239.50.146 (会話) による ID:46133338 の版を取り消し</p>
<hr />
<div><table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}} <br />
{{#switch:{{{type|}}}<br />
| speedy = ombox-speedy<br />
| delete = ombox-delete<br />
| content = ombox-content<br />
| style = ombox-style<br />
| move = ombox-move<br />
| protection = ombox-protection<br />
| notice <br />
| #default = ombox-notice<br />
}}" style="{{{style|}}}"><br />
<tr><br />
{{#ifeq:{{{image|}}}|none<br />
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell" style="border: none; padding: 0px; width: 1px;"></td><br />
| <td class="mbox-image"><br />
{{#if:{{{image-file|}}}<br />
| [[File:{{{image-file}}}|{{{image-size|40}}}px]]<br />
| {{#if:{{{image|}}}<br />
| {{{image}}}<br />
| [[File:{{#switch:{{{type|}}}<br />
| speedy = Imbox speedy deletion.png<br />
| delete = Imbox deletion.png<br />
| content = Imbox content.png<br />
| style = Imbox style.png<br />
| move = Imbox move.png<br />
| protection = Imbox protection.png<br />
| notice <!-- notice = default --><br />
| #default = Imbox notice.png<br />
}} | {{{image-size|40}}}px ]]<br />
}}<br />
}}</td><br />
}}<br />
<td class="mbox-text" style="{{{textstyle|}}}">{{#if:{{{text|}}}| {{{text}}} }}<!-- {{{text}}}内冒頭のウィキマークアップによる箇条書きを正しく表示させるために条件文にしています。 --></td><br />
{{#if:{{{imageright|}}}<br />
| {{#ifeq:{{{imageright|}}}|none<br />
| <!-- No image. --><br />
| <td class="mbox-imageright"> {{#if:{{{imageright-file|}}}<br />
| [[画像:{{{imageright-file}}}|{{{imageright-size|40}}}px]]<br />
| {{{imageright}}}<br />
}}</td><br />
}}<br />
| <!-- {{{imageright}}}指定なし&{{{imageright-file}}}指定あり -->{{#if:{{{imageright-file|}}}| <td class="mbox-imageright">[[画像:{{{imageright-file}}}|{{{imageright-size|40}}}px]]</td> }}<br />
}}<br />
</tr><br />
</table><!-- Detect and report usage with faulty "type" parameter:<br />
-->{{#switch:{{{type|}}}<br />
| <!-- No type fed, is also valid input --><br />
| speedy<br />
| delete<br />
| content<br />
| style<br />
| move<br />
| protection<br />
| notice = <!-- Do nothing, valid "type" --><br />
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{Main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --><br />
}}<noinclude><br />
{{Documentation}}<br />
</noinclude></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:%3D&diff=1093テンプレート:=2012-04-15T12:24:55Z<p>Fryed-peach: MazinX (会話) による ID:41969997 の版を取り消し</p>
<hr />
<div><includeonly><onlyinclude>=</onlyinclude></includeonly><br />
{{documentation}}</div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Para&diff=862テンプレート:Para2011-07-18T15:04:28Z<p>Fryed-peach: </p>
<hr />
<div><code><nowiki>|</nowiki>{{#if:{{{1|}}}|{{{1}}}&nbsp;<nowiki>=</nowiki>&nbsp;}}{{{2|}}}</code><noinclude><br />
{{Documentation}}</noinclude></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Multicol-end&diff=860テンプレート:Multicol-end2009-04-28T15:58:40Z<p>Fryed-peach: </p>
<hr />
<div><includeonly></div><br />
|}</div></includeonly><noinclude><br />
{{Documentation|Template:Multicol/doc}}<br />
</noinclude></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Pathnav/link&diff=1123テンプレート:Pathnav/link2008-12-09T16:32:15Z<p>Fryed-peach: </p>
<hr />
<div><includeonly>{{#ifeq:{{{1}}}|…<br />
|…<br />
|{{#ifexist: {{{2}}}:{{{1}}}<br />
|[[:{{#if:{{{2}}}|{{{2}}}:}}{{{1}}}|{{{1}}}]]|{{{1}}}<br />
}}<br />
}}</includeonly><noinclude><br />
[[Category:内部テンプレート|{{PAGENAME}}]]<br />
</noinclude></div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:IsValidPageName&diff=802テンプレート:IsValidPageName2008-08-25T16:42:10Z<p>Fryed-peach: +cat</p>
<hr />
<div><onlyinclude>{{#ifeq:{{{1}}}|-||{{#ifeq:[[:特別:Whatlinkshere/{{{1}}}]]|{{raw:Special:Whatlinkshere/{{{1}}}}}|valid}}}}</onlyinclude><br />
<br />
[[Category:特殊効果テンプレート|{{PAGENAME}}]]</div>Fryed-peachhttp://itchan.official.jp/wiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Seealso&diff=828テンプレート:Seealso2007-04-08T17:43:19Z<p>Fryed-peach: ←Template:See alsoへのリダイレクト</p>
<hr />
<div>#REDIRECT [[Template:See also]]</div>Fryed-peach Warning: Cannot modify header information - headers already sent by (output started at /home/lfg/itchan.official.jp/public_html/wiki/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php:24) in /home/lfg/itchan.official.jp/public_html/wiki/includes/WebResponse.php on line 46