| r110 | ||
|---|---|---|
| r74 | 1 | [[분류:일반 틀]][[분류:편집기를 열면 설명서를 볼 수 있습니다.]] |
| r90 | 2 | ##@[include(틀:문서 가져옴/설명문서2, 방식=the seed)]{{{#!folding 문서 가져옴 보기 [가져온 문서 목록 펼치기 · 접기 ] |
| r44 | 3 | ##@[include(틀:문서 가져옴/the seed, 위키=T, 문서명=틀:문서 가져옴, 버전=39, uuid=de26fb0c-f700-4b4b-a001-4609753e9941)] |
| 4 | ##@[include(틀:문서 가져옴/the seed, 위키=t, 문서명=틀:냥, 버전=158, uuid=507b736b-7d8c-42c6-9e4e-99f90cabb36c)]}}} | |
| r33 (r31으로 되돌림) | 5 | {{{#!wiki style="display: none" |
| r94 | 6 | ##여기부터 procedure. display none 처리해서 보이지 않습니다. |
| r107 | 7 | {{{#!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 |
| r91 | 8 | }}}{{{#!if (위키=="나무위키")||(위키=="나무")||(위키=="나")||(위키=="N")||(위키=="n") |
| r99 | 9 | {{{#!if wiki_name_defined = true, this.border="#00a495", this.도메인="namu.wiki", 위키="나무위키" |
| r91 | 10 | }}}}}}{{{#!if (위키=="알파위키")||(위키=="알파")||(위키=="알")||(위키=="A")||(위키=="a") |
| r99 | 11 | {{{#!if wiki_name_defined = true, this.border="#abcdef", this.도메인="www.alphawiki.org", 위키="알파위키" |
| r91 | 12 | }}}}}}{{{#!if (위키=="위브위키")||(위키=="위브")||(위키=="위")||(위키=="W")||(위키=="w") |
| r99 | 13 | {{{#!if wiki_name_defined = true, this.border="#00d1b2", this.도메인="weve.wiki", 위키="위브위키" |
| r91 | 14 | }}}}}}{{{#!if (위키=="더시드위키")||(위키=="더시드")||(위키=="더")||(위키=="T")||(위키=="t") |
| r99 | 15 | {{{#!if wiki_name_defined = true, this.border="#4188f1", this.도메인="theseed.io", 위키="더시드위키" |
| r93 | 16 | }}}}}}{{{#!if (위키=="테스트위키")||(위키=="테스트")||(위키=="테")||(위키=="TW")||(위키=="Tw")||(위키=="tw") |
| r99 | 17 | {{{#!if wiki_name_defined = true, this.border="#4188f1", this.도메인="testwiki.hyonsu.com", 위키="테스트위키" |
| r104 | 18 | }}}}}}{{{#!if (위키.substr(0, 5)=="아카라이브")||(위키=="채널위키") |
| r103 | 19 | ##아카라이브 채널위키는 arca 값을 true로 줍니다. 그리고 채널에 해당되는 슬러그를 적어야 합니다. |
| r105 | 20 | ##"아카라이브 ○○ 채널 위키"를 인식하는 조건문은 아직 만들어지지 않았습니다. |
| r110 | 21 | {{{#!if arca=true, this.border="#3d414d", this.도메인="arca.live", this.wiki_defined=(채널명!=null)&&(채널명!=""), wiki_domain_defined = (슬러그!=null)&&(슬러그!="'), 위키="아카라이브" |
| r91 | 22 | }}}}}}{{{#!if (위키=="커스텀") |
| r94 | 23 | ##커스텀일때 custom 값을 true로 주며 변수를 추가적으로 정의합니다. |
| r96 | 24 | {{{#!if this.custom=true, wiki_defined = (위키이름!=null)&&(위키이름!=""), wiki_domain_defined = (도메인!=null)&&(도메인!=""), wiki_license_defined = (라이선스!=null)&&(라이선스!="") |
| r97 | 25 | }}}}}} |
| r94 | 26 | ##처음 include했을 때 uuid가 공백이고 UUID가 공백이 아니라고 판별될 경우 uuid에 UUID의 값을 줍니다. |
| r28 | 27 | {{{#!if !(uuid_not_blank)&&UUID_not_blank |
| 28 | {{{#!if uuid=UUID | |
| 29 | }}}}}} | |
| r106 | 30 | ##위키=아카라이브 일 때, 채널명이 "채널"로 끝나면 문자열 " 위키"를 추가합니다. "위키"로만 끝나고 "채널위키"로 끝나지 않으면 "위키"를 "채널위키"로 바꿉니다. "채널위키"로 끝나면 "채널 위키"로 바꿉니다. 그럼애도 "채널 위키"로 끝나지 않으면 채널명 뒤에 "채널 위키" 문구를 달아놓습니다. (작성중) |
| r105 | 31 | {{{#!if arca==true |
| r106 | 32 | {{{#!if wiki_defined |
| 33 | {{{#!if (채널명.length>=2)&&(채널명.substr(채널명.length-2, 2)=="채널") | |
| r105 | 34 | {{{#!if 채널명=채널명.substr(0, 채널명.length-2)+" 위키" |
| r106 | 35 | }}}}}}{{{#!if (채널명.length>=4)&&(채널명.substr(채널명.length-2, 2)=="위키")&&(채널명.substr(채널명.length-4, 4)!="채널위키") |
| 36 | {{{#!if 채널명=채널명.substr(0, 채널명.length-2)+"채널위키" | |
| 37 | }}}}}} | |
| 38 | {{{#!if (채널명.length>=4)&&(채널명.substr(채널명.length-4, 4)=="채널위키") | |
| 39 | {{{#!if 채널명=채널명.substr(0, 채널명.length-2)+" 위키" | |
| 40 | }}}}}}{{{#!if (채널명.length>=5)&&(채널명.substr(채널명.length-5, 5)!="채널 위키") | |
| r105 | 41 | {{{#!if 채널명=채널명+"채널 위키" |
| r107 | 42 | }}}}}} |
| r109 | 43 | {{{#!if f="?action=history&until=", u="?rev=", h=w, 위키=위키+" "+채널명, uuid=버전 |
| r107 | 44 | }}}}}}}}} |
| r94 | 45 | ##위키=커스텀일 때 테두리색 값이 정의되어 있으면 border 값을 테두리색으로 변환하고 그렇지 않을 경우 #4188f1로 변환합니다. |
| r96 | 46 | {{{#!if 위키=="커스텀" |
| r94 | 47 | {{{#!if (테두리색!=null)&&(테두리색!="") |
| 48 | {{{#!if this.border=테두리색 | |
| 49 | }}}}}}{{{#!if (테두리색==null)||(테두리색=="") | |
| 50 | {{{#!if this.border="#4188f1" | |
| 51 | }}}}}}}}} | |
| r28 | 52 | ##uuid 판별식 --evaluate 없나?-- |
| 53 | {{{#!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)))) | |
| 54 | }}}{{{#!if inspection = ((위키!=null)&&(위키!="")&&(문서명!=null)&&(문서명!="")&&(버전!=null)&&(버전!="")&&((+버전)>0)) | |
| 55 | }}} | |
| 56 | ##여기까지가 procedure | |
| 57 | }}}{{{#!if (위키==null) | |
| 58 | {{{#orangered 오류! :}}} 가져온 "위키"의 이름을 입력해 주세요. (예 : 위키=더시드위키)[br] | |
| r108 | 59 | }}}{{{#!if (위키!=null)&&(!wiki_name_defined||(위키==""))&&(custom==false)&&(arca==false) |
| 60 | {{{#orangered 오류! :}}} 입력한 "위키" 이름이 올바르지 않습니다.[br]}}}{{{#!if custom==true | |
| r94 | 61 | {{{#!if !wiki_defined |
| r63 | 62 | {{{#orangered 오류! :}}} 가져온 "위키이름"을 입력해 주세요. (예 : 위키이름 = 테스트위키)[br]}}}{{{#!if !wiki_domain_defined |
| r72 | 63 | {{{#orangered 오류! :}}} 가져온 위키의 "도메인"(URL 주소)을 입력해 주세요. {{{#!wiki style="display: inline; font-family: monospace;" |
| 64 | https://}}}은 입력하지 않아도 됩니다. (예 : 도메인 = testwiki.hyonsu.com)[br]}}}{{{#!if !wiki_license_defined | |
| r108 | 65 | {{{#orangered 오류! :}}} 가져온 위키의 __문서__의 "라이선스"를 어떤 라이선스가 {{{#orangered 명확하게}}} 적용되어 있는지를 확인한 다음에 입력해주세요. (예 : 라이선스 = CC BY-SA 4.0)[br]}}}}}}{{{#!if arca==true |
| 66 | {{{#!if !wiki_defined | |
| 67 | {{{#orangered 오류! :}}} 가져온 아카라이브 채널의 "채널명"을 입력해 주세요. (예 : 채널명 = 나무위키 문법 채널)[br]}}}{{{#!if !wiki_domain_defined | |
| 68 | {{{#orangered 오류! :}}} 가져온 아카라이브 채널의 "슬러그"(URL 주소의 일부)을 입력해 주세요. 뒤의 슬러시({{{/}}})나 {{{#!wiki style="display: inline; font-family: monospace;" | |
| 69 | https://arca.live/}}} 등은 입력하지 않아도 됩니다. (예 : 슬러그 = namuwikistyle)[br]}}}}}}{{{#!if (문서명==null)||(문서명=="") | |
| r28 | 70 | {{{#orangered 오류! :}}} "문서명"을 입력해 주세요.[br] |
| 71 | }}}{{{#!if (버전==null)||(버전=="")||((+버전)<=0) | |
| 72 | {{{#orangered 오류! :}}} 가져온 문서의 "버전"(리비전 번호)의 숫자값을 입력해 주세요.[br] | |
| r103 | 73 | }}}{{{#!if arca==false |
| 74 | ##아카라이브 채널위키의 주소에는 UUID를 요구하지 않습니다. | |
| 75 | {{{#!if !(uuid_not_blank)&&!(UUID_not_blank) | |
| r28 | 76 | ##필터링 및 출력 조건 : https://theseed.io/thread/AmuckWackyDamagingDime#89 |
| 77 | ##필터 1 : uuid 및 UUID 둘 다 공백인 경우 | |
| 78 | {{{#orangered 오류! :}}} 리비전을 나타내는 "uuid"의 값을 입력해 주세요. (uuid= 또는 UUID= 입력)[br]}}}{{{#!if uuid_not_blank&&UUID_not_blank | |
| 79 | ##필터 2 : uuid 및 UUID 둘 다 공백이 아닌 경우를 걸러냅니다. | |
| 80 | ##uuid_not_blank가 먼저 정의되었으므로, uuid=UUID가 정의되었다 하더라도 므로 uuid_not_blank에 정의된 논리값은 다시 정의하지 않는 이상 바뀌지 않습니다. | |
| 81 | {{{#orangered 오류! :}}} "uuid"와 "UUID" 둘 중 하나만 입력해 주세요. (uuid= 또는 UUID= 입력)[br]}}}{{{#!if (uuid_not_blank^UUID_not_blank)&&!uuid_verified | |
| 82 | ##필터 3 : uuid도 공백이 아니면서 UUID도 공백이 아닌 경우를 제외하고 (XOR) | |
| 83 | ##처음 include할 때 입력한 uuid, UUID 둘 중 하나만 공백이 아닐 경우, 그 다음에 uuid=UUID로 정의한 다음 uuid가 유효하지 않은 경우. 오류 메세지 출력 | |
| r103 | 84 | {{{#orangered 오류! :}}} 올바르지 않은 UUID입니다. 입력한 UUID를 확인해주세요.[br]}}}}}}{{{#!if (((arca==false)&&(uuid_not_blank^UUID_not_blank)&&uuid_verified)||(arca==true))&&inspection |
| r28 | 85 | ##uuid와 UUID 둘 다 공백이 아닌 경우를 제와하고, |
| 86 | ##가져옴 틀 출력 | |
| r105 | 87 | {{{#!if wiki_name_defined||((((custom==true)&&wiki_license_defined)||(arca==true))&&wiki_defined&&wiki_domain_defined) |
| 88 | {{{#!if wiki_defined&&(custom==true) | |
| r97 | 89 | {{{#!if 위키=위키이름 |
| 90 | }}}}}}{{{#!wiki style="border-left: 4px @border@ solid; padding: 10px 10px;" | |
| r94 | 91 | 본 문서는 {{{#!if (custom==false)&&(위키=="테스트위키") |
| r106 | 92 | [[the tree]] }}}@위키@{{{#!if arca==true |
| r107 | 93 | '''''' @채널명@}}}의 '''[[@t@@도메인@@w@@문서명@@u@@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]] 문서에서 가져왔습니다.''' |
| r103 | 94 | {{{-2 CCL BY 조항에 따라 [[@t@@도메인@@w@@문서명@|@문서명@]] 문서의 [[@t@@도메인@@h@@문서명@@f@@버전@|이전 역사]]를 확인할 수 있습니다.}}}{{{#!if ((위키=="나무위키")||(위키=="알파위키")||(위키=="위브위키")||((custom==true)&&(라이선스.substr(0,18)=="CC BY-NC-SA 2.0 KR")))&&(arca==false) |
| r92 | 95 | [br] |
| r94 | 96 | [[파일:CC BY-NC-SA 버튼.svg|width=100&align=right]]{{{#red 주의 : }}} 가져온 위키 문서의 라이선스에 따라 본 문서는 [[@[email protected]/licenses/by-nc-sa/2.0/kr/|CC BY-NC-SA 2.0 KR]] 라이선스가 적용되며, 아래의 CC BY-SA 4.0 라이선스를 적용{{{#orangered 하지 않}}}습니다. |
| r103 | 97 | {{{-1 {{{#red Caution : }}}By according the license of imported document, this document is licensed under a [[@[email protected]/licenses/by-nc-sa/2.0/kr/deed.en|Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Korea License]], {{{#orangered not under the}}} [[@[email protected]/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) |
| r94 | 98 | [br] |
| r102 | 99 | {{{#red 주의 : }}} 가져온 위키 문서의 라이선스에 따라 본 문서는 [[@t@@도메인@@w@@문서명@|가져온 문서의]] @라이선스@ 라이선스가 적용됩니다. {{{#red 만일}}} 가져온 문서의 라이선스(@라이선스@)가 아래의 CC BY-SA 4.0 라이선스{{{#orangered 와 다르}}}다면 아래의 라이선스를 적용{{{#orangered 하지 않}}}습니다. |
| 100 | {{{-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 [[@[email protected]/licenses/by-sa/4.0/|CC BY-SA 4.0 (International) License]] written below, imported document is not licensed CC BY-SA 4.0 written below.}}}}}}}}}}}}}}} |