| r37 | ||
|---|---|---|
| r36 | 1 | [[분류:일반 틀]][[분류:편집기를 열면 설명을 볼 수 있습니다.]] |
| r35 | 2 | ##@{{{#!wiki style="display: inline; font-family: monospace;" |
| 3 | ##@\[include(틀:문서 가져옴/the seed, 위키=, 문서명=, 버전=, uuid=)]}}} | |
| r37 | 4 | ##@모두 입력해야 동작되며, 하나라도 빠질 경우 오류 문구가 남게 됩니다. 테스트 결과는 [[https://theseed.io/w/더시드위키:연습장?uuid=0682e8d1-4728-4c06-8201-f04e1433a6c0|연습장 문서]]에서 확인할 수 있습니다. [* 이전 리비전의 문서를 보더라도 include된 문서는 최근에 변경된 문서를 include한 결과를 보여줍니다.] |
| r35 | 5 | ##@기여 전에 테스트 해볼 목적으로 생성한 틀이므로 [[CCL]]이 서로 호환 안 되는 내용이 섞이는 사고는 내지 말아주세요. |
| r37 | 6 | ##@ * 위키이름 : 가져온 위키의 이름을 입력합니다. 현재 "더시드위키", "나무위키", "알파위키", "위브위키"만 유효합니다. [[the tree]]엔진은 URL 구조가 동일하므로 the tree엔진을 사용하는 위키에도 적용할 수 있습니다. (다만, 테스트위키에만 먼저 적용할 생각이 있습니다.) |
| r35 | 7 | ##@ 위키이름을 줄여서 "나무", "나", "N", "n", "알파", "알", "A", "a", "위브", "위", "W", "w", "더시드", "더", "T", "t"(으)로 입력해도 작동됩니다. |
| 8 | ##@ * 문서명 : 가져온 문서의 이름(표제어)을 적어야 합니다. (다른 틀을 가져오려면 "title", "article" 매개변수를 바꿔야 합니다.) | |
| 9 | ##@ * 버전 : 리비전 번호를 가리킵니다. ("리비전", "rev", "version"이 있으면 "버전"으로 바꿔야 합니다.) | |
| 10 | ##@ * uuid : 해당 리비전을 가리키는 uuid를 적어야 합니다. 대문자 UUID를 호환하는 식은 작성중입니다. | |
| 11 | ##@ | |
| 12 | ##@ | |
| r33 (r31으로 되돌림) | 13 | {{{#!wiki style="display: none" |
| r28 | 14 | ##여기부터 procedure. display none 처리해서 보이지 않음. |
| r31 | 15 | {{{#!if wiki_name_defined = ((위키=="나무위키")||(위키=="나무")||(위키=="나")||(위키=="N")||(위키=="n")||(위키=="알파위키")||(위키=="알파")||(위키=="알")||(위키=="A")||(위키=="a")||(위키=="위브위키")||(위키=="위브")||(위키=="위")||(위키=="W")||(위키=="w")||(위키=="더시드위키")||(위키=="더시드")||(위키=="더")||(위키=="T")||(위키=="t")), uuid_not_blank = (uuid!=null)&&(uuid!=""), UUID_not_blank = (UUID!=null)&&(UUID!="") |
| r28 | 16 | }}} |
| 17 | ##처음 include했을 때 uuid가 공백이고 UUID가 공백이 아니라고 판별될 경우 uuid에 UUID의 값을 줌. | |
| 18 | {{{#!if !(uuid_not_blank)&&UUID_not_blank | |
| 19 | {{{#!if uuid=UUID | |
| 20 | }}}}}} | |
| 21 | ##uuid 판별식 --evaluate 없나?-- | |
| 22 | {{{#!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)))) | |
| 23 | }}}{{{#!if inspection = ((위키!=null)&&(위키!="")&&(문서명!=null)&&(문서명!="")&&(버전!=null)&&(버전!="")&&((+버전)>0)) | |
| 24 | }}} | |
| 25 | ##여기까지가 procedure | |
| 26 | }}}{{{#!if (위키==null) | |
| 27 | {{{#orangered 오류! :}}} 가져온 "위키"의 이름을 입력해 주세요. (예 : 위키=더시드위키)[br] | |
| 28 | }}}{{{#!if (위키!=null)&&(!wiki_name_defined||(위키=="")) | |
| r25 | 29 | {{{#orangered 오류! :}}} 입력한 "위키" 이름이 올바르지 않습니다.[br]}}}{{{#!if (문서명==null)||(문서명=="") |
| r28 | 30 | {{{#orangered 오류! :}}} "문서명"을 입력해 주세요.[br] |
| 31 | }}}{{{#!if (버전==null)||(버전=="")||((+버전)<=0) | |
| 32 | {{{#orangered 오류! :}}} 가져온 문서의 "버전"(리비전 번호)의 숫자값을 입력해 주세요.[br] | |
| 33 | }}}{{{#!if !(uuid_not_blank)&&!(UUID_not_blank) | |
| 34 | ##필터링 및 출력 조건 : https://theseed.io/thread/AmuckWackyDamagingDime#89 | |
| 35 | ##필터 1 : uuid 및 UUID 둘 다 공백인 경우 | |
| 36 | {{{#orangered 오류! :}}} 리비전을 나타내는 "uuid"의 값을 입력해 주세요. (uuid= 또는 UUID= 입력)[br]}}}{{{#!if uuid_not_blank&&UUID_not_blank | |
| 37 | ##필터 2 : uuid 및 UUID 둘 다 공백이 아닌 경우를 걸러냅니다. | |
| 38 | ##uuid_not_blank가 먼저 정의되었으므로, uuid=UUID가 정의되었다 하더라도 므로 uuid_not_blank에 정의된 논리값은 다시 정의하지 않는 이상 바뀌지 않습니다. | |
| 39 | {{{#orangered 오류! :}}} "uuid"와 "UUID" 둘 중 하나만 입력해 주세요. (uuid= 또는 UUID= 입력)[br]}}}{{{#!if (uuid_not_blank^UUID_not_blank)&&!uuid_verified | |
| 40 | ##필터 3 : uuid도 공백이 아니면서 UUID도 공백이 아닌 경우를 제외하고 (XOR) | |
| 41 | ##처음 include할 때 입력한 uuid, UUID 둘 중 하나만 공백이 아닐 경우, 그 다음에 uuid=UUID로 정의한 다음 uuid가 유효하지 않은 경우. 오류 메세지 출력 | |
| 42 | {{{#orangered 오류! :}}} 올바르지 않은 UUID입니다. 입력한 UUID를 확인해주세요.[br]}}}{{{#!if (uuid_not_blank^UUID_not_blank)&&uuid_verified&&inspection | |
| 43 | ##uuid와 UUID 둘 다 공백이 아닌 경우를 제와하고, | |
| 44 | ##가져옴 틀 출력 | |
| r31 | 45 | {{{#!if (위키=="나무위키")||(위키=="나무")||(위키=="나")||(위키=="N")||(위키=="n") |
| r1 (새 문서) | 46 | {{{#!wiki style="border-left: 4px #00a495 solid; padding: 10px 10px;" |
| r28 | 47 | 본 문서는 나무위키의 '''[[https://namu.wiki/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]] 문서에서 가져왔습니다.''' |
| r6 | 48 | {{{-2 CCL BY 조항에 따라 [[https://namu.wiki/w/@문서명@|@문서명@]] 문서의 [[https://namu.wiki/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.}}} |
| r18 | 49 | |
| 50 | [[파일:CC BY-NC-SA 버튼.svg|width=100&align=right]]{{{#red 주의 : }}} 가져온 위키 문서의 라이선스에 따라 본 문서는 [[https://creativecommons.org/licenses/by-nc-sa/2.0/kr/|CC BY-NC-SA 2.0 KR]] 라이선스가 적용되며, 아래의 CC BY-SA 4.0 라이선스를 적용{{{#orangered 하지 않}}}습니다. | |
| r31 | 51 | {{{-1 {{{#red Caution : }}}By according the license of imported document, this document is licensed under a [[https://creativecommons.org/licenses/by-nc-sa/2.0/kr/deed.en|Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Korea License]], {{{#orangered not under the}}} [[https://creativecommons.org/licenses/by-sa/4.0/|CC BY-SA 4.0 (International) License]] written below.}}}}}}}}}{{{#!if (위키=="알파위키")||(위키=="알파")||(위키=="알")||(위키=="A")||(위키=="a") |
| r1 (새 문서) | 52 | {{{#!wiki style="border-left: 4px #abcdef solid; padding: 10px 10px;" |
| r28 | 53 | 본 문서는 알파위키의 '''[[https://www.alphawiki.org/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]] 문서에서 가져왔습니다.''' |
| r6 | 54 | {{{-2 CCL BY 조항에 따라 [[https://www.alphawiki.org/w/@문서명@|@문서명@]] 문서의 [[https://www.alphawiki.org/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.}}} |
| r1 (새 문서) | 55 | |
| r18 | 56 | [[파일:CC BY-NC-SA 버튼.svg|width=100&align=right]]{{{#red 주의 : }}} 가져온 위키 문서의 라이선스에 따라 본 문서는 [[https://creativecommons.org/licenses/by-nc-sa/2.0/kr/|CC BY-NC-SA 2.0 KR]] 라이선스가 적용되며, 아래의 CC BY-SA 4.0 라이선스를 적용{{{#orangered 하지 않}}}습니다. |
| r31 | 57 | {{{-1 {{{#red Caution : }}}By according the license of imported document, this document is licensed under a [[https://creativecommons.org/licenses/by-nc-sa/2.0/kr/deed.en|Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Korea License]], {{{#orangered not under the}}} [[https://creativecommons.org/licenses/by-sa/4.0/|CC BY-SA 4.0 (International) License]] written below.}}}}}}}}}{{{#!if (위키=="위브위키")||(위키=="위브")||(위키=="위")||(위키=="W")||(위키=="w") |
| r1 (새 문서) | 58 | {{{#!wiki style="border-left: 4px #00d1b2 solid; padding: 10px 10px;" |
| r28 | 59 | 본 문서는 위브위키의 '''[[https://weve.wiki/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]] 문서에서 가져왔습니다.''' |
| r6 | 60 | {{{-2 CCL BY 조항에 따라 [[https://weve.wiki/w/@문서명@|@문서명@]] 문서의 [[https://weve.wiki/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.}}} |
| r1 (새 문서) | 61 | |
| r18 | 62 | [[파일:CC BY-NC-SA 버튼.svg|width=100&align=right]]{{{#red 주의 : }}} 가져온 위키 문서의 라이선스에 따라 본 문서는 [[https://creativecommons.org/licenses/by-nc-sa/2.0/kr/|CC BY-NC-SA 2.0 KR]] 라이선스가 적용되며, 아래의 CC BY-SA 4.0 라이선스를 적용{{{#orangered 하지 않}}}습니다. |
| r31 | 63 | {{{-1 {{{#red Caution : }}}By according the license of imported document, this document is licensed under a [[https://creativecommons.org/licenses/by-nc-sa/2.0/kr/deed.en|Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Korea License]], {{{#orangered not under the}}} [[https://creativecommons.org/licenses/by-sa/4.0/|CC BY-SA 4.0 (International) License]] written below.}}}}}}}}}{{{#!if (위키=="더시드위키")||(위키=="더시드")||(위키=="더")||(위키=="T")||(위키=="t") |
| r5 | 64 | {{{#!wiki style="border-left: 4px #4188f1 solid; padding: 10px 10px;" |
| r28 | 65 | 본 문서는 더시드위키의 '''[[https://theseed.io/w/@문서명@?uuid=@uuid@|{{{#black,#ddd @문서명@(r@버전@ 판)}}}]] 문서에서 가져왔습니다.''' |
| 66 | {{{-2 CCL BY 조항에 따라 [[https://theseed.io/w/@문서명@|@문서명@]] 문서의 [[https://theseed.io/history/@문서명@?from=@버전@|이전 역사]]를 확인할 수 있습니다.}}}}}}}}}}}} | |
| r31 | 67 | [include(틀:문서 가져옴/the seed, 위키=T, 문서명=틀:문서 가져옴, 버전=39, uuid=de26fb0c-f700-4b4b-a001-4609753e9941)] |
| 68 | [include(틀:문서 가져옴/the seed, 위키=t, 문서명=틀:냥, 버전=158, uuid=507b736b-7d8c-42c6-9e4e-99f90cabb36c)] | |
| r28 | 69 | ## |