| r4 | ||
|---|---|---|
| r4 (r2으로 되돌림) | 1 | [[분류:일반 틀]][[분류:편집기를 열면 설명서를 볼 수 있습니다.]] |
| 2 | ##@[include(틀:문서 가져옴/설명문서2, 방식=the seed)]{{{#!folding 문서 가져옴 및 기여자 목록 보기 [가져온 문서 목록 펼치기 · 접기 ] | |
| 3 | ##@[include(틀:문서 가져옴/the seed, 위키=T, 문서명=틀:문서 가져옴, 버전=39, uuid=de26fb0c-f700-4b4b-a001-4609753e9941)] | |
| 4 | ##@[include(틀:문서 가져옴/the seed, 위키=t, 문서명=틀:문서 가져옴/미디어위키, 버전=33, uuid=5d32d8e1-5ad6-498a-8feb-43b108d57369)] | |
| 5 | ##@[include(틀:문서 가져옴/the seed, 위키=더, 문서명=틀:냥, 버전=158, uuid=507b736b-7d8c-42c6-9e4e-99f90cabb36c)]}}} | |
| 6 | {{{#!wiki style="display: none" | |
| 7 | ##여기부터 procedure. display none 처리해서 보이지 않습니다. | |
| 8 | {{{#!if this.wiki_name_defined = false, uuid_not_blank = (uuid!=null)&&(uuid!=""), UUID_not_blank = (UUID!=null)&&(UUID!=""), this.t="https://", this.w="/w/", this.h="/history/", this.u="?uuid=", this.f="?from=", this.custom=false, this.arca=false, this.mediawiki=false, this.previous=false, this.index="index.php?oldid=" | |
| 9 | ## mode name list : custom(현버전 the seed 호환), previous(구버전 the seed 호환), mediawiki(미디어위키 호환) | |
| 10 | }}}{{{#!if (위키=="나무위키")||(위키=="나무")||(위키=="나")||(위키=="N")||(위키=="n") | |
| 11 | {{{#!if wiki_name_defined = true, this.border="#00a495", this.도메인="namu.wiki", 위키="나무위키" | |
| 12 | }}}}}}{{{#!if (위키=="알파위키")||(위키=="알파")||(위키=="알")||(위키=="A")||(위키=="a") | |
| 13 | {{{#!if wiki_name_defined = true, this.border="#abcdef", this.도메인="www.alphawiki.org", 위키="알파위키" | |
| 14 | }}}}}}{{{#!if (위키=="위브위키")||(위키=="위브")||(위키=="위")||(위키=="W")||(위키=="w") | |
| 15 | {{{#!if wiki_name_defined = true, this.border="#00d1b2", this.도메인="weve.wiki", 위키="위브위키" | |
| 16 | }}}}}}{{{#!if (위키=="더시드위키")||(위키=="더시드")||(위키=="더")||(위키=="T")||(위키=="t") | |
| 17 | {{{#!if wiki_name_defined = true, this.border="#4188f1", this.도메인="theseed.io", 위키="더시드위키" | |
| 18 | }}}}}}{{{#!if (위키=="테스트위키")||(위키=="테스트")||(위키=="테")||(위키=="TW")||(위키=="Tw")||(위키=="tw") | |
| 19 | {{{#!if wiki_name_defined = true, this.border="#4188f1", this.도메인="testwiki.hyonsu.com", 위키="테스트위키" | |
| 20 | }}}}}}{{{#!if (위키.substr(0, 5)=="아카라이브")||(위키=="채널위키")||(위키=="아오")||(위키=="아카")||(위키=="무라사키") | |
| 21 | ##아카라이브 채널위키는 arca 값을 true로 줍니다. 그리고 해당하는 채널의 채널명과 슬러그를 적어야 합니다. | |
| 22 | ##"아카라이브 ○○ 채널 위키"를 인식하는 조건문은 없습니다. | |
| 23 | {{{#!if this.arca=true, this.border="#3d414d", this.도메인="arca.live", wiki_defined = (채널명!=null)&&(채널명!=""), wiki_domain_defined = (슬러그!=null)&&(슬러그!=""), 위키="아카라이브" | |
| 24 | }}}}}}{{{#!if (위키=="위키백과")||(위키=="한위백") | |
| 25 | ##위키백과는 미디어위키 사용 엔진이므로 mediawiki를 true로 바꿉니다. | |
| 26 | {{{#!if mediawiki=true, 위키이름="한국어 위키백과", 도메인="ko.wikipedia.org", 라이선스="CC BY-SA 4.0" | |
| 27 | }}}}}}{{{#if (위키==구버전) | |
| 28 | ##the seed 구버전 커스텀 전용. (Imitated Seed 라던지) | |
| r3 (삭제) | 29 | |
| r4 (r2으로 되돌림) | 30 | {{{#!if previous=true |
| 31 | }}}}}}{{{#!if (위키=="커스텀") | |
| 32 | ##커스텀일때 custom 값을 true로 줍니다. | |
| 33 | {{{#!if custom=true | |
| 34 | }}}}}}{{{#!if custom || previous || mediawiki | |
| 35 | ##custom 또는 previous(구버전)이거나 mediawiki의 경우 변수를 추가적으로 정의합니다. | |
| 36 | {{{#!if wiki_defined = (위키이름!=null)&&(위키이름!=""), wiki_domain_defined = (도메인!=null)&&(도메인!=""), wiki_license_defined = (라이선스!=null)&&(라이선스!="") | |
| 37 | }}}}}} | |
| 38 | ##처음 include했을 때 uuid가 공백이고 UUID가 공백이 아니라고 판별될 경우 uuid에 UUID의 값을 줍니다. | |
| 39 | {{{#!if !(uuid_not_blank)&&UUID_not_blank | |
| 40 | {{{#!if uuid=UUID | |
| 41 | }}}}}} | |
| 42 | ##위키=="아카라이브" 일 때, 채널명이 "채널"로 끝나지 않으면 "채널"을 추가합니다. " 채널"(띄어쓰기)로 끝나지 않으면 띄어쓰기가 있는 " 채널"로 바꿉니다. | |
| 43 | {{{#!if arca==true | |
| 44 | {{{#!if wiki_defined | |
| 45 | {{{#!if ((채널명.length>=2)&&(채널명.substr(채널명.length-2, 2)!="채널"))||(채널명.length<2) | |
| 46 | {{{#!if 채널명=채널명+"채널" | |
| 47 | }}}}}}{{{#!if (채널명.length>=3)&&(채널명.substr(채널명.length-2, 2)=="채널")&&(채널명.substr(채널명.length-3, 3)!=" 채널") | |
| 48 | {{{#!if 채널명=채널명.substr(0, 채널명.length-2)+" 채널" | |
| 49 | }}}}}} | |
| 50 | ##채널명 문자열 정리 작업이 끝나면 위키 문자열을 "아카라이브 ○○ 채널 위키"로 바꿉니다. | |
| 51 | {{{#!if f="?action=history&until=", 위키="아카라이브 "+채널명+" 위키", u="?rev=", w=w+슬러그+"/", h=w, uuid=버전, 버전1=(+버전)-30, 버전1=버전1.toString() | |
| 52 | }}}}}}}}} | |
| 53 | ##아카라이브는 시스템상 문서 역사에서 보여주는 버전(this.버전1) 값을 1 더합니다. 그렇지 않은 경우 버전 값을 그대로 둡니다. | |
| 54 | {{{#!if arca==false | |
| 55 | {{{#!if 버전1=버전 | |
| 56 | }}}}}} | |
| 57 | ##위키=커스텀일 때 테두리색 값이 정의되어 있으면 border 값을 테두리색으로 변환하고 그렇지 않을 경우 #4188f1로 변환합니다. | |
| 58 | {{{#!if custom==true | |
| 59 | {{{#!if (테두리색!=null)&&(테두리색!="") | |
| 60 | {{{#!if this.border=테두리색 | |
| 61 | }}}}}}{{{#!if (테두리색==null)||(테두리색=="") | |
| 62 | {{{#!if this.border="#4188f1" | |
| 63 | }}}}}}}}} | |
| 64 | ##uuid 판별식 --evaluate 없나?-- | |
| 65 | {{{#!if !mediawiki&&!arca&&!previous | |
| 66 | {{{#!if uuid_verified = ((uuid[8]==45 && uuid[13]==45 && uuid[18]==45 && uuid[23]==45) && (uuid?.length == 36) && (((uuid[0]>=48) &&(uuid[0]<=57)) || ((uuid[0]>=97)&&(uuid[0]<=102))) && (((uuid[1]>=48) &&(uuid[1]<=57)) || ((uuid[1]>=97)&&(uuid[1]<=102))) && (((uuid[2]>=48) &&(uuid[2]<=57)) || ((uuid[2]>=97)&&(uuid[2]<=102))) && (((uuid[3]>=48) &&(uuid[3]<=57)) || ((uuid[3]>=97)&&(uuid[3]<=102))) && (((uuid[4]>=48) &&(uuid[4]<=57)) || ((uuid[4]>=97)&&(uuid[4]<=102))) && (((uuid[5]>=48) &&(uuid[5]<=57)) || ((uuid[5]>=97)&&(uuid[5]<=102))) && (((uuid[6]>=48) &&(uuid[6]<=57)) || ((uuid[6]>=97)&&(uuid[6]<=102))) && (((uuid[7]>=48) &&(uuid[7]<=57)) || ((uuid[7]>=97)&&(uuid[7]<=102))) && (((uuid[9]>=48) &&(uuid[9]<=57)) || ((uuid[9]>=97)&&(uuid[9]<=102))) && (((uuid[10]>=48) &&(uuid[10]<=57)) || ((uuid[10]>=97)&&(uuid[10]<=102))) && (((uuid[11]>=48) &&(uuid[11]<=57)) || ((uuid[11]>=97)&&(uuid[11]<=102))) && (((uuid[12]>=48) &&(uuid[12]<=57)) || ((uuid[12]>=97)&&(uuid[12]<=102))) && (((uuid[14]>=48) &&(uuid[14]<=57)) || ((uuid[14]>=97)&&(uuid[14]<=102))) && (((uuid[15]>=48) &&(uuid[15]<=57)) || ((uuid[15]>=97)&&(uuid[15]<=102))) && (((uuid[16]>=48) &&(uuid[16]<=57)) || ((uuid[16]>=97)&&(uuid[16]<=102))) && (((uuid[17]>=48) &&(uuid[17]<=57)) || ((uuid[17]>=97)&&(uuid[17]<=102))) && (((uuid[19]>=48) &&(uuid[19]<=57)) || ((uuid[19]>=97)&&(uuid[19]<=102))) && (((uuid[20]>=48) &&(uuid[20]<=57)) || ((uuid[20]>=97)&&(uuid[20]<=102))) && (((uuid[21]>=48) &&(uuid[21]<=57)) || ((uuid[21]>=97)&&(uuid[21]<=102))) && (((uuid[22]>=48) &&(uuid[22]<=57)) || ((uuid[22]>=97)&&(uuid[22]<=102))) && (((uuid[24]>=48) &&(uuid[24]<=57)) || ((uuid[24]>=97)&&(uuid[24]<=102))) && (((uuid[25]>=48) &&(uuid[25]<=57)) || ((uuid[25]>=97)&&(uuid[25]<=102))) && (((uuid[26]>=48) &&(uuid[26]<=57)) || ((uuid[26]>=97)&&(uuid[26]<=102))) && (((uuid[27]>=48) &&(uuid[27]<=57)) || ((uuid[27]>=97)&&(uuid[27]<=102))) && (((uuid[28]>=48) &&(uuid[28]<=57)) || ((uuid[28]>=97)&&(uuid[28]<=102))) && (((uuid[29]>=48) &&(uuid[29]<=57)) || ((uuid[29]>=97)&&(uuid[29]<=102))) && (((uuid[30]>=48) &&(uuid[30]<=57)) || ((uuid[30]>=97)&&(uuid[30]<=102))) && (((uuid[31]>=48) &&(uuid[31]<=57)) || ((uuid[31]>=97)&&(uuid[31]<=102))) && (((uuid[32]>=48) &&(uuid[32]<=57)) || ((uuid[32]>=97)&&(uuid[32]<=102))) && (((uuid[33]>=48) &&(uuid[33]<=57)) || ((uuid[33]>=97)&&(uuid[33]<=102))) && (((uuid[34]>=48) &&(uuid[34]<=57)) || ((uuid[34]>=97)&&(uuid[34]<=102))) && (((uuid[35]>=48) &&(uuid[35]<=57)) || ((uuid[35]>=97)&&(uuid[35]<=102)))) | |
| 67 | }}}}}}{{{#!if mediawiki | |
| 68 | ##미디어위키는 uuid가 아닌 index를 적어야 하며 그 index를 uuid 및 version과 호환시킵니다. | |
| 69 | {{{#!if uuid_verified = ((oldid!=null)&&(oldid!="")), uuid_verified | |
| 70 | {{{#!if uuid=oldid | |
| 71 | }}}}}}}}}{{{#!if inspection = ((위키!=null)&&(위키!="")&&(문서명!=null)&&(문서명!="")&&(버전!=null)&&(버전!="")&&((+버전)>0)) | |
| 72 | }}} | |
| 73 | ##여기까지가 procedure | |
| 74 | }}}{{{#!if (위키==null) | |
| 75 | {{{#orangered 오류! :}}} 가져온 "위키"의 이름을 입력해 주세요. (예 : 위키=더시드위키)[br] | |
| 76 | }}}{{{#!if (위키!=null)&&(!wiki_name_defined||(위키==""))&&(custom==false)&&(arca==false) | |
| 77 | {{{#orangered 오류! :}}} 입력한 "위키" 이름이 올바르지 않습니다.[br]}}}{{{#!if custom || previous || mediawiki | |
| 78 | {{{#!if !wiki_defined | |
| 79 | {{{#orangered 오류! :}}} 가져온 "위키이름"을 입력해 주세요. (예 : 위키이름 = {{{#!if !mediawiki | |
| 80 | 테스트위키}}}{{{#!if mediawiki | |
| 81 | 위키백과}}})[br]}}}{{{#!if !wiki_domain_defined | |
| 82 | {{{#orangered 오류! :}}} 가져온 위키의 "도메인"(URL 주소)을 입력해 주세요. {{{#!wiki style="display: inline; font-family: monospace;" | |
| 83 | https://}}}은 입력하지 않아도 됩니다. (예 : 도메인 = {{{#!if !mediawiki | |
| 84 | testwiki.hyonsu.com}}}{{{#!if mediawiki | |
| 85 | ko.wikipedia.org}}})[br]}}}{{{#!if !wiki_license_defined | |
| 86 | {{{#orangered 오류! :}}} 가져온 위키의 __문서__의 "라이선스"를 어떤 라이선스가 {{{#orangered 명확하게}}} 적용되어 있는지를 확인한 다음에 입력해주세요. (예 : 라이선스 = CC BY-SA 4.0)[br]}}}}}}{{{#!if arca | |
| 87 | {{{#!if !wiki_defined | |
| 88 | {{{#orangered 오류! :}}} 가져온 아카라이브 채널의 "채널명"을 입력해 주세요. (예 : 채널명 = 나무위키 문법 채널)[br]}}}{{{#!if !wiki_domain_defined | |
| 89 | {{{#orangered 오류! :}}} 가져온 아카라이브 채널의 "슬러그"(URL 주소의 일부)을 입력해 주세요. 뒤의 슬러시({{{/}}})나 {{{#!wiki style="display: inline; font-family: monospace;" | |
| 90 | https://arca.live/}}} 등은 입력하지 않아도 됩니다. (예 : 슬러그 = namuwikistyle)[br]}}}}}}{{{#!if (문서명==null)||(문서명=="") | |
| 91 | {{{#orangered 오류! :}}} "문서명"을 입력해 주세요.[br] | |
| 92 | }}}{{{#!if (버전==null)||(버전=="")||((+버전)<=0) | |
| 93 | {{{#orangered 오류! :}}} 가져온 문서의 "버전"(리비전 번호)의 숫자값을 입력해 주세요.[br] | |
| 94 | }}}{{{#!if !arca&&!previous | |
| 95 | ##아카라이브 채널위키의 주소, the seed 구버전에는 UUID를 요구하지 않습니다. | |
| 96 | {{{#!if !mediawiki | |
| 97 | ##mediawiki에는 UUID를 요구하지 않는 대신 index를 요구합니다. | |
| 98 | {{{#!if !(uuid_not_blank)&&!(UUID_not_blank) | |
| 99 | ##필터링 및 출력 조건 : https://theseed.io/thread/AmuckWackyDamagingDime#89 | |
| 100 | ##필터 1 : uuid 및 UUID 둘 다 공백인 경우 | |
| 101 | {{{#orangered 오류! :}}} 리비전을 나타내는 "uuid"의 값을 입력해 주세요. (uuid= 또는 UUID= 입력)[br]}}}{{{#!if uuid_not_blank&&UUID_not_blank | |
| 102 | ##필터 2 : uuid 및 UUID 둘 다 공백이 아닌 경우를 걸러냅니다. | |
| 103 | ##uuid_not_blank가 먼저 정의되었으므로, uuid=UUID가 정의되었다 하더라도 므로 uuid_not_blank에 정의된 논리값은 다시 정의하지 않는 이상 바뀌지 않습니다. | |
| 104 | {{{#orangered 오류! :}}} "uuid"와 "UUID" 둘 중 하나만 입력해 주세요. (uuid= 또는 UUID= 입력)[br]}}}{{{#!if (uuid_not_blank^UUID_not_blank)&&!uuid_verified | |
| 105 | ##필터 3 : uuid도 공백이 아니면서 UUID도 공백이 아닌 경우를 제외하고 (XOR) | |
| 106 | ##처음 include할 때 입력한 uuid, UUID 둘 중 하나만 공백이 아닐 경우, 그 다음에 uuid=UUID로 정의한 다음 uuid가 유효하지 않은 경우. 오류 메세지 출력 | |
| 107 | {{{#orangered 오류! :}}} 올바르지 않은 UUID입니다. 입력한 UUID를 확인해주세요.[br]}}}}}}}}}{{{#!if (((!arca&&!previous)&&(uuid_not_blank^UUID_not_blank)&&uuid_verified)||(arca||previous))&&inspection | |
| 108 | ##uuid와 UUID 둘 다 공백이 아닌 경우를 제와하고, | |
| 109 | ##가져옴 틀 출력 | |
| 110 | {{{#!if wiki_name_defined||((((custom==true)&&wiki_license_defined)||(arca==true))&&wiki_defined&&wiki_domain_defined) | |
| 111 | {{{#!if wiki_defined&&(custom==true) | |
| 112 | {{{#!if 위키=위키이름 | |
| 113 | }}}}}}{{{#!wiki style="border-left: 4px @border@ solid; padding: 5px 10px;" | |
| 114 | 본 문서는 {{{#!if (custom==false)&&(위키=="테스트위키") | |
| 115 | [[the tree]] }}}@위키@의 '''[[@t@@도메인@@w@@문서명@@u@@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]] 문서에서 가져왔습니다.''' | |
| 116 | {{{-2 CCL BY 조항에 따라 [[@t@@도메인@@w@@문서명@|@문서명@]] 문서의 [[@t@@도메인@@h@@문서명@@f@@버전1@|이전 역사]]를 확인할 수 있습니다.}}}{{{#!if ((위키=="나무위키")||(위키=="알파위키")||(위키=="위브위키")||((custom==true)&&(라이선스.substr(0,18)=="CC BY-NC-SA 2.0 KR")))&&(arca==false) | |
| 117 | [br] | |
| 118 | [[파일:CC BY-NC-SA 버튼.svg|width=100&align=right]]{{{#red 주의 : }}} 가져온 위키 문서의 라이선스에 따라 본 문서는 [[@t@creativecommons.org/licenses/by-nc-sa/2.0/kr/|CC BY-NC-SA 2.0 KR]] 라이선스가 적용되며, 아래의 CC BY-SA 4.0 라이선스를 적용{{{#orangered 하지 않}}}습니다. | |
| 119 | {{{-1 {{{#red Caution : }}}By according the license of imported document, this document is licensed under a [[@t@creativecommons.org/licenses/by-nc-sa/2.0/kr/deed.en|Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Korea License]], {{{#orangered not under the}}} [[@t@creativecommons.org/licenses/by-sa/4.0/|CC BY-SA 4.0 (International) License]] written below.}}}}}}{{{#!if (위키!="나무위키")&&(위키!="알파위키")&&(위키!="위브위키")&&(custom==true)&&(라이선스.substr(0,12)!="CC BY-SA 4.0")&&(라이선스.substr(0,18)!="CC BY-NC-SA 2.0 KR")&&(arca==false) | |
| 120 | [br] | |
| 121 | {{{#red 주의 : }}} 가져온 위키 문서의 라이선스에 따라 본 문서는 [[@t@@도메인@@w@@문서명@|가져온 문서의]] @라이선스@ 라이선스가 적용됩니다. {{{#red 만일}}} 가져온 문서의 라이선스(@라이선스@)가 아래의 CC BY-SA 4.0 라이선스{{{#orangered 와 다르}}}다면 아래의 라이선스를 적용{{{#orangered 하지 않}}}습니다. | |
| 122 | {{{-1 {{{#red Caution : }}}By according the license of imported document, this document is licensed under the @라이선스@ which is [[@t@@도메인@@w@@문서명@|of imported document]]. {{{#red If}}} the license (@라이선스@) of imported document is {{{#orangered different}}} from the [[@t@creativecommons.org/licenses/by-sa/4.0/|CC BY-SA 4.0 (International) License]] written below, imported document {{{#orangered is not}}} licensed CC BY-SA 4.0 written below.}}}}}}}}}}}}}}}[include(틀:편집기 열기, 문서명=틀:문서 가져옴/the seed)] | |
| 123 | [include(틀:문서 가져옴/the seed, 위키=더시드위키, 문서명=틀:문서 가져옴/the seed, 버전=138, uuid=292870ec-e611-481c-acd1-31654ccdecf0)] |